Revert not defining NO_HIDDEN on hurd
[glibc.git] / ChangeLog
blob77bf20fce880f6efc3e9e774c0444b5852bf397d
1 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4         of interrupted RPC instead of restoring it.
6         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8         libc_hidden_def.
9         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Add relro
10         attribute, define rtld_hidden_data_def.
11         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13         libc_hidden_def.
14         (if_freenameindex): Add libc_hidden_weak.
15         (if_nameindex): Add libc_hidden_weak.
16         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17         __open64.
18         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20         * sysdeps/mach/nanosleep.c: Include <time.h>
21         (__nanosleep): Rename to __libc_nanosleep.
22         (__nanosleep): Add weak_alias.
23         (nanosleep): Update alias.
25 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
27         * stdlib/strtod_nan.c: New file.
28         * stdlib/strtod_nan_double.h: Likewise.
29         * stdlib/strtod_nan_float.h: Likewise.
30         * stdlib/strtod_nan_main.c: Likewise.
31         * stdlib/strtod_nan_narrow.h: Likewise.
32         * stdlib/strtod_nan_wide.h: Likewise.
33         * stdlib/strtof_nan.c: Likewise.
34         * stdlib/strtold_nan.c: Likewise.
35         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
36         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
37         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
38         * wcsmbs/wcstod_nan.c: Likewise.
39         * wcsmbs/wcstof_nan.c: Likewise.
40         * wcsmbs/wcstold_nan.c: Likewise.
41         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
42         strtold_nan.
43         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
44         wcstof_nan.
45         * include/stdlib.h (__strtof_nan): Declare and use
46         libc_hidden_proto.
47         (__strtod_nan): Likewise.
48         (__strtold_nan): Likewise.
49         (__wcstof_nan): Likewise.
50         (__wcstod_nan): Likewise.
51         (__wcstold_nan): Likewise.
52         * include/wchar.h (____wcstoull_l_internal): Declare.
53         * stdlib/strtod_l.c: Do not include <ieee754.h>.
54         (____strtoull_l_internal): Remove declaration.
55         (STRTOF_NAN): Define macro.
56         (SET_MANTISSA): Remove macro.
57         (STRTOULL): Likewise.
58         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
59         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
60         (STRTOF_NAN): Define macro.
61         (SET_MANTISSA): Remove macro.
62         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
63         (SET_MANTISSA): Remove macro.
64         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
65         macro.
66         (SET_MANTISSA): Remove macro.
67         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
68         macro.
69         (SET_MANTISSA): Remove macro.
70         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
71         (SET_MANTISSA): Remove macro.
72         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
73         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
74         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
76         [BZ #19266]
77         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
78         upper case and lower case letters inside NAN(), not using TOLOWER.
79         * stdlib/tst-strtod-nan-locale-main.c: New file.
80         * stdlib/tst-strtod-nan-locale.c: Likewise.
81         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
82         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
83         Depend on $(gen-locales).
84         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
85         * wcsmbs/tst-wcstod-nan-locale.c: New file.
86         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
87         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
88         Depend on $(gen-locales).
89         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
91 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
93         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
95         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
96         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
97         __finitel, __isinfl, and __isnanl.
98         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
99         Likewise.
100         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
102         __finitel.
103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
104         Likewise.
105         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
107 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
109         * malloc/memusage.c (me): Remove redundant getenv call.
111 2015-10-24  Florian Weimer  <fweimer@redhat.com>
113         [BZ #19143]
114         [BZ #19164]
115         * nptl/check-cpuset.h: Remove.
116         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
117         Remove CPU set size check.
118         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
119         Likewise.
120         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
121         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
122         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
123         (__pthread_setaffinity_new): Remove CPU set size check.
124         * sysdeps/unix/sysv/linux/sched_setaffinity.c
125         (__kernel_cpumask_size): Remove.
126         (__sched_setaffinity_new): Remove CPU set size check.
127         * manual/threads.texi (Default Thread Attributes): Remove stale
128         reference to check_cpuset_attr, determine_cpumask_size in comment.
129         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
130         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
131         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
132         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
133         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
134         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
135         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
136         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
137         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
138         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
139         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
140         skeleton test file.
141         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
142         tst-affinity-pid.
144 2015-11-24  Florian Weimer  <fweimer@redhat.com>
146         * scripts/update-abilist.sh: New file.
147         * Makefile (+subdir_targets): Add subdir_update-all-abi.
148         * Makerules (update-all-abi-%, update-all-abi)
149         (subdir_update-all-abi): New targets.
150         * elf/Makefile (update-all-abi): New target.
152 2015-11-24  Florian Weimer  <fweimer@redhat.com>
154         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
155         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
156         (__libc_lock_define_initialized): Use it.
157         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
158         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
159         * malloc/malloc.c (main_arena): Likewise.
160         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
161         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
163 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
165         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
166         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
167         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
168         (PTRACE_O_MASK): Update value.
169         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
170         New value in enum __ptrace_setoptions.
171         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
172         (PTRACE_O_MASK): Update value.
173         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
174         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
175         (PTRACE_O_MASK): Update value.
176         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
177         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
178         (PTRACE_O_MASK): Update value.
179         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
180         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
181         (PTRACE_O_MASK): Update value.
182         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
183         New value in enum __ptrace_setoptions.
184         (PTRACE_O_MASK): Update value.
185         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
186         New value in enum __ptrace_setoptions.
187         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
188         (PTRACE_O_MASK): Update value.
190         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
191         New macro.
192         (PACKET_AUXDATA): Likewise.
193         (PACKET_ORIGDEV): Likewise.
194         (PACKET_VERSION): Likewise.
195         (PACKET_HDRLEN): Likewise.
196         (PACKET_RESERVE): Likewise.
197         (PACKET_TX_RING): Likewise.
198         (PACKET_LOSS): Likewise.
199         (PACKET_VNET_HDR): Likewise.
200         (PACKET_TX_TIMESTAMP): Likewise.
201         (PACKET_TIMESTAMP): Likewise.
202         (PACKET_FANOUT): Likewise.
203         (PACKET_TX_HAS_OFF): Likewise.
204         (PACKET_QDISC_BYPASS): Likewise.
205         (PACKET_ROLLOVER_STATS): Likewise.
206         (PACKET_FANOUT_DATA): Likewise.
207         (PACKET_MR_UNICAST): Likewise.
209         [BZ #19242]
210         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
211         (TOUPPER): Likewise.
212         * stdlib/tst-strtol-locale-main.c: New file.
213         * stdlib/tst-strtol-locale.c: Likewise.
214         * stdlib/Makefile (tests): Add tst-strtol-locale.
215         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
216         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
217         Depend on $(gen-locales).
218         * wcsmbs/tst-wcstol-locale.c: New file.
219         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
220         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
221         tr_TR.ISO-8859-9.
222         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
223         Depend on $(gen-locales).
225 2015-11-20  Roland McGrath  <roland@hack.frob.com>
227         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
228         __glibc_likely instead of __builtin_expect.  After falling back to
229         dyncode_create in a non-ET_DYN case, use the allocate_code_data
230         system interface to register the code pages as occupied.
232 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
234         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
235         [!ARM_MATH_PRIVATE_H].
236         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
237         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
238         [!HPPA_MATH_PRIVATE_H].
239         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
240         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
241         to [!I386_MATH_PRIVATE_H].
242         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
243         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
244         Change guard to [!M68K_MATH_PRIVATE_H].
245         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
246         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
247         guard to [!MICROBLAZE_MATH_PRIVATE_H].
248         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
249         macro.
250         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
251         [!MIPS_MATH_PRIVATE_H].
252         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
253         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
254         [!NIO2_MATH_PRIVATE_H].
255         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
256         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
257         [!TILE_MATH_PRIVATE_H].
258         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
260         [BZ #15421]
261         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
262         initialize with 0 and define as weak alias of __signgam.
263         * include/math.h [!_ISOMAC] (__signgam): Declare.
264         * math/Makefile (libm-calls): Add w_lgamma_compat.
265         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
266         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
267         test-signgam-ullong-init.
268         (tests-static): Add test-signgam-uchar-static,
269         test-signgam-uchar-init-static, test-signgam-uint-static,
270         test-signgam-uint-init-static, test-signgam-ullong-static and
271         test-signgam-ullong-init-static.
272         (CFLAGS-test-signgam-uchar.c): New variable.
273         (CFLAGS-test-signgam-uchar-init.c): Likewise.
274         (CFLAGS-test-signgam-uchar-static.c): Likewise.
275         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
276         (CFLAGS-test-signgam-uint.c): Likewise.
277         (CFLAGS-test-signgam-uint-init.c): Likewise.
278         (CFLAGS-test-signgam-uint-static.c): Likewise.
279         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
280         (CFLAGS-test-signgam-ullong.c): Likewise.
281         (CFLAGS-test-signgam-ullong-init.c): Likewise.
282         (CFLAGS-test-signgam-ullong-static.c): Likewise.
283         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
284         * math/Versions (libm): Add GLIBC_2.23.
285         * math/lgamma-compat.h: New file.
286         * math/test-signgam-main.c: Likewise.
287         * math/test-signgam-uchar-init-static.c: Likewise.
288         * math/test-signgam-uchar-init.c: Likewise.
289         * math/test-signgam-uchar-static.c: Likewise.
290         * math/test-signgam-uchar.c: Likewise.
291         * math/test-signgam-uint-init-static.c: Likewise.
292         * math/test-signgam-uint-init.c: Likewise.
293         * math/test-signgam-uint-static.c: Likewise.
294         * math/test-signgam-uint.c: Likewise.
295         * math/test-signgam-ullong-init-static.c: Likewise.
296         * math/test-signgam-ullong-init.c: Likewise.
297         * math/test-signgam-ullong-static.c: Likewise.
298         * math/test-signgam-ullong.c: Likewise.
299         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
300         wrapper of w_lgamma_main.c.
301         * math/w_lgamma_compat.c: New file.
302         * math/w_lgamma_compatf.c: Likewise.
303         * math/w_lgamma_compatl.c: Likewise.
304         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
305         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
306         defining compatibility symbols.
307         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
308         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
309         wrapper of w_lgammaf_main.c.
310         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
311         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
312         defining compatibility symbols.
313         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
314         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
315         wrapper of w_lgammal_main.c.
316         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
317         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
318         defining compatibility symbols.
319         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
320         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
321         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
322         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
323         <lgamma-compat.h>.
324         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
325         (__ieee754_gamma): Define as alias.
326         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
327         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
328         <lgamma-compat.h>.
329         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
330         (__ieee754_gammaf): Define as alias.
331         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
332         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
333         <lgamma-compat.h>.
334         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
335         (__ieee754_gammal): Define as alias.
336         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
337         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
338         <math/w_lgamma_compat.c>.
339         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
340         Define as alias of __lgamma_compat and use in defining lgammal.
341         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
342         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
343         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
344         (USE_AS_COMPAT): New macro.
345         (LGAMMA_OLD_VER): Undefine and redefine.
346         (lgammal): Do not define here.
347         (gammal): Only define here if [GAMMA_ALIAS].
348         * conform/linknamespace.pl (@whitelist): Remove signgam.
349         * sysdeps/nacl/libm.abilist: Update.
350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
352         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
353         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
358         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
363         Likewise.
364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
365         Likewise.
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
367         Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
369         Likewise.
370         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
376         Likewise.
377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
378         Likewise.
379         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
383 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
385         [BZ #16364]
386         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
387         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
389 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
391         * sysdeps/s390/fpu/bits/mathinline.h:
392         Use __asm__ [__volatile__] instead of asm [volatile].
393         * sysdeps/s390/abort-instr.h: Likewise.
394         * sysdeps/s390/atomic-machine.h: Likewise.
395         * sysdeps/s390/bits/string.h: Likewise.
396         * sysdeps/s390/dl-tls.h: Likewise.
397         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
398         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
399         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
400         * sysdeps/s390/fpu/fesetround.c: Likewise.
401         * sysdeps/s390/fpu/fpu_control.h: Likewise.
402         * sysdeps/s390/fpu/s_fma.c: Likewise.
403         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
404         * sysdeps/s390/memusage.h: Likewise.
405         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
406         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
407         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
408         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
409         * sysdeps/s390/nptl/tls.h: Likewise.
410         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
411         * sysdeps/s390/s390-32/backtrace.c: Likewise.
412         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
413         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
414         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
415         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
416         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
417         * sysdeps/s390/s390-64/backtrace.c: Likewise.
418         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
419         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
420         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
421         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
422         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
423         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
424         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
425         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
426         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
427         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
428         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
430         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
432         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
434 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
435             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
437         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
438         Add lwarx hint, and use macro for acquire instruction.
439         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
440         Likewise.
441         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
442         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
443         update to use new atomic macros.
445 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
447         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
448         (__lll_trylock_elision): Fix setting of adapt_count.
449         * sysdeps/unix/sysv/linux/powerpc/htm.h
450         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
451         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
452         (_ABORT_SYSCALL): Renumber, and clarify definition.
453         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
455 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
458         after system headers to prevent MIN/MAX redefinition.  Define
459         HAVE_ALLOCA to preserve builtin alloca usage.
461 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
464         static and don't set or restore rounding.
465         (__cos)[IN_SINCOS]: Likewise.
466         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
467         (__sincos): Set and restore rounding mode.  Remove check for infinite
468         or NaN input.
470         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
472         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
473         as used.
475 2015-11-16  Florian Weimer  <fweimer@redhat.com>
477         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
479 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
481         * config.make.in (have-glob-dat-reloc): New.
482         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
483         target supports GLOB_DAT relocaton. AC_SUBST.
484         * configure: Regenerated.
485         * elf/Makefile (tests): Add tst-prelink.
486         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
487         (tst-prelink-ENV): New.
488         ($(objpfx)tst-prelink-conflict.out): Likewise.
489         ($(objpfx)tst-prelink-cmp.out): Likewise.
490         * sysdeps/x86/tst-prelink.c: Moved to ...
491         * elf/tst-prelink.c: Here.
492         * sysdeps/x86/tst-prelink.exp: Moved to ...
493         * elf/tst-prelink.exp: Here.
494         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
495         (tst-prelink-ENV): Removed.
496         ($(objpfx)tst-prelink-conflict.out): Likewise.
497         ($(objpfx)tst-prelink-cmp.out): Likewise.
498         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
500 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
502         [BZ #14551]
503         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
504         (__mpn_construct_long_double): If high part overflows to infinity,
505         set errno and recompute overflowed result of the correct sign.
506         * sysdeps/ieee754/ldbl-128ibm/Makefile
507         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
508         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
509         $(libm).
510         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
512 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
514         [BZ #15479]
515         [BZ #19238]
516         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
517         floating-point state after first operation on input.  Restore full
518         state rather than just rounding mode.
519         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
520         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
521         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
523         [BZ #19235]
524         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
525         add 0.5 to integer arguments.
526         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
527         Likewise.
528         (.LC2): New object.
530 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
532         * scripts/pylintrc (reports): Set to no.
534 2015-11-10  Roland McGrath  <roland@hack.frob.com>
536         * elf/dl-load.c (open_verify): Take new argument FD.
537         Skip __open call if passed FD is not -1.
538         (_dl_map_object, open_path): Update callers.
539         * elf/dl-sysdep-open.h: New file.
540         * elf/dl-load.c: Include it.
541         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
542         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
543         * sysdeps/nacl/dl-sysdep-open.h: New file.
544         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
545         from libc to rtld.
547 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
549         [BZ #19228]
550         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
551         and restore full floating-point state.
552         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
553         Likewise.
554         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
555         Likewise.
556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
557         Likewise.
558         * math/test-nearbyint-except-2.c: New file.
559         * math/Makefile (tests): Add test-nearbyint-except-2.
561 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
563         [BZ #19178]
564         * sysdeps/x86/Makefile (tests): Add tst-prelink.
565         (tst-prelink-ENV): New.
566         ($(objpfx)tst-prelink-conflict.out): Likewise.
567         ($(objpfx)tst-prelink-cmp.out): Likewise.
568         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
569         * sysdeps/x86/tst-prelink.c: New file.
570         * sysdeps/x86/tst-prelink.exp: Likewise.
572 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
574         * math/auto-libm-test-in: Add another test of pow.
575         * math/auto-libm-test-out: Regenerated.
576         * math/libm-test.inc (pow_test_data): Add another test.
578 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
580         [BZ #19219]
581         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
582         weak_alias to nearbyintl.
584 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
586         * sysdeps/aarch64/bits/string.h: New file.
587         (_STRING_ARCH_unaligned): Define.
589 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
591         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
592         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
593         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
594         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
597 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
599         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
600         for original name of the DSO.  Add it to the name list of the DSO
601         if it is actually given.
602         (_dl_map_object): Keep track of whether an audit module rewrote
603         the file name.  If yes, pass the original name to
604         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
605         debugging is enabled, log the change of the file name.
606         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
607         _dl_map_object_from_fd.
608         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
609         * elf/tst-audit11.c: New file
610         * elf/tst-auditmod11.c: New file.
611         * elf/tst-audit11mod1.c: New file.
612         * elf/tst-audit11mod2.c: New file.
613         * elf/tst-audit11mod2.map: New file.
614         * elf/tst-audit12.c: New file
615         * elf/tst-auditmod12.c: New file.
616         * elf/tst-audit12mod1.c: New file.
617         * elf/tst-audit12mod2.c: New file.
618         * elf/tst-audit12mod2.map: New file.
619         * elf/tst-audit12mod3.c: New file.
621 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
623         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
624         Don't create weak aliases,
625         because versioned symbols are created later.
626         * sysdeps/s390/s390-32/setjmp.S
627         (setjmp, _setjmp): Remove weak and rename to an unique name
628         in SHARED case due to existing versioned symbols.
629         * sysdeps/s390/s390-64/setjmp.S: Likewise.
630         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
631         (getcontext): Create weak alias only in non SHARED case.
632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
634 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
636         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
637         (__ASSUME_*_SYSCALL) Define new macros.
638         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
639         Remove socketcall syscalls.
640         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
641         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
642         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
643         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
644         * sysdeps/unix/sysv/linux/send.c (__libc_send):
645         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
647 2015-11-09  Florian Weimer  <fweimer@redhat.com>
649         [BZ #12926]
650         Terminate process on invalid netlink response.
651         * sysdeps/unix/sysv/linux/netlinkaccess.h
652         (__netlink_assert_response): Declare.
653         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
654         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
655         (sysdep_routines): Add netlink_assert_response.
656         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
657         __netlink_assert_response.
658         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
659         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
660         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
661         __netlink_assert_response.
663 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
665         [BZ #19178]
666         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
667         (RTYPE_CLASS_PLT): Likewise.
668         (RTYPE_CLASS_COPY): Likewise.
669         (RTYPE_CLASS_TLS): Likewise.
670         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
671         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
672         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
673         DL_DEBUG_PRELINK.
675 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
677         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
678         calls with argument -0.5.
679         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
681         * configure.ac (libc_cv_z_nodelete): Remove configure test.
682         (libc_cv_z_nodlopen): Likewise.
683         (libc_cv_z_initfirst): Likewise.
684         * configure: Regenerated.
686 2015-11-06  Florian Weimer  <fweimer@redhat.com>
688         Simplify abilist format to be line-based.
689         * scripts/abilist.awk: Collect descriptors in the descs variable.
690         (emit): Write descs variable and sort it
691         externally, with sort.
692         * sysdeps/**/*.abilist: Convert to new format.
694 2015-11-06  Mark Wielaard  <mjw@redhat.com>
696         [BZ #11460]
697         * io/Makefile (routines): Add fts64.
698         (tests): Add tst-fts and tst-fts-lfs.
699         (CFLAGS-fts64.c): New.
700         * io/Versions (GLIBC_2.23): New.
701         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
702         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
703         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
704         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
705         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
706         (FTSENT64): Likewise.
707         (fts64_children): Likewise.
708         (fts64_close): Likewise.
709         (fts64_open): Likewise.
710         (fts64_read): Likewise.
711         (fts64_set): Likewise.
712         * io/fts64.c: New file.
713         * io/tst-fts.c: New test.
714         * io/tst-fts-lfs.c: Likewise.
715         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
716         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
717         fts64_set.
718         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
719         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
720         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
721         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
722         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
723         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
724         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
725         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
726         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
727         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
728         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
729         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
730         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
732         Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
734         Likewise.
735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
738         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
739         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
740         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
744         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
745         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
746         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
747         * sysdeps/wordsize-64/fts.c: New file.
748         * sysdeps/wordsize-64/fts64.c: Likewise.
749         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
750         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
751         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
752         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
754 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
756         * math/libm-test.inc (NON_FINITE): New macro.
757         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
758         * math/gen-libm-test.pl (show_exceptions): Add argument
759         $non_finite.
760         (parse_args): Update call to show_exceptions.
761         * math/test-math-finite.h: New file.
762         * math/test-math-no-finite.h: Likewise.
763         * math/test-double-finite.c: Likewise.
764         * math/test-float-finite.c: Likewise.
765         * math/test-ldouble-finite.c: Likewise.
766         * math/test-double.c: Include "test-math-no-finite.h".
767         * math/test-float.c: Include "test-math-no-finite.h".
768         * math/test-ldouble.c: Include "test-math-no-finite.h".
769         * math/test-math-inline.h (TEST_FINITE): New macro.
770         * math/test-math-vector.h (TEST_FINITE): Likewise.
771         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
772         (libm-tests): Add test-float-finite and test-double-finite.
773         ($(objpfx)test-float-finite.o): New dependency on
774         $(objpfx)libm-test.stmp.
775         ($(objpfx)test-double-finite.o): Likewise.
776         ($(objpfx)test-ldouble-finite.o): Likewise.
777         (libm-test-no-inline-cflags): New variable.
778         (libm-test-finite-cflags): Likewise.
779         (CFLAGS-test-float-finite.c): Likewise.
780         (CFLAGS-test-double-finite.c): Likewise.
781         (CFLAGS-test-ldouble-finite.c): Likewise.
782         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
783         (CFLAGS-test-double.c): Likewise.
784         (CFLAGS-test-ldouble.c): Likewise.
786 2015-11-05  Roland McGrath  <roland@hack.frob.com>
788         * io/fcntl.c (__fcntl): Add ... to prototype.
789         * misc/ioctl.c (__ioctl): Likewise.
790         * misc/syscall.c (syscall): Likewise.
792 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
794         * scripts/list-fixed-bugs.py: New file.
796         [BZ #19213]
797         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
798         returned for argument 1.
799         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
800         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
801         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
802         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
803         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
804         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
806         [BZ #19211]
807         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
808         __USE_XOPEN], not if [!__USE_ISOC99].
809         (lgammaf): Likewise.
810         (lgammal): Likewise.
811         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
812         (gammaf): Likewise.
813         (gammal): Likewise.
814         * math/test-signgam-finite-c11.c: New file.
815         * math/test-signgam-finite-c99.c: Likewise.
816         * math/test-signgam-finite.c: Likewise.
817         * math/Makefile (tests): Add test-signgam-finite,
818         test-signgam-finite-c99 and test-signgam-finite-c11.
819         (CFLAGS-test-signgam-finite.c): New variable.
820         (CFLAGS-test-signgam-finite-c99.c): Likewise.
821         (CFLAGS-test-signgam-finite-c11.c): Likewise.
823         [BZ #19212]
824         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
825         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
826         500].
827         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
828         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
829         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
830         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
831         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
832         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
833         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
834         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
835         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
836         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
838         [BZ #19209]
839         * math/bits/math-finite.h (ldexp): Remove declaration.
840         (ldexpf): Likewise.
841         (ldexpl): Likewise.
843         [BZ #19205]
844         * math/bits/math-finite.h (acosf): Condition declaration on
845         [__USE_ISOC99].
846         (acosl): Likewise.
847         (acoshf): Likewise.
848         (acoshl): Likewise.
849         (asinf): Likewise.
850         (asinl): Likewise.
851         (atan2f): Likewise.
852         (atan2l): Likewise.
853         (atanhf): Likewise.
854         (atanhl): Likewise.
855         (coshf): Likewise.
856         (coshl): Likewise.
857         (expf): Likewise.
858         (expl): Likewise.
859         (fmodf): Likewise.
860         (fmodl): Likewise.
861         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
862         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
863         (j0l): Likewise.
864         (y0f): Likewise.
865         (y0l): Likewise.
866         (j1f): Likewise.
867         (j1l): Likewise.
868         (y1f): Likewise.
869         (y1l): Likewise.
870         (jnf): Likewise.
871         (jnl): Likewise.
872         (ynf): Likewise.
873         (ynl): Likewise.
874         (lgammaf_r): Condition declaration on [__USE_ISOC99].
875         (lgammal_r): Likewise.
876         (__lgamma_r_finite): New declaration.
877         (__lgammaf_r_finite): Likewise.
878         (__lgammal_r_finite): Likewise.
879         (lgamma): Use __lgamma_r_finite.
880         (lgammaf): Condition definition on [__USE_ISOC99].  Use
881         __lgammaf_r_finite.
882         (lgammal): Condition definition on [__USE_ISOC99].  Use
883         __lgammal_r_finite.
884         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
885         __lgamma_r_finite.
886         (gammaf): Condition definition on [__USE_ISOC99].  Use
887         __lgammaf_r_finite.
888         (gammal): Condition definition on [__USE_ISOC99].  Use
889         __lgammal_r_finite.
890         (logf): Condition declaration on [__USE_ISOC99].
891         (logl): Likewise.
892         (log10f): Likewise.
893         (log10l): Likewise.
894         (ldexpf): Likewise.
895         (ldexpl): Likewise.
896         (powf): Likewise.
897         (powl): Likewise.
898         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
899         __USE_ISOC99].
900         (remainderf): Condition declaration on [__USE_ISOC99].
901         (remainderl): Likewise.
902         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
903         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
904         (scalbl): Likewise.
905         (sinhf): Condition declaration on [__USE_ISOC99].
906         (sinhl): Likewise.
907         (sqrtf): Likewise.
908         (sqrtl): Likewise.
910 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
912         * sysdeps/arm/atomic-machine.h
913         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
914         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
915         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
916         Remove conditional code.
917         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
918         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
919         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
920         Change conditional to [__ASSEMBLER__].
921         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
922         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
923         [!__ASSEMBLER__].
924         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
925         code.
926         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
927         conditional macro definitions.
928         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
929         (__arch_compare_and_exchange_val_16_acq): Likewise.
930         (__arch_compare_and_exchange_val_32_acq): Likewise.
931         (atomic_exchange_and_add): Likewise.
932         (atomic_add): Likewise.
933         (atomic_add_negative): Likewise.
934         (atomic_add_zero): Likewise.
935         (atomic_bit_set): Likewise.
936         (atomic_bit_test_set): Likewise.
937         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
938         code unconditional.
939         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
941         * math/test-math-errno.h: New file.
942         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
943         empty.
944         (TEST_ERRNO): New macro.
945         (TEST_EXCEPTIONS): Likewise.
946         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
947         (TEST_EXCEPTIONS): Likewise.
948         * math/test-math-vector.h (TEST_ERRNO): Likewise.
949         * math/test-double.c: Include "test-math-errno.h".
950         * math/test-float.c: Likewise.
951         * math/test-ldouble.c: Likewise.
952         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
953         code unconditional.
954         (test_exceptions): Only run code if TEST_EXCEPTIONS.
955         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
956         unconditional.
957         (test_errno): Only run code if TEST_ERRNO.
958         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
960 2015-11-04  Florian Weimer  <fweimer@redhat.com>
962         * nptl/tst-once5.cc: Remove attribution.
964 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
966         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
967         sqrt, tan, tanh, y0, y1 and yn.
968         * math/auto-libm-test-out: Regenerated.
969         * math/libm-test.inc (scalb_test_data): Add more tests.
970         (scalbn_test_data): Likewise.
971         (scalbln_test_data): Likewise.
972         (signbit_test_data): Likewise.
973         (sin_test_data): Likewise.
974         (sincos_test_data): Likewise.
975         (sinh_test_data): Likewise.
976         (sqrt_test_data): Likewise.
977         (tan_test_data): Likewise.
978         (tanh_test_data): Likewise.
979         (tgamma_test_data): Likewise.
980         (y0_test_data): Likewise.
981         (y1_test_data): Likewise.
982         (yn_test_data): Likewise.
983         (significand_test_data): Likewise.
984         * sysdeps/i386/fpu/libm-test-ulps: Update.
986 2015-11-03  David Kastrup  <dak@gnu.org>
988         [BZ #18604]
989         * assert/assert.h (assert): Don't macro-expand failed assertion
990         expression in error message.
991         * malloc/malloc.c (assert): Likewise.
993 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
995         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
996         test.
997         * configure: Regenerated.
999 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1001         * math/libm-test.inc (modf_test_data): Add more tests.
1002         (nearbyint_test_data): Likewise.
1003         (nextafter_test_data): Likewise.
1004         (nexttoward_test_data): Likewise.
1005         (pow_test_data): Likewise.
1006         (remainder_test_data): Likewise.
1007         (remquo_test_data): Likewise.
1008         (rint_test_data): Likewise.
1010         [BZ #19201]
1011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1012         Check for zero remainder in case of large exponents and ensure
1013         correct sign of result in that case.
1014         * math/libm-test.inc (remainder_test_data): Add more tests.
1016         [BZ #6799]
1017         * math/s_nextafter.c: Include <errno.h>.
1018         (__nextafter): Set errno on overflow and underflow.
1019         * math/s_nexttowardf.c: Include <errno.h>.
1020         (__nexttowardf): Set errno on overflow and underflow.
1021         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1022         (__nextafterl): Set errno on overflow and underflow.
1023         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1024         (__nexttoward): Set errno on overflow and underflow.
1025         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1026         (__nexttowardf): Set errno on overflow and underflow.
1027         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1028         (__nextafterf): Set errno on overflow and underflow.
1029         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1030         (__nextafterl): Set errno on overflow and underflow.
1031         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1032         (__nexttoward): Set errno on overflow and underflow.
1033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1034         (__nexttowardf): Set errno on overflow and underflow.
1035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1036         (__nextafterl): Set errno on overflow and underflow.
1037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1038         (__nexttoward): Set errno on overflow and underflow.
1039         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1040         (__nexttowardf): Set errno on overflow and underflow.
1041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1042         (__nexttoward): Set errno on overflow and underflow.
1043         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1044         (__nexttowardf): Set errno on overflow and underflow.
1045         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1046         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1047         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1048         (__nextafterl): Set errno on overflow and underflow.
1049         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1050         setting to be missing on overflow.  Add more tests.
1051         (nexttoward_test_data): Likewise.
1053         * configure.ac (libc_cv_initfini_array): Remove configure test.
1054         * configure: Regenerated.
1056 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1058         [BZ #19189]
1059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1060         non-finite argument handle arguments with negative sign.
1062         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1063         result from infinite argument.
1064         (j1_test_data): Likewise.
1065         (jn_test_data): Likewise.
1066         (y0_test_data): Likewise.
1067         (y1_test_data): Likewise.
1068         (yn_test_data): Likewise.
1070         [BZ #16171]
1071         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1072         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1073         * math/w_remainderf.c (dremf): Define as weak alias of
1074         __remainderf.
1075         * math/w_remainderl.c (dreml): Define as weak alias of
1076         __remainderl.
1077         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1078         __remainder.
1079         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1080         __remainderf.
1081         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1082         __remainderl.
1083         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1084         weak alias of remainderl.
1085         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1086         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1087         alias of __remainder.
1088         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1089         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1090         strong alias of __remainderl.
1091         (dreml): Use long_double_symbol.
1092         * math/Makefile (libm-calls): Remove w_drem.
1093         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1094         (CFLAGS-nldbl-drem.c): Remove variable.
1095         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1096         * math/w_drem.c: Remove file.
1097         * math/w_dremf.c: Likewise.
1098         * math/w_dreml.c: Likewise.
1099         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1100         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1101         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1103         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1104         * sysdeps/i386/configure: Regenerated.
1105         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1106         * sysdeps/x86_64/configure: Regenerated.
1108         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1109         test.
1110         (libc_cv_visibility_attribute): Likewise.
1111         (libc_cv_protected_data): Test unconditionally.
1112         (libc_cv_broken_visibility_attribute): Remove configure test.
1113         (libc_cv_have_sdata_section): Test unconditionally.
1114         * configure: Regenerated.
1116         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1117         * include/scratch_buffer.h: Include <stddef.h> instead of
1118         <libc-internal.h>.
1119         (struct scratch_buffer): Use max_align_t instead of
1120         libc_max_align_t.
1122 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1124         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1125         instead of extend_alloca.  Change control flow to avoid a goto.
1126         Remove assert which is trivially always true.
1128 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1130         [BZ #16068]
1131         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1132         (FE_ALL_EXCEPT_X86): New macro.
1133         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1134         FE_ALL_EXCEPT.  Ensure precision control is included in
1135         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1136         handle "denormal operand exception" and clear FZ and DAZ bits.
1137         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1138         (FE_ALL_EXCEPT_X86): New macro.
1139         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1140         FE_ALL_EXCEPT.  Ensure precision control is included in
1141         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1142         handle "denormal operand exception" and clear FZ and DAZ bits.
1143         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1144         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1145         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1146         test-fenv-x87 and test-fenv-sse-2.
1147         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1149         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1150         * math/test-double.h (BUILD_COMPLEX): New macro.
1151         * math/test-float.h (BUILD_COMPLEX): Likewise.
1152         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1154         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1155         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1156         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1158         instead of DBL_DENORM_MIN in comment.
1159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1160         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1161         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1162         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1164         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1166 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1168         [BZ# 19048]
1169         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1170         attached_threads member.
1171         (main_arena): Initialize attached_threads.
1172         * malloc/arena.c (list_lock): Update comment.
1173         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1174         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1175         (deattach_arena): New function.
1176         (_int_new_arena): Initialize arena reference count and deattach
1177         replaced arena.
1178         (get_free_list, reused_arena): Update reference count and deattach
1179         replaced arena.
1180         (arena_thread_freeres): Update arena reference count and only put
1181         unreferenced arenas on the free list.
1183 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #19181]
1186         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1187         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1188         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1189         * math/test-fenv-clear-main.c: New file.
1190         * math/test-fenv-clear.c: Likewise.
1191         * math/Makefile (tests): Add test-fenv-clear.
1192         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1193         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1194         test-fenv-clear-sse.
1195         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1197         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1198         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1199         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1201 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1203         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1204         static libc.
1206 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1208         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1209         test.
1210         * sysdeps/i386/configure: Regenerated.
1211         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1212         test.
1213         * sysdeps/x86_64/configure: Regenerated.
1214         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1216         memset-avx2 unconditionally instead of conditionally on
1217         [$(config-cflags-avx2) = yes].
1218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1219         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1220         unconditional.
1221         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1222         * sysdeps/x86_64/multiarch/memset_chk.S
1223         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1224         to [IS_IN (libc) && SHARED].
1226 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1228         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1229         configure test.
1230         * sysdeps/arm/configure: Regenerated.
1231         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1232         Define variable if not already defined.
1234         [BZ #17404]
1235         * sysdeps/mips/atomic-machine.h
1236         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1237         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1238         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1240         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1241         unconditional.
1242         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1243         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1244         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1245         unconditional.
1246         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1247         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1248         unconditional.
1249         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1250         * stdlib/setenv.c
1251         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1252         code unconditional.
1253         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1254         Remove conditional code.
1255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1256         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1257         unconditional.
1258         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1259         code.
1260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1261         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1262         unconditional.
1263         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1264         code.
1265         * sysdeps/ieee754/ldbl-128/k_tanl.c
1266         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1267         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1269         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1270         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1271         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1272         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1273         unconditional.
1274         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1275         code.
1276         * sysdeps/ieee754/ldbl-96/k_tanl.c
1277         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1278         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1280         * nptl/tst-initializers1-c11.c: New file.
1281         * nptl/tst-initializers1-gnu11.c: Likewise.
1282         * nptl/Makefile (tests): Add these new tests.
1283         (CFLAGS-tst-initializers1-c11.c): New variable.
1284         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1286         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1287         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1288         instead of -std=gnu99.
1289         * configure.ac (systemtap): Test with -std=gnu11 instead of
1290         -std=gnu99.
1291         * configure: Regenerated.
1292         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1293         in compilation command in comment.
1295         * sysdeps/nptl/configure.ac: Remove file.
1296         * sysdeps/nptl/configure: Remove generated file.
1297         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1298         * configure: Regenerated.
1299         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1300         * config.make.in (have-forced-unwind): Remove variable.
1301         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1302         unconditional.
1303         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1304         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1305         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1306         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1307         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1308         unconditional.
1310 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1312         [BZ #19174]
1313         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1314         .skip_lock_out_of_tbegin_retries.
1315         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1316         (__lll_lock_elision): Likewise, and respect a value of
1317         try_tbegin <= 0.
1319 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1321         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1322         statement.
1324 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1326         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1327         variable.
1328         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1329         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1331         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1332         of -std=c1x -D_ISOC11_SOURCE.
1334         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1335         * configure: Regenerated.
1336         * manual/install.texi (Tools for Compilation): Document
1337         requirement for GCC 4.7 or later.
1338         * INSTALL: Regenerated.
1340 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1342         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1343         on CNT to a conditional jump to 'puntdata'.
1345 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1347         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1348         (libc_cv_gcc_tls_model_attr): Likewise.
1349         * configure: Regenerated.
1351         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1352         * configure: Regenerated.
1353         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1355 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1357         * configure.ac (old_glibc_headers): Remove configure test.
1358         * configure: Regenerated.
1359         * config.make.in (old-glibc-headers): Remove variable.
1360         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1361         (install): Remove dependency on remove-old-headers.
1362         (headers2_0): Remove variable.
1363         (remove-old-headers): Remove rule.
1365         * configure.ac (libc_cv_dot_text): Remove configure test.
1366         (libc_cv_asm_set_directive): Use .text instead of
1367         ${libc_cv_dot_text} in configure test.
1368         * configure: Regenerated.
1370 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1372         [BZ #19168]
1373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1375 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1377         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1378         not support static linking.
1379         * configure: Regenerate.
1381 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1383         * math/libm-test.inc (check_float_internal): Do not special-case
1384         errors up to 0.5 ulp.
1386         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1387         log2.
1388         * math/auto-libm-test-out: Regenerated.
1389         * math/libm-test.inc (MAX_EXP): New macro.
1390         (ilogb_test_data): Add more tests.
1391         (isfinite_test_data): Likewise.
1392         (isgreater_test_data): Likewise.
1393         (isgreaterequal_test_data): Likewise.
1394         (isinf_test_data): Likewise.
1395         (isless_test_data): Likewise.
1396         (islessequal_test_data): Likewise.
1397         (islessgreater_test_data): Likewise.
1398         (isnan_test_data): Likewise.
1399         (isnormal_test_data): Likewise.
1400         (issignaling_test_data): Likewise.
1401         (isunordered_test_data): Likewise.
1402         (j0_test_data): Likewise.
1403         (j1_test_data): Likewise.
1404         (jn_test_data): Likewise.
1405         (lgamma_test_data): Likewise.
1406         (log_test_data): Likewise.
1407         (log10_test_data): Likewise.
1408         (log1p_test_data): Likewise.
1409         (log2_test_data): Likewise.
1410         (logb_test_data): Likewise.
1411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1413         [BZ #18611]
1414         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1415         avoid excess range and precision on underflow.
1416         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1417         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1418         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1419         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1420         underflow.
1421         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1425         * math/auto-libm-test-in: Do not allow missing errno setting for
1426         tests of j1 and jn.
1427         * math/auto-libm-test-out: Regenerated.
1429 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1431         [BZ #15491]
1432         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1433         floating-point environment instead of clearing all exceptions.
1434         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1435         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1436         merging in "invalid" exceptions from frndint.
1437         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1438         * math/test-nearbyint-except.c: New file.
1439         * math/Makefile (tests): Add test-nearbyint-except.
1441 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1443         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1445         * sysdeps/tile/libm-test-ulps: Regenerated.
1447 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1450         (__NR_sync_file_range2): Assume it is always defined.
1451         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1452         (__NR_sync_file_range): Assume it is always defined.
1454 2015-10-22  Andreas Schwab  <schwab@suse.de>
1456         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1457         INTERNAL_SYSCALL_ERRNO.
1458         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1459         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1460         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1461         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1462         Likewise.
1463         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1465 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1467         * io/tst-fcntl.c (fd): New static variable.
1468         (do_prepare): Open temporary file here....
1469         (do_test): ...not here.
1471         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1473 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1475         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1476         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1477         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1478         Moved before "#ifdef __ASSEMBLER__".
1480 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1482         [BZ #19156]
1483         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1484         arguments very close to 0.
1486 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1488         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1489         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1491 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1493         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1494         New.  Defined for GCC 5 and above when not compiling for
1495         profiling.
1496         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1498         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1499         Renamed to ...
1500         (CFLAGS-epoll_pwait.o): This.
1501         (CFLAGS-mmap.c): Renamed to ...
1502         (CFLAGS-mmap.o): This.
1503         (CFLAGS-mmap64.c): Renamed to ...
1504         (CFLAGS-mmap64.o): This.
1505         (CFLAGS-epoll_pwait.os): New.
1506         (CFLAGS-mmap.os): Likewise.
1507         (CFLAGS-mmap64.os): Likewise.
1508         (CFLAGS-semtimedop.os): Likewise.
1509         (CFLAGS-semtimedop.c): Renamed to ...
1510         (CFLAGS-semtimedop.o): This.
1512 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1514         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1515         warning message.
1517 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1519         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1520         * Makefile ($(objpfx)c++-types-check.out): Filter out
1521         $(+gccwarn-c) instead of -Wstrict-prototypes.
1523         * io/fts.c (fts_open): Convert to prototype-style function
1524         definition.
1525         * malloc/mcheck.c (mcheck): Likewise.
1526         (mcheck_pedantic): Likewise.
1527         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1528         internal_function.
1529         (re_search_internal): Likewise.
1530         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1531         prototype-style function definition.
1532         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1533         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1534         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1535         (xdr_utmpptr): Likewise.
1536         (xdr_utmparr): Likewise.
1537         (xdr_utmpidle): Likewise.
1538         (xdr_utmpidleptr): Likewise.
1539         (xdr_utmpidlearr): Likewise.
1541         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1542         log, log10 and log2.
1543         * math/auto-libm-test-out: Regenerated.
1544         * math/libm-test.inc (fmod_test_data): Add more tests.
1545         (fpclassify_test_data): Likewise.
1546         (frexp_test_data): Likewise.
1547         (hypot_test_data): Likewise.
1548         (ilogb_test_data): Likewise.
1550 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1552         * debug/fortify_fail.c (__fortify_fail): Convert to
1553         prototype-style function definition.  Use internal_function.
1554         * libio/genops.c (save_for_backup): Convert to prototype-style
1555         function definition.
1556         * libio/wgenops.c (save_for_wbackup): Likewise.
1557         * login/grantpt.c (grantpt): Likewise.
1558         * login/ptsname.c (ptsname): Likewise.
1559         (__ptsname_r): Likewise.
1560         * login/unlockpt.c (unlockpt): Likewise.
1561         * mach/msgserver.c (__mach_msg_server): Likewise.
1562         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1563         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1564         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1565         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1566         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1567         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1568         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1569         Likewise.
1570         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1571         internal_function.
1572         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1573         prototype-style function definition.
1574         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1575         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1576         (__pthread_create_2_0): Likewise.
1577         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1578         * nptl/register-atfork.c (__register_atfork): Likewise.
1579         * posix/glob.c (glob): Likewise.
1580         * posix/regcomp.c (re_comp): Likewise.
1581         * posix/regexec.c (re_exec): Likewise.
1582         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1583         [!__STDC__]: Remove conditional code.
1584         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1585         [!__STDC__]: Remove conditional code.
1586         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1587         [!__STDC__]: Remove conditional code.
1588         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1589         [!__STDC__]: Remove conditional code.
1590         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1591         [!__STDC__]: Remove conditional code.
1592         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1593         [!__STDC__]: Remove conditional code.
1594         * stdlib/mul.c [__STDC__]: Make code unconditional.
1595         [!__STDC__]: Remove conditional code.
1596         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1597         [!__STDC__]: Remove conditional code.
1598         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1599         [!__STDC__]: Remove conditional code.
1600         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1601         function definition.
1602         (STRTOF): Likewise.
1603         * stdlib/strtod_l.c (__STRTOF): Likewise.
1604         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1605         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1606         (__strtol_l): Likewise.
1607         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1608         [!__STDC__]: Remove conditional code.
1609         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1610         definition.
1611         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1612         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1613         type.
1614         (__strcasecmp): Convert to prototype-style function definition.
1615         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1616         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1617         type.
1618         (__strncasecmp): Convert to prototype-style function definition.
1619         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1620         * sunrpc/xdr.c (xdr_union): Likewise.
1621         * sunrpc/xdr_array.c (xdr_array): Likewise.
1622         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1623         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1624         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1625         Likewise.
1626         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1627         Likewise.
1628         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1629         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1630         Likewise.
1631         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1632         (LOCALE_PARAM_PROTO): Likewise.
1633         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1634         argument type.
1635         (ut_argument_spec): Remove macro.
1636         (ut_argument_spec_iso): Rename to ut_argument_spec.
1637         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1638         prototype-style function definition.
1639         (memcpy_uppcase): Likewise.
1640         (__strftime_internal): Likewise.
1641         (my_strftime): Likewise.
1642         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1643         (LOCALE_PARAM_DECL): Likewise.
1644         [_LIBC] (LOCALE_PARAM): Include argument type.
1645         (__strptime_internal): Convert to prototype-style function
1646         definition.
1647         (strptime): Likewise.
1648         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1649         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1650         type.
1651         (__wcscasecmp): Convert to prototype-style function definition.
1652         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1653         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1654         type.
1655         (__wcsncasecmp): Convert to prototype-style function definition.
1657         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1658         function definition.
1659         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1660         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1661         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1662         * elf/dl-minimal.c (_itoa): Likewise.
1663         * hurd/hurdmalloc.c (malloc): Likewise.
1664         (free): Likewise.
1665         (realloc): Likewise.
1666         * inet/inet6_option.c (inet6_option_space): Likewise.
1667         (inet6_option_init): Likewise.
1668         (inet6_option_append): Likewise.
1669         (inet6_option_alloc): Likewise.
1670         (inet6_option_next): Likewise.
1671         (inet6_option_find): Likewise.
1672         * io/ftw.c (FTW_NAME): Likewise.
1673         (NFTW_NAME): Likewise.
1674         (NFTW_NEW_NAME): Likewise.
1675         (NFTW_OLD_NAME): Likewise.
1676         * libio/iofwide.c (_IO_fwide): Likewise.
1677         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1678         (_IO_str_init_static): Likewise.
1679         (_IO_str_init_readonly): Likewise.
1680         (_IO_str_overflow): Likewise.
1681         (_IO_str_underflow): Likewise.
1682         (_IO_str_count): Likewise.
1683         (_IO_str_seekoff): Likewise.
1684         (_IO_str_pbackfail): Likewise.
1685         (_IO_str_finish): Likewise.
1686         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1687         (_IO_wstr_overflow): Likewise.
1688         (_IO_wstr_underflow): Likewise.
1689         (_IO_wstr_count): Likewise.
1690         (_IO_wstr_seekoff): Likewise.
1691         (_IO_wstr_pbackfail): Likewise.
1692         (_IO_wstr_finish): Likewise.
1693         * locale/programs/localedef.c (normalize_codeset): Likewise.
1694         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1695         (add_locales_to_archive): Likewise.
1696         (delete_locales_from_archive): Likewise.
1697         * malloc/malloc.c (__libc_mallinfo): Likewise.
1698         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1699         * misc/tsearch.c (__tfind): Likewise.
1700         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1701         * nptl/pthread_attr_getdetachstate.c
1702         (__pthread_attr_getdetachstate): Likewise.
1703         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1704         Likewise.
1705         * nptl/pthread_attr_getinheritsched.c
1706         (__pthread_attr_getinheritsched): Likewise.
1707         * nptl/pthread_attr_getschedparam.c
1708         (__pthread_attr_getschedparam): Likewise.
1709         * nptl/pthread_attr_getschedpolicy.c
1710         (__pthread_attr_getschedpolicy): Likewise.
1711         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1712         Likewise.
1713         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1714         Likewise.
1715         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1716         Likewise.
1717         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1718         Likewise.
1719         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1720         (__pthread_attr_init_2_0): Likewise.
1721         * nptl/pthread_attr_setdetachstate.c
1722         (__pthread_attr_setdetachstate): Likewise.
1723         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1724         Likewise.
1725         * nptl/pthread_attr_setinheritsched.c
1726         (__pthread_attr_setinheritsched): Likewise.
1727         * nptl/pthread_attr_setschedparam.c
1728         (__pthread_attr_setschedparam): Likewise.
1729         * nptl/pthread_attr_setschedpolicy.c
1730         (__pthread_attr_setschedpolicy): Likewise.
1731         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1732         Likewise.
1733         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1734         Likewise.
1735         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1736         Likewise.
1737         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1738         Likewise.
1739         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1740         Likewise.
1741         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1742         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1743         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1744         use internal_function.
1745         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1746         prototype-style function definition.
1747         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1748         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1749         internal_function.
1750         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1751         Convert to prototype-style function definition.
1752         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1753         Likewise.
1754         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1755         Likewise.
1756         (__pthread_mutex_unlock): Likewise.
1757         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1758         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1759         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1760         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1761         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1762         * nss/makedb.c (process_input): Likewise.
1763         * posix/fnmatch.c (__strchrnul): Likewise.
1764         (__wcschrnul): Likewise.
1765         (fnmatch): Likewise.
1766         * posix/fnmatch_loop.c (FCT): Likewise.
1767         * posix/glob.c (globfree): Likewise.
1768         (__glob_pattern_type): Likewise.
1769         (__glob_pattern_p): Likewise.
1770         * posix/regcomp.c (re_compile_pattern): Likewise.
1771         (re_set_syntax): Likewise.
1772         (re_compile_fastmap): Likewise.
1773         (regcomp): Likewise.
1774         (regerror): Likewise.
1775         (regfree): Likewise.
1776         * posix/regexec.c (regexec): Likewise.
1777         (re_match): Likewise.
1778         (re_search): Likewise.
1779         (re_match_2): Likewise.
1780         (re_search_2): Likewise.
1781         (re_search_stub): Likewise.  Use internal_function
1782         (re_copy_regs): Likewise.
1783         (re_set_registers): Convert to prototype-style function
1784         definition.
1785         (prune_impossible_nodes): Likewise.  Use internal_function.
1786         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1787         prototype-style function definition.
1788         (inet_net_pton_ipv4): Likewise.
1789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1790         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1791         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1792         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1793         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1794         Make variadic.
1795         * time/strptime_l.c (localtime_r): Convert to prototype-style
1796         function definition.
1797         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1798         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1799         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1800         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1802         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1803         definition.
1804         (_ufc_doit_r): Likewise.
1805         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1806         (_ufc_output_conversion_r): Likewise.
1807         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1808         * inet/rcmd.c (rcmd_af): Likewise.
1809         (rcmd): Likewise.
1810         (ruserok_af): Likewise.
1811         (ruserok): Likewise.
1812         (ruserok2_sa): Likewise.
1813         (ruserok_sa): Likewise.
1814         (iruserok_af): Likewise.
1815         (iruserok): Likewise.
1816         (__ivaliduser): Likewise.
1817         (__validuser2_sa): Likewise.
1818         * inet/rexec.c (rexec_af): Likewise.
1819         (rexec): Likewise.
1820         * inet/ruserpass.c (ruserpass): Likewise.
1821         * locale/programs/xmalloc.c (xcalloc): Likewise.
1822         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1823         * math/w_drem.c (__drem): Likewise.
1824         * math/w_dremf.c (__dremf): Likewise.
1825         * math/w_dreml.c (__dreml): Likewise.
1826         * misc/daemon.c (daemon): Likewise.
1827         * resolv/res_debug.c (p_fqnname): Likewise.
1828         * stdlib/div.c (div): Likewise.
1829         * string/memcmp.c (memcmp_bytes): Likewise.
1830         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1831         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1833         * crypt/cert.c (main): Convert to prototype-style function
1834         definition.
1835         * io/pipe.c (__pipe): Likewise.
1836         * io/pipe2.c (__pipe2): Likewise.
1837         * misc/futimesat.c (futimesat): Likewise.
1838         * misc/utimes.c (__utimes): Likewise.
1839         * posix/execve.c (__execve): Likewise.
1840         * posix/execvp.c (execvp): Likewise.
1841         * posix/execvpe.c (__execvpe): Likewise.
1842         * posix/fexecve.c (fexecve): Likewise.
1843         * socket/socketpair.c (socketpair): Likewise.
1844         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1845         * stdlib/erand48.c (erand48): Likewise.
1846         * stdlib/erand48_r.c (__erand48_r): Likewise.
1847         * stdlib/jrand48.c (jrand48): Likewise.
1848         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1849         * stdlib/lcong48.c (lcong48): Likewise.
1850         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1851         * stdlib/nrand48.c (nrand48): Likewise.
1852         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1853         * stdlib/seed48.c (seed48): Likewise.
1854         * stdlib/seed48_r.c (__seed48_r): Likewise.
1855         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1856         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1857         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1859 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1861         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1862         * configure: Regenerated.
1863         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1864         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1865         unconditional.
1866         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1867         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1868         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1869         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1870         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1871         unconditional.
1872         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1874         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1875         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1877         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1878         function definition.
1879         * crypt/crypt_util.c (__encrypt_r): Likewise.
1880         * libio/genops.c (_IO_no_init): Likewise.
1881         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1882         (_IO_old_fopencookie): Likewise.
1883         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1884         * libio/iogetline.c (_IO_getline): Likewise.
1885         (_IO_getline_info): Likewise.
1886         * libio/iogetwline.c (_IO_getwline): Likewise.
1887         (_IO_getwline_info): Likewise.
1888         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1889         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1890         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1891         (find_entry): Likewise.
1892         (iterate_table): Likewise.
1893         (lookup): Likewise.
1894         * login/forkpty.c (forkpty): Likewise.
1895         * misc/hsearch_r.c (__hsearch_r): Likewise.
1896         * misc/select.c (__select): Likewise.
1897         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1898         Likewise.
1899         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1900         Likewise.
1901         * nptl/old_pthread_cond_timedwait.c
1902         (__pthread_cond_timedwait_2_0): Likewise.
1903         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1904         * nptl/pthread_barrierattr_getpshared.c
1905         (pthread_barrierattr_getpshared): Likewise.
1906         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1907         Likewise.
1908         * nptl/pthread_mutex_setprioceiling.c
1909         (pthread_mutex_setprioceiling): Likewise.
1910         * nptl/pthread_mutexattr_getprioceiling.c
1911         (pthread_mutexattr_getprioceiling): Likewise.
1912         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1913         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1914         Likewise.
1915         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1916         Likewise.
1917         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1918         Likewise.
1919         * socket/recvfrom.c (__recvfrom): Likewise.
1920         * socket/sendto.c (__sendto): Likewise.
1921         * socket/setsockopt.c (__setsockopt): Likewise.
1922         * stdio-common/_itoa.c (_itoa): Likewise.
1923         * stdio-common/_itowa.c (_itowa): Likewise.
1924         * stdio-common/reg-printf.c (__register_printf_specifier):
1925         Likewise.
1926         (__register_printf_function): Likewise.
1927         * stdio-common/tempname.c (__path_search): Likewise.
1928         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1929         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1930         * stdlib/random_r.c (__initstate_r): Likewise.
1931         * stdlib/setenv.c (__add_to_environ): Likewise.
1932         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1933         * streams/getpmsg.c (getpmsg): Likewise.
1934         * streams/putmsg.c (putmsg): Likewise.
1935         * streams/putpmsg.c (putpmsg): Likewise.
1936         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1937         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1938         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1939         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1940         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1941         * sunrpc/svc_udp.c (cache_get): Likewise.
1942         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1943         * sysdeps/mach/hurd/getcwd.c
1944         (__canonicalize_directory_name_internal): Likewise.
1945         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1946         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1947         * sysdeps/mach/hurd/select.c (__select): Likewise.
1948         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1949         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1950         * sysdeps/sparc/nptl/pthread_barrier_init.c
1951         (__pthread_barrier_init): Likewise.
1952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1953         (__pthread_cond_timedwait): Likewise.
1954         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1955         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1956         Likewise.
1957         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1958         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1959         Likewise.
1960         * sysvipc/semtimedop.c (semtimedop): Likewise.
1961         * time/setitimer.c (__setitimer): Likewise.
1962         * time/strftime_l.c (emacs_strftime): Likewise.
1964 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1966         * config.make.in (have-ssp): Delete.
1967         (stack-protector): New variable.
1968         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1969         cache test for -fstack-protector-strong.  Export stack_protector to
1970         the best ssp flag.
1971         * configure: Regenerated.
1972         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1973         * nscd/Makefile (CFLAGS-nscd): Likewise.
1974         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1976 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1978         [BZ #19122]
1979         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1980         attribute_hidden.
1982 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1984         [BZ #18743]
1985         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1986         code to...
1987         (ELIDE_LOCK): ...here.
1988         (__get_new_count): New function with part of the code from
1989         __elide_lock that updates the value of adapt_count after a
1990         transaction abort.
1991         (__elided_trylock): Moved this code to...
1992         (ELIDE_TRYLOCK): ...here.
1994 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1996         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1997         * configure: Regenerate.
1998         * INSTALL: Regenerate.
1999         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2000         and tweak grammar.
2002 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2004         * login/programs/pt_chown.c: Include signal.h
2005         (main): Clear any signal mask from the parent process.
2007 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2009         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2010         * configure: Regenerated.
2011         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2012         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2013         $(gnu89-inline-CFLAGS).
2015         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2016         test.
2017         (libc_cv_asm_weakext_directive): Likewise.
2018         * configure: Regenerated.
2019         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2020         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2021         * include/libc-symbols.h
2022         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2023         #error.
2024         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2025         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2027         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2028         prototype-style function definition.
2029         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2030         * sysdeps/i386/ffs.c (__ffs): Likewise.
2031         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2032         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2033         Likewise.
2034         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2035         Likewise.
2036         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2038         Likewise.
2039         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2040         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2041         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2042         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2043         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2044         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2045         * sysdeps/mach/hurd/access.c (__access): Likewise.
2046         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2047         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2048         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2049         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2050         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2051         (cthread_getspecific): Likewise.
2052         (cthread_setspecific): Likewise.
2053         (__libc_getspecific): Likewise.
2054         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2055         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2056         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2057         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2058         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2059         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2060         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2061         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2062         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2063         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2064         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2065         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2066         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2067         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2068         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2069         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2070         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2071         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2072         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2073         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2074         * sysdeps/mach/hurd/link.c (__link): Likewise.
2075         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2076         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2077         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2078         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2079         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2080         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2081         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2082         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2083         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2084         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2085         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2086         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2087         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2088         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2089         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2090         * sysdeps/mach/hurd/send.c (__send): Likewise.
2091         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2092         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2093         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2094         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2095         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2096         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2097         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2098         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2099         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2100         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2101         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2102         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2103         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2104         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2105         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2106         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2107         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2108         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2109         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2110         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2111         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2112         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2113         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2114         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2115         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2116         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2117         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2118         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2119         * sysdeps/posix/alarm.c (alarm): Likewise.
2120         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2121         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2122         * sysdeps/posix/dup.c (__dup): Likewise.
2123         * sysdeps/posix/dup2.c (__dup2): Likewise.
2124         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2125         (main): Likewise.
2126         * sysdeps/posix/flock.c (__flock): Likewise.
2127         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2128         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2129         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2130         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2131         * sysdeps/posix/isatty.c (__isatty): Likewise.
2132         * sysdeps/posix/killpg.c (killpg): Likewise.
2133         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2134         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2135         * sysdeps/posix/raise.c (raise): Likewise.
2136         * sysdeps/posix/remove.c (remove): Likewise.
2137         * sysdeps/posix/rename.c (rename): Likewise.
2138         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2139         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2140         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2141         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2142         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2143         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2144         * sysdeps/posix/sigset.c (sigset): Likewise.
2145         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2146         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2147         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2148         * sysdeps/posix/time.c (time): Likewise.
2149         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2150         (ttyname): Likewise.
2151         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2152         * sysdeps/posix/utime.c (utime): Likewise.
2153         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2154         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2155         Likewise.
2156         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2157         (pthread_spin_trylock): Likewise.
2158         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2159         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2160         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2161         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2162         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2163         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2164         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2165         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2166         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2167         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2168         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2169         * sysdeps/s390/ffs.c (__ffs): Likewise.
2170         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2171         Likewise.
2172         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2173         Likewise.
2174         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2175         Likewise.
2176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2177         (pthread_barrier_destroy): Likewise.
2178         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2179         (__pthread_barrier_wait): Likewise.
2180         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2181         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2182         (__pthread_barrier_wait): Likewise.
2183         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2184         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2185         (memcmp_not_common_alignment): Likewise.
2186         (MEMCMP): Likewise.
2187         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2188         (_wordcopy_fwd_dest_aligned): Likewise.
2189         (_wordcopy_bwd_aligned): Likewise.
2190         (_wordcopy_bwd_dest_aligned): Likewise.
2191         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2192         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2193         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2194         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2195         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2196         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2197         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2198         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2199         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2200         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2201         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2202         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2203         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2204         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2205         * sysdeps/unix/stime.c (stime): Likewise.
2206         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2207         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2208         Likewise.  Use internal_function.
2209         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2210         Convert to prototype-style function definition.
2211         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2212         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2214         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2215         Likewise.  Use internal_function.
2216         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2217         prototype-style function definition
2218         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2219         Likewise.
2220         (__getlogin_r): Likewise.
2221         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2223         (__pthread_cond_broadcast): Likewise.
2224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2225         (__pthread_cond_destroy): Likewise.
2226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2227         (__pthread_cond_init): Likewise.
2228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2229         (__pthread_cond_signal): Likewise.
2230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2231         (__pthread_cond_wait): Likewise.
2232         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2233         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2234         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2235         Likewise.
2236         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2239         Likewise.
2240         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2241         Likewise.
2242         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2244         (__ftruncate64): Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2246         (truncate64): Likewise.
2247         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2248         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2249         (pthread_getcpuclockid): Likewise.
2250         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2251         Likewise.
2252         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2253         Likewise.
2254         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2257         Likewise.
2258         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2260         (__libc_sigaction): Likewise.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2262         Likewise.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2264         (__sigprocmask): Likewise.
2265         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2266         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2267         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2268         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2269         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2270         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2271         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2272         Likewise.
2273         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2274         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2275         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2276         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2280         (__sigprocmask): Likewise.
2281         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2282         (cfgetispeed): Likewise.
2283         (cfsetospeed): Likewise.
2284         (cfsetispeed): Likewise.
2285         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2286         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2287         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2288         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2289         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2290         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2291         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2292         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2295         Likewise.
2296         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2297         Likewise.
2298         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2299         Likewise.
2300         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2302 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2304         sunrpc: Rewrite with explicit TLS access using __thread.
2305         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2306         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2307         directly.
2308         (__rpc_thread_variables): Access thread_rpc_vars directly.
2309         Eliminate redundant assignment of the tvp variable.
2311 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2313         malloc: Rewrite with explicit TLS access using __thread.
2314         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2315         (tsd_setspecific, tsd_getspecific): Remove.
2316         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2317         (tsd_setspecific, tsd_getspecific): Likewise.
2318         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2319         (tsd_setspecific, tsd_getspecific): Likewise.
2320         * malloc/arena.c (thread_arena): New TLS variable.
2321         (arena_key): Remove variable.
2322         (arena_get): Use thread_arena.
2323         (arena_lookup): Remove macro.
2324         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2325         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2326         (_int_new_arena, get_free_list, reused_arena)
2327         (arena_thread_freeres): Use thread_arena.
2328         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2329         tsd_getspecific, tsd_setspecific from safety annotations.
2330         (Allocating Cleared Space): Remove arena_lookup from safety
2331         annotations.
2333 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2335         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2336         struct scratch_buffer instead of extend_alloca.
2338 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2340         * sysdeps/unix/sysv/linux/kernel-features.h
2341         (__ASSUME_SOCK_CLOEXEC): Remove.
2342         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2343         (__have_paccept): Remove unused macro.
2344         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2345         * misc/syslog.c (openlog_internal): Remove fallback code for
2346         !__ASSUME_SOCK_CLOEXEC.
2347         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2348         missing SOCK_CLOEXEC.
2349         * nscd/connections.c (have_sock_cloexec): Remove definition.
2350         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2351         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2352         !__ASSUME_SOCK_CLOEXEC.
2353         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2354         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2355         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2356         definition.
2357         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2358         code for !__ASSUME_SOCK_CLOEXEC.
2360 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2362         [BZ #18982]
2363         * manual/stdio.texi (Variable Arguments Output): Add portability
2364         note, explaining that vfprintf clobbers the va_list pointer.
2366 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2368         * math/libm-test.inc (fabs_test_data): Add more tests.
2369         (fdim_test_data): Likewise.
2370         (fma_test_data): Likewise.
2371         (fmax_test_data): Likewise.
2372         (fmin_test_data): Likewise.
2373         (fmod_test_data): Likewise.
2375 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2377         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2378         data.
2380 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2382         * math/libm-test.inc (ceil_test_data): Add more tests and more
2383         expectations for "inexact".
2384         (floor_test_data): Add more tests.
2385         (round_test_data): Likewise.
2386         (trunc_test_data): Likewise.
2388         * crypt/cert.c (good_bye): Convert to prototype-style function
2389         definition.
2390         (get8): Likewise.
2391         (put8): Likewise.
2392         * crypt/crypt-entry.c (crypt): Likewise.
2393         (__fcrypt): Likewise.
2394         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2395         (_ufc_set_bits): Likewise.
2396         (_ufc_clearmem): Likewise.
2397         (__init_des_r): Likewise.
2398         (shuffle_sb): Likewise.
2399         (shuffle_sb): Likewise.
2400         (_ufc_setup_salt_r): Likewise.
2401         (_ufc_mk_keytab_r): Likewise.
2402         (_ufc_dofinalperm_r): Likewise.
2403         (encrypt): Likewise.
2404         (__setkey_r): Likewise.
2405         (setkey): Likewise.
2406         * crypt/md5.c (md5_init_ctx): Likewise.
2407         (md5_read_ctx): Likewise.
2408         (md5_finish_ctx): Likewise.
2409         (md5_stream): Likewise.
2410         (md5_buffer): Likewise.
2411         (md5_process_bytes): Likewise.
2412         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2413         (__sha256_finish_ctx): Likewise.
2414         (__sha256_process_bytes): Likewise.
2415         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2416         (__sha512_finish_ctx): Likewise.
2417         (__sha512_process_bytes): Likewise.
2418         * ctype/isctype.c (__isctype): Likewise.
2419         * debug/backtrace.c (__backtrace): Likewise.
2420         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2421         * debug/fgets_chk.c (__fgets_chk): Likewise.
2422         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2423         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2424         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2425         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2426         * debug/memset_chk.c (__memset_chk): Likewise.
2427         * debug/strcat_chk.c (__strcat_chk): Likewise.
2428         * debug/strncat_chk.c (__strncat_chk): Likewise.
2429         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2430         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2431         * dirent/dirfd.c (dirfd): Likewise.
2432         * dirent/getdents.c (__getdirentries): Likewise.
2433         * dirent/getdents64.c (getdirentries64): Likewise.
2434         * dirent/rewinddir.c (__rewinddir): Likewise.
2435         * dirent/seekdir.c (seekdir): Likewise.
2436         * dirent/telldir.c (telldir): Likewise.
2437         * elf/sln.c (makesymlinks): Likewise.
2438         (makesymlink): Likewise.
2439         * gmon/gmon.c (__moncontrol): Likewise.
2440         (__monstartup): Likewise.
2441         (write_hist): Likewise.
2442         (write_call_graph): Likewise.
2443         (write_bb_counts): Likewise.
2444         * grp/setgroups.c (setgroups): Likewise.
2445         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2446         * inet/inet_net.c (inet_network): Likewise.
2447         * inet/inet_netof.c (inet_netof): Likewise.
2448         * inet/rcmd.c (rresvport_af): Likewise.
2449         (rresvport): Likewise.
2450         * io/access.c (__access): Likewise.
2451         * io/chdir.c (__chdir): Likewise.
2452         * io/chmod.c (__chmod): Likewise.
2453         * io/chown.c (__chown): Likewise.
2454         * io/close.c (__close): Likewise.
2455         * io/creat.c (creat): Likewise.
2456         * io/creat64.c (creat64): Likewise.
2457         * io/dup.c (__dup): Likewise.
2458         * io/dup2.c (__dup2): Likewise.
2459         * io/dup3.c (__dup3): Likewise.
2460         * io/euidaccess.c (__euidaccess): Likewise.
2461         * io/faccessat.c (faccessat): Likewise.
2462         * io/fchmod.c (__fchmod): Likewise.
2463         * io/fchmodat.c (fchmodat): Likewise.
2464         * io/fchown.c (__fchown): Likewise.
2465         * io/fchownat.c (fchownat): Likewise.
2466         * io/fcntl.c (__fcntl): Likewise.
2467         * io/flock.c (__flock): Likewise.
2468         * io/fts.c (fts_load): Likewise.
2469         (fts_close): Likewise.
2470         (fts_read): Likewise.
2471         (fts_set): Likewise.
2472         (fts_children): Likewise.
2473         (fts_build): Likewise.
2474         (fts_stat): Likewise.
2475         (fts_sort): Likewise.
2476         (fts_alloc): Likewise.
2477         (fts_lfree): Likewise.
2478         (fts_palloc): Likewise.
2479         (fts_padjust): Likewise.
2480         (fts_maxarglen): Likewise.
2481         (fts_safe_changedir): Likewise.
2482         * io/getwd.c (getwd): Likewise.
2483         * io/isatty.c (__isatty): Likewise.
2484         * io/lchown.c (__lchown): Likewise.
2485         * io/link.c (__link): Likewise.
2486         * io/linkat.c (linkat): Likewise.
2487         * io/lseek.c (__libc_lseek): Likewise.
2488         * io/mkdir.c (__mkdir): Likewise.
2489         * io/mkdirat.c (mkdirat): Likewise.
2490         * io/mkfifo.c (mkfifo): Likewise.
2491         * io/mkfifoat.c (mkfifoat): Likewise.
2492         * io/open.c (__libc_open): Likewise.
2493         * io/open64.c (__libc_open64): Likewise.
2494         * io/readlink.c (__readlink): Likewise.
2495         * io/readlinkat.c (readlinkat): Likewise.
2496         * io/rmdir.c (__rmdir): Likewise.
2497         * io/symlink.c (__symlink): Likewise.
2498         * io/symlinkat.c (symlinkat): Likewise.
2499         * io/ttyname.c (ttyname): Likewise.
2500         * io/ttyname_r.c (__ttyname_r): Likewise.
2501         * io/umask.c (__umask): Likewise.
2502         * io/unlink.c (__unlink): Likewise.
2503         * io/unlinkat.c (unlinkat): Likewise.
2504         * io/utime.c (utime): Likewise.
2505         * libio/clearerr.c (clearerr): Likewise.
2506         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2507         * libio/feof.c (_IO_feof): Likewise.
2508         * libio/feof_u.c (feof_unlocked): Likewise.
2509         * libio/ferror.c (_IO_ferror): Likewise.
2510         * libio/ferror_u.c (ferror_unlocked): Likewise.
2511         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2512         * libio/fileno.c (__fileno): Likewise.
2513         * libio/fputc.c (fputc): Likewise.
2514         * libio/fputc_u.c (fputc_unlocked): Likewise.
2515         * libio/fputwc.c (fputwc): Likewise.
2516         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2517         * libio/freopen.c (freopen): Likewise.
2518         * libio/freopen64.c (freopen64): Likewise.
2519         * libio/fseek.c (fseek): Likewise.
2520         * libio/fseeko.c (fseeko): Likewise.
2521         * libio/fseeko64.c (fseeko64): Likewise.
2522         * libio/ftello.c (__ftello): Likewise.
2523         * libio/ftello64.c (ftello64): Likewise.
2524         * libio/fwide.c (fwide): Likewise.
2525         * libio/genops.c (_IO_un_link): Likewise.
2526         (_IO_link_in): Likewise.
2527         (_IO_least_marker): Likewise.
2528         (_IO_switch_to_main_get_area): Likewise.
2529         (_IO_switch_to_backup_area): Likewise.
2530         (_IO_switch_to_get_mode): Likewise.
2531         (_IO_free_backup_area): Likewise.
2532         (_IO_switch_to_put_mode): Likewise.
2533         (__overflow): Likewise.
2534         (__underflow): Likewise.
2535         (__uflow): Likewise.
2536         (_IO_setb): Likewise.
2537         (_IO_doallocbuf): Likewise.
2538         (_IO_default_underflow): Likewise.
2539         (_IO_default_uflow): Likewise.
2540         (_IO_default_xsputn): Likewise.
2541         (_IO_sgetn): Likewise.
2542         (_IO_default_xsgetn): Likewise.
2543         (_IO_sync): Likewise.
2544         (_IO_default_setbuf): Likewise.
2545         (_IO_default_seekpos): Likewise.
2546         (_IO_default_doallocate): Likewise.
2547         (_IO_init): Likewise.
2548         (_IO_old_init): Likewise.
2549         (_IO_default_sync): Likewise.
2550         (_IO_default_finish): Likewise.
2551         (_IO_default_seekoff): Likewise.
2552         (_IO_sputbackc): Likewise.
2553         (_IO_sungetc): Likewise.
2554         (_IO_set_column): Likewise.
2555         (_IO_set_column): Likewise.
2556         (_IO_adjust_column): Likewise.
2557         (_IO_get_column): Likewise.
2558         (_IO_init_marker): Likewise.
2559         (_IO_remove_marker): Likewise.
2560         (_IO_marker_difference): Likewise.
2561         (_IO_marker_delta): Likewise.
2562         (_IO_seekmark): Likewise.
2563         (_IO_unsave_markers): Likewise.
2564         (_IO_nobackup_pbackfail): Likewise.
2565         (_IO_default_pbackfail): Likewise.
2566         (_IO_default_seek): Likewise.
2567         (_IO_default_stat): Likewise.
2568         (_IO_default_read): Likewise.
2569         (_IO_default_write): Likewise.
2570         (_IO_default_showmanyc): Likewise.
2571         (_IO_default_imbue): Likewise.
2572         (_IO_iter_next): Likewise.
2573         (_IO_iter_file): Likewise.
2574         * libio/getc.c (_IO_getc): Likewise.
2575         * libio/getwc.c (_IO_getwc): Likewise.
2576         * libio/iofclose.c (_IO_new_fclose): Likewise.
2577         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2578         * libio/iofflush.c (_IO_fflush): Likewise.
2579         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2580         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2581         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2582         * libio/iofgets.c (_IO_fgets): Likewise.
2583         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2584         * libio/iofgetws.c (fgetws): Likewise.
2585         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2586         * libio/iofopen64.c (_IO_fopen64): Likewise.
2587         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2588         (_IO_cookie_write): Likewise.
2589         (_IO_cookie_seek): Likewise.
2590         (_IO_cookie_close): Likewise.
2591         (_IO_cookie_seekoff): Likewise.
2592         (_IO_old_cookie_seek): Likewise.
2593         * libio/iofputs.c (_IO_fputs): Likewise.
2594         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2595         * libio/iofputws.c (fputws): Likewise.
2596         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2597         * libio/iofread.c (_IO_fread): Likewise.
2598         * libio/iofread_u.c (__fread_unlocked): Likewise.
2599         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2600         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2601         * libio/ioftell.c (_IO_ftell): Likewise.
2602         * libio/iofwrite.c (_IO_fwrite): Likewise.
2603         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2604         * libio/iogets.c (_IO_gets): Likewise.
2605         * libio/iopadn.c (_IO_padn): Likewise.
2606         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2607         (_IO_new_popen): Likewise.
2608         (_IO_new_proc_close): Likewise.
2609         * libio/ioputs.c (_IO_puts): Likewise.
2610         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2611         (_IO_seekoff): Likewise.
2612         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2613         (_IO_seekpos): Likewise.
2614         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2615         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2616         * libio/ioungetc.c (_IO_ungetc): Likewise.
2617         * libio/ioungetwc.c (ungetwc): Likewise.
2618         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2619         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2620         * libio/iowpadn.c (_IO_wpadn): Likewise.
2621         * libio/libc_fatal.c (__libc_fatal): Likewise.
2622         * libio/memstream.c (__open_memstream): Likewise.
2623         (_IO_mem_sync): Likewise.
2624         (_IO_mem_finish): Likewise.
2625         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2626         (_IO_old_file_close_it): Likewise.
2627         (_IO_old_file_finish): Likewise.
2628         (_IO_old_file_fopen): Likewise.
2629         (_IO_old_file_attach): Likewise.
2630         (_IO_old_file_setbuf): Likewise.
2631         (_IO_old_do_write): Likewise.
2632         (old_do_write): Likewise.
2633         (_IO_old_file_underflow): Likewise.
2634         (_IO_old_file_overflow): Likewise.
2635         (_IO_old_file_sync): Likewise.
2636         (_IO_old_file_seekoff): Likewise.
2637         (_IO_old_file_write): Likewise.
2638         (_IO_old_file_xsputn): Likewise.
2639         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2640         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2641         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2642         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2643         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2644         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2645         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2646         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2647         (_IO_old_popen): Likewise.
2648         (_IO_old_proc_close): Likewise.
2649         * libio/oldpclose.c (__old_pclose): Likewise.
2650         * libio/pclose.c (__new_pclose): Likewise.
2651         * libio/peekc.c (_IO_peekc_locked): Likewise.
2652         * libio/putc.c (_IO_putc): Likewise.
2653         * libio/putc_u.c (putc_unlocked): Likewise.
2654         * libio/putchar.c (putchar): Likewise.
2655         * libio/putchar_u.c (putchar_unlocked): Likewise.
2656         * libio/putwc.c (putwc): Likewise.
2657         * libio/putwc_u.c (putwc_unlocked): Likewise.
2658         * libio/putwchar.c (putwchar): Likewise.
2659         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2660         * libio/rewind.c (rewind): Likewise.
2661         * libio/setbuf.c (setbuf): Likewise.
2662         * libio/setlinebuf.c (setlinebuf): Likewise.
2663         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2664         * libio/vscanf.c (_IO_vscanf): Likewise.
2665         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2666         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2667         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2668         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2669         (_IO_switch_to_main_wget_area): Likewise.
2670         (_IO_switch_to_wbackup_area): Likewise.
2671         (_IO_wsetb): Likewise.
2672         (_IO_wdefault_pbackfail): Likewise.
2673         (_IO_wdefault_finish): Likewise.
2674         (_IO_wdefault_uflow): Likewise.
2675         (__woverflow): Likewise.
2676         (__wuflow): Likewise.
2677         (__wunderflow): Likewise.
2678         (_IO_wdefault_xsputn): Likewise.
2679         (_IO_wdefault_xsgetn): Likewise.
2680         (_IO_wdoallocbuf): Likewise.
2681         (_IO_wdefault_doallocate): Likewise.
2682         (_IO_switch_to_wget_mode): Likewise.
2683         (_IO_free_wbackup_area): Likewise.
2684         (_IO_switch_to_wput_mode): Likewise.
2685         (_IO_sputbackwc): Likewise.
2686         (_IO_sungetwc): Likewise.
2687         (_IO_adjust_wcolumn): Likewise.
2688         (_IO_init_wmarker): Likewise.
2689         (_IO_wmarker_delta): Likewise.
2690         (_IO_seekwmark): Likewise.
2691         (_IO_unsave_wmarkers): Likewise.
2692         * libio/wmemstream.c (open_wmemstream): Likewise.
2693         (_IO_wmem_sync): Likewise.
2694         (_IO_wmem_finish): Likewise.
2695         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2696         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2697         * locale/programs/simple-hash.c (init_hash): Likewise.
2698         (delete_hash): Likewise.
2699         (insert_entry): Likewise.
2700         (set_entry): Likewise.
2701         (next_prime): Likewise.
2702         (is_prime): Likewise.
2703         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2704         (xmalloc): Likewise.
2705         (xrealloc): Likewise.
2706         * locale/programs/xstrdup.c (xstrdup): Likewise.
2707         * localedata/collate-test.c (xstrcoll): Likewise.
2708         * localedata/xfrm-test.c (xstrcmp): Likewise.
2709         * login/getlogin_r.c (__getlogin_r): Likewise.
2710         * login/getpt.c (__posix_openpt): Likewise.
2711         * login/login_tty.c (login_tty): Likewise.
2712         * login/setlogin.c (setlogin): Likewise.
2713         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2714         (mach_msg_destroy_port): Likewise.
2715         (mach_msg_destroy_memory): Likewise.
2716         * malloc/mcheck.c (flood): Likewise.
2717         * misc/acct.c (acct): Likewise.
2718         * misc/brk.c (__brk): Likewise.
2719         * misc/chflags.c (chflags): Likewise.
2720         * misc/chroot.c (chroot): Likewise.
2721         * misc/fchflags.c (fchflags): Likewise.
2722         * misc/fstab.c (getfsspec): Likewise.
2723         (getfsfile): Likewise.
2724         * misc/fsync.c (fsync): Likewise.
2725         * misc/ftruncate.c (__ftruncate): Likewise.
2726         * misc/ftruncate64.c (__ftruncate64): Likewise.
2727         * misc/getdomain.c (getdomainname): Likewise.
2728         (getdomainname): Likewise.
2729         * misc/gethostname.c (__gethostname): Likewise.
2730         * misc/getpass.c (getpass): Likewise.
2731         * misc/getttyent.c (skip): Likewise.
2732         (value): Likewise.
2733         * misc/gtty.c (gtty): Likewise.
2734         * misc/hsearch.c (hsearch): Likewise.
2735         (hcreate): Likewise.
2736         * misc/hsearch_r.c (__hcreate_r): Likewise.
2737         (__hdestroy_r): Likewise.
2738         * misc/ioctl.c (__ioctl): Likewise.
2739         * misc/mkdtemp.c (mkdtemp): Likewise.
2740         * misc/mkostemp.c (mkostemp): Likewise.
2741         * misc/mkostemp64.c (mkostemp64): Likewise.
2742         * misc/mkostemps.c (mkostemps): Likewise.
2743         * misc/mkostemps64.c (mkostemps64): Likewise.
2744         * misc/mkstemp.c (mkstemp): Likewise.
2745         * misc/mkstemp64.c (mkstemp64): Likewise.
2746         * misc/mkstemps.c (mkstemps): Likewise.
2747         * misc/mkstemps64.c (mkstemps64): Likewise.
2748         * misc/mktemp.c (__mktemp): Likewise.
2749         * misc/preadv.c (preadv): Likewise.
2750         * misc/preadv64.c (preadv64): Likewise.
2751         * misc/pwritev.c (pwritev): Likewise.
2752         * misc/pwritev64.c (pwritev64): Likewise.
2753         * misc/readv.c (__readv): Likewise.
2754         * misc/revoke.c (revoke): Likewise.
2755         * misc/setdomain.c (setdomainname): Likewise.
2756         * misc/setegid.c (setegid): Likewise.
2757         * misc/seteuid.c (seteuid): Likewise.
2758         * misc/sethostid.c (sethostid): Likewise.
2759         * misc/sethostname.c (sethostname): Likewise.
2760         * misc/setregid.c (__setregid): Likewise.
2761         * misc/setreuid.c (__setreuid): Likewise.
2762         * misc/sstk.c (sstk): Likewise.
2763         * misc/stty.c (stty): Likewise.
2764         * misc/syscall.c (syscall): Likewise.
2765         * misc/syslog.c (setlogmask): Likewise.
2766         * misc/truncate.c (__truncate): Likewise.
2767         * misc/truncate64.c (truncate64): Likewise.
2768         * misc/ualarm.c (ualarm): Likewise.
2769         * misc/usleep.c (usleep): Likewise.
2770         * misc/ustat.c (ustat): Likewise.
2771         * misc/writev.c (__writev): Likewise.
2772         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2773         * nptl/old_pthread_cond_broadcast.c
2774         (__pthread_cond_broadcast_2_0): Likewise.
2775         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2776         Likewise.
2777         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2778         Likewise.
2779         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2780         Likewise.
2781         * nptl/pt-raise.c (raise): Likewise.
2782         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2783         Likewise.
2784         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2785         * nptl/pthread_barrierattr_destroy.c
2786         (pthread_barrierattr_destroy): Likewise.
2787         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2788         Likewise.
2789         * nptl/pthread_barrierattr_setpshared.c
2790         (pthread_barrierattr_setpshared): Likewise.
2791         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2792         Likewise.
2793         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2794         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2795         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2796         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2797         Likewise.
2798         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2799         Likewise.
2800         * nptl/pthread_condattr_getpshared.c
2801         (pthread_condattr_getpshared): Likewise.
2802         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2803         Likewise.
2804         * nptl/pthread_condattr_setpshared.c
2805         (pthread_condattr_setpshared): Likewise.
2806         * nptl/pthread_detach.c (pthread_detach): Likewise.
2807         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2808         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2809         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2810         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2811         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2812         Likewise.
2813         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2814         Likewise.
2815         * nptl/pthread_mutex_getprioceiling.c
2816         (pthread_mutex_getprioceiling): Likewise.
2817         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2818         Likewise.
2819         * nptl/pthread_mutexattr_getprotocol.c
2820         (pthread_mutexattr_getprotocol): Likewise.
2821         * nptl/pthread_mutexattr_getpshared.c
2822         (pthread_mutexattr_getpshared): Likewise.
2823         * nptl/pthread_mutexattr_getrobust.c
2824         (pthread_mutexattr_getrobust): Likewise.
2825         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2826         Likewise.
2827         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2828         Likewise.
2829         * nptl/pthread_mutexattr_setprioceiling.c
2830         (pthread_mutexattr_setprioceiling): Likewise.
2831         * nptl/pthread_mutexattr_setprotocol.c
2832         (pthread_mutexattr_setprotocol): Likewise.
2833         * nptl/pthread_mutexattr_setpshared.c
2834         (pthread_mutexattr_setpshared): Likewise.
2835         * nptl/pthread_mutexattr_setrobust.c
2836         (pthread_mutexattr_setrobust): Likewise.
2837         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2838         Likewise.
2839         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2840         Likewise.
2841         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2842         Likewise.
2843         * nptl/pthread_rwlockattr_getkind_np.c
2844         (pthread_rwlockattr_getkind_np): Likewise.
2845         * nptl/pthread_rwlockattr_getpshared.c
2846         (pthread_rwlockattr_getpshared): Likewise.
2847         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2848         Likewise.
2849         * nptl/pthread_rwlockattr_setkind_np.c
2850         (pthread_rwlockattr_setkind_np): Likewise.
2851         * nptl/pthread_rwlockattr_setpshared.c
2852         (pthread_rwlockattr_setpshared): Likewise.
2853         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2854         Likewise.
2855         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2856         Likewise.
2857         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2858         Likewise.
2859         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2860         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2861         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2862         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2863         * nptl/sem_close.c (sem_close): Likewise.
2864         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2865         * nptl/sem_init.c (__old_sem_init): Likewise.
2866         * nptl/sigaction.c (__sigaction): Likewise.
2867         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2868         * posix/_exit.c (_exit): Likewise.
2869         * posix/alarm.c (alarm): Likewise.
2870         * posix/confstr.c (confstr): Likewise.
2871         * posix/fpathconf.c (__fpathconf): Likewise.
2872         * posix/getgroups.c (__getgroups): Likewise.
2873         * posix/getpgid.c (__getpgid): Likewise.
2874         * posix/group_member.c (__group_member): Likewise.
2875         * posix/pathconf.c (__pathconf): Likewise.
2876         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2877         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2878         * posix/setgid.c (__setgid): Likewise.
2879         * posix/setpgid.c (__setpgid): Likewise.
2880         * posix/setuid.c (__setuid): Likewise.
2881         * posix/sleep.c (__sleep): Likewise.
2882         * posix/sysconf.c (__sysconf): Likewise.
2883         * posix/times.c (__times): Likewise.
2884         * posix/uname.c (__uname): Likewise.
2885         * posix/waitid.c (__waitid): Likewise.
2886         * pwd/getpw.c (__getpw): Likewise.
2887         * resolv/base64.c (b64_pton): Likewise.
2888         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2889         * resolv/gethnamaddr.c (Dprintf): Likewise.
2890         (gethostbyname): Likewise.
2891         (gethostbyname2): Likewise.
2892         (gethostbyaddr): Likewise.
2893         (_sethtent): Likewise.
2894         (_gethtbyname): Likewise.
2895         (_gethtbyname2): Likewise.
2896         (_gethtbyaddr): Likewise.
2897         (map_v4v6_address): Likewise.
2898         (map_v4v6_hostent): Likewise.
2899         (addrsort): Likewise.
2900         (ht_sethostent): Likewise.
2901         (ht_gethostbyname): Likewise.
2902         (ht_gethostbyaddr): Likewise.
2903         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2904         (inet_net_ntop_ipv4): Likewise.
2905         * resolv/inet_neta.c (inet_neta): Likewise.
2906         * resolv/inet_ntop.c (inet_ntop): Likewise.
2907         (inet_ntop4): Likewise.
2908         (inet_ntop6): Likewise.
2909         * resolv/inet_pton.c (__inet_pton): Likewise.
2910         (inet_pton4): Likewise.
2911         (inet_pton6): Likewise.
2912         * resolv/res_debug.c (loc_aton): Likewise.
2913         (loc_ntoa): Likewise.
2914         * resource/getpriority.c (__getpriority): Likewise.
2915         * resource/getrusage.c (__getrusage): Likewise.
2916         * resource/nice.c (nice): Likewise.
2917         * resource/setpriority.c (__setpriority): Likewise.
2918         * resource/setrlimit64.c (setrlimit64): Likewise.
2919         * resource/vlimit.c (vlimit): Likewise.
2920         * resource/vtimes.c (vtimes): Likewise.
2921         * rt/aio_error.c (aio_error): Likewise.
2922         * rt/aio_return.c (aio_return): Likewise.
2923         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2924         * signal/kill.c (__kill): Likewise.
2925         * signal/killpg.c (killpg): Likewise.
2926         * signal/raise.c (raise): Likewise.
2927         * signal/sigaction.c (__sigaction): Likewise.
2928         * signal/sigaddset.c (sigaddset): Likewise.
2929         * signal/sigaltstack.c (sigaltstack): Likewise.
2930         * signal/sigandset.c (sigandset): Likewise.
2931         * signal/sigblock.c (__sigblock): Likewise.
2932         * signal/sigdelset.c (sigdelset): Likewise.
2933         * signal/sigempty.c (sigemptyset): Likewise.
2934         * signal/sigfillset.c (sigfillset): Likewise.
2935         * signal/sighold.c (sighold): Likewise.
2936         * signal/sigignore.c (sigignore): Likewise.
2937         * signal/sigintr.c (siginterrupt): Likewise.
2938         * signal/sigisempty.c (sigisemptyset): Likewise.
2939         * signal/sigismem.c (sigismember): Likewise.
2940         * signal/signal.c (signal): Likewise.
2941         * signal/sigorset.c (sigorset): Likewise.
2942         * signal/sigpause.c (__sigpause): Likewise.
2943         * signal/sigpending.c (sigpending): Likewise.
2944         * signal/sigprocmask.c (__sigprocmask): Likewise.
2945         * signal/sigrelse.c (sigrelse): Likewise.
2946         * signal/sigreturn.c (__sigreturn): Likewise.
2947         * signal/sigset.c (sigset): Likewise.
2948         * signal/sigsetmask.c (__sigsetmask): Likewise.
2949         * signal/sigstack.c (sigstack): Likewise.
2950         * signal/sigsuspend.c (__sigsuspend): Likewise.
2951         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2952         * signal/sysv_signal.c (__sysv_signal): Likewise.
2953         * socket/accept.c (accept): Likewise.
2954         * socket/accept4.c (__libc_accept4): Likewise.
2955         * socket/bind.c (__bind): Likewise.
2956         * socket/connect.c (__connect): Likewise.
2957         * socket/getpeername.c (getpeername): Likewise.
2958         * socket/getsockname.c (__getsockname): Likewise.
2959         * socket/getsockopt.c (getsockopt): Likewise.
2960         * socket/listen.c (__listen): Likewise.
2961         * socket/recv.c (__recv): Likewise.
2962         * socket/recvmsg.c (__recvmsg): Likewise.
2963         * socket/send.c (__send): Likewise.
2964         * socket/sendmsg.c (__sendmsg): Likewise.
2965         * socket/shutdown.c (shutdown): Likewise.
2966         * socket/sockatmark.c (sockatmark): Likewise.
2967         * socket/socket.c (__socket): Likewise.
2968         * stdio-common/ctermid.c (ctermid): Likewise.
2969         * stdio-common/cuserid.c (cuserid): Likewise.
2970         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2971         * stdio-common/remove.c (remove): Likewise.
2972         * stdio-common/rename.c (rename): Likewise.
2973         * stdio-common/renameat.c (renameat): Likewise.
2974         * stdio-common/tempname.c (__gen_tempname): Likewise.
2975         * stdio-common/xbug.c (InitBuffer): Likewise.
2976         (AppendToBuffer): Likewise.
2977         (ReadFile): Likewise.
2978         * stdlib/a64l.c (a64l): Likewise.
2979         * stdlib/drand48_r.c (drand48_r): Likewise.
2980         * stdlib/getcontext.c (getcontext): Likewise.
2981         * stdlib/getenv.c (getenv): Likewise.
2982         * stdlib/l64a.c (l64a): Likewise.
2983         * stdlib/llabs.c (llabs): Likewise.
2984         * stdlib/lldiv.c (lldiv): Likewise.
2985         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2986         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2987         * stdlib/putenv.c (putenv): Likewise.
2988         * stdlib/random.c (__srandom): Likewise.
2989         (__initstate): Likewise.
2990         (__setstate): Likewise.
2991         * stdlib/random_r.c (__srandom_r): Likewise.
2992         (__setstate_r): Likewise.
2993         (__random_r): Likewise.
2994         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2995         * stdlib/setcontext.c (setcontext): Likewise.
2996         * stdlib/setenv.c (setenv): Likewise.
2997         (unsetenv): Likewise.
2998         * stdlib/srand48.c (srand48): Likewise.
2999         * stdlib/srand48_r.c (__srand48_r): Likewise.
3000         * stdlib/swapcontext.c (swapcontext): Likewise.
3001         * stdlib/system.c (__libc_system): Likewise.
3002         * stdlib/tst-strtod.c (expand): Likewise.
3003         * stdlib/tst-strtol.c (expand): Likewise.
3004         * stdlib/tst-strtoll.c (expand): Likewise.
3005         * streams/fattach.c (fattach): Likewise.
3006         * streams/fdetach.c (fdetach): Likewise.
3007         * streams/getmsg.c (getmsg): Likewise.
3008         * streams/isastream.c (isastream): Likewise.
3009         * string/ffs.c (__ffs): Likewise.
3010         * string/ffsll.c (ffsll): Likewise.
3011         * string/memcmp.c (memcmp_common_alignment): Likewise.
3012         (memcmp_not_common_alignment): Likewise.
3013         (MEMCMP): Likewise.
3014         * string/memcpy.c (memcpy): Likewise.
3015         * string/memmove.c (MEMMOVE): Likewise.
3016         * string/memset.c (memset): Likewise.
3017         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3018         * string/strchrnul.c (STRCHRNUL): Likewise.
3019         * string/strerror.c (strerror): Likewise.
3020         * string/strndup.c (__strndup): Likewise.
3021         * string/strverscmp.c (__strverscmp): Likewise.
3022         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3023         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3024         (clnttcp_freeres): Likewise.
3025         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3026         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3027         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3028         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3029         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3030         (xdr_callhdr): Likewise.
3031         * sunrpc/rpcinfo.c (udpping): Likewise.
3032         (tcpping): Likewise.
3033         (pstatus): Likewise.
3034         (pmapdump): Likewise.
3035         (brdcst): Likewise.
3036         (deletereg): Likewise.
3037         (getprognum): Likewise.
3038         (getvers): Likewise.
3039         (get_inet_address): Likewise.
3040         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3041         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3042         (svcudp_stat): Likewise.
3043         (svcudp_recv): Likewise.
3044         (svcudp_reply): Likewise.
3045         (svcudp_getargs): Likewise.
3046         (svcudp_freeargs): Likewise.
3047         (svcudp_destroy): Likewise.
3048         * sunrpc/xdr.c (xdr_bytes): Likewise.
3049         (xdr_netobj): Likewise.
3050         (xdr_string): Likewise.
3051         (xdr_wrapstring): Likewise.
3052         * sunrpc/xdr_float.c (xdr_float): Likewise.
3053         (xdr_double): Likewise.
3054         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3055         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3056         * sysvipc/ftok.c (ftok): Likewise.
3057         * sysvipc/msgctl.c (msgctl): Likewise.
3058         * sysvipc/msgget.c (msgget): Likewise.
3059         * sysvipc/msgrcv.c (msgrcv): Likewise.
3060         * sysvipc/msgsnd.c (msgsnd): Likewise.
3061         * sysvipc/semget.c (semget): Likewise.
3062         * sysvipc/semop.c (semop): Likewise.
3063         * sysvipc/shmat.c (shmat): Likewise.
3064         * sysvipc/shmctl.c (shmctl): Likewise.
3065         * sysvipc/shmdt.c (shmdt): Likewise.
3066         * sysvipc/shmget.c (shmget): Likewise.
3067         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3068         * termios/speed.c (cfgetospeed): Likewise.
3069         (cfgetispeed): Likewise.
3070         (cfsetospeed): Likewise.
3071         (cfsetispeed): Likewise.
3072         * termios/tcflow.c (tcflow): Likewise.
3073         * termios/tcflush.c (tcflush): Likewise.
3074         * termios/tcgetattr.c (__tcgetattr): Likewise.
3075         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3076         * termios/tcgetsid.c (tcgetsid): Likewise.
3077         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3078         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3079         * time/adjtime.c (__adjtime): Likewise.
3080         * time/dysize.c (dysize): Likewise.
3081         * time/ftime.c (ftime): Likewise.
3082         * time/getitimer.c (__getitimer): Likewise.
3083         * time/gettimeofday.c (__gettimeofday): Likewise.
3084         * time/gmtime.c (__gmtime_r): Likewise.
3085         (gmtime): Likewise.
3086         * time/localtime.c (__localtime_r): Likewise.
3087         (localtime): Likewise.
3088         * time/offtime.c (__offtime): Likewise.
3089         * time/settimeofday.c (__settimeofday): Likewise.
3090         * time/stime.c (stime): Likewise.
3091         * time/strftime_l.c (tm_diff): Likewise.
3092         (iso_week_days): Likewise.
3093         * time/strptime.c (strptime): Likewise.
3094         * time/time.c (time): Likewise.
3095         * time/timespec_get.c (timespec_get): Likewise.
3096         * time/tzset.c (tzset_internal): Likewise.
3097         (compute_change): Likewise.
3098         (__tz_compute): Likewise.
3099         * wcsmbs/btowc.c (__btowc): Likewise.
3100         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3101         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3102         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3103         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3104         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3105         * wcsmbs/wcscat.c (__wcscat): Likewise.
3106         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3107         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3108         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3109         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3110         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3111         * wcsmbs/wcslen.c (__wcslen): Likewise.
3112         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3113         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3114         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3115         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3116         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3117         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3118         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3119         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3120         * wcsmbs/wcstok.c (wcstok): Likewise.
3121         * wcsmbs/wctob.c (wctob): Likewise.
3122         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3123         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3124         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3125         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3126         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3127         * wcsmbs/wmemset.c (__wmemset): Likewise.
3128         * wctype/wcfuncs.c (__towlower): Likewise.
3129         (__towupper): Likewise.
3131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3132         (lll_unlock_elision): Add adapt_count parameter.
3134 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3136         * sysdeps/nptl/configure.ac: Do not give errors based on the
3137         results of top-level configure tests.
3138         * sysdeps/nptl/configure: Regenerated.
3140         * configure.ac (libc_cv_Bgroup): Remove configure test.
3141         * configure: Regenerated.
3142         * config.make.in (have-Bgroup): Remove variable.
3144         * configure.ac (sizeof_long_double): Remove configure test.
3145         * configure: Regenerated.
3146         * config.make.in (sizeof-long-double): Remove variable.
3148         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3149         * configure: Regenerated.
3150         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3151         variable.
3152         (exceptions): Likewise.
3153         * sysdeps/arm/configure: Regenerated.
3154         * config.make.in (exceptions): Remove variable.
3155         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3156         $(exceptions).
3157         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3158         (CFLAGS-vdprintf_chk.c): Likewise.
3159         (CFLAGS-printf_chk.c): Likewise.
3160         (CFLAGS-fprintf_chk.c): Likewise.
3161         (CFLAGS-vprintf_chk.c): Likewise.
3162         (CFLAGS-vfprintf_chk.c): Likewise.
3163         (CFLAGS-gets_chk.c): Likewise.
3164         (CFLAGS-fgets_chk.c): Likewise.
3165         (CFLAGS-fgets_u_chk.c): Likewise.
3166         (CFLAGS-fread_chk.c): Likewise.
3167         (CFLAGS-fread_u_chk.c): Likewise.
3168         (CFLAGS-wprintf_chk.c): Likewise.
3169         (CFLAGS-fwprintf_chk.c): Likewise.
3170         (CFLAGS-vwprintf_chk.c): Likewise.
3171         (CFLAGS-vfwprintf_chk.c): Likewise.
3172         (CFLAGS-fgetws_chk.c): Likewise.
3173         (CFLAGS-fgetws_u_chk.c): Likewise.
3174         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3175         (CFLAGS-fputc.c): Likewise.
3176         (CFLAGS-fputwc.c): Likewise.
3177         (CFLAGS-freopen64.c): Likewise.
3178         (CFLAGS-freopen.c): Likewise.
3179         (CFLAGS-fseek.c): Likewise.
3180         (CFLAGS-fseeko64.c): Likewise.
3181         (CFLAGS-fseeko.c): Likewise.
3182         (CFLAGS-ftello64.c): Likewise.
3183         (CFLAGS-ftello.c): Likewise.
3184         (CFLAGS-fwide.c): Likewise.
3185         (CFLAGS-genops.c): Likewise.
3186         (CFLAGS-getc.c): Likewise.
3187         (CFLAGS-getchar.c): Likewise.
3188         (CFLAGS-getwc.c): Likewise.
3189         (CFLAGS-getwchar.c): Likewise.
3190         (CFLAGS-iofclose.c): Likewise.
3191         (CFLAGS-iofflush.c): Likewise.
3192         (CFLAGS-iofgetpos64.c): Likewise.
3193         (CFLAGS-iofgetpos.c): Likewise.
3194         (CFLAGS-iofgets.c): Likewise.
3195         (CFLAGS-iofgetws.c): Likewise.
3196         (CFLAGS-iofputs.c): Likewise.
3197         (CFLAGS-iofputws.c): Likewise.
3198         (CFLAGS-iofread.c): Likewise.
3199         (CFLAGS-iofsetpos64.c): Likewise.
3200         (CFLAGS-iofsetpos.c): Likewise.
3201         (CFLAGS-ioftell.c): Likewise.
3202         (CFLAGS-iofwrite.c): Likewise.
3203         (CFLAGS-iogetdelim.c): Likewise.
3204         (CFLAGS-iogetline.c): Likewise.
3205         (CFLAGS-iogets.c): Likewise.
3206         (CFLAGS-iogetwline.c): Likewise.
3207         (CFLAGS-ioputs.c): Likewise.
3208         (CFLAGS-ioseekoff.c): Likewise.
3209         (CFLAGS-ioseekpos.c): Likewise.
3210         (CFLAGS-iosetbuffer.c): Likewise.
3211         (CFLAGS-iosetvbuf.c): Likewise.
3212         (CFLAGS-ioungetc.c): Likewise.
3213         (CFLAGS-ioungetwc.c): Likewise.
3214         (CFLAGS-oldfileops.c): Likewise.
3215         (CFLAGS-oldiofclose.c): Likewise.
3216         (CFLAGS-oldiofgetpos64.c): Likewise.
3217         (CFLAGS-oldiofgetpos.c): Likewise.
3218         (CFLAGS-oldiofsetpos64.c): Likewise.
3219         (CFLAGS-oldiofsetpos.c): Likewise.
3220         (CFLAGS-peekc.c): Likewise.
3221         (CFLAGS-putc.c): Likewise.
3222         (CFLAGS-putchar.c): Likewise.
3223         (CFLAGS-putwc.c): Likewise.
3224         (CFLAGS-putwchar.c): Likewise.
3225         (CFLAGS-rewind.c): Likewise.
3226         (CFLAGS-wfileops.c): Likewise.
3227         (CFLAGS-wgenops.c): Likewise.
3228         (CFLAGS-oldiofopen.c): Likewise.
3229         (CFLAGS-iofopen.c): Likewise.
3230         (CFLAGS-iofopen64.c): Likewise.
3231         (CFLAGS-oldtmpfile.c): Likewise.
3232         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3233         (CFLAGS-fprintf.c): Likewise.
3234         (CFLAGS-printf.c): Likewise.
3235         (CFLAGS-vfwprintf.c): Likewise.
3236         (CFLAGS-vfscanf.c): Likewise.
3237         (CFLAGS-vfwscanf.c): Likewise.
3238         (CFLAGS-fscanf.c): Likewise.
3239         (CFLAGS-scanf.c): Likewise.
3240         (CFLAGS-isoc99_vfscanf.c): Likewise.
3241         (CFLAGS-isoc99_vscanf.c): Likewise.
3242         (CFLAGS-isoc99_fscanf.c): Likewise.
3243         (CFLAGS-isoc99_scanf.c): Likewise.
3244         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3245         (CFLAGS-isoc99_fwscanf.c): Likewise.
3246         (CFLAGS-isoc99_vwscanf.c): Likewise.
3247         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3249         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3250         after mkstemp64.
3251         * login/tst-utmp.c (do_prepare): Likewise.
3252         * rt/tst-aio.c (do_prepare): Likewise.
3253         * rt/tst-aio64.c (do_prepare): Likewise.
3255 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3257         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3258         (__lll_lock_elision): Remove adapt_count decrement...
3259         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3260         (__lll_trylock_elision): Likewise.
3261         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3262         (__lll_unlock_elision): ... to here. And utilize
3263         new adapt_count parameter.
3264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3265         (__lll_unlock_elision): Update to include adapt_count
3266         parameter.
3267         (lll_unlock_elision): Pass pointer to adapt_count
3268         variable.
3270 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3272         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3273         Add elision adapt_count parameter to list of arguments.
3274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3275         (lll_unlock_elision): Update with new parameter list
3276         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3277         (lll_unlock_elision): Likewise
3278         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3279         (lll_unlock_elision): Likewise
3281 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3283         [BZ #19122]
3284         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3285         attribute_hidden.
3287         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3288         attribute_hidden.
3289         [IS_IN (rtld)] (__strdup): Likewise.
3290         [IS_IN (rtld)] (__strerror_r): Likewise.
3291         [IS_IN (rtld)] (__strsep_g): Likewise.
3292         [IS_IN (rtld)] (memchr): Likewise.
3293         [IS_IN (rtld)] (memcmp): Likewise.
3294         [IS_IN (rtld)] (memcpy): Likewise.
3295         [IS_IN (rtld)] (memmove): Likewise.
3296         [IS_IN (rtld)] (memset): Likewise.
3297         [IS_IN (rtld)] (rawmemchr): Likewise.
3298         [IS_IN (rtld)] (stpcpy): Likewise.
3299         [IS_IN (rtld)] (strchr): Likewise.
3300         [IS_IN (rtld)] (strcmp): Likewise.
3301         [IS_IN (rtld)] (strlen): Likewise.
3302         [IS_IN (rtld)] (strnlen): Likewise.
3303         [IS_IN (rtld)] (strsep): Likewise.
3305         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3306         attribute_hidden.
3307         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3309         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3310         attribute_hidden.
3311         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3313         * include/setjmp.h (__longjmp): Add attribute_hidden.
3314         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3316         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3317         Add attribute_hidden.
3319         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3320         [IS_IN (rtld)] (__open): Likewise.
3321         [IS_IN (rtld)] (__fcntl): Likewise.
3323         * include/dirent.h (__opendirat): Add attribute_hidden.
3324         (__getdents): Likewise.
3325         (__getdents64): Likewise.
3326         (__alloc_dir): Likewise.
3327         [IS_IN (rtld)] (__closedir): Likewise.
3328         [IS_IN (rtld)] (__fdopendir): Likewise.
3329         [IS_IN (rtld)] (__readdir): Likewise.
3330         [IS_IN (rtld)] (__readdir64): Likewise.
3331         [IS_IN (rtld)] (__rewinddir): Likewise.
3333         * include/dlfcn.h (_dl_catch_error): Moved to ...
3334         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3335         attribute_hidden.
3337         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3338         (_itoa_word): Likewise.
3340         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3341         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3342         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3343         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3344         (_dl_higher_prime_number): Likewise.
3345         (_dl_debug_printf_c): Likewise.
3346         (_dl_signal_cerror): Likewise.
3347         (_dl_receive_error): Likewise.
3348         (_dl_reloc_bad_type): Likewise.
3349         (_dl_resolve_conflicts): Likewise.
3350         (_dl_check_all_versions): Likewise.
3351         (_dl_check_map_versions): Likewise.
3352         (_dl_sort_fini): Likewise.
3353         (_dl_debug_initialize): Likewise.
3354         (_dl_init_paths): Likewise.
3355         (_dl_show_auxv): Likewise.
3356         (_dl_next_ld_env_entry): Likewise.
3357         (_dl_important_hwcaps): Likewise.
3358         (_dl_load_cache_lookup): Likewise.
3359         (_dl_update_slotinfo): Likewise.
3360         (_dl_show_scope): Likewise.
3362         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3363         attribute_hidden.
3364         (_wordcopy_fwd_dest_aligned): Likewise.
3365         (_wordcopy_bwd_aligned): Likewise.
3366         (_wordcopy_bwd_dest_aligned): Likewise.
3368         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3369         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3370         Likewise.
3371         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3372         Likewise.
3373         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3375 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3378         GCC 5 requirement.
3380 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3382         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3383         test.
3384         * sysdeps/i386/configure: Regenerated.
3385         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3386         code unconditional.
3388         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3389         test.
3390         (libc_cv_asm_popsection_directive): Likewise.
3391         * configure: Regenerated.
3392         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3393         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3394         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3395         (__make_section_unallocated): Make definition unconditional.
3396         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3397         Remove conditional definition.
3398         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3399         (__make_section_unallocated): Likewise.
3401         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3402         * configure: Regenerated.
3403         * config.make.in (static-libgcc): Remove variable.
3404         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3405         $(static-libgcc).
3406         (build-module-helper): Likewise.
3408         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3409         * configure: Regenerated.
3411 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3413         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3414         (struct char_buffer): New type.
3415         (char_buffer_start, char_buffer_size, char_buffer_error)
3416         (char_buffer_rewind, char_buffer_add): New functions.
3417         (ADDW): Remove macro, replaced by the char_buffer_add function.
3418         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3419         of extend_alloca.  Make control flow more explicit.
3421 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3423         [BZ #19137]
3424         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3425         Add -fomit-frame-pointer.
3426         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3428 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3430         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3431         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3433         only if !__GNUC_PREREQ (5,0).
3434         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3435         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3436         (INTERNAL_SYSCALL_NCS): Likewise.
3437         (LOADREGS_0): New macro for GCC 5.
3438         (ASMARGS_0): Likewise.
3439         (LOADREGS_1): Likewise.
3440         (ASMARGS_1): Likewise.
3441         (LOADREGS_2): Likewise.
3442         (ASMARGS_2): Likewise.
3443         (LOADREGS_3): Likewise.
3444         (ASMARGS_3): Likewise.
3445         (LOADREGS_4): Likewise.
3446         (ASMARGS_4): Likewise.
3447         (LOADREGS_5): Likewise.
3448         (ASMARGS_5): Likewise.
3449         (LOADREGS_6): Likewise.
3450         (ASMARGS_6): Likewise.
3452 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3454         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3455         -fomit-frame-pointer.
3456         (CFLAGS-mmap64.c): Likewise.
3457         (CFLAGS-semtimedop.c): Likewise.
3458         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3459         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3460         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3461         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3463 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3465         [BZ #18928]
3466         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3467         _dl_pointer_guard member.
3468         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3469         initializer.
3470         (security_init): Always set up pointer guard.
3471         (process_envvars): Do not process LD_POINTER_GUARD.
3473 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3475         [BZ #19134]
3476         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3477         (.LC2): Likewise.
3478         (.LC3): Likewise.
3479         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3481 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3483         [BZ #19129]
3484         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3485         r0 and r1.
3487 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3489         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3491 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3493         * include/stap-probe.h: Fix macro definition formatting.
3495 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3497         [BZ #19074]
3498         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3499         load and store num_ifs.
3501 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3503         [BZ #18822]
3504         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3505         (__sched_getaffinity_new): Add libc_hidden_proto and
3506         libc_hidden_def.
3508 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3510         [BZ #19007]
3511         * scripts/localplt.awk: Also allow GOT references.
3512         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3513         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3514         with "+ REL R_386_GLOB_DAT".
3515         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3516         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3518 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3520         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3521         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3522         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3525         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3526         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3527         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3528         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3529         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3531         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3532         Likewise.
3533         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3535 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3537         [BZ #19125]
3538         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3539         <math_private.h> and <stdint.h>.
3540         (__llround): Avoid conversions to and from long long int, and
3541         subtractions, where those might raise spurious exceptions.
3542         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3543         <math_private.h> and <stdint.h>.
3544         (__llroundf): Avoid conversions to and from long long int, and
3545         subtractions, where those might raise spurious exceptions.
3547 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3549         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3550         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3551         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3552         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3553         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3554         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3555         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3556         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3557         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3558         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3559         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3561         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3562         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3563         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3564         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3565         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3566         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3567         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3568         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3569         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3570         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3571         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3572         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3573         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3574         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3575         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3576         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3577         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3578         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3579         (__xstat64_conv): Likewise.
3580         (__xstat32_conv): Likewise.
3582 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3584         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3585         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3586         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3587         <sysdeps/unix/sysv/linux/sysdep.h>.
3588         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3589         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3590         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3591         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3592         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3593         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3594         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3595         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3596         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3602         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3604         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3605         (sysdep-dl-routines): Add sysdep.
3606         [$(subdir) == nptl] (libpthread-routines): Likewise.
3607         [$(subdir) == rt] (librt-routines): Likewise.
3608         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3609         PIC when branching to SYSCALL_ERROR_LABEL.
3610         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3612         <sysdeps/unix/sysv/linux/sysdep.h>.
3613         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3614         (SYSCALL_ERROR_ERRNO): Removed.
3615         (SYSCALL_ERROR_HANDLER): Changed to empty.
3616         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3617         (__syscall_error): New prototype.
3618         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3619         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3621 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3623         [BZ #19124]
3624         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3625         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3626         _dl_runtime_resolve_avx.
3627         (_dl_runtime_profile_avx512): Make it a hidden alias of
3628         _dl_runtime_profile_avx.
3630 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3632         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3633         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3634         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3635         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3637         [BZ #16422]
3638         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3639         New configure test.
3640         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3641         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3642         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3643         <math_private.h> and <stdint.h>.
3644         (__llrint): Avoid conversions to long long int where those might
3645         raise spurious exceptions.
3646         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3647         <math_private.h> and <stdint.h>.
3648         (__llrintf): Avoid conversions to long long int where those might
3649         raise spurious exceptions.
3651 2015-10-12  Andreas Schwab  <schwab@suse.de>
3653         [BZ #18969]
3654         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3655         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3656         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3657         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3658         $(gen-locales).
3659         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3660         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3661         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3662         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3663         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3664         $(gen-locales).
3665         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3666         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3667         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3668         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3669         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3670         ($(objpfx)tst-ftell-active-handler.out)
3671         ($(objpfx)tst-ftell-append.out)
3672         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3673         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3674         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3675         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3676         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3677         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3678         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3679         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3680         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3681         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3682         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3683         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3684         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3685         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3686         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3687         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3688         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3689         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3690         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3691         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3692         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3693         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3694         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3695         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3696         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3697         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3698         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3699         $(gen-locales).
3700         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3701         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3702         $(gen-locales).
3703         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3704         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3705         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3706         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3707         $(gen-locales).
3708         * libio/tst_wprintf2.c (main): Use explicit locale.
3709         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3711 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3713         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3714         __msg_sig_post.
3715         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3717 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3719         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3722         * sysdeps/arm/libm-test-ulps: Regenerated.
3724         [BZ #15470]
3725         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3727         [BZ #16399]
3728         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3729         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3730         and <fix-fp-int-convert-overflow.h>.
3731         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3732         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3733         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3734         and <fix-fp-int-convert-overflow.h>.
3735         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3736         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3737         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3738         <fix-fp-int-convert-overflow.h>.
3739         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3740         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3741         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3742         <fix-fp-int-convert-overflow.h>.
3743         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3744         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3745         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3746         and <fix-fp-int-convert-overflow.h>.
3747         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3748         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3749         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3750         <limits.h> and <fix-fp-int-convert-overflow.h>.
3751         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3752         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3753         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3754         and <fix-fp-int-convert-overflow.h>.
3755         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3756         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3757         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3758         and <fix-fp-int-convert-overflow.h>.
3759         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3760         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3761         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3763 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3765         [BZ #18589]
3766         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3767         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3768         $(gen-locales).
3770 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3771             Phil Blundell <pb@pbcl.net>
3773         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3774         * nptl/tst-cancel26.c: New file.
3775         * nptl/tst-cancel27.c: Likewise.
3777 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3779         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3780         __ILP32__ isn't defined.
3781         (lrint): Likewise.
3782         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3783         (lrintf): Likewise.
3784         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3785         (lrintl): Likewise.
3786         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3787         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3788         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3790 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3792         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3795         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3796         file.
3797         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3798         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3800 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3802         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3803         configure test.
3804         * sysdeps/i386/configure: Regenerated.
3805         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3806         configure test.
3807         * sysdeps/x86_64/configure: Regenerated.
3808         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3809         Make code unconditional.
3811         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3812         test.
3813         * sysdeps/i386/configure: Regenerated.
3814         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3815         test.
3816         * sysdeps/x86_64/configure: Regenerated.
3817         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3818         Make code unconditional.
3819         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3820         Likewise.
3821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3822         Likewise.
3823         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3824         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3825         code unconditional.
3826         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3827         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3828         code unconditional.
3829         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3830         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3831         code unconditional.
3832         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3833         code unconditional.
3834         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3835         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3836         code unconditional.
3837         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3839         code unconditional.
3840         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3841         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3842         code unconditional.
3843         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3844         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3845         code unconditional.
3846         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3847         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3849         [BZ #19095]
3850         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3851         mantissa to long int before shifting left.
3853 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3855         [BZ #19094]
3856         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3857         <limits.h>.
3858         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3859         when result overflows but exception would not result from cast.
3860         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3861         <limits.h>.
3862         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3863         when result overflows but exception would not result from cast.
3864         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3865         <limits.h>.
3866         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3867         when result overflows but exception would not result from cast.
3868         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3869         <limits.h>.
3870         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3871         when result overflows but exception would not result from cast.
3872         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3873         <limits.h>.
3874         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3875         when result overflows but exception would not result from cast.
3876         * math/libm-test.inc (lrint_test_data): Add more tests.
3877         (llrint_test_data): Likewise.
3879 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3881         [BZ #18872]
3882         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3883         Move out from under [$(run-built-tests) = yes] conditional.
3884         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3885         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3887 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3889         [BZ #18589]
3890         * string/Makefile (tests): Add bug-strcoll2.
3891         (LOCALES): Add cs_CZ.UTF-8.
3892         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3894         [BZ #18589]
3895         * string/bug-strcoll2.c: New file.
3896         * locale/categories.def: Revert commit
3897         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3898         * locale/langinfo.h: Likewise.
3899         * locale/localeinfo.h: Likewise.
3900         * locale/C-collate.c: Likewise.
3901         * locale/programs/ld-collate.c (collate_output): Likewise.
3902         * string/strcoll_l.c (STRDIFF): Likewise.
3903         (STRCOLL): Likewise.
3904         * wcsmbs/wcscoll_l.c: Likewise.
3906 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3908         * math/libm-test.inc (lround_test_data): Do not expect the absence
3909         of "inexact" for some tests with non-integer arguments.
3910         (llround_test_data): Likewise.
3912         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3913         test.
3914         (libc_cv_cc_sse2avx): Likewise.
3915         * sysdeps/i386/configure: Regenerated.
3916         * sysdeps/i386/i686/multiarch/Makefile
3917         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3918         [$(subdir) = math].
3919         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3920         code unconditional.
3921         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3922         Likewise.
3923         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3924         Likewise.
3925         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3926         Likewise.
3927         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3928         test.
3929         (libc_cv_cc_sse2avx): Likewise.
3930         * sysdeps/x86_64/configure: Regenerated.
3931         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3932         unconditional.
3933         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3934         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3935         unconditional.
3936         (_dl_runtime_profile)
3937         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3938         conditional code.
3939         * sysdeps/x86_64/fpu/multiarch/Makefile
3940         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3942         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3943         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3945         * sysdeps/x86_64/fpu/multiarch/e_log.c
3946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3947         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3948         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3949         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3950         Likewise.
3951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3952         Likewise.
3953         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3954         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3955         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3957         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3958         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3959         (HAVE_SSE2AVX_SUPPORT): Likewise.
3961 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3963         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3964         instead of #pragma optimize.
3966 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3968         [BZ #17195]
3969         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3970         as is similarly done in systrim and _int_free already.
3972 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3974         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3976 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3978         [BZ #19088]
3979         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3980         <limits.h>.
3981         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3982         overflows but exception would not result from cast.
3983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3984         and <limits.h>.
3985         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3986         overflows but exception would not result from cast.
3987         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3988         <limits.h>.
3989         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3990         overflows but exception would not result from cast.
3991         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3992         <limits.h>.
3993         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3994         overflows but exception would not result from cast.
3995         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3996         <limits.h>.
3997         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3998         overflows but exception would not result from cast.
3999         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4000         <limits.h>.
4001         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4002         overflows but exception would not result from cast.
4003         * math/libm-test.inc (lround_test_data): Add more tests.
4004         (llround_test_data): Likewise.
4006 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4008         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4009         (CFLAGS-ialloc.c): Ditto.
4010         (CFLAGS-scheck.c): Ditto.
4012 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4014         [BZ #19086]
4015         * manual/filesys.texi (Storage Allocation): Fix argument order for
4016         posix_fallocate64.
4018 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4020         [BZ #19085]
4021         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4022         exponent below 48 inside case for non-overflowing exponent.
4023         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4025 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4027         * iconvdata/cp737.h (from_idx): Add const.
4028         * iconvdata/cp775.h (from_idx): Likewise.
4030 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4032         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4033         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4034         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4036         [BZ #19079]
4037         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4038         file, conditioned on [!_LP64].
4039         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4040         [!_LP64] (__lround): Do not define as function or alias.
4041         [!_LP64] (lround): Likewise.
4042         [!_LP64] (__lroundl): Likewise.
4043         [!_LP64] (lroundl): Likewise.
4044         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4045         macro.
4046         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4047         Likewise.
4049 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4051         * math/libm-test.inc (lrint_test_data): Add more tests.
4052         (llrint_test_data): Likewise.
4053         (lround_test_data): Likewise.
4054         (llround_test_data): Likewise.
4056         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4057         (llrint_test_data): Add tests used for lrint.
4059         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4060         test.
4061         * sysdeps/i386/configure: Regenerated.
4062         * sysdeps/i386/i686/multiarch/Makefile
4063         [$(config-cflags-sse4) = yes]: Make code unconditional.
4064         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4065         Likewise.
4066         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4067         Likewise.
4068         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4069         test.
4070         * sysdeps/x86_64/configure: Regenerated.
4071         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4072         Make code unconditional.
4073         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4074         Likewise.
4075         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4076         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4078         * scripts/rpm2dynsym.sh: Remove file.
4080 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4082         * configure.ac (libc_cv_cxx_thread_local): Define.
4083         * configure: Regenerate.
4084         * config.make.in (have-cxx-thread_local): Define.
4085         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4086         (LDLIBS-tst-thread_local1): Define.
4087         (tests): Add tst-thread_local1.
4088         [have-cxx-thread_local != yes] (tests-unsupported): Add
4089         tst-thread_local1.
4090         * nptl/tst-thread_local1.cc: New file.
4092 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4094         [BZ #19078]
4095         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4096         (u_thres): Likewise.
4097         (__expl): Determine whether to call __kernel_standard_l based on
4098         value of result, not argument.
4100         * math/libm-test.inc (scalb_test_data): Add more expectations for
4101         the "inexact" exception.
4103         [BZ #19077]
4104         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4105         0.0L for argument 1.0L.
4107         [BZ #19076]
4108         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4109         constant 0.0L when computing infinite result.
4111 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4113         [BZ #10432]
4114         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4115         malloc_usable_size.
4117 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4119         [BZ #19018]
4120         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4121         Mangle function pointer before storing it.
4122         (__call_tls_dtors): Demangle function pointer before calling it.
4124 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4126         [BZ #19012]
4127         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4128         Clean up on failure.
4130 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4132         [BZ #19071]
4133         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4134         long int variable to store possibly incremented high part of
4135         mantissa.
4136         * math/libm-test.inc (lround_test_data): Add tests used for
4137         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4138         for tests requiring 64-bit long.  Do not condition tests on
4139         [TEST_FLOAT] unnecessarily.
4140         (llround_test_data): Add tests used for lround.  Add another
4141         expectation for the "inexact" exception.  Do not condition tests
4142         on [TEST_FLOAT] unnecessarily.
4144         [BZ #887]
4145         [BZ #19049]
4146         [BZ #19050]
4147         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4148         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4149         <fix-int-fp-convert-zero.h>.
4150         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4151         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4152         <fix-int-fp-convert-zero.h>.
4153         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4154         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4155         <fix-int-fp-convert-zero.h>.
4156         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4157         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4158         <fix-int-fp-convert-zero.h>.
4159         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4160         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4161         <fix-int-fp-convert-zero.h>.
4162         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4163         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4164         <fix-int-fp-convert-zero.h>.
4165         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4166         * sysdeps/ieee754/flt-32/s_erff.c: Include
4167         <fix-int-fp-convert-zero.h>.
4168         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4169         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4170         <fix-int-fp-convert-zero.h>.
4171         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4173         <fix-int-fp-convert-zero.h>.
4174         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4176         <fix-int-fp-convert-zero.h>.
4177         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4178         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4179         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4180         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4181         file.
4182         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4184 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4188 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4190         [BZ #19059]
4191         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4192         overflowing computation.
4193         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4194         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4195         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4196         Likewise.
4197         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4198         Likewise.
4199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4200         Likewise.
4201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4202         Likewise.
4203         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4204         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4205         Likewise.
4206         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4207         Likewise.
4208         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4210         * nss/rewrite_field.c (__nss_rewrite_field): Use
4211         internal_function.
4212         * nss/valid_field.c (__nss_valid_field): Likewise.
4213         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4215 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4217         [BZ #18724]
4218         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4219         (__nss_invalid_field_characters, __nss_valid_field)
4220         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4221         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4222         tst-field.c: New file.
4223         * nss/Makefile (routines): Add valid_field, rewrite_field.
4224         (tests-static): Define unconditionally.
4225         (tests): Include tests-static.
4226         [build-static-nss] (tests-static): Use append.
4227         [build-static-nss] (tests): Remove modification.
4228         * nss/getent.c (print_group): Call putgrent.  Report error.
4229         (print_gshadow): Call putsgent.  Report error.
4230         (print_passwd): Call putpwent.  Report error.
4231         (print_shadow): Call putspent.  Report error.
4232         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4233         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4234         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4235         name, password, directory, shell fields for valid syntax.  Rewrite
4236         GECOS field to match syntax.
4237         * pwd/Makefile (tests): Add tst-putpwent.
4238         * pwd/tst-putpwent.c: New file.
4239         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4240         Check grName, grpasswd, gr_mem fields for valid syntax.
4241         Change loop variable i to size_t.
4242         * grp/Makefile (tests): Add tst-putgrent.
4243         * grp/tst-putgrent.c: New file.
4244         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4245         valid syntax.
4246         * shadow/Makefile (tests): Add tst-putspent.
4247         * shadow/tst-putspent.c: New file.
4248         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4249         sg_mem fields for valid syntax.
4250         * gshadow/Makefile (tests): Add tst-putsgent.
4251         * gshadow/tst-putsgent.c: New file.
4253 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4255         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4256         assembly instructions.
4258 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4260         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4261         prefix from operands.
4263 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4265         [BZ #16347]
4266         [BZ #19046]
4267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4268         <libc-internal.h>.
4269         (MAXLGM): Do not use diagnostic control macros.
4270         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4271         threshold for ldbl-128ibm.
4272         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4273         instead of multiplying by log then subtracting.
4274         * math/auto-libm-test-in: Add more tests of lgamma.
4275         * math/auto-libm-test-out: Regenerated.
4277         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4278         (TYPE_HEX_DIG): Likewise.
4279         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4280         precisions when printing floating-point numbers.
4281         (check_float_internal): Likewise.
4283 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4285         [BZ #16620]
4286         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4287         of log (10) rounded downward to 48 bits.
4288         (log10_low): Use corresponding low part of log (10).
4290         [BZ #19032]
4291         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4292         compute result as (x - x) / (x - x) not as 0 / 0.
4293         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4294         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4296         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4297         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4298         and expm1.
4299         * math/auto-libm-test-out: Regenerated.
4300         * math/libm-test.inc (acos_test_data): Add more tests.
4301         (asin_test_data): Likewise.
4302         (asinh_test_data): Likewise.
4303         (atan_test_data): Likewise.
4304         (atanh_test_data): Likewise.
4305         (atan2_test_data): Likewise.
4306         (cbrt_test_data): Likewise.
4307         (ceil_test_data): Likewise.
4308         (copysign_test_data): Likewise.
4309         (cos_test_data): Likewise.
4310         (cosh_test_data): Likewise.
4311         (erf_test_data): Likewise.
4312         (erfc_test_data): Likewise.
4313         (exp_test_data): Likewise.
4314         (exp10_test_data): Likewise.
4315         (exp2_test_data): Likewise.
4316         (expm1_test_data): Likewise.
4317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4319 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4321         [BZ #19006]
4322         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4323         to ...
4324         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4325         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4326         to ...
4327         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4328         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4329         to ...
4330         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4331         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4332         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4333         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4334         to ...
4335         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4336         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4337         Moved to ...
4338         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4340         Moved to ...
4341         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4343         to ...
4344         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4346         Moved to ...
4347         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4349         to ...
4350         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4351         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4352         Removed.
4353         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4358         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4359         Likewise.
4360         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4369         Likewise.
4370         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4375         Likewise.
4376         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4377         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4378         Likewise.
4379         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4380         Likewise.
4381         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4382         Likewise.
4383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4384         Likewise.
4385         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4386         Likewise.
4387         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4388         Replace ../i486/pthread_cond_timedwait.S with
4389         ../pthread_cond_timedwait.S.
4391 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4393         * math/libm-test.inc (acos_test_data): Refine expectations for
4394         errno and "inexact" exceptions.
4395         (acosh_test_data): Likewise.
4396         (asin_test_data): Likewise.
4397         (asinh_test_data): Likewise.
4398         (atan_test_data): Likewise.
4399         (atanh_test_data): Likewise.
4400         (atan2_test_data): Likewise.
4401         (cbrt_test_data): Likewise.
4402         (ceil_test_data): Likewise.
4403         (copysign_test_data): Likewise.
4404         (cosh_test_data): Likewise.
4405         (erf_test_data): Likewise.
4406         (erfc_test_data): Likewise.
4407         (exp_test_data): Likewise.
4408         (exp10_test_data): Likewise.
4409         (exp2_test_data): Likewise.
4410         (expm1_test_data): Likewise.
4411         (fabs_test_data): Likewise.
4412         (floor_test_data): Likewise.
4413         (fma_test_data): Likewise.
4414         (fmax_test_data): Likewise.
4415         (fmin_test_data): Likewise.
4416         (fmod_test_data): Likewise.
4417         (fpclassify_test_data): Likewise.
4418         (frexp_test_data): Likewise.
4419         (hypot_test_data): Likewise.
4420         (ilogb_test_data): Likewise.
4421         (isgreater_test_data): Likewise.
4422         (isgreaterequal_test_data): Likewise.
4423         (isinf_test_data): Likewise.
4424         (isless_test_data): Likewise.
4425         (islessequal_test_data): Likewise.
4426         (islessgreater_test_data): Likewise.
4427         (isnan_test_data): Likewise.
4428         (isnormal_test_data): Likewise.
4429         (issignaling_test_data): Likewise.
4430         (isunordered_test_data): Likewise.
4431         (j0_test_data): Likewise.
4432         (j1_test_data): Likewise.
4433         (jn_test_data): Likewise.
4434         (lgamma_test_data): Likewise.
4435         (lrint_test_data): Likewise.
4436         (llrint_test_data): Likewise.
4437         (log_test_data): Likewise.
4438         (log10_test_data): Likewise.
4439         (log1p_test_data): Likewise.
4440         (log2_test_data): Likewise.
4441         (logb_test_data): Likewise.
4442         (lround_test_data): Likewise.
4443         (llround_test_data): Likewise.
4444         (modf_test_data): Likewise.
4445         (nearbyint_test_data): Likewise.
4446         (nextafter_test_data): Likewise.
4447         (nexttoward_test_data): Likewise.
4448         (pow_test_data): Likewise.
4449         (remainder_test_data): Likewise.
4450         (remquo_test_data): Likewise.
4451         (rint_test_data): Likewise.
4452         (round_test_data): Likewise.
4453         (signbit_test_data): Likewise.
4454         (sinh_test_data): Likewise.
4455         (sqrt_test_data): Likewise.
4456         (tanh_test_data): Likewise.
4457         (tgamma_test_data): Likewise.
4458         (trunc_test_data): Likewise.
4459         (y0_test_data): Likewise.
4460         (y1_test_data): Likewise.
4461         (yn_test_data): Likewise.
4462         (significand_test_data): Likewise.
4464 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4466         * manual/filesys.texi (Storage Allocation): Document that
4467         posix_fallocate emulation fails when fd is open with O_WRONLY.
4469 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4471         [BZ #19016]
4472         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4473         allow more cases with X^2 + Y^2 >= 0.5.
4474         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4475         normal element in sum instead of special-casing based on values of
4476         arguments.
4477         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4478         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4479         -1 as normal element in sum instead of special-casing based on
4480         values of arguments.
4481         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4482         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4483         (__x2y2m1): Update comment.
4484         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4485         as normal element in sum instead of special-casing based on values
4486         of arguments.
4487         * math/s_clog.c (__clog): Handle more cases using log1p without
4488         hypot.
4489         * math/s_clog10.c (__clog10): Likewise.
4490         * math/s_clog10f.c (__clog10f): Likewise.
4491         * math/s_clog10l.c (__clog10l): Likewise.
4492         * math/s_clogf.c (__clogf): Likewise.
4493         * math/s_clogl.c (__clogl): Likewise.
4494         * math/auto-libm-test-in: Add more tests of clog and clog10.
4495         * math/auto-libm-test-out: Regenerated.
4496         * sysdeps/i386/fpu/libm-test-ulps: Update.
4497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4499 2015-09-28  Martin Sebor  <msebor@redhat.com>
4501         [BZ #18969]
4502         * string/Makefile (LOCALES): Define.
4503         (gen-locales.mk): Include.
4504         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4505         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4506         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4507         on setlocale failure.
4509 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4511         [BZ #18985]
4512         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4513         (__strftime_internal): Likewise.
4514         * time/tst-strftime.c (do_bz18985): New test.
4515         (do_test): Call it.
4517 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4519         [BZ #18956]
4520         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4521         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4522         extracting high part.
4523         * math/auto-libm-test-in: Add another test of pow.
4524         * math/auto-libm-test-out: Regenerated.
4525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4527 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4529         [BZ #18825]
4530         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4531         New macro.
4532         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4533         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4534         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4535         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4536         DBL_NARROW_EVAL, reloading the PIC register as needed.
4537         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4538         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4539         FLT_NARROW_EVAL.  Use separate return path for case when first
4540         argument is NaN.
4541         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4542         DEFINE_LDBL_MIN.
4543         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4544         PIC register.
4545         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4546         math_check_force_underflow_nonneg.
4547         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4548         underflow for subnormal result.
4549         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4550         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4551         math_check_force_underflow_nonneg.
4552         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4553         math_check_force_underflow.
4554         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4555         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4556         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4557         DEFINE_LDBL_MIN.
4558         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4559         * math/auto-libm-test-in: Add more tests of pow.
4560         * math/auto-libm-test-out: Regenerated.
4562 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4564         * nss/bug17079.c (init_test_items): Add diagnostic for
4565         inconsistent entries.
4566         (test_buffer_size): Skip inconsistent entries.
4568 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4570         [BZ #13304]
4571         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4572         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4573         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4575         [BZ #13304]
4576         * sysdeps/microblaze/s_fma.c: New file.
4577         * sysdeps/microblaze/s_fmaf.c: Likewise.
4578         * sysdeps/microblaze/sfp-machine.h: Likewise.
4580 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4582         [BZ #17250]
4583         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4584         member.
4586 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4588         [BZ #18803]
4589         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4590         (MO): New macro.
4591         (__ieee754_hypot) [PIC]: Load PIC register.
4592         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4593         DBL_NARROW_EVAL.
4594         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4595         math_check_force_underflow_nonneg in case where result might be
4596         tiny.
4597         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4598         Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4600         Likewise.
4601         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4602         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4603         * math/auto-libm-test-in: Add more tests of hypot.
4604         * math/auto-libm-test-out: Regenerated.
4606 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4608         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4610 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4612         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4613         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4614         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4615         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4616         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4617         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4618         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4620         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4621         LOAD_PIC_REG.
4623         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4624         (FLT_CHECK_FORCE_UFLOW): Likewise.
4625         (DBL_CHECK_FORCE_UFLOW): Likewise.
4626         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4627         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4628         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4629         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4630         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4631         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4632         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4633         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4634         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4635         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4636         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4637         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4638         (flt_min): Replace with use of DEFINE_FLT_MIN.
4639         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4640         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4641         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4642         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4643         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4644         (flt_min): Replace with use of DEFINE_FLT_MIN.
4645         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4646         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4647         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4648         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4649         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4650         (flt_min): Replace with use of DEFINE_FLT_MIN.
4651         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4652         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4653         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4654         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4655         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4656         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4657         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4658         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4659         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4660         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4661         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4662         (flt_min): Replace with use of DEFINE_FLT_MIN.
4663         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4664         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4666         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4667         main computation.
4668         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4669         (flt_min): Replace with use of DEFINE_FLT_MIN.
4670         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4671         main computation.
4672         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4674         (MO): New macro.
4675         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4676         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4677         (flt_min): Replace with use of DEFINE_FLT_MIN.
4678         (MO): New macro.
4679         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4680         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4681         (__log1pl): Use MO.
4683         [BZ #19003]
4684         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4685         $(config-cflags-nofma).
4687 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4689         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4691 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4693         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4694         (TWO127): Likewise.
4696         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4697         (min_of_type): Likewise.
4698         (math_check_force_underflow): Likewise.
4699         (math_check_force_underflow_nonneg): Likewise.
4700         (math_check_force_underflow_complex): Likewise.
4701         * math/e_exp2l.c (__ieee754_exp2l): Use
4702         math_check_force_underflow_nonneg.
4703         * math/k_casinh.c (__kernel_casinh): Likewise.
4704         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4705         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4706         * math/s_catan.c (__catan): Use
4707         math_check_force_underflow_complex.
4708         * math/s_catanf.c (__catanf): Likewise.
4709         * math/s_catanh.c (__catanh): Likewise.
4710         * math/s_catanhf.c (__catanhf): Likewise.
4711         * math/s_catanhl.c (__catanhl): Likewise.
4712         * math/s_catanl.c (__catanl): Likewise.
4713         * math/s_ccosh.c (__ccosh): Likewise.
4714         * math/s_ccoshf.c (__ccoshf): Likewise.
4715         * math/s_ccoshl.c (__ccoshl): Likewise.
4716         * math/s_cexp.c (__cexp): Likewise.
4717         * math/s_cexpf.c (__cexpf): Likewise.
4718         * math/s_cexpl.c (__cexpl): Likewise.
4719         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4720         * math/s_clog10.c (__clog10): Likewise.
4721         * math/s_clog10f.c (__clog10f): Likewise.
4722         * math/s_clog10l.c (__clog10l): Likewise.
4723         * math/s_clogf.c (__clogf): Likewise.
4724         * math/s_clogl.c (__clogl): Likewise.
4725         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4726         * math/s_csinf.c (__csinf): Likewise.
4727         * math/s_csinh.c (__csinh): Likewise.
4728         * math/s_csinhf.c (__csinhf): Likewise.
4729         * math/s_csinhl.c (__csinhl): Likewise.
4730         * math/s_csinl.c (__csinl): Likewise.
4731         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4732         * math/s_csqrtf.c (__csqrtf): Likewise.
4733         * math/s_csqrtl.c (__csqrtl): Likewise.
4734         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4735         * math/s_ctanf.c (__ctanf): Likewise.
4736         * math/s_ctanh.c (__ctanh): Likewise.
4737         * math/s_ctanhf.c (__ctanhf): Likewise.
4738         * math/s_ctanhl.c (__ctanhl): Likewise.
4739         * math/s_ctanl.c (__ctanl): Likewise.
4740         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4741         instead of volatile.
4742         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4743         math_check_force_underflow.
4744         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4745         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4746         volatile when forcing underflow.
4747         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4748         math_check_force_underflow_nonneg.
4749         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4750         Likewise.
4751         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4752         math_check_force_underflow.
4753         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4754         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4755         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4756         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4757         math_check_force_underflow_nonneg.
4758         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4759         math_check_force_underflow.
4760         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4762         instead of volatile.
4763         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4764         math_check_force_underflow.
4765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4766         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4767         math_check_force_underflow_nonneg.
4768         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4769         math_check_force_underflow.
4770         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4771         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4772         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4773         math_check_force_underflow_nonneg.
4774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4775         Likewise.
4776         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4777         math_check_force_underflow.
4778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4779         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4780         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4781         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4782         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4783         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4784         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4785         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4786         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4787         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4788         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4789         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4790         Likewise.
4791         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4792         math_check_force_underflow_nonneg.
4793         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4794         Likewise.
4795         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4796         math_check_force_underflow.
4797         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4798         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4799         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4800         Likewise.
4801         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4802         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4803         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4804         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4805         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4806         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4808         instead of volatile.
4809         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4810         math_check_force_underflow.
4811         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4813         math_check_force_underflow.
4814         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4815         Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4817         Use math_check_force_underflow_nonneg.
4818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4819         math_check_force_underflow.
4820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4821         Likewise.
4822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4823         Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4825         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4830         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4831         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4833         math_check_force_underflow_nonneg.
4834         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4835         math_check_force_underflow.
4836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4837         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4838         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4839         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4840         math_check_force_underflow_nonneg.
4841         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4842         math_check_force_underflow.
4843         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4845         instead of volatile.
4846         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4847         math_check_force_underflow.
4849         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4850         * stdlib/strtod_l.c: Include <math_private.h>.
4851         (overflow_value): Use math_narrow_eval.
4852         (underflow_value): Likewise.
4853         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4854         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4855         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4856         (__ieee754_gamma_r): Likewise.
4857         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4858         Likewise.
4859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4860         Likewise.
4861         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4862         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4863         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4864         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4865         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4866         (__ieee754_gammaf_r): Likewise.
4867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4868         Likewise.
4869         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4870         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4871         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4872         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4873         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4874         volatile.
4875         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4876         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4877         math_narrow_eval.
4878         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4879         Likewise.
4880         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4881         Likewise.
4882         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4883         Likewise.
4884         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4885         volatile.
4886         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4888         math_narrow_eval.
4889         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4890         Likewise.
4891         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4892         Likewise.
4894 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4896         * nptl/Versions: Remove ignored symbols.
4898 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4900         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4901         * nss/Makefile (tests): Update.
4903 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4905         * nss/bug18287.c: New file.
4906         * nss/Makefile (tests): Add bug18287.
4908 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4910         * mach/Versions (__mach_host_self_): Add symbol.
4912 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4914         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4915         vm_page_size.
4917 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4919         Really fix sysdeps/i386/fpu/s_scalbn.S build
4921         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4922         (libc: GLIBC_2_22): Remove unused version set.
4924 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4926         * config.make.in (enable-timezone-tools): New variable.
4927         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4928         (enable_timezone_tools): Export to generated files.
4929         * configure: Regenerate.
4930         * INSTALL: Regenerate.
4931         * manual/install.texi (--disable-timezone-tools): Document new flag.
4932         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4933         ifeq ($(enable-timezone-tools),yes) check.
4935 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4937         * timezone/Makefile: Revert previous change.
4939         [BZ #18980]
4940         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4941         (DEFINE_DBL_MIN): Likewise.
4942         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4943         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4944         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4945         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4946         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4948         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4949         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4950         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4951         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4952         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4953         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4954         (flt_min): Replace with use of DEFINE_FLT_MIN.
4955         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4956         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4957         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4958         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4959         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4960         (flt_min): Replace with use of DEFINE_FLT_MIN.
4961         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4962         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4963         (flt_min): Replace with use of DEFINE_FLT_MIN.
4964         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4965         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4966         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4967         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4968         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4969         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4970         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4971         (__ieee754_pow): Use DBL_NARROW_EVAL.
4972         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4973         (__ieee754_powf): Use FLT_NARROW_EVAL.
4974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4975         (__ieee754_expf_sse2): Convert double-precision result to single
4976         precision.
4977         * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4981         * timezone/Makefile: Ignore unused variable errors due to private.h
4982         (time_t_min) and (time_t_max).
4983         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4984         Likewise.
4986 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4988         [BZ #18981]
4989         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4990         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4991         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4992         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4993         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4994         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4995         (__scalbn): Use DBL_NARROW_EVAL.
4996         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4997         (__scalbnf): Use FLT_NARROW_EVAL.
4999 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5001         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5002         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5003         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5004         * stdio-common/printf_fp.c (___printf_fp):
5005         Use signbit to get the sign. Use isinf macro to allow inlining.
5006         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5007         * stdio-common/printf_size.c (__printf_size): Likewise.
5009 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5011         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5013 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5015         [BZ #18980]
5016         * sysdeps/generic/math_private.h: Include <float.h>.
5017         (math_narrow_eval): New macro.
5018         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5019         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5020         math_narrow_eval on overflowing return value.
5021         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5022         Likewise.
5023         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5024         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5026         Likewise.
5027         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5029 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5031         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5032         * math/Makefile: Remove isinf_ns.c.
5033         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5034         * math/multc3.c (__multc3): Likewise.
5035         * math/s_casin.c (__casin): Likewise.
5036         * math/s_casinf.c (__casinf): Likewise.
5037         * math/s_casinl.c (__casinl): Likewise.
5038         * math/s_cproj.c (__cproj): Likewise.
5039         * math/s_cprojf.c (__cprojf): Likewise.
5040         * math/s_cprojl.c (__cprofl): Likewise.
5041         * math/s_ctan.c (__ctan): Likewise.
5042         * math/s_ctanf.c (__ctanf): Likewise.
5043         * math/s_ctanh.c (__ctanh): Likewise.
5044         * math/s_ctanhf.c (__ctanhf): Likewise.
5045         * math/s_ctanhl.c (__ctanhl): Likewise.
5046         * math/s_ctanl.c (__ctanl): Likewise.
5047         * math/w_fmod.c (__fmod): Likewise.
5048         * math/w_fmodf.c (__fmodf): Likewise.
5049         * math/w_fmodl.c (_fmodl): Likewise.
5050         * math/w_remainder.c (__remainder): Likewise.
5051         * math/w_remainderf.c (__remainderf): Likewise.
5052         * math/w_remainderl.c (__remainderl): Likewise.
5053         * math/w_scalb.c (__scalb): Likewise.
5054         * math/w_scalbf.c (__scalbf): Likewise.
5055         * math/w_scalbl.c (__scalbl): Likewise.
5056         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5057         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5058         with isinf.
5059         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5060         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5061         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5062         __isinf_nsf with isinf.
5063         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5064         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5065         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5066         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5067         with isinf.
5068         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5069         __isinf_nsl with isinf.
5070         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5071         with isinf.
5072         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5073         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5074         __isinf_nsl with isinf.
5075         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5076         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5077         with isinf.
5079 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5081         * resolv/base64.c (rcsid): Remove unused static.
5082         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5083         static.  (tqpi1): Likewise.
5084         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5085         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5086         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5087         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5089         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5091         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5092         Likewise.
5094 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5096         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5097         <nptl/pthreadP.h>.
5098         (_longjmp_unwind): Use __libc_ptf_call.
5099         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5101 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5103         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5104         * sysdeps/arm/__longjmp.S: Likewise
5106 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5108         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5109         Use __builtin_signbit.
5110         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5111         Use __builtin_signbitf.
5112         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5113         Use __builtin_signbitl.
5114         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5115         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5117 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5119         [BZ #15367]
5120         [BZ #17441]
5122         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5123         * math/math.h (fpclassify): Use __builtin_fpclassify when
5124         available.  (signbit): Use __builtin_signbit(f/l).
5125         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5126         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5127         (isinf): Use __builtin_isinf_sign.
5129 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5131         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5132         * benchtests/bench-math-inlines.c: New benchmark.
5133         * benchtests/bench-util.h: New file.
5134         * benchtests/bench-util.c: New file.
5135         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5137 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5139         * elf/tst-dlmopen1.c: Define TEST_SO.
5140         (do_test): Use TEST_SO.
5142         * elf/dl-load.c: Include libc-internal.h.
5143         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5145 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5147         [BZ #17887]
5148         * time/strptime_l.c (__strptime_internal): Make %z accept
5149         [+-]HH:MM time zones.
5151 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5153         [BZ #17886]
5154         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5155         valid time zone.
5157 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5159         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5160         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5162         (__ASSUME_FDATASYNC): Delete.
5164 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5166         * conform/linknamespace.pl: Require weak undefined symbols to be
5167         in the standard namespace.
5168         (%strong_syms): Rename to %seen_syms.
5169         (%strong_seen): Rename to %seen_where.
5171 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5173         [BZ #18970]
5174         * misc/error.c (error): Replace pthread_setcancelstate with
5175         __pthread_setcancelstate.
5176         (error_at_line): Likewise.
5177         * posix/wordexp.c (parse_comm): Likewise.
5178         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5179         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5180         (__pthread_setcancelstate): This.
5181         (pthread_setcancelstate): Add an alias.
5182         * nptl/nptl-init.c (pthread_functions): Replace
5183         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5184         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5185         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5186         hidden_proto.
5187         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5188         it with hidden_def.
5189         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5190         (pthread_setcancelstate): Renamed to ...
5191         (__pthread_setcancelstate): This.
5192         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5193         __libc_ptf_call with __pthread_setcancelstate.
5195 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5196             Andreas Schwab  <schwab@suse.de>
5198         [BZ #17118]
5199         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5200         result when imaginary part of argument is infinite using sine and
5201         cosine.
5202         * math/s_ctanf.c (__ctanf): Likewise.
5203         * math/s_ctanl.c (__ctanl): Likewise.
5204         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5205         of result when real part of argument is infinite using sine and
5206         cosine.
5207         * math/s_ctanhf.c (__ctanhf): Likewise.
5208         * math/s_ctanhl.c (__ctanhl): Likewise.
5209         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5210         (ctanh_test_data): Add more tests of ctanh.
5212 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5214         [BZ #15384]
5215         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5216         bit-mask as in subtraction.
5217         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5218         Likewise.
5219         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5220         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5221         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5223         [BZ #18951]
5224         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5225         underflow exception for small results.
5226         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5227         Likewise.
5228         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5229         Likewise.
5230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5231         Likewise.
5232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5233         Likewise.
5234         * math/auto-libm-test-in: Add more tests of tgamma.
5235         * math/auto-libm-test-out: Regenerated.
5237 2015-09-17  Andreas Schwab  <schwab@suse.de>
5239         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5241 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #18977]
5244         * math/bits/mathcalls.h
5245         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5246         not declare.
5247         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5248         Likewise.
5249         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5250         Likewise.
5251         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5252         Likewise.
5253         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5254         Likewise.
5255         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5256         Likewise.
5257         * conform/data/math.h-data
5258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5259         function.
5260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5261         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5266         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5267         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5268         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5269         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5270         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5272         [BZ #6803]
5273         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5274         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5275         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5276         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5277         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5278         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5279         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5280         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5281         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5283         Likewise.
5284         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5285         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5286         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5288         long_double_symbol calls.
5289         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5290         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5291         strong alias of __ldexpl.
5292         (scalbnl): Define using long_double_symbol.
5293         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5294         Remove alias.
5295         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5296         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5297         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5298         (scalbln_test_data): Add more errno expectations.
5300 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5302         Cache the host port like we cache the task port.  This way we do not
5303         need to call the kernel just to get the port.  Furthermore, we no
5304         longer increase the reference count on every invocation of
5305         `mach_host_self'.
5307         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5308         Protect declarations against the macro expansion.
5309         * mach/mach_init.c (__mach_host_self_): New variable.
5310         (mach_init): Initialize `__mach_host_self_'.
5311         * mach/mach_init.h (__mach_host_self_): New declaration.
5312         (__mach_host_self, mach_host_self): New macros.
5313         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5314         Release reference.
5316 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5318         [BZ #4404]
5319         * po/de.po: Update from Translation Project.
5321         [BZ #16415]
5322         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5323         (__expm1l): Remove code to handle positive infinity and overflow.
5324         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5325         variable.
5326         (__expm1l): Remove code to handle positive infinity and overflow.
5328 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5329             Paul Pluzhnikov  <ppluzhnikov@google.com>
5331         [BZ #18872]
5332         * stdio-common/Makefile (tst-printf-bz18872): New test.
5333         (tst-printf-bz18872-mem.out): Likewise.
5334         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5335         * stdio-common/vfprintf.c: Fix memory leaks.
5337 2015-09-16  Andreas Schwab  <schwab@suse.de>
5339         [BZ #17244]
5340         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5341         Remove extra va_start/va_end calls.
5343         [BZ #17243]
5344         * posix/execl.c (execl): Add missing va_end.
5345         * posix/execle.c (execle): Likewise.
5346         * posix/execlp.c (execlp): Likewise.
5348 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5350         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5351         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5353 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5355         [BZ #18967]
5356         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5357         undefine around includes of <bits/mathcalls.h>.
5358         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5359         not declare function.
5360         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5361         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5362         (scalb): Likewise.
5363         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5364         not define macro.
5365         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5366         variable.
5367         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5368         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5369         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5371         [BZ #18857]
5372         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5373         return non-finite argument without doing ordered comparisons on
5374         it.
5376         [BZ #16296]
5377         * math/fenv.h (fegetround): Use __attribute_pure__.
5378         * include/fenv.h (__fegetround): Likewise.
5380         [BZ #18595]
5381         * math/s_ctan.c (__ctan): Force underflow exception for results
5382         whose real or imaginary part has small absolute value.
5383         * math/s_ctanf.c (__ctanf): Likewise.
5384         * math/s_ctanh.c (__ctanh): Likewise.
5385         * math/s_ctanhf.c (__ctanhf): Likewise.
5386         * math/s_ctanhl.c (__ctanhl): Likewise.
5387         * math/s_ctanl.c (__ctanl): Likewise.
5388         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5389         and ctanh.  Add more tests of ctan and ctanh.
5391         [BZ #15918]
5392         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5393         handling of cases where one argument is an infinity.
5395         [BZ #18875]
5396         [BZ #18966]
5397         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5398         (MO): New macro.
5399         (__ieee754_exp10): For small results, force underflow exception
5400         and remove excess range and precision from return value.
5401         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5402         (MO): New macro.
5403         (__ieee754_exp10f): For small results, force underflow exception
5404         and remove excess range and precision from return value.
5405         * math/auto-libm-test-in: Add more tests of exp10.
5406         * math/auto-libm-test-out: Regenerated.
5408 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5410         [BZ #18875]
5411         [BZ #18961]
5412         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5413         (MO): New macro.
5414         (__ieee754_exp): For small results, force underflow exception and
5415         remove excess range and precision from return value.
5416         (__exp_finite): Likewise.
5417         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5418         (MO): New macro.
5419         (__ieee754_expf): For small results, force underflow exception and
5420         remove excess range and precision from return value.
5421         (__expf_finite): Likewise.
5422         * math/auto-libm-test-in: Add more tests of exp.
5423         * math/auto-libm-test-out: Regenerated.
5425         [BZ #16521]
5426         [BZ #18875]
5427         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5428         small results.
5429         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5430         (MO): New macro.
5431         (__ieee754_exp2): For small results, force underflow exception and
5432         remove excess range and precision from return value.
5433         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5434         (MO): New macro.
5435         (__ieee754_exp2f): For small results, force underflow exception
5436         and remove excess range and precision from return value.
5437         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5438         (MO): New macro.
5439         (__ieee754_exp2l): Force underflow exception for small results.
5440         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5441         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5442         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5443         (MO): New macro.
5444         (__ieee754_exp2l): Force underflow exception for small results.
5445         * math/auto-libm-test-in: Add more tests or exp2.
5446         * math/auto-libm-test-out: Regenerated.
5448 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5450         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5452         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5453         /dev/null.
5455 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5457         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5458         io fs process)): Drop spurious backslash.
5460 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5462         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5463         Use sysinfo system call instead of parsing /proc/meminfo.
5464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5465         Likewise.
5467 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5469         [BZ #16985]
5470         * programs/localedef.c (main): Display argv[remaining] when
5471         output_path is NULL.
5473 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5475         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5476         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5477         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5478         tanh.
5479         * math/auto-libm-test-out: Regenerated.
5480         * sysdeps/i386/fpu/libm-test-ulps: Update.
5481         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5482         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5487         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5488         Use 'override' keyword to freeze the value here, preventing
5489         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5491 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5493         [BZ #14912]
5494         * sysdeps/aarch64/bits/atomic.h: Move to ...
5495         * sysdeps/aarch64/atomic-machine.h: ...here.
5496         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5497         _AARCH64_ATOMIC_MACHINE_H.
5498         * sysdeps/alpha/bits/atomic.h: Move to ...
5499         * sysdeps/alpha/atomic-machine.h: ...here.
5500         * sysdeps/arm/bits/atomic.h: Move to ...
5501         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5502         * bits/atomic.h: Move to ...
5503         * sysdeps/generic/atomic-machine.h: ...here.
5504         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5505         * sysdeps/i386/bits/atomic.h: Move to ...
5506         * sysdeps/i386/atomic-machine.h: ...here.
5507         * sysdeps/ia64/bits/atomic.h: Move to ...
5508         * sysdeps/ia64/atomic-machine.h: ...here.
5509         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5510         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5511         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5512         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5513         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5514         * sysdeps/microblaze/bits/atomic.h: Move to ...
5515         * sysdeps/microblaze/atomic-machine.h: ...here.
5516         * sysdeps/mips/bits/atomic.h: Move to ...
5517         * sysdeps/mips/atomic-machine.h: ...here.
5518         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5519         * sysdeps/powerpc/bits/atomic.h: Move to ...
5520         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5521         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5522         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5523         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5524         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5525         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5526         <atomic-machine.h> instead of <bits/atomic.h>.
5527         * sysdeps/s390/bits/atomic.h: Move to ...
5528         * sysdeps/s390/atomic-machine.h: ...here.
5529         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5530         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5531         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5532         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5533         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5534         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5535         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5536         * sysdeps/tile/bits/atomic.h: Move to ...
5537         * sysdeps/tile/atomic-machine.h: ...here.
5538         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5539         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5540         <sysdeps/tile/atomic-machine.h> instead of
5541         <sysdeps/tile/bits/atomic.h>.
5542         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5543         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5544         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5545         <sysdeps/tile/atomic-machine.h> instead of
5546         <sysdeps/tile/bits/atomic.h>.
5547         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5548         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5549         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5550         <sysdeps/arm/atomic-machine.h> instead of
5551         <sysdeps/arm/bits/atomic.h>.
5552         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5553         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5555         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5556         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5557         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5558         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5559         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5560         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5561         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5562         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5563         * sysdeps/x86_64/bits/atomic.h: Move to ...
5564         * sysdeps/x86_64/atomic-machine.h: ...here.
5565         * include/atomic.h: Include <atomic-machine.h> instead of
5566         <bits/atomic.h>.
5568         * sysdeps/mips/mips32/libm-test-ulps: Update.
5569         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5571         [BZ #18952]
5572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5573         not convert non-integer negative arguments to int to determine the
5574         value of signgam.
5575         * math/auto-libm-test-in: Add more tests of lgamma.
5576         * math/auto-libm-test-out: Regenerated.
5578         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5579         cosh, csqrt, erfc, expm1 and lgamma.
5580         * math/auto-libm-test-out: Regenerated.
5581         * sysdeps/i386/fpu/libm-test-ulps: Update.
5582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5584 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5586         [BZ #2542]
5587         [BZ #2543]
5588         [BZ #2558]
5589         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5590         __lgamma_neg for arguments from -28.0 to -2.0.
5591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5592         __lgamma_negf for arguments from -15.0 to -2.0.
5593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5594         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5595         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5596         Call __lgamma_negl for arguments from -33.0 to -2.0.
5597         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5598         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5599         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5600         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5601         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5602         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5603         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5604         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5605         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5606         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5607         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5608         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5609         (__lgamma_neg): Likewise.
5610         (__lgamma_negl): Likewise.
5611         (__lgamma_product): Likewise.
5612         (__lgamma_productl): Likewise.
5613         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5614         * math/auto-libm-test-in: Add more tests of lgamma.
5615         * math/auto-libm-test-out: Regenerated.
5616         * sysdeps/i386/fpu/libm-test-ulps: Update.
5617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5621         [BZ #18675]
5622         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5624 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #14912]
5627         * bits/libc-lock.h: Move to ...
5628         * sysdeps/generic/libc-lock.h: ...here.
5629         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5630         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5631         * sysdeps/mach/hurd/libc-lock.h: ...here.
5632         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5633         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5634         * sysdeps/mach/bits/libc-lock.h: Move to ...
5635         * sysdeps/mach/libc-lock.h: ...here.
5636         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5637         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5638         * sysdeps/nptl/libc-lock.h: ...here.
5639         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5640         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5641         * sysdeps/nptl/libc-lockP.h: ...here.
5642         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5643         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5644         <bits/libc-lock.h>.
5645         * dirent/scandir-tail.c: Likewise.
5646         * dlfcn/dlerror.c: Likewise.
5647         * elf/dl-close.c: Likewise.
5648         * elf/dl-iteratephdr.c: Likewise.
5649         * elf/dl-lookup.c: Likewise.
5650         * elf/dl-open.c: Likewise.
5651         * elf/dl-support.c: Likewise.
5652         * elf/dl-writev.h: Likewise.
5653         * elf/rtld.c: Likewise.
5654         * grp/fgetgrent.c: Likewise.
5655         * gshadow/fgetsgent.c: Likewise.
5656         * gshadow/sgetsgent.c: Likewise.
5657         * iconv/gconv_conf.c: Likewise.
5658         * iconv/gconv_db.c: Likewise.
5659         * iconv/gconv_dl.c: Likewise.
5660         * iconv/gconv_int.h: Likewise.
5661         * iconv/gconv_trans.c: Likewise.
5662         * include/link.h: Likewise.
5663         * inet/getnameinfo.c: Likewise.
5664         * inet/getnetgrent.c: Likewise.
5665         * inet/getnetgrent_r.c: Likewise.
5666         * intl/bindtextdom.c: Likewise.
5667         * intl/dcigettext.c: Likewise.
5668         * intl/finddomain.c: Likewise.
5669         * intl/gettextP.h: Likewise.
5670         * intl/loadmsgcat.c: Likewise.
5671         * intl/localealias.c: Likewise.
5672         * intl/textdomain.c: Likewise.
5673         * libidn/idn-stub.c: Likewise.
5674         * libio/libioP.h: Likewise.
5675         * locale/duplocale.c: Likewise.
5676         * locale/freelocale.c: Likewise.
5677         * locale/newlocale.c: Likewise.
5678         * locale/setlocale.c: Likewise.
5679         * login/getutent_r.c: Likewise.
5680         * login/getutid_r.c: Likewise.
5681         * login/getutline_r.c: Likewise.
5682         * login/utmp-private.h: Likewise.
5683         * login/utmpname.c: Likewise.
5684         * malloc/mtrace.c: Likewise.
5685         * misc/efgcvt.c: Likewise.
5686         * misc/error.c: Likewise.
5687         * misc/fstab.c: Likewise.
5688         * misc/getpass.c: Likewise.
5689         * misc/mntent.c: Likewise.
5690         * misc/syslog.c: Likewise.
5691         * nis/nis_call.c: Likewise.
5692         * nis/nis_callback.c: Likewise.
5693         * nis/nss-default.c: Likewise.
5694         * nis/nss_compat/compat-grp.c: Likewise.
5695         * nis/nss_compat/compat-initgroups.c: Likewise.
5696         * nis/nss_compat/compat-pwd.c: Likewise.
5697         * nis/nss_compat/compat-spwd.c: Likewise.
5698         * nis/nss_nis/nis-alias.c: Likewise.
5699         * nis/nss_nis/nis-ethers.c: Likewise.
5700         * nis/nss_nis/nis-grp.c: Likewise.
5701         * nis/nss_nis/nis-hosts.c: Likewise.
5702         * nis/nss_nis/nis-network.c: Likewise.
5703         * nis/nss_nis/nis-proto.c: Likewise.
5704         * nis/nss_nis/nis-pwd.c: Likewise.
5705         * nis/nss_nis/nis-rpc.c: Likewise.
5706         * nis/nss_nis/nis-service.c: Likewise.
5707         * nis/nss_nis/nis-spwd.c: Likewise.
5708         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5709         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5710         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5711         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5712         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5713         * nis/nss_nisplus/nisplus-network.c: Likewise.
5714         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5715         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5716         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5717         * nis/nss_nisplus/nisplus-service.c: Likewise.
5718         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5719         * nis/ypclnt.c: Likewise.
5720         * nptl/libc_pthread_init.c: Likewise.
5721         * nss/getXXbyYY.c: Likewise.
5722         * nss/getXXent.c: Likewise.
5723         * nss/getXXent_r.c: Likewise.
5724         * nss/nss_db/db-XXX.c: Likewise.
5725         * nss/nss_db/db-netgrp.c: Likewise.
5726         * nss/nss_db/nss_db.h: Likewise.
5727         * nss/nss_files/files-XXX.c: Likewise.
5728         * nss/nss_files/files-alias.c: Likewise.
5729         * nss/nsswitch.c: Likewise.
5730         * posix/regex_internal.h: Likewise.
5731         * posix/wordexp.c: Likewise.
5732         * pwd/fgetpwent.c: Likewise.
5733         * resolv/res_hconf.c: Likewise.
5734         * resolv/res_libc.c: Likewise.
5735         * shadow/fgetspent.c: Likewise.
5736         * shadow/lckpwdf.c: Likewise.
5737         * shadow/sgetspent.c: Likewise.
5738         * socket/opensock.c: Likewise.
5739         * stdio-common/reg-modifier.c: Likewise.
5740         * stdio-common/reg-printf.c: Likewise.
5741         * stdio-common/reg-type.c: Likewise.
5742         * stdio-common/vfprintf.c: Likewise.
5743         * stdio-common/vfscanf.c: Likewise.
5744         * stdlib/abort.c: Likewise.
5745         * stdlib/cxa_atexit.c: Likewise.
5746         * stdlib/fmtmsg.c: Likewise.
5747         * stdlib/random.c: Likewise.
5748         * stdlib/setenv.c: Likewise.
5749         * string/strsignal.c: Likewise.
5750         * sunrpc/auth_none.c: Likewise.
5751         * sunrpc/bindrsvprt.c: Likewise.
5752         * sunrpc/create_xid.c: Likewise.
5753         * sunrpc/key_call.c: Likewise.
5754         * sunrpc/rpc_thread.c: Likewise.
5755         * sysdeps/arm/backtrace.c: Likewise.
5756         * sysdeps/generic/ldsodefs.h: Likewise.
5757         * sysdeps/generic/stdio-lock.h: Likewise.
5758         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5759         * sysdeps/i386/backtrace.c: Likewise.
5760         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5761         * sysdeps/m68k/backtrace.c: Likewise.
5762         * sysdeps/mach/hurd/cthreads.c: Likewise.
5763         * sysdeps/mach/hurd/dirstream.h: Likewise.
5764         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5765         * sysdeps/nptl/malloc-machine.h: Likewise.
5766         * sysdeps/nptl/stdio-lock.h: Likewise.
5767         * sysdeps/posix/dirstream.h: Likewise.
5768         * sysdeps/posix/getaddrinfo.c: Likewise.
5769         * sysdeps/posix/system.c: Likewise.
5770         * sysdeps/pthread/aio_suspend.c: Likewise.
5771         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5772         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5773         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5774         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5775         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5776         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5777         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5778         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5779         * sysdeps/unix/sysv/linux/system.c: Likewise.
5780         * sysdeps/x86_64/backtrace.c: Likewise.
5781         * time/alt_digit.c: Likewise.
5782         * time/era.c: Likewise.
5783         * time/tzset.c: Likewise.
5784         * wcsmbs/wcsmbsload.c: Likewise.
5785         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5786         instead of <bits/libc-lock.h> in comment.
5788 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5790         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5791         Only use .set mips2 if the current ISA is below mips2.
5792         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5793         Likewise.
5794         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5795         mips32r2 if the current ISA is below mips32r2.
5796         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5797         (TLS_IE): Updated to use the TLD_RDHWR macro.
5798         (TLS_LE): Likewise.
5799         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5800         __ASSEMBLER__ condition.
5802 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5804         Fix parallel build of before-compile targets.
5806         * sysdeps/mach/Makefile ($(patsubst
5807         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5808         mach-before-compile target.
5809         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5810         io fs process)): Move rule to dedicated hurd-before-compile target.
5812 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5814         Fix rules generating headers in hurd/ and mach/ when initial make call
5815         has subdir= explicitly set.
5817         * sysdeps/mach/Makefile ($(patsubst
5818         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5819         calling $(MAKE).
5820         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5821         io fs process)): Force subdir to hurd when calling $(MAKE).
5822         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5823         subdir to mach when calling $(MAKE).
5825 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5827         Check sysheaders when looking for Mach and Hurd headers
5829         * sysdeps/mach/configure.ac: Add sysheaders check.
5830         * sysdeps/mach/configure: Regenerate.
5831         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5832         * sysdeps/mach/hurd/configure: Regenerate.
5834 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5836         [BZ #18921]
5837         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5838         Fix inverted sense of test of 'o_directory_works' value.
5839         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5840         Bernhard Voelker <mail@bernhard-voelker.de>.
5842 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5844         [BZ #14912]
5845         * bits/linkmap.h: Move to ...
5846         * sysdeps/generic/linkmap.h: ...here.
5847         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5848         * sysdeps/aarch64/linkmap.h: ...here.
5849         * sysdeps/arm/bits/linkmap.h: Move to ...
5850         * sysdeps/arm/linkmap.h: ...here.
5851         * sysdeps/hppa/bits/linkmap.h: Move to ...
5852         * sysdeps/hppa/linkmap.h: ...here.
5853         * sysdeps/ia64/bits/linkmap.h: Move to ...
5854         * sysdeps/ia64/linkmap.h: ...here.
5855         * sysdeps/mips/bits/linkmap.h: Move to ...
5856         * sysdeps/mips/linkmap.h: ...here.
5857         * sysdeps/s390/bits/linkmap.h: Move to ...
5858         * sysdeps/s390/linkmap.h: ...here.
5859         * sysdeps/sh/bits/linkmap.h: Move to ...
5860         * sysdeps/sh/linkmap.h: ...here.
5861         * sysdeps/x86/bits/linkmap.h: Move to ...
5862         * sysdeps/x86/linkmap.h: ...here.
5863         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5865 2015-09-04  Andreas Schwab  <schwab@suse.de>
5867         [BZ #18635]
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5869         (__makecontext): Terminate FDE before return label.
5870         (__novec_makecontext): Likewise.
5872 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5874         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5875         first member of struct sv in syscall macro.
5877 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5879         [BZ #14912]
5880         * bits/stdio-lock.h: Move to ...
5881         * sysdeps/generic/stdio-lock.h: ...here.
5882         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5883         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5884         * sysdeps/nptl/stdio-lock.h: ...here.
5885         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5886         * include/libio.h: Include <stdio-lock.h> instead of
5887         <bits/stdio-lock.h>.
5888         * sysdeps/nptl/fork.c: Likewise.
5889         * sysdeps/pthread/flockfile.c: Likewise.
5890         * sysdeps/pthread/ftrylockfile.c: Likewise.
5891         * sysdeps/pthread/funlockfile.c: Likewise.
5893         [BZ #14912]
5894         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5895         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5896         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5897         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5898         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5899         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5900         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5902 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5904         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5905         (test-xfail-tst-protected1b): New variable.
5907 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5909         [BZ #14912]
5910         * bits/libc-tsd.h: Move to ...
5911         * sysdeps/generic/libc-tsd.h: ...here.
5912         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5913         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5914         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5915         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5916         * include/ctype.h: Include <libc-tsd.h> instead of
5917         <bits/libc-tsd.h>.
5918         * include/rpc/rpc.h: Likewise.
5919         * locale/localeinfo.h: Likewise.
5920         * sunrpc/rpc_thread.c: Likewise.
5921         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5922         * sysdeps/nptl/malloc-machine.h: Likewise.
5924         * Makefile (headers): Remove bits/libc-lock.h.
5925         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5927         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5928         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5929         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5930         <bits/stdio-lock.h>.
5931         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5932         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5934 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5936         [BZ #18757]
5937         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5938         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5939         BZ #18757.
5941 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5943         * malloc/mtrace.pl: Filter out NULL entries.
5945 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5947         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5948         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5949         macro.
5951         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5952         (TCP_CC_INFO): Likewise.
5953         (TCP_SAVE_SYN): Likewise.
5954         (TCP_SAVED_SYN): Likewise.
5956 2015-08-31  Brett Neumeier <brett@neumeier.us>
5958         [BZ #18870]
5959         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5961 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5963         [BZ #18873]
5964         Fix broken overflow check in posix_fallocate
5965         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5966         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5967         Fix parenthesization typo.
5969 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5971         [BZ #18887]
5972         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5973         tst-mntent-blank-passno.
5974         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5975         * misc/tst-mntent-blank-corrupt.c: New test.
5976         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5977         * misc/tst-mntent.c (do_test): ... here.
5979 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5981         [BZ #4404]
5982         * po/de.po: Fix SIGALRM typo.
5984 2015-08-28  James Perkins  <james@loowit.net>
5986         * time/tst-strptime2.c (tests): Replace short list of test
5987         strings for strptime %z specifier with code which exhaustively
5988         tests every combination of sign and 0 to 5 digits. Tests for
5989         rejection of invalid strings.
5991 2015-08-28  James Perkins  <james@loowit.net>
5993         [BZ #16141]
5994         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5995         calculation, removing incorrect decimal time rounding, so that
5996         all minute values result in a valid seconds value.
5997         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5998         offset range limits to UTC-99:59 through UTC+99:59 to parse
5999         current and historical use cases.
6000         * time/tst-strptime2.c (tests): Modify and add tests for the
6001         strptime %z input field descriptor, specifically conversion of
6002         minutes to seconds and validating an offset range of -9959 to
6003         +9959.
6005 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6006             Dmitry V. Levin  <ldv@altlinux.org>
6008         [BZ #18877]
6009         * posix/Makefile (tests): Add tst-mmap-offset.
6010         * posix/tst-mmap.c: New file.
6011         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6012         offset calculation for negative values.
6014 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6016         * sysdeps/i386/init-arch.h: New file.
6017         * sysdeps/i386/i586/init-arch.h: Likewise.
6018         * sysdeps/i386/i686/init-arch.h: Likewise.
6019         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6020         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6021         * sysdeps/x86/cpu-features.h (bit_I586): New.
6022         (bit_I686): Likewise.
6023         (bit_CX8): Likewise.
6024         (bit_CMOV): Likewise.
6025         (index_CX8): Likewise.
6026         (index_CMOV): Likewise.
6027         (index_I586): Likewise.
6028         (index_I686): Likewise.
6029         (reg_CX8): Likewise.
6030         (reg_CMOV): Likewise.
6031         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6032         available at compile-time.
6033         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6034         available at compile-time.
6035         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6036         (USE_I686): Likewise.
6038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6040         * sysdeps/i386/bcopy.S: New file.
6041         * sysdeps/i386/bzero.S: Likewise.
6042         * sysdeps/i386/memcpy.S: Likewise.
6043         * sysdeps/i386/memmove.S: Likewise.
6044         * sysdeps/i386/mempcpy.S: Likewise.
6045         * sysdeps/i386/memset.S: Likewise.
6046         * sysdeps/i386/bzero.c: Removed.
6047         * sysdeps/i386/memset.c: Likewise.
6048         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6049         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6050         * sysdeps/i386/i586/memset_chk.S: Likewise.
6051         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6052         * sysdeps/i386/memcpy_chk.S: Here.
6053         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6054         * sysdeps/i386/memmove_chk.S: Here.
6055         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6056         * sysdeps/i386/mempcpy_chk.S: Likewise.
6057         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6058         * sysdeps/i386/memset_chk.S: Likewise.
6060 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6062         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6063         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6064         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6065         * soft-fp/fmadf4.c: Ditto.
6066         * soft-fp/fmatf4.c: Ditto.
6068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6070         * sysdeps/i386/i586/Implies: Removed.
6071         * sysdeps/i386/i686/Implies: Likewise.
6073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6075         * sysdeps/i386/i486/strlen.S: Moved to ...
6076         * sysdeps/i386/strlen.S: Here.
6078 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6080         * sysdeps/i386/i486/strcat.S: Moved to ...
6081         * sysdeps/i386/strcat.S: Here.
6083 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6085         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6086         * sysdeps/i386/pthread_spin_trylock.S: Here.
6087         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6088         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6092         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6093         * sysdeps/i386/string-inlines.c: Here.
6095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6097         * sysdeps/i386/i486/htonl.S: Moved ...
6098         * sysdeps/i386/htonl.S: here.
6100 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6102         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6103         * sysdeps/i386/bits/atomic.h: Here.
6105 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6107         * sysdeps/i386/i486/Versions: Removed.
6109 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6111         [BZ #2898]
6112         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6113         Based on patch by Aurelien Jarno.
6115 2015-08-26  Stan Shebs  <stanshebs@google.com>
6117         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6118         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6120 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6122         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6123         * sysdeps/powerpc/dl-procinfo.c:
6124         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6125         feature so it shows when LD_SHOW_AUXV=1.
6127 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6129         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6130         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6131         definition.  ISA 2.07B no longer requires full sync.
6133 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6135         [BZ #18863]
6136         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6137         (si_call_addr): Define.
6138         (si_syscall): Define.
6139         (si_arch): Define.
6141 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6143         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6144         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6145         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6146         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6147         (__memset_zero_constant_len_parameter): New.
6148         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6149         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6150         (__memset_zero_constant_len_parameter): Don't define if
6151         __memset_chk or USE_AS_BZERO are defined.
6153         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6154         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6155         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6157         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6158         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6159         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6160         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6161         comments.
6162         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6163         -mno-mmx for $(all-rtld-routines).
6164         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6165         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6166         i386.
6168 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6170         * sysdeps/generic/unwind.h
6171         (_Unwind_Word): Use __mode__(__unwind_word__)
6172         instead of __mode__(__word__).
6173         (_Unwind_Sword): Likewise.
6175         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6176         (MAX_NEEDED_INPUT): New define.
6177         (MAX_NEEDED_OUTPUT): New define.
6179         * NEWS: New item for IBM z13 string optimizations.
6181         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6182         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6183         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6184         * sysdeps/s390/multiarch/Makefile
6185         (sysdep_routines): Add memrchr functions.
6186         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6187         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6189         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6190         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6191         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6192         * sysdeps/s390/multiarch/Makefile
6193         (sysdep_routines): Add wmemcmp functions.
6194         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6195         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6196         * benchtests/bench-wmemcmp.c: New File.
6197         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6199         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6200         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6201         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6202         * sysdeps/s390/multiarch/Makefile
6203         (sysdep_routines): Add wmemset functions.
6204         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6205         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6206         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6207         * string/test-memset.c: Add wmemset support.
6208         * wcsmbs/test-wmemset.c: New File.
6209         * wcsmbs/Makefile (strop-tests): Add wmemset.
6210         * benchtests/bench-memset.c: Add wmemset support.
6211         * benchtests/bench-wmemset.c: New File.
6212         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6214         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6215         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6216         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6217         * sysdeps/s390/multiarch/Makefile
6218         (sysdep_routines): Add memccpy functions.
6219         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6220         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6221         * string/memccpy.c: Use MEMCCPY if defined.
6223         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6224         * sysdeps/s390/multiarch/memchr.c: Likewise.
6225         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6226         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6227         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6228         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6229         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6230         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6231         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6232         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6233         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6234         and rawmemchr functions.
6235         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6236         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6237         and wmemchr.
6238         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6239         * string/test-memchr.c: Add wmemchr support.
6240         * wcsmbs/test-wmemchr.c: New File.
6241         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6242         * benchtests/bench-memchr.c: Add wmemchr support.
6243         * benchtests/bench-wmemchr.c: New File.
6244         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6246         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6247         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6248         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6249         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6250         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6251         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6252         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6253         wcscspn functions.
6254         * sysdeps/s390/multiarch/ifunc-impl-list.c
6255         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6256         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6257         * string/test-strcspn.c: Add wcscspn support.
6258         * wcsmbs/test-wcscspn.c: New File.
6259         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6260         * benchtests/bench-strcspn.c: Add wcscspn support.
6261         * benchtests/bench-wcscspn.c: New File.
6262         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6264         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6265         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6266         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6267         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6268         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6269         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6271         wcspbrk functions.
6272         * sysdeps/s390/multiarch/ifunc-impl-list.c
6273         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6274         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6275         * string/test-strpbrk.c: Add wcspbrk support.
6276         * wcsmbs/test-wcspbrk.c: New File.
6277         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6278         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6279         * benchtests/bench-wcspbrk.c: New File.
6280         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6282         * sysdeps/s390/multiarch/strspn-c.c: New File.
6283         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6284         * sysdeps/s390/multiarch/strspn.c: Likewise.
6285         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6286         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6287         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6288         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6289         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6290         wcsspn functions.
6291         * sysdeps/s390/multiarch/ifunc-impl-list.c
6292         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6293         * string/test-strspn.c: Add wcsspn support.
6294         * wcsmbs/test-wcsspn.c: New File.
6295         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6296         * benchtests/bench-strspn.c: Add wcsspn support.
6297         * benchtests/bench-wcsspn.c: New File.
6298         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6300         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6301         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6302         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6303         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6304         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6305         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6307         wcsrchr functions.
6308         * sysdeps/s390/multiarch/ifunc-impl-list.c
6309         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6310         * benchtests/bench-wcsrchr.c: New File.
6311         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6313         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6314         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6315         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6316         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6317         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6318         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6320         wcschrnul functions.
6321         * sysdeps/s390/multiarch/ifunc-impl-list.c
6322         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6323         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6324         * string/test-strchr.c: Add wcschrnul support.
6325         * wcsmbs/test-wcschrnul.c: New File.
6326         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6327         * benchtests/bench-strchr.c: Add wcschrnul support.
6328         * benchtests/bench-wcschrnul.c: New File.
6329         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6331         * sysdeps/s390/multiarch/strchr-c.c: New File.
6332         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6333         * sysdeps/s390/multiarch/strchr.c: Likewise.
6334         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6335         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6336         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6338         wcschr functions.
6339         * sysdeps/s390/multiarch/ifunc-impl-list.c
6340         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6341         * string/strchr.c (STRCHR): Define and use macro.
6342         * benchtests/bench-wcschr.c: New File.
6343         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6345         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6346         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6347         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6348         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6349         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6350         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6352         wcsncmp functions.
6353         * sysdeps/s390/multiarch/ifunc-impl-list.c
6354         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6355         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6356         * benchtests/bench-strncmp.c: Add wcsncmp support.
6357         * benchtests/bench-wcsncmp.c: New File.
6358         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6360         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6361         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6362         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6363         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6364         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6365         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6366         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6368         wcscmp functions.
6369         * sysdeps/s390/multiarch/ifunc-impl-list.c
6370         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6371         * string/strcmp.c (STRCMP): Define and use macro.
6372         * benchtests/bench-wcscmp.c: New File.
6373         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6374         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6375         instead of _HAVE_STRING_ARCH_memchr.
6377         * sysdeps/s390/multiarch/strncat-c.c: New File.
6378         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6379         * sysdeps/s390/multiarch/strncat.c: Likewise.
6380         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6381         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6382         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6383         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6384         wcsncat functions.
6385         * sysdeps/s390/multiarch/ifunc-impl-list.c
6386         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6387         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6388         * string/test-strncat.c: Add wcsncat support.
6389         * wcsmbs/test-wcsncat.c: New File.
6390         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6391         * benchtests/bench-strncat.c: Add wcsncat support.
6392         * benchtests/bench-wcsncat.c: New File.
6393         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6395         * sysdeps/s390/multiarch/strcat-c.c: New File.
6396         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6397         * sysdeps/s390/multiarch/strcat.c: Likewise.
6398         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6399         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6400         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6402         wcscat functions.
6403         * sysdeps/s390/multiarch/ifunc-impl-list.c
6404         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6405         * string/strcat.c (STRCAT): Define and use macro.
6406         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6407         * string/test-strcat.c: Add wcscat support.
6408         * wcsmbs/test-wcscat.c: New File.
6409         * wcsmbs/Makefile (strop-tests): Add wcscat.
6410         * benchtests/bench-strcat.c: Add wcscat support.
6411         * benchtests/bench-wcscat.c: New File.
6412         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6414         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6415         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6416         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6417         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6418         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6419         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6421         wcpncpy functions.
6422         * sysdeps/s390/multiarch/ifunc-impl-list.c
6423         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6424         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6425         * string/test-stpncpy.c: Add wcpncpy support.
6426         * wcsmbs/test-wcpncpy.c: New File.
6427         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6428         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6429         * benchtests/bench-wcpncpy.c: New File.
6430         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6432         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6433         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6434         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6435         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6436         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6437         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6438         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6439         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6440         wcsncpy functions.
6441         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6442         * sysdeps/s390/multiarch/ifunc-impl-list.c
6443         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6444         * string/test-strncpy.c: Add wcsncpy support.
6445         * wcsmbs/test-wcsncpy.c: New File.
6446         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6447         * benchtests/bench-strncpy.c: Add wcsncpy support.
6448         * benchtests/bench-wcsncpy.c: New File.
6449         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6451         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6452         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6453         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6454         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6455         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6456         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6458         wcpcpy functions.
6459         * string/stpcpy.c: Use STPCPY if defined.
6460         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6461         * sysdeps/s390/multiarch/ifunc-impl-list.c
6462         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6463         * string/test-stpcpy.c: Add wcpcpy support.
6464         * wcsmbs/test-wcpcpy.c: New File.
6465         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6466         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6467         * benchtests/bench-wcpcpy.c: New File.
6468         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6470         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6471         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6472         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6473         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6474         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6475         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6476         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6478         wcscpy functions.
6479         * sysdeps/s390/multiarch/ifunc-impl-list.c
6480         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6481         * benchtests/bench-wcscpy.c: New File.
6482         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6484         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6485         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6486         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6487         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6488         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6489         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6491         wcsnlen functions.
6492         * sysdeps/s390/multiarch/ifunc-impl-list.c
6493         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6494         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6495         * string/test-strnlen.c: Add wcsnlen support.
6496         * wcsmbs/test-wcsnlen.c: New File.
6497         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6498         * benchtests/bench-strnlen.c: Add wcsnlen support.
6499         * benchtests/bench-wcsnlen.c: New File.
6500         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6502         * sysdeps/s390/multiarch/Makefile: New File.
6503         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6504         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6505         * sysdeps/s390/multiarch/strlen.c: Likewise.
6506         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6507         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6508         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6509         * string/strlen.c (STRLEN): Define and use macro.
6510         * sysdeps/s390/multiarch/ifunc-impl-list.c
6511         (IFUNC_VX_IMPL): New macro function.
6512         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6513         * benchtests/Makefile (wcsmbs-bench): New variable.
6514         (string-bench-all): Added wcsmbs-bench.
6515         * benchtests/bench-wcslen.c: New File.
6517         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6518         s390_vx_libc_ifunc2): New macro function.
6520         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6521         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6522         assembler support.
6523         * sysdeps/s390/configure: Regenerated.
6525         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6526         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6528         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6529         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6530         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6532         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6533         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6534         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6535         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6536         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6537         (memcmp, bcmp): Use __memcmp_default as alias source.
6538         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6539         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6540         Rename to __memcmp_default.
6541         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6542         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6543         (memcpy): Use __memcpy_default as alias source.
6544         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6545         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6546         Rename to __memcpy_default.
6547         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6548         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6549         (memset): Use __memset_default as alias source.
6550         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6551         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6552         Rename to __memset_default.
6553         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6554         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6555         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6556         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6557         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6558         (memcmp, bcmp): Use __memcmp_default as alias source.
6559         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6560         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6561         Rename to __memcmp_default.
6562         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6563         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6564         (memcpy): Use __memcpy_default as alias source.
6565         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6566         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6567         Rename to __memcpy_default.
6568         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6569         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6570         (memset): Use __memset_default as alias source.
6571         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6572         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6573         Rename to __memset_default.
6574         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6575         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6577         [BZ #18610]
6578         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6579         __ieee_instruction_pointer to __unused.
6580         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6581         __ieee_instruction_pointer.
6582         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6583         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6584         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6585         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6586         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6587         Mark dxc-field as reserved.
6589 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6591         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6592         if the weak reference is not null.
6594 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6596         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6598         [BZ #11214]
6599         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6601 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6603         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6604         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6605         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6606         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6607         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6608         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6609         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6610         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6611         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6612         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6613         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6614         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6615         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6616         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6617         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6618         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6619         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6620         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6622 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6624         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6625         register other than r0 for tabort, it has special meaning.
6626         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6627         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6628         transaction before starting syscall.
6630 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6632         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6634 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6636         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6638         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6639         * sysdeps/x86_64/rtld-memset.S: Likewise.
6640         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6641         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6642         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6643         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6645         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6647 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6649         * debug/strcpy_chk.c: Improve performance.
6650         * debug/stpcpy_chk.c: Likewise.
6651         * sysdeps/x86_64/strcpy_chk.S: Remove.
6652         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6654         [BZ #18240]
6655         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6657 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6659         [BZ #15128]
6660         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6661         ifuncmain8.
6662         (modules-names): Add ifuncmod8.
6663         ($(objpfx)ifuncmain8): New rule.
6664         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6665         <cpuid.h>.
6666         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6667         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6668         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6669         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6670         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6671         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6672         * sysdeps/x86_64/ifuncmain8.c: New file.
6673         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6674         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6675         Removed.
6676         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6677         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6678         Change rtld_savespace_sse to __glibc_unused2.
6679         (RTLD_CHECK_FOREIGN_CALL): Removed.
6680         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6681         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6682         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6684 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6686         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6688 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6690         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6691         Unconditionally set __fpcr to avoid uninialized warning.
6692         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6694 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6696         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6697         is corrupt.
6699         * malloc/arena.c (arena_get2): Drop unused argument.
6700         (arena_lock): Adjust.
6701         (arena_get_retry): Likewise.
6703 2015-08-24  Andreas Schwab  <schwab@suse.de>
6705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6706         Don't define.
6707         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6708         (__ASSUME_IPC64): Don't undef.
6709         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6710         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6711         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6712         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6713         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6714         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6715         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6716         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6717         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6718         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6719         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6720         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6721         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6722         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6723         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6724         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6725         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6726         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6727         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6728         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6729         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6731 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6733         * manual/Makefile (install): Only build manual when perl is available.
6735 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6738         '#undef memcpy' by '#undef memchr'.
6740 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6742         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6743         memchr not point to the internal __GI_memchr implementation.
6745 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6747         * timezone/Makefile (CFLAGS-zdump.c): Remove
6748         -Wno-strict-prototypes.
6749         (CFLAGS-zic.c): Likewise.
6750         (CFLAGS-ialloc.c): Likewise.
6751         (CFLAGS-scheck.c): Likewise.
6753         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6754         -Wno-error=undef.
6756 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6758         * i386/i686/multiarch/strcasestr-c.c: Removed.
6759         * x86_64/multiarch/strcasestr.c: Likewise.
6760         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6761         Remove strcasestr.
6763 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6765         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6768         variables for high and low parts before possibly modifying them.
6770 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6772         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6773         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6774         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6775         of "multiarch/init-arch.h".
6776         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6777         * sysdeps/x86/init-arch.h: This.
6779 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6781         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6782         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6784 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6786         [BZ #17787]
6787         * manual/macros.texi: Add twoexp macro.
6788         * manual/filesys.texi: Fix exponents.
6789         * manual/llio.texi: Likewise.
6790         * manual/stdio.texi: Likewise.
6792 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6794         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6795         incorrect use.
6797 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6799         [BZ #18370]
6800         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6801         whose real or imaginary part has small absolute value.
6802         * math/s_csqrtf.c (__csqrtf): Likewise.
6803         * math/s_csqrtl.c (__csqrtl): Likewise.
6804         * math/auto-libm-test-in: Add more tests of csqrt.
6805         * math/auto-libm-test-out: Regenerated.
6806         * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6810         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6811         __ppc_set_ppr_very_low): New functions.
6812         * manual/platform.texi: Add documentation about
6813         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6815 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6817         * string/stpncpy.c (stpncpy): Improve performance using
6818         __strnlen/memcpy/memset.
6820 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6822         [BZ #18796]
6823         * scripts/test-installation.pl: Don't add -lmvec to build options if
6824         libmvec wasn't built.
6826 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6828         [BZ #14341]
6829         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6830         case when there is a gap between DT_REL and DT_JMPREL sections.
6831         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6832         (LDFLAGS-tst-split-dynreloc): New.
6833         (tst-split-dynreloc-ENV): Likewise.
6834         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6835         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6837 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6839         [BZ #18822]
6840         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6841         attribute_hidden.
6842         (__xstat64_conv): Likewise.
6843         (__xstat32_conv): Likewise.
6845 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6847         [BZ #18822]
6848         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6849         Don't load %ebx when calling __setcontext.  Call __setcontext
6850         with HIDDEN_JUMPTARGET.
6851         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6852         libc_hidden_def.
6854 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6856         * sysdeps/i386/i686/Makefile
6857         [$(subdir) == string] (sysdep_routines): Moved to ...
6858         * sysdeps/i386/Makefile: Here.
6859         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6860         * sysdeps/i386/cacheinfo.c: Here.
6861         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6862         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6863         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6864         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6866 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6868         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6869         __i586__ is defined.
6870         (HAS_I686): Defined to 1 if __i686__ is defined.
6872 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6874         * elf/Makefile [$(have-z-execstack) = yes]
6875         (CPPFLAGS-tst-execstack.c): New variable.
6877         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6878         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6879         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6880         UTMPX || _HAVE_UT_TV].
6881         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6882         UTMPX || _HAVE_UT_TV - 0].
6884 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6886         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6887         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6888         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6890 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6892         * sysdeps/powerpc/dl-procinfo.c:
6893         (_dl_powerpc_cap_flags): Added missing strings for some
6894         hwcap features.
6895         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6897 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6899         Port the 0x7efe...feff pattern to GCC 6.
6900         See Steve Ellcey's bug report in:
6901         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6902         * string/memrchr.c (MEMRCHR):
6903         * string/rawmemchr.c (RAWMEMCHR):
6904         * string/strchr.c (strchr):
6905         * string/strchrnul.c (STRCHRNUL):
6906         Rewrite code to avoid issues with signed shift overflow.
6908 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6910         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6911         whether cpuid is available only if HAS_CPUID is 0.
6912         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6913         (HAS_I586): Likewise.
6914         (HAS_I686): Likewise.
6916 2015-08-18  Zack Weinberg  <zackw@panix.com>
6918         * misc/Versions (libc): Add GLIBC_2.23.
6920 2015-08-18  Alan Modra  <amodra@gmail.com>
6922         [BZ #18421]
6923         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6924         .Lp__global.
6925         (_start): Load %dp via .Lp__global.
6926         [!SHARED]: Use .section .rodata.
6928 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6930         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6931         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6933 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6935         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6936         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6938 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6940         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6941         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6945         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6946         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6950         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6951         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6955         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6956         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6960         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6962 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6964         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6965         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6966         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6967         (__ASSUME_LWS_CAS): Delete.
6969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6971         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6972         * sysdeps/hppa/configure: Regenerated.
6973         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6974         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6975         * sysdeps/hppa/nptl/tls.h: Likewise.
6977 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6979         [BZ #18823]
6980         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6981         for scaling up small arguments.
6982         * math/s_csqrtf.c (__csqrtf): Likewise.
6983         * math/s_csqrtl.c (__csqrtl): Likewise.
6984         * math/auto-libm-test-in: Add more tests of csqrt.
6985         * math/auto-libm-test-out: Regenerated.
6987 2015-08-17  Andreas Schwab  <schwab@suse.de>
6989         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6990         version set GLIBC_2.19.
6992 2015-08-16  Zack Weinberg  <zackw@panix.com>
6994         [BZ #18681]
6995         * misc/regexp.h: This interface is no longer supported.
6996         Remove all contents, leaving only an #error directive.
6997         * misc/regexp.c (loc1, loc2, locs, step, advance):
6998         Demote to compatibility symbols.
7000 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7002         [BZ #18084]
7003         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7004         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7005         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7006         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7007         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7008         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7009         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7010         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7011         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7013 2015-08-15  Zack Weinberg  <zackw@panix.com>
7015         [BZ #18795]
7016         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7017         buffer length is known to be too large, not if it's known to be
7018         small enough.
7019         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7020         overflow at runtime, involving a length parameter, twice: once
7021         with a compile-time constant length parameter, once without.
7023 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7025         [BZ #18824]
7026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7027         scaling x * y up instead of down.
7028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7030         * math/auto-libm-test-in: Add more tests of fma.
7031         * math/auto-libm-test-out: Regenerated.
7033 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7037 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7039         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7040         unnecessary movq.
7041         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7042         Likewise.
7044 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7046         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7047         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7048         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7049         and tgamma.
7050         * math/auto-libm-test-out: Regenerated.
7051         * sysdeps/i386/fpu/libm-test-ulps: Update.
7052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7054         [BZ #16520]
7055         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7056         (__tanh): Force underflow exception for arguments with small
7057         absolute value.
7058         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7059         (__tanhf): Force underflow exception for arguments with small
7060         absolute value.
7061         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7062         (__tanhl): Force underflow exception for arguments with small
7063         absolute value.
7064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7065         (__tanhl): Force underflow exception for arguments with small
7066         absolute value.
7067         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7068         (__tanhl): Force underflow exception for arguments with small
7069         absolute value.
7070         * math/auto-libm-test-in: Add more tests of tanh.
7071         * math/auto-libm-test-out: Regenerated.
7072         * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7076         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7077         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7079 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7081         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7082         <cpuid.h>.
7084 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7086         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7087         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7089 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7091         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7092         Remove $(objpfx)init-arch.o.
7093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7094         init-arch.
7095         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7096         (INIT_ARCH_EXT): Defined as empty.
7097         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7099         __init_cpu_features call.  Replace HAS_XXX with
7100         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7103         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7104         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7106         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7107         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7108         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7109         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7110         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7113         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7114         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7121         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7122         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7124         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7126         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7128         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7131         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7139         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7140         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7141         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7142         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7143         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7144         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7145         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7146         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7147         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7148         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7149         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7150         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7151         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7152         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7153         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7154         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7155         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7156         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7157         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7158         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7159         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7160         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7161         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7173         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7174         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7175         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7177         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7180         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7181         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7183 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7185         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7186         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7188         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7189         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7190         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7192         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7193         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7194         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7195         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7196         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7197         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7198         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7199         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7200         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7201         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7202         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7203         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7204         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7206         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7207         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7208         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7209         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7210         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7211         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7212         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7213         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7214         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7215         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7216         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7217         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7218         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7219         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7220         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7221         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7222         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7223         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7224         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7225         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7226         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7227         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7229 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7231         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7232         (dl_platform_init): Call init_cpu_features.
7233         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7234         * sysdeps/i386/i686/cacheinfo.c
7235         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7236         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7237         * sysdeps/i386/i686/multiarch/Versions: Removed.
7238         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7239         Removed.
7240         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7241         * sysdeps/unix/sysv/linux/x86/Makefile
7242         (libpthread-sysdep_routines): Remove init-arch.
7243         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7244         <sysdeps/x86_64/dl-procinfo.c> instead of
7245         sysdeps/generic/dl-procinfo.c>.
7246         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7247         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7248         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7249         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7250         [$(subdir) == elf] (tests-static): Add
7251         tst-get-cpu-features-static.
7252         * sysdeps/x86/Versions: New file.
7253         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7254         * sysdeps/x86/cpu-features.c: Likewise.
7255         * sysdeps/x86/cpu-features.h: Likewise.
7256         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7257         * sysdeps/x86/libc-start.c: Likewise.
7258         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7259         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7260         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7261         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7262         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7263         Assume USE_MULTIARCH is defined and don't check it.
7264         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7265         (is_amd): Likewise.
7266         (max_cpuid): Likewise.
7267         (intel_check_word): Likewise.
7268         (__cache_sysconf): Don't call __init_cpu_features.
7269         (__x86_preferred_memory_instruction): Removed.
7270         (init_cacheinfo): Don't call __init_cpu_features. Replace
7271         __cpu_features with GLRO(dl_x86_cpu_features).
7272         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7273         (dl_platform_init): Call init_cpu_features.
7274         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7275         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7276         * sysdeps/x86_64/multiarch/Versions: Removed.
7277         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7278         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7279         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7280         Removed.
7281         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7283 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7285         [BZ #18820]
7286         * libio/Makefile (test-fmemopen-mem): New test.
7287         * libio/test-fmemopen.c (do_bz18820): New test.
7288         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7289         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7291 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7293         [BZ #16734]
7294         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7295         (FREE_BUF): Delete.
7296         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7297         * libio/genops.c (_IO_setb): Use malloc and free directly.
7298         (_IO_default_doallocate, _IO_default_finish): Likewise.
7299         ( _IO_unbuffer_all): Likewise.
7300         ( libc_freeres_fn): Likewise.
7301         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7302         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7303         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7304         (_IO_wdefault_doallocate): Likewise.
7306 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7308         [BZ #18086]
7309         * sysdeps/posix/nice.c (nice): Restore old errno.
7310         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7312 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7316 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7318         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7319         __bcopy and add a weak_alias to bcopy.
7320         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7321         for static build.
7323         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7324         cleanup macro usage.
7325         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7328         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7330         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7331         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7332         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7333         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7334         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7336         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7338         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7341         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7343         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7345         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7346         libc_hidden_def.
7347         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7349         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7350         (sysdep_routines): Add strstr-ppc64.
7351         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7353 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7355         [BZ #18778]
7356         * elf/Makefile (tests): Add Add tst-nodelete2.
7357         (modules-names): Add tst-nodelete2mod.
7358         (tst-nodelete2mod.so-no-z-defs): New.
7359         ($(objpfx)tst-nodelete2): Likewise.
7360         ($(objpfx)tst-nodelete2.out): Likewise.
7361         (LDFLAGS-tst-nodelete2): Likewise.
7362         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7363         out of loop through all loaded libraries.
7364         * elf/tst-nodelete2.c: New file.
7365         * elf/tst-nodelete2mod.c: Likewise.
7366         * elf/tst-znodelete-zlib.cc: Delete.
7368 2015-08-11  Andreas Schwab  <schwab@suse.de>
7370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7371         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7372         (__openat64_nocancel): Likewise.
7374 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7376         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7377         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7378         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7379         * math/auto-libm-test-out: Regenerated.
7380         * sysdeps/i386/fpu/libm-test-ulps: Update.
7381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7383 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7385         [BZ #18790]
7386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7387         threshold for returning +/- 1.
7388         * math/auto-libm-test-in: Add more tests of tanh.
7389         * math/auto-libm-test-out: Regenerated.
7390         * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 2015-08-10  Andreas Schwab  <schwab@suse.de>
7394         [BZ #18781]
7395         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7396         MORE_OFLAGS to oflag.
7397         * io/test-lfs.c (do_test): Test openat64.
7399 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7401         [BZ #18789]
7402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7403         smaller threshold for returning the argument.
7404         * math/auto-libm-test-in: Add more tests of sinh.
7405         * math/auto-libm-test-out: Regenerated.
7406         * sysdeps/i386/fpu/libm-test-ulps: Update.
7408 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7410         [BZ #18674]
7411         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7412         break.
7414 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7416         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7417         (generated): Don't add $(addprefix z.,$(tzfiles)).
7419 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7421         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7422         * scripts/sysd-rules.awk: Likewise.
7424 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7426         * iconvdata/tst-tables.sh: Change echo -n to printf.
7427         * nss/db-Makefile: Likewise.
7428         * posix/tst-getconf.sh: Likewise.
7429         * stdio-common/tst-unbputc.sh: Likewise.
7431 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7433         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7434         MADV_*_PAGES defines behind this feature check.
7436 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7438         [BZ #18480]
7439         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7440         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7441         Define.
7442         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7443         LOAD_REGS_5, LOAD_REGS_6): Update.
7444         (INTERNAL_SYSCALL): Update using new LOAD defines.
7445         (INTERNAL_SYSCALL_NCS): Likewise.
7446         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7448 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7450         [BZ #16734]
7451         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7453 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7455         [BZ #17905]
7456         * catgets/Makefile (tst-catgets-mem): New test.
7457         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7458         * catgets/open_catalog.c (__open_catalog): Likewise.
7459         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7461 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7463         [BZ #18787]
7464         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7465         clobber registers.
7466         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7467         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7468         Cast return to __typeof (oldval).
7470 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7472         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7473         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7474         and delete sys/syscall.h include.
7476 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #16517]
7479         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7480         (tan): Force underflow exception for arguments with small absolute
7481         value.
7482         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7483         (__kernel_tanf): Force underflow exception for arguments with
7484         small absolute value.
7485         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7486         (__kernel_tanl): Force underflow exception for arguments with
7487         small absolute value.
7488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7489         (__kernel_tanl): Force underflow exception for arguments with
7490         small absolute value.
7491         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7492         (__kernel_tanl): Force underflow exception for arguments with
7493         small absolute value.
7494         * math/auto-libm-test-in: Add more tests of tan.
7495         * math/auto-libm-test-out: Regenerated.
7497 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7499         Fix sysdeps/i386/fpu/s_scalbn.S build
7501         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7503 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7505         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7507 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7509         Fix gcrt0.o compilation
7511         When static-start-installed-name is different from
7512         start-installed-name, we must not use the shared objects.
7514         * csu/Makefile
7515         (extra-objs): Add gmon-start.o when building shared library and
7516         $(static-start-installed-name) is different from
7517         $(start-installed-name).
7518         $(objpfx)g$(static-start-installed-name): When building shared
7519         library and $(static-start-installed-name) is different from
7520         $(static-start-installed-name), revert to non-shared rule,
7521         i.e. using $(objpfx)% and gmon-start.o.
7523 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7525         [BZ #16519]
7526         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7527         (__ieee754_sinh): Force underflow exception for arguments with
7528         small absolute value.
7529         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7530         (__ieee754_sinhf): Force underflow exception for arguments with
7531         small absolute value.
7532         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7533         (__ieee754_sinhl): Force underflow exception for arguments with
7534         small absolute value.
7535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7536         (__ieee754_sinhl): Force underflow exception for arguments with
7537         small absolute value.
7538         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7539         (__ieee754_sinhl): Force underflow exception for arguments with
7540         small absolute value.
7541         * math/auto-libm-test-in: Add more tests of sinh.
7542         * math/auto-libm-test-out: Regenerated.
7543         * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7547         * libio/oldfileops.c: Include unistd.h.
7549 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7551         * stdlib/isomac.c: Include ctype.h.
7553 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7555         * dirent/tst-seekdir.c (main): Converted to ...
7556         (do_test): ... this.
7557         (TEST_FUNCTION): New macro.
7558         Include test-skeleton.c.
7559         * elf/tst-dlmodcount.c (main): Converted to ...
7560         (do_test): ... this.
7561         (TEST_FUNCTION): New macro.
7562         Include test-skeleton.c.
7563         * elf/tst-order-main.c (main): Converted to ...
7564         (do_test): ... this.
7565         (TEST_FUNCTION): New macro.
7566         Include test-skeleton.c.
7567         * elf/tst-pie2.c (main): Converted to ...
7568         (do_test): ... this.
7569         (TEST_FUNCTION): New macro.
7570         Include test-skeleton.c.
7571         * inet/tst-ether_aton.c (main): Converted to ...
7572         (do_test): ... this.
7573         (TEST_FUNCTION): New macro.
7574         Include test-skeleton.c.
7575         * misc/tst-mntent.c (main): Converted to ...
7576         (do_test): ... this.
7577         (TEST_FUNCTION): New macro.
7578         Include test-skeleton.c.
7579         * misc/tst-tsearch.c (main): Converted to ...
7580         (do_test): ... this.
7581         (TEST_FUNCTION): New macro.
7582         Include test-skeleton.c.
7583         * posix/tst-regexloc.c (main): Converted to ...
7584         (do_test): ... this.
7585         (TEST_FUNCTION): New macro.
7586         Include test-skeleton.c.
7587         * resolv/tst-aton.c (main): Converted to ...
7588         (do_test): ... this.
7589         (TEST_FUNCTION): New macro.
7590         Include test-skeleton.c.
7591         * stdio-common/test-fwrite.c (main): Converted to ...
7592         (do_test): ... this.
7593         (TEST_FUNCTION): New macro.
7594         Include test-skeleton.c.
7595         * stdio-common/tst-ferror.c (main): Converted to ...
7596         (do_test): ... this.
7597         (TEST_FUNCTION): New macro.
7598         Include test-skeleton.c.
7599         * stdio-common/tst-printf.c (main): Converted to ...
7600         (do_test): ... this.
7601         (TEST_FUNCTION): New macro.
7602         Include test-skeleton.c.
7603         * stdio-common/tst-printfsz.c (main): Converted to ...
7604         (do_test): ... this.
7605         (TEST_FUNCTION): New macro.
7606         Include test-skeleton.c.
7607         * stdlib/tst-strtod.c (main): Converted to ...
7608         (do_test): ... this.
7609         (TEST_FUNCTION): New macro.
7610         Include test-skeleton.c.
7611         * string/tst-strlen.c (main): Converted to ...
7612         (do_test): ... this.
7613         (TEST_FUNCTION): New macro.
7614         Include test-skeleton.c.
7615         * string/tst-svc.c (main): Converted to ...
7616         (do_test): ... this.
7617         (TEST_FUNCTION): New macro.
7618         Include test-skeleton.c.
7619         * time/tst-strptime.c (main): Converted to ...
7620         (do_test): ... this.
7621         (TEST_FUNCTION): New macro.
7622         Include test-skeleton.c.
7623         * timezone/tst-timezone.c (main): Converted to ...
7624         (do_test): ... this.
7625         (TEST_FUNCTION): New macro.
7626         Include test-skeleton.c.
7628 2015-08-05  Zack Weinberg  <zackw@panix.com>
7630         * misc/regexp.h: Update comments.
7632 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7634         [BZ #18635]
7635         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7636         before return label.
7638 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7640         [BZ #18661]
7641         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7642         when calling __errno_location.
7643         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7644         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7646 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7648         [BZ #18661]
7649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7650         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7651         __gettimeofday.
7653 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7655         [BZ #18661]
7656         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7657         (__start_context): Don't use pop to restore %rdi so that stack
7658         is aligned to 16 bytes when calling __setcontext.
7660 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7662         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7663         only for libc.
7664         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7666 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7668         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7669         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7670         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7672 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7674         * string/memccpy.c (memccpy):
7675         Improve performance by using memchr/memcpy/__mempcpy.
7677 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7679         * string/strncpy.c (strncpy):
7680         Improve performance by using __strnlen/memcpy.
7682 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7684         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7685         Optimize to avoid an unnecessary FPCR read.
7687 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7689         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7690         Optimize to reduce FPCR/FPSR accesses.
7692 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7694         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7695         dead->data[category] != NULL.
7697 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7699         [BZ #18647]
7700         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7701         and |x| close to 1, use absolute value of x when computing log.
7702         * math/auto-libm-test-in: Add more tests of pow.
7703         * math/auto-libm-test-out: Regenerated.
7705 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7707         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7708         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7709         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7711 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7713         [BZ #18525]
7714         * locales/km_KH: Remove timezone definition.
7715         * locales/lo_LA: Likewise.
7716         * locales/my_MM: Likewise.
7717         * locales/nan_TW@latin: Likewise.
7718         * locales/th_TH: Likewise.
7719         * locales/uk_UA: Likewise.
7721 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7723         [BZ #18265]
7724         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7725         (wcsncat): Likewise.
7726         (wcscmp): Likewise.
7727         (wcsncmp): Likewise.
7729 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7731         * test-skeleton.c (usage): New function.
7732         (main): Call usage when opt is '?'.
7734 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7736         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7737         before first use.
7739 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7741         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7742         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7743         in there too.
7745 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7747         * version.h (RELEASE): Set to "development".
7748         (VERSION): Set to "2.22.90"
7750         * version.h (RELEASE): Set to "stable".
7751         (VERSION): Set to "2.22"
7752         * include/features.h (__GLIBC_MINOR__): Set to 22.
7754 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7756         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7757         Restructure macro to avoid "value computed is not used" warning.
7758         (atomic_compare_and_exchange_val_acq): Likewise.
7760 2015-08-04  Andreas Schwab  <schwab@suse.de>
7762         [BZ #18635]
7763         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7764         ret.
7765         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7767 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7769         * po/pl.po: Updated translation.
7770         * po/uk.po: Likewise.
7771         * po/fi.po: Likewise.
7772         * po/ko.po: Likewise.
7773         * po/ru.po: Likewise.
7774         * po/vi.po: Likewise.
7776 2015-07-31  Zack Weinberg  <zackw@panix.com>
7778         [BZ #18681]
7779         * regexp.h: Add unconditional #warning stating that this header
7780         will be removed soon.  Revise banner comment to match.
7781         (compile): Consistently use ERROR instead of RETURN to report
7782         errors (partial fix for bz#18681).
7783         * regexp.c: Don't include regexp.h. Remove some unnecessary
7784         declarations.
7786 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7788         * po/libc.pot: Regenerated.
7790 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7792         [BZ #18740]
7793         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7794         float-vlen4-arch-ext-cflags): Removed.
7795         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7796         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7798 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7800         [BZ #14113]
7801         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7802         aligned to __aligned__.
7803         (pthread_cond_t, pthread_rwlock_t): Likewise.
7805 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7807         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7809 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7811         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7812         (struct sigaction): Change sa_flags from a long to an int, and add
7813         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7815 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7817         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7818         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7819         sysdeps/generic/sysdep.h include.
7820         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7821         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7822         sysdeps/hppa/sysdep.h.
7823         (ENTRY, PSEUDO): Undefine before defining.
7825 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7827         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7828         from scratch to use INTERNAL_SYSCALL.
7830 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7832         [BZ #18078]
7833         * scripts/check-localplt.awk: Support alternate relocations.
7834         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7835         sections.
7836         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7837         malloc entries with + REL R_386_GLOB_DAT.
7838         * sysdeps/x86_64/localplt.data: New file.
7840 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7842         [BZ #18731]
7843         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7844         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7845         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7847 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7849         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7851 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7853         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7854         directly in terms of __sync_fetch_and_add and delete (int) cast.
7856 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7858         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7859         the -D_ASM_IA64_CURRENT_H flag.
7861 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7863         [BZ #18641]
7864         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7866 2015-07-27  Andreas Schwab  <schwab@suse.de>
7868         * conform/conformtest.pl (checknamespace): Filter out string
7869         literals while tokenizing.
7871 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7873         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7874         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7875         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7877 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7879         * nptl/tst-join7mod.c: Add #include <string.h>.
7881 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7883         * sysdeps/nios2/libm-test-ulps: Update.
7885 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7887         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7888         Fix order of arguments to the rt_sigprocmask syscall.
7889         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7890         Likewise.
7892 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7894         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7896 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7898         [BZ #18457]
7899         * nptl/Makefile (tests): New test case tst-join7.
7900         (modules-names): New test case module tst-join7mod.
7901         * nptl/tst-join7.c: New file.
7902         * nptl/tst-join7mod.c: New file.
7903         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7904         all translation units in libc.so, libpthread.so and rtld.
7906 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7910 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7913         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7914         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7920         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7921         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7922         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7924         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7925         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7927         implementation.
7929 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7931         [BZ #17711]
7932         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7933         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7934         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7935         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7936         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7937         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7939 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7941         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7942         instead of just saying load lock in the comments.
7944 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7946         * sysdeps/unix/Subdirs: Moved ...
7947         * sysdeps/posix/Subdirs: ... here.
7948         * login/pty.h (struct termios, struct winsize): Add forward decls.
7949         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7950         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7951         * sysdeps/arm/nacl/libc.abilist: Updated.
7952         * sysdeps/nacl/libutil.abilist: New file.
7954         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7955         (SIGWINCH): New macro.
7957         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7958         * sysdeps/arm/nacl/libc.abilist: Add it.
7960 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7962         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7964 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7966         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7967         Swap __glibc_reserved0 and sa_flags order.
7969 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7971         [BZ #18657]
7972         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7973         are pending TLS destructor calls.
7974         * include/link.h (struct link_map): Add concurrency note for
7975         L_TLS_DTOR_COUNT.
7976         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7977         Don't touch the link map flag.  Atomically increment
7978         l_tls_dtor_count.
7979         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7980         Avoid taking the load lock and don't touch the link map flag.
7981         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7982         * stdlib/Makefile (tests): Use it.
7983         * stdlib/tst-tls-atexit.c (do_test): dlopen
7984         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7985         to allow tst-tls-atexit-nodelete test case to use it.
7987 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7989         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7990         to bits/types.h.
7991         (msgqnum_t): New typedef.
7992         (msglen_t): Likewise.
7993         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7994         and msg_qbytes type to msglen_t.
7996 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7998         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7999         pad0 to __glibc_reserved0.
8000         (struct stat64): Likewise.
8002 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8004         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8005         Change sa_flags from a long to an int and add __glibc_reserved0 before
8006         it for padding.
8008 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8010         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8011         anonymous by deleting "siginfo" name.
8013 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8015         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8016         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8017         rather than __nacl_irt_filename.
8018         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8020         * NEWS: New item for arm-nacl port.
8021         * sysdeps/arm/nacl/libc.abilist: New file.
8022         * sysdeps/nacl/ld.abilist: New file.
8023         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8024         * sysdeps/nacl/libanl.abilist: New file.
8025         * sysdeps/nacl/libcrypt.abilist: New file.
8026         * sysdeps/nacl/libdl.abilist: New file.
8027         * sysdeps/nacl/libm.abilist: New file.
8028         * sysdeps/nacl/libpthread.abilist: New file.
8029         * sysdeps/nacl/libresolv.abilist: New file.
8030         * sysdeps/nacl/librt.abilist: New file.
8032 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8034         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8035         __startcontext to initialize the new context.
8036         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8037         up CFI directive to forbid further backtracing.
8039 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8041         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8042         reference.
8043         * charmaps/ANSI_X3.4-1968: Likewise.
8044         * charmaps/BS_4730: Likewise.
8045         * charmaps/BS_VIEWDATA: Likewise.
8046         * charmaps/CP1250: Likewise.
8047         * charmaps/CP1251: Likewise.
8048         * charmaps/CP1252: Likewise.
8049         * charmaps/CP1253: Likewise.
8050         * charmaps/CP1254: Likewise.
8051         * charmaps/CP1255: Likewise.
8052         * charmaps/CP1256: Likewise.
8053         * charmaps/CSN_369103: Likewise.
8054         * charmaps/EBCDIC-DK-NO: Likewise.
8055         * charmaps/GB_1988-80: Likewise.
8056         * charmaps/GREEK-CCITT: Likewise.
8057         * charmaps/GREEK7: Likewise.
8058         * charmaps/INIS-8: Likewise.
8059         * charmaps/ISIRI-3342: Likewise.
8060         * charmaps/ISO_2033-1983: Likewise.
8061         * charmaps/ISO_5427-EXT: Likewise.
8062         * locales/POSIX: Likewise.
8063         * locales/ar_SA: Likewise.
8064         * locales/be_BY: Likewise.
8065         * locales/be_BY@latin: Likewise.
8066         * locales/ca_ES: Likewise.
8067         * locales/cs_CZ: Likewise.
8068         * locales/da_DK: Likewise.
8069         * locales/de_BE: Likewise.
8070         * locales/de_CH: Likewise.
8071         * locales/de_LU: Likewise.
8072         * locales/en_AU: Likewise.
8073         * locales/en_BW: Likewise.
8074         * locales/en_CA: Likewise.
8075         * locales/en_DK: Likewise.
8076         * locales/en_GB: Likewise.
8077         * locales/en_IE: Likewise.
8078         * locales/en_NZ: Likewise.
8079         * locales/en_ZA: Likewise.
8080         * locales/en_ZW: Likewise.
8081         * locales/es_AR: Likewise.
8082         * locales/es_BO: Likewise.
8083         * locales/es_CL: Likewise.
8084         * locales/es_CO: Likewise.
8085         * locales/es_DO: Likewise.
8086         * locales/es_EC: Likewise.
8087         * locales/es_ES: Likewise.
8088         * locales/es_HN: Likewise.
8089         * locales/es_MX: Likewise.
8090         * locales/es_PA: Likewise.
8091         * locales/es_PE: Likewise.
8092         * locales/es_PY: Likewise.
8093         * locales/es_SV: Likewise.
8094         * locales/es_US: Likewise.
8095         * locales/es_UY: Likewise.
8096         * locales/es_VE: Likewise.
8097         * locales/et_EE: Likewise.
8098         * locales/fa_IR: Likewise.
8099         * locales/fo_FO: Likewise.
8100         * locales/fr_CA: Likewise.
8101         * locales/fr_CH: Likewise.
8102         * locales/gv_GB: Likewise.
8103         * locales/he_IL: Likewise.
8104         * locales/hr_HR: Likewise.
8105         * locales/id_ID: Likewise.
8106         * locales/is_IS: Likewise.
8107         * locales/it_CH: Likewise.
8108         * locales/iw_IL: Likewise.
8109         * locales/kl_GL: Likewise.
8110         * locales/ko_KR: Likewise.
8111         * locales/kw_GB: Likewise.
8112         * locales/lg_UG: Likewise.
8113         * locales/lt_LT: Likewise.
8114         * locales/lv_LV: Likewise.
8115         * locales/mi_NZ: Likewise.
8116         * locales/nhn_MX: Likewise.
8117         * locales/nl_BE: Likewise.
8118         * locales/pl_PL: Likewise.
8119         * locales/sk_SK: Likewise.
8120         * locales/sl_SI: Likewise.
8121         * locales/sv_FI: Likewise.
8122         * locales/tl_PH: Likewise.
8123         * locales/tr_TR: Likewise.
8124         * locales/vi_VN: Likewise.
8126 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8128         [BZ #17475]
8129         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8130         of tu_IN and bh_IN.
8132 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8134         [BZ #18694]
8135         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8136         bits/wordsize.h.
8137         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8139 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8141         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8142         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8143         (spawn_thread): New function.
8144         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8145         (do_test): ... here.  Use IS_LOADED to test for its
8146         availability.
8148 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8152 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8154         [BZ #18696]
8155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8156         si_addr_bnd.
8157         (si_lower): New.
8158         (si_upper): Likewise.
8160 2015-07-16  David S. Miller  <davem@davemloft.net>
8162         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8164 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8166         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8167         buffer.
8168         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8169         fail output information.
8171 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8174         and strstr-ppc64..
8175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8176         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8177         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8178         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8179         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8181 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8183         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8184         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8185         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8186         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8188 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8190         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8191         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8192         rtld_hidden_proto.
8193         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8195 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8197         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8198         the test can fail.
8200         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8202         [BZ #18676]
8203         * elf/tst-nodelete-opened.c: New test case.
8204         * elf/tst-nodelete-opened-lib.c: New test case module.
8205         * elf/Makefile (tests, modules-names): Use them.
8206         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8207         early.
8209 2015-07-15  David S. Miller  <davem@davemloft.net>
8211         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8212         futex-intenal.h
8213         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8214         * sysdeps/sparc/sparc64/Makefile: Likewise.
8215         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8216         Remove space from macro define.
8217         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8219 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8221         [BZ #17475]
8222         * locale/iso-639.def: Update Bhili and Tulu language codes as
8223         per iso639-3.
8225 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8227         * elf/tst-leaks1.c (main): Converted to ...
8228         (do_test): ... this.
8229         (TEST_FUNCTION): New macro.
8230         Include test-skeleton.c.
8231         * localedata/tst-langinfo.c (main): Converted to ...
8232         (do_test): ... this.
8233         (TEST_FUNCTION): New macro.
8234         Include test-skeleton.c.
8235         * math/test-fpucw.c (main): Converted to ...
8236         (do_test): ... this.
8237         (TEST_FUNCTION): New macro.
8238         Include test-skeleton.c.
8239         * math/test-tgmath.c (main): Converted to ...
8240         (do_test): ... this.
8241         (TEST_FUNCTION): New macro.
8242         Include test-skeleton.c.
8243         * math/test-tgmath2.c (main): Converted to ...
8244         (do_test): ... this.
8245         (TEST_FUNCTION): New macro.
8246         Include test-skeleton.c.
8247         * setjmp/tst-setjmp.c (main): Converted to ...
8248         (do_test): ... this.
8249         (TEST_FUNCTION): New macro.
8250         Include test-skeleton.c.
8251         * stdio-common/tst-sscanf.c (main): Converted to ...
8252         (do_test): ... this.
8253         (TEST_FUNCTION): New macro.
8254         Include test-skeleton.c.
8255         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8256         (do_test): ... this.
8257         (TEST_FUNCTION): New macro.
8258         Include test-skeleton.c.
8260         * elf/tst-audit9.c (main): Converted to ...
8261         (do_test): ... this.
8262         (TEST_FUNCTION): New macro.
8263         Include test-skeleton.c.
8265 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8267         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8269 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8271         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8272         New variable.
8274 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8276         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8278 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8280         * sysdeps/generic/dl-fileid.h: New file.
8281         * sysdeps/posix/dl-fileid.h: New file.
8282         * sysdeps/nacl/dl-fileid.h: New file.
8283         * include/link.h: Include <dl-fileid.h>.
8284         (struct link_map): Replace l_dev and l_ino with l_file_id.
8285         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8286         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8287         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8289 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8291         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8293 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8295         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8296         Add iff $CXX is set.
8297         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8298         Likewise.
8299         (tst-nodelete-zmodiff): Likewise.
8300         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8302 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8304         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8306 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * sysdeps/aarch64/fpu/math_private.h
8309         (define math_opt_barrier): Add AArch64 version.
8310         (math_force_eval): Likewise.
8312 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8314         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8316 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8318         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8319         %ld with %jd and cast to intmax_t.
8320         (do_test_length_zero): Likewise.
8322 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8324         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8326 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8328         * sysdeps/tile/libm-test-ulps: Regenerated.
8330         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8331         Comment out the whole function, not just its body.
8333 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8335         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8336         locks.
8338         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8340 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8342         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8343         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8345 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8347         * sysdeps/nptl/futex-internal.h: New file.
8348         * sysdeps/nacl/futex-internal.h: New file.
8349         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8350         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8351         error checking.
8352         (setxid_unmark_thread): Likewise.
8353         (__nptl_setxid): Likewise.
8354         (__wait_lookup_done): Likewise.
8355         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8356         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8357         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8358         * nptl/pthread_once.c (clear_once_control): Likewise.
8359         (__pthread_once_slow): Likewise.
8360         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8361         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8362         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8363         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8364         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8365         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8366         Likewise.
8367         (__pthread_rwlock_rdlock): Likewise.
8368         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8369         Likewise.
8370         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8371         Likewise.
8372         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8373         Likewise.
8374         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8375         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8376         Likewise.
8377         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8378         __ASSUME_PRIVATE_FUTEX check.
8379         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8380         Check that shared futexes are supported.
8381         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8382         wrappers with error checking.
8383         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8384         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8385         * nptl/pthread_barrierattr_setpshared.c
8386         (pthread_barrierattr_setpshared): Check that shared futexes are
8387         supported.
8388         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8389         Likewise.
8390         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8391         Likewise.
8392         * nptl/sem_init.c (futex_private_if_supported): Remove.
8393         (__new_sem_init): Adapt and check that shared futexes are supported.
8394         * nptl/sem_open.c (sem_open): Likewise.
8395         * nptl/sem_post.c (futex_wake): Remove.
8396         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8397         (do_futex_wait): Use futex wrappers with error checking.
8398         * nptl/sem_wait.c: Include lowlevellock.h.
8399         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8400         Use futex_supports_pshared.
8401         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8402         Use futex wrappers with error checking.
8403         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8404         Likewise.
8405         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8406         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8407         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8408         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8409         (futex_wake): Likewise.
8410         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8411         (do_futex_wait): Use futex wrappers with error checking.
8412         (__new_sem_wait_slow): Update EINTR handling.
8413         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8415 2015-07-09  Martin Sebor  <msebor@redhat.com>
8417         [BZ #18435]
8418         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8419         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8420         * nptl/Makefile (test-xfail-tst-once5): Define.
8422 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8424         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8425         * elf/dl-minimal.c: For readability, reorder some definitions and
8426         introduce more page breaks.  Include <stdio.h>.
8427         (__libc_fatal): New function.
8429         * include/unistd.h: Add rtld_hidden_proto for _exit.
8430         * posix/_exit.c: Add rtld_hidden_def.
8431         * sysdeps/mach/hurd/_exit.c: Likewise.
8432         * sysdeps/nacl/_exit.c: Likewise.
8433         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8434         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8436 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8439         bndmov encoding with zero displacement.
8441 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8442             H.J. Lu  <hongjiu.lu@intel.com>
8444         [BZ #18134]
8445         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8446         * sysdeps/i386/configure: Regenerated.
8447         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8448         (_dl_runtime_profile): Save and restore Intel MPX return bound
8449         registers when calling _dl_call_pltexit.  Add
8450         PRESERVE_BND_REGS_PREFIX before return.
8451         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8452         (LRV_BND1_OFFSET): Likewise.
8453         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8454         lrv_bnd1.
8455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8456         typo in bndmov encoding.
8457         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8458         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8459         branch instructions to preserve bounds.
8461 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8464         [GLIBC_2.22]: Add fmemopen.
8466 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8468         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8469         returns an error, also try to use host port from __mach_host_self for
8470         the __vm_wire call.
8471         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8473 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8475         [BZ #18400]
8476         [BZ #18648]
8477         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8478         Fix pr_uid and pr_gid members.
8479         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8480         definition to elf_greg_t.
8482 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8484         [BZ #18383]
8485         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8486         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8487         * sysdeps/arm/configure: Regenerated.
8488         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8489         (test-xfail-tst-tlsalign-static): Variable removed.
8491         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8492         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8493         rather than explicit 'ln -s'.
8495         * resolv/rpc/netdb.h: New file.
8496         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8498 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8500         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8501         length buffers.
8502         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8503         test-skeleton.c.
8505         [BZ #6544]
8506         [BZ #11216]
8507         [BZ #12836]
8508         [BZ #13151]
8509         [BZ #13152]
8510         [BZ #14292]
8511         * include/stdio.h (fmemopen): Remove hidden prototype.
8512         (__fmemopen): Add new hidden prototype.
8513         * libio/Makefile: Add oldfmemopen object.
8514         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8515         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8516         compliance.
8517         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8518         symbol compatibility.
8519         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8520         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8521         fmemopen.
8522         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8523         on append and read mode.
8524         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8525         fmemopen.
8526         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8527         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8528         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8529         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8532         [GLIBC_2.22]: Likewise.
8533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8534         Likewise.
8535         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8536         Likewise.
8537         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8538         [GLIBC_2.22]: Likewise.
8539         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8540         [GLIBC_2.22]: Likewise.
8541         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8542         [GLIBC_2.22]: Likewise.
8543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8544         [GLIBC_2.22]: Likewise.
8545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8546         [GLIBC_2.22]: Likewise.
8547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8548         [GLIBC_2.22]: Likewise.
8549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8550         [GLIBC_2.22]: Likewise.
8551         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8552         Likewise.
8553         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8554         Likewise.
8555         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8556         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8557         [GLIBC_2.22]: Likewise.
8558         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8559         [GLIBC_2.22]: Likewise.
8560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8561         [GLIBC_2.22]: Likewise.
8562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8563         [GLIBC_2.22]: Likewise.
8564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8565         Likewise.
8566         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8567         Likewise.
8568         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8569         Likewise.
8570         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8571         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8573 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8575         [BZ #18643]
8576         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8577         IPV6_PATHMTU, and IPV6_DONTFRAG.
8579 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8581         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8582         and _IO_UNBUFFERED.
8583         * libio/oldfileops.c: Likewise.
8584         * libio/wfileops.c: Likewise.
8586 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8588         * nscd/selinux.c: Delete selinux/flask.h include.
8590 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8592         [BZ #18641]
8593         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8594         (putpwent): Likewise.
8595         (getpwnam): Likewise.
8596         (getpwent_r): Likewise.
8597         (getpwuid_r): Likewise.
8598         (getpwnam_r): Likewise.
8599         (fgetpwent_r): Likewise.
8601 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8603         [BZ #18557]
8604         * inet/rcmd.c (__validuser2_sa): Check user first to
8605         short-circuit host check.
8607 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8608             Mikhail Ilin  <m.ilin@samsung.com>
8610         [BZ #17833]
8611         * elf/Makefile (tests): Add tst-nodelete.
8612         (modules-names): Add tst-nodelete-uniquemod.
8613         (tst-nodelete-uniquemod.so-no-z-defs): New.
8614         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8615         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8616         ($(objpfx)tst-nodelete): Likewise.
8617         ($(objpfx)tst-nodelete.out): Likewise.
8618         (LDFLAGS-tst-nodelete): Likewise.
8619         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8620         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8621         implement forced object deletion.
8622         (_dl_close): Pass false to _dl_close_worker.
8623         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8624         * elf/tst-nodelete.cc: New file.
8625         * elf/tst-nodeletelib.cc: Likewise.
8626         * elf/tst-znodeletelib.cc: Likewise.
8627         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8629 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8631         [BZ #18508]
8632         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8633         Depend on $(libdl).
8634         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8635         is not called infinitely times.
8636         (backtrace_helper): New function.
8637         (trace_arg): New struct.
8638         (st1): Enlarge stack size.
8639         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8640         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8641         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8642         Likewise.
8644 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8646         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8648 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8650         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8651         Include sys/types.h instead of bits/types.h.
8652         Remove inclusion of bits/wordsize.h.
8654 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8656         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8657         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8658         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8659         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8660         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8661         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8663 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8665         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8666         link-defines.sym.
8667         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8668         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8669         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8670         and LR_SIZE.
8671         * sysdeps/i386/link-defines.sym: New file.
8673 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8675         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8676         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8677         ($(objpfx)tst-audit3): New rule.
8678         ($(objpfx)tst-audit3.out): Likewise.
8679         * sysdeps/i386/tst-audit3.c: New file.
8680         * sysdeps/i386/tst-audit3.h: Likewise.
8681         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8682         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8684 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8686         [BZ #18633]
8687         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8688         pointer in C code.
8689         (__strcat_c): Likewise.
8690         (__strcat_g): Likewise.
8692 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8694         [BZ #18592]
8695         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8697 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8699         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8700         New function.  (__ieee754_sqrtf): New function.
8701         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8702         New function.
8703         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8704         New function.
8706 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8708         * sysdeps/ieee754/support.c: Remove unused file.
8710 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8712         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8713         registers instead of d ones so the layout is kernel abi compatible.
8714         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8715         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8716         Likewise.
8718 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8720         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8722 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8724         [BZ #18619]
8725         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8726         and return argument in case of subnormal argument.
8728 2015-07-01  Martin Sebor  <msebor@redhat.com>
8730         [BZ #18435]
8731         * nptl/Makefile: Add tst-once5.cc.
8732         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8733         Remove macro redefinitions.
8734         * nptl/tst-once5.cc: New test.
8736 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8740         * sysdeps/arm/libm-test-ulps: Regenerated.
8742         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8743         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8745 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8747         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8748         lll_lock_wait_private and lll_futex_wake probes.
8750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8752         Likewise.
8753         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8754         atomic_spin_nop.
8755         * sysdeps/x86_64/bits/atomic.h: Likewise.
8756         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8757         to atomic_spin_nop and move ...
8758         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8759         ... here and ...
8760         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8761         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8762         atomic_spin_nop instead of BUSY_WAIT_NOP.
8763         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8764         Likewise.
8765         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8766         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8767         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8768         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8769         instead of atomic_delay.
8771 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8773         [BZ #18613]
8774         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8775         X_ADJ not X when adjusting exponent.
8776         (__ieee754_gamma_r): Do intermediate computations in
8777         round-to-nearest then adjust overflowing and underflowing results
8778         as needed.
8779         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8780         of X_ADJ not X when adjusting exponent.
8781         (__ieee754_gammaf_r): Do intermediate computations in
8782         round-to-nearest then adjust overflowing and underflowing results
8783         as needed.
8784         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8785         log of X_ADJ not X when adjusting exponent.
8786         (__ieee754_gammal_r): Do intermediate computations in
8787         round-to-nearest then adjust overflowing and underflowing results
8788         as needed.  Use 1.0L not 1.0f as numerator of division.
8789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8790         log of X_ADJ not X when adjusting exponent.
8791         (__ieee754_gammal_r): Do intermediate computations in
8792         round-to-nearest then adjust overflowing and underflowing results
8793         as needed.  Use 1.0L not 1.0f as numerator of division.
8794         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8795         of X_ADJ not X when adjusting exponent.
8796         (__ieee754_gammal_r): Do intermediate computations in
8797         round-to-nearest then adjust overflowing and underflowing results
8798         as needed.  Use 1.0L not 1.0f as numerator of division.
8799         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8800         to auto-libm-test-in.
8801         (tgamma_test): Use ALL_RM_TEST.
8802         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8803         tests of tgamma with spurious-overflow.
8804         * math/auto-libm-test-out: Regenerated.
8805         * math/gen-libm-have-vector-test.sh: Do not check for START.
8806         * sysdeps/i386/fpu/libm-test-ulps: Update.
8807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809         [BZ #18612]
8810         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8811         arguments, just return 0.5 times the argument, with underflow
8812         forced as needed.
8813         * math/auto-libm-test-in: Add more tests of j1.
8814         * math/auto-libm-test-out: Regenerated.
8816         [BZ #16559]
8817         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8818         (__ieee754_j1): Force underflow exception for small results.
8819         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8820         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8821         (__ieee754_j1f): Force underflow exception for small results.
8822         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8823         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8826         (__ieee754_j1l): Force underflow exception for small results.
8827         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8828         * math/auto-libm-test-in: Add more tests of j1 and jn.
8829         * math/auto-libm-test-out: Regenerated.
8831         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8832         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8833         (PF_MPLS): Likewise.
8834         (AF_IB): Likewise.
8835         (AF_MPLS): Likewise.
8836         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8837         value and macro.
8838         (MS_RMT_MASK): Include MS_LAZYTIME.
8840 2015-06-26  Mel Gorman  <mgorman@suse.de>
8842         [BZ #18502]
8843         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8844         already minimal.
8846 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8848         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8849         (DT_MIPS_NUM): Update.
8850         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8851         DT_MIPS_RLD_MAP_REL.
8853 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8855         [BZ #16559]
8856         [BZ #18602]
8857         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8858         round-to-nearest internally then recompute results that
8859         underflowed to zero in the original rounding mode.
8860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8861         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8862         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8863         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8864         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8865         * sysdeps/i386/fpu/libm-test-ulps: Update.
8866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8870         * NEWS: Fixed description of link with vector math library.
8872 2015-06-25  Andreas Schwab  <schwab@suse.de>
8874         [BZ #18549]
8875         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8876         * libio/test-fmemopen.c (do_test): Add test for it.
8878 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8880         [BZ #17841]
8881         * Makeconfig (no-pie-ldflag): New.
8882         (+link): Set to $(+link-pie) if default to PIE.
8883         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8884         * config.make.in (build-pie-default): New.
8885         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8886         is default.  AC_SUBST.
8887         * configure: Regenerated.
8888         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8890 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8892         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8893         to 'unsigned int'.
8895         * resolv/gai_misc.h (struct waitlist): Change type of field
8896         counterp to 'volatile unsigned int *'.
8897         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8898         FUTEXADDR and OLDVAL.
8899         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8900         Give local variable TOTAL type 'volatile unsigned int'.
8901         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8902         * resolv/gai_suspend.c (gai_suspend):
8903         Give local variable CNTR type 'unsigned int'.
8905         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8906         counterp to 'volatile unsigned int *'.
8907         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8908         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8909         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8910         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8911         Give local variable TOTAL type 'volatile unsigned int'.
8912         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8914 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8916         [BZ #18383]
8917         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8918         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8919         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8920         comment for i386/x86-64.
8921         (test-xfail-tst-tlsalign-extern-static): Removed.
8923 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8925         * math/test-double.h: New file.
8926         * math/test-float.h: Likewise.
8927         * math/test-ldouble.h: Likewise.
8928         * math/test-math-inline.h: Likewise.
8929         * math/test-math-no-inline.h: Likewise.
8930         * math/test-math-scalar.h: Likewise.
8931         * math/test-math-vector.h: Likewise.
8932         * math/test-vec-loop.h: Remove file.  Contents moved into
8933         test-math-vector.h.
8934         * math/libm-test.inc (MATHCONST): Do not document macro.
8935         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8936         and test-math-scalar.h.
8937         (FUNC): Remove macro.
8938         (FUNC_TEST): Likewise.
8939         (FLOAT): Likewise.
8940         (MATHCONST): Likewise.
8941         (PRINTF_EXPR): Likewise.
8942         (PRINTF_XEXPR): Likewise.
8943         (PRINTF_NEXPR): Likewise.
8944         (TEST_DOUBLE): Likewise.
8945         (TEST_MATHVEC): Likewise.
8946         (__NO_MATH_INLINES): Likewise.
8947         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8948         and test-math-scalar.h.
8949         (FUNC): Remove macro.
8950         (FUNC_TEST): Likewise.
8951         (FLOAT): Likewise.
8952         (MATHCONST): Likewise.
8953         (PRINTF_EXPR): Likewise.
8954         (PRINTF_XEXPR): Likewise.
8955         (PRINTF_NEXPR): Likewise.
8956         (TEST_FLOAT): Likewise.
8957         (TEST_MATHVEC): Likewise.
8958         (__NO_MATH_INLINES): Likewise.
8959         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8960         and test-math-scalar.h.
8961         (FUNC): Remove macro.
8962         (FUNC_TEST): Likewise.
8963         (FLOAT): Likewise.
8964         (MATHCONST): Likewise.
8965         (PRINTF_EXPR): Likewise.
8966         (PRINTF_XEXPR): Likewise.
8967         (PRINTF_NEXPR): Likewise.
8968         (TEST_DOUBLE): Likewise.
8969         (TEST_MATHVEC): Likewise.
8970         (TEST_INLINE): Likewise.
8971         (__NO_MATH_INLINES): Likewise.
8972         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8973         test-math-scalar.h.
8974         (FUNC): Remove macro.
8975         (FUNC_TEST): Likewise.
8976         (FLOAT): Likewise.
8977         (MATHCONST): Likewise.
8978         (PRINTF_EXPR): Likewise.
8979         (PRINTF_XEXPR): Likewise.
8980         (PRINTF_NEXPR): Likewise.
8981         (TEST_FLOAT): Likewise.
8982         (TEST_MATHVEC): Likewise.
8983         (TEST_INLINE): Likewise.
8984         (__NO_MATH_INLINES): Likewise.
8985         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8986         and test-math-scalar.h.
8987         (FUNC): Remove macro.
8988         (FUNC_TEST): Likewise.
8989         (FLOAT): Likewise.
8990         (MATHCONST): Likewise.
8991         (PRINTF_EXPR): Likewise.
8992         (PRINTF_XEXPR): Likewise.
8993         (PRINTF_NEXPR): Likewise.
8994         (TEST_LDOUBLE): Likewise.
8995         (TEST_MATHVEC): Likewise.
8996         (TEST_INLINE): Likewise.
8997         (__NO_MATH_INLINES): Likewise.
8998         * math/test-ldouble.c: Include test-ldouble.h,
8999         test-math-no-inline.h and test-math-scalar.h.
9000         (FUNC): Remove macro.
9001         (FUNC_TEST): Likewise.
9002         (FLOAT): Likewise.
9003         (MATHCONST): Likewise.
9004         (PRINTF_EXPR): Likewise.
9005         (PRINTF_XEXPR): Likewise.
9006         (PRINTF_NEXPR): Likewise.
9007         (TEST_LDOUBLE): Likewise.
9008         (TEST_MATHVEC): Likewise.
9009         (__NO_MATH_INLINES): Likewise.
9010         * math/test-double-vlen2.h: Include test-double.h,
9011         test-math-no-inline.h and test-math-vector.h.
9012         (FLOAT): Remove macro.
9013         (FUNC): Likewise.
9014         (MATHCONST): Likewise.
9015         (PRINTF_EXPR): Likewise.
9016         (PRINTF_XEXPR): Likewise.
9017         (PRINTF_NEXPR): Likewise.
9018         (TEST_DOUBLE): Likewise.
9019         (TEST_MATHVEC): Likewise.
9020         (__NO_MATH_INLINES): Likewise.
9021         (CNCT): Likewise.
9022         (CONCAT): Likewise.
9023         (WRAPPER_NAME): Likewise.
9024         (WRAPPER_DECL): Likewise.
9025         (WRAPPER_DECL_ff): Likewise.
9026         (WRAPPER_DECL_fFF): Likewise.
9027         (VECTOR_WRAPPER): Likewise.
9028         (VECTOR_WRAPPER_ff): Likewise.
9029         (VECTOR_WRAPPER_fFF): Likewise.
9030         (VEC_LEN): New macro.
9031         * math/test-double-vlen4.h: Include test-double.h,
9032         test-math-no-inline.h and test-math-vector.h.
9033         (FLOAT): Remove macro.
9034         (FUNC): Likewise.
9035         (MATHCONST): Likewise.
9036         (PRINTF_EXPR): Likewise.
9037         (PRINTF_XEXPR): Likewise.
9038         (PRINTF_NEXPR): Likewise.
9039         (TEST_DOUBLE): Likewise.
9040         (TEST_MATHVEC): Likewise.
9041         (__NO_MATH_INLINES): Likewise.
9042         (CNCT): Likewise.
9043         (CONCAT): Likewise.
9044         (WRAPPER_NAME): Likewise.
9045         (WRAPPER_DECL): Likewise.
9046         (WRAPPER_DECL_ff): Likewise.
9047         (WRAPPER_DECL_fFF): Likewise.
9048         (VECTOR_WRAPPER): Likewise.
9049         (VECTOR_WRAPPER_ff): Likewise.
9050         (VECTOR_WRAPPER_fFF): Likewise.
9051         (VEC_LEN): New macro.
9052         * math/test-double-vlen8.h: Include test-double.h,
9053         test-math-no-inline.h and test-math-vector.h.
9054         (FLOAT): Remove macro.
9055         (FUNC): Likewise.
9056         (MATHCONST): Likewise.
9057         (PRINTF_EXPR): Likewise.
9058         (PRINTF_XEXPR): Likewise.
9059         (PRINTF_NEXPR): Likewise.
9060         (TEST_DOUBLE): Likewise.
9061         (TEST_MATHVEC): Likewise.
9062         (__NO_MATH_INLINES): Likewise.
9063         (CNCT): Likewise.
9064         (CONCAT): Likewise.
9065         (WRAPPER_NAME): Likewise.
9066         (WRAPPER_DECL): Likewise.
9067         (WRAPPER_DECL_ff): Likewise.
9068         (WRAPPER_DECL_fFF): Likewise.
9069         (VECTOR_WRAPPER): Likewise.
9070         (VECTOR_WRAPPER_ff): Likewise.
9071         (VECTOR_WRAPPER_fFF): Likewise.
9072         (VEC_LEN): New macro.
9073         * math/test-float-vlen4.h: Include test-float.h,
9074         test-math-no-inline.h and test-math-vector.h.
9075         (FLOAT): Remove macro.
9076         (FUNC): Likewise.
9077         (MATHCONST): Likewise.
9078         (PRINTF_EXPR): Likewise.
9079         (PRINTF_XEXPR): Likewise.
9080         (PRINTF_NEXPR): Likewise.
9081         (TEST_FLOAT): Likewise.
9082         (TEST_MATHVEC): Likewise.
9083         (__NO_MATH_INLINES): Likewise.
9084         (CNCT): Likewise.
9085         (CONCAT): Likewise.
9086         (WRAPPER_NAME): Likewise.
9087         (WRAPPER_DECL): Likewise.
9088         (WRAPPER_DECL_ff): Likewise.
9089         (WRAPPER_DECL_fFF): Likewise.
9090         (VECTOR_WRAPPER): Likewise.
9091         (VECTOR_WRAPPER_ff): Likewise.
9092         (VECTOR_WRAPPER_fFF): Likewise.
9093         (VEC_LEN): New macro.
9094         * math/test-float-vlen8.h: Include test-float.h,
9095         test-math-no-inline.h and test-math-vector.h.
9096         (FLOAT): Remove macro.
9097         (FUNC): Likewise.
9098         (MATHCONST): Likewise.
9099         (PRINTF_EXPR): Likewise.
9100         (PRINTF_XEXPR): Likewise.
9101         (PRINTF_NEXPR): Likewise.
9102         (TEST_FLOAT): Likewise.
9103         (TEST_MATHVEC): Likewise.
9104         (__NO_MATH_INLINES): Likewise.
9105         (CNCT): Likewise.
9106         (CONCAT): Likewise.
9107         (WRAPPER_NAME): Likewise.
9108         (WRAPPER_DECL): Likewise.
9109         (WRAPPER_DECL_ff): Likewise.
9110         (WRAPPER_DECL_fFF): Likewise.
9111         (VECTOR_WRAPPER): Likewise.
9112         (VECTOR_WRAPPER_ff): Likewise.
9113         (VECTOR_WRAPPER_fFF): Likewise.
9114         (VEC_LEN): New macro.
9115         * math/test-float-vlen16.h: Include test-float.h,
9116         test-math-no-inline.h and test-math-vector.h.
9117         (FLOAT): Remove macro.
9118         (FUNC): Likewise.
9119         (MATHCONST): Likewise.
9120         (PRINTF_EXPR): Likewise.
9121         (PRINTF_XEXPR): Likewise.
9122         (PRINTF_NEXPR): Likewise.
9123         (TEST_FLOAT): Likewise.
9124         (TEST_MATHVEC): Likewise.
9125         (__NO_MATH_INLINES): Likewise.
9126         (CNCT): Likewise.
9127         (CONCAT): Likewise.
9128         (WRAPPER_NAME): Likewise.
9129         (WRAPPER_DECL): Likewise.
9130         (WRAPPER_DECL_ff): Likewise.
9131         (WRAPPER_DECL_fFF): Likewise.
9132         (VECTOR_WRAPPER): Likewise.
9133         (VECTOR_WRAPPER_ff): Likewise.
9134         (VECTOR_WRAPPER_fFF): Likewise.
9135         (VEC_LEN): New macro.
9136         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9137         test-vec-loop.h.
9138         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9139         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9140         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9141         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9142         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9144         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9146 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9148         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9149         (__getlogin_r): ... this.
9151 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9153         [BZ #18594]
9154         * math/s_ccosh.c (__ccosh): Compare with least normal value
9155         instead of comparing class with FP_SUBNORMAL.
9156         * math/s_ccoshf.c (__ccoshf): Likewise.
9157         * math/s_ccoshl.c (__ccoshl): Likewise.
9158         * math/s_cexp.c (__cexp): Likewise.
9159         * math/s_cexpf.c (__cexpf): Likewise.
9160         * math/s_cexpl.c (__cexpl): Likewise.
9161         * math/s_csin.c (__csin): Likewise.
9162         * math/s_csinf.c (__csinf): Likewise.
9163         * math/s_csinh.c (__csinh): Likewise.
9164         * math/s_csinhf.c (__csinhf): Likewise.
9165         * math/s_csinhl.c (__csinhl): Likewise.
9166         * math/s_csinl.c (__csinl): Likewise.
9167         * math/s_ctan.c (__ctan): Likewise.
9168         * math/s_ctanf.c (__ctanf): Likewise.
9169         * math/s_ctanh.c (__ctanh): Likewise.
9170         * math/s_ctanhf.c (__ctanhf): Likewise.
9171         * math/s_ctanhl.c (__ctanhl): Likewise.
9172         * math/s_ctanl.c (__ctanl): Likewise.
9173         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9174         csin, csinh, ctan and ctanh.
9175         * math/auto-libm-test-out: Regenerated.
9176         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9177         * sysdeps/i386/fpu/libm-test-ulps: Update.
9178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9180 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9182         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9183         return value is wrong, print the expected value too.
9185 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9187         [BZ #18585]
9188         * elf/readlib.c (is_gdb_python_file): New.
9189         (process_file): Don't issue errors on filenames with -gdb.py
9190         suffix.
9192 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9194         * math/auto-libm-test-in: Add more tests of csin and csinh.
9195         * math/auto-libm-test-out: Regenerated.
9196         * math/libm-test.inc (csin_test_data): Remove tests moved to
9197         auto-libm-test-in.
9198         (csinh_test_data): Likewise.
9200         [BZ #18593]
9201         * math/s_csin.c (__csin): Negate before rather than after possibly
9202         overflowing multiplication.
9203         * math/s_csinf.c (__csinf): Likewise.
9204         * math/s_csinh.c (__csinh): Likewise.
9205         * math/s_csinhf.c (__csinhf): Likewise.
9206         * math/s_csinhl.c (__csinhl): Likewise.
9207         * math/s_csinl.c (__csinl): Likewise.
9208         * math/auto-libm-test-in: Add some tests of csin and csinh.
9209         * math/auto-libm-test-out: Regenerated.
9210         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9211         (csinh_test_data): Likewise.
9212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9214         [BZ #18586]
9215         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9216         underflow exception for small results.
9218 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9222         variable and included header.
9223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9225         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9226         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9227         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9231         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9232         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9233         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9234         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9235         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9236         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9237         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9238         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9240 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9242         [BZ #16526]
9243         [BZ #16538]
9244         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9245         (__sin): Force underflow exception for arguments with small
9246         absolute value.
9247         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9248         (__kernel_sinf): Force underflow exception for arguments with
9249         small absolute value.
9250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9251         (__kernel_sincosl): Force underflow exception for arguments with
9252         small absolute value.
9253         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9254         (__kernel_sinl): Force underflow exception for arguments with
9255         small absolute value.
9256         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9257         (__kernel_sincosl): Force underflow exception for arguments with
9258         small absolute value.
9259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9260         (__kernel_sinl): Force underflow exception for arguments with
9261         small absolute value.
9262         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9263         (__kernel_sinl): Force underflow exception for arguments with
9264         small absolute value.
9265         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9266         (__kernel_sinf): Force underflow exception for arguments with
9267         small absolute value.
9268         * math/auto-libm-test-in: Add more tests of sin and sincos.
9269         * math/auto-libm-test-out: Regenerated.
9271         [BZ #18245]
9272         [BZ #18583]
9273         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9274         (__kernel_standard_l): Use feholdexcept and fesetenv around
9275         conversion to double instead of special-casing overflow and
9276         underflow.
9277         * math/libm-test.inc (fmod_test_data): Add more tests.
9278         (remainder_test_data): Likewise.
9279         (sqrt_test_data): Likewise.
9281 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9283         [BZ #17403]
9284         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9285         atomic_read_barrier, atomic_write_barrier): Define.
9286         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9287         atomic_read_barrier, atomic_write_barrier): Define.
9289 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9291         * math/Makefile [$(PERL) != no]
9292         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9293         dependency on libm-test.stmp below the inclusion of Rules.
9295 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9297         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9299         and included header.
9300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9301         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9302         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9303         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9304         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9308         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9309         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9310         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9311         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9312         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9313         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9314         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9315         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9316         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9317         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9318         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9320 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9322         [BZ #18371]
9323         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9324         intermediate but not final result might underflow.
9325         * math/s_csqrtf.c (__csqrtf): Likewise.
9326         * math/s_csqrtl.c (__csqrtl): Likewise.
9327         * math/auto-libm-test-in: Add more tests of csqrt.
9328         * math/auto-libm-test-out: Regenerated.
9329         * sysdeps/i386/fpu/libm-test-ulps: Update.
9331         [BZ #18219]
9332         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9333         threshold on absolute value of exponent for which scaling is used.
9334         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9335         * math/auto-libm-test-in: Add more tests of exp2.
9336         * math/auto-libm-test-out: Regenerated.
9338 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9340         [BZ #17977]
9341         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9342         when initializing interface list, based on the bug analysis
9343         and the patch proposed by Eric Newton.
9344         * resolv/tst-res_hconf_reorder.c: New test.
9345         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9346         tst-res_hconf_reorder.
9347         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9348         and $(shared-thread-library).
9349         (tst-res_hconf_reorder-ENV): New variable.
9351         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9352         in comment.
9354 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #16353]
9357         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9358         (__expm1): Force underflow exception for arguments with small
9359         absolute value.
9360         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9361         (__expm1f): Force underflow exception for arguments with small
9362         absolute value.
9363         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9364         (__expm1): Force underflow exception for arguments with small
9365         absolute value.
9366         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9367         (__expm1f): Force underflow exception for arguments with small
9368         absolute value.
9369         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9370         Check for small arguments before calling __expm1.
9371         * math/auto-libm-test-in: Do not mark underflow exceptions as
9372         possibly missing for bug 16353.
9373         * math/auto-libm-test-out: Regenerated.
9375 2015-06-22  Andreas Schwab  <schwab@suse.de>
9377         [BZ #18513]
9378         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9379         PTR queries.
9381 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9383         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9385         * string/strcoll_l.c: Remove unused struct element idxnow.
9387 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #18569]
9390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9391         underflow and return argument in case of subnormal argument.
9392         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9393         Likewise.
9394         * math/auto-libm-test-in: Add more tests of expm1.
9395         * math/auto-libm-test-out: Regenerated.
9397         [BZ #16361]
9398         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9399         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9400         tiny results.
9401         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9402         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9403         tiny results.
9404         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9405         mark underflow exceptions as possibly missing for bug 16361.
9406         * math/auto-libm-test-out: Regenerated.
9408 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9410         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9411         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9412         Remove variable.
9413         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9414         (test-xfail-XOPEN2K8/utmpx.h/conform).
9416         * conform/conformtest.pl ($xerrors): New variable.
9417         (note_error): New function.
9418         (compiletest): New argument $xfail.  Use not_error.
9419         (runtest): Likewise.
9420         (top level): Handle xfail- lines.  Update calls to compiletest and
9421         runtest.  Handle xfail- and optional- in headers listed with
9422         allow-header.
9423         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9424         (O_EXEC): Likewise.
9425         (O_SEARCH): Likewise.
9426         * conform/data/stropts.h-data (ioctl): Likewise.
9427         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9428         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9429         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9430         (msghdr.msg_controllen): Likewise.
9431         (cmsghdr.cmsg_len): Likewise.
9432         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9433         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9434         variable.
9435         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9436         (test-xfail-XPG4/stropts.h/conform): Likewise.
9437         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9438         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9439         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9440         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9441         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9442         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9443         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9444         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9445         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9446         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9447         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9448         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9449         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9450         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9451         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9452         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9453         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9454         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9455         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9457 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9459         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9460         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9461         definitions for proper unfolding of __MATHDECL_VEC.
9463 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9465         * benchtests/bench-strcoll.c:
9466         Include string.h.
9467         (main): Remove unused variable res.
9469 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9471         * timezone/Makefile (%/UTC %/Universal):
9472         Generate test-result files for UTC and Universal.
9474 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9476         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9478 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9480         [BZ #16350]
9481         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9482         for arguments with small absolute value.
9483         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9484         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9485         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9486         (__asinh): Force underflow exception for arguments with small
9487         absolute value.
9488         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9489         (__asinhf): Force underflow exception for arguments with small
9490         absolute value.
9491         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9492         (__asinhl): Force underflow exception for arguments with small
9493         absolute value.
9494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9495         (__asinhl): Force underflow exception for arguments with small
9496         absolute value.
9497         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9498         (__asinhl): Force underflow exception for arguments with small
9499         absolute value.
9500         * math/auto-libm-test-in: Do not mark underflow exceptions as
9501         possibly missing for bug 16350.
9502         * math/auto-libm-test-out: Regenerated.
9504         * include/bits/ipc.h: Remove file.
9505         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9506         variable.
9507         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9508         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9509         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9510         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9511         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9512         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9513         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9514         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9515         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9517         * math/auto-libm-test-in: Remove spurious underflow allowance for
9518         tests of cexp.
9519         * math/auto-libm-test-out: Regenerated.
9521         [BZ #18558]
9522         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9523         unconditional definition.
9524         (MCAST_BLOCK_SOURCE): Likewise.
9525         (MCAST_UNBLOCK_SOURCE): Likewise.
9526         (MCAST_LEAVE_GROUP): Likewise.
9527         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9528         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9529         (MCAST_MSFILTER): Likewise.
9530         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9531         Remove variable.
9532         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9533         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9534         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9535         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9536         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9538 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9540         * NEWS: Mention addition of x86_64 vector sincosf.
9541         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9542         * math/test-float-vlen4.h: Likewise.
9543         * math/test-float-vlen8.h: Likewise.
9544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9545         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9547         * sysdeps/x86_64/fpu/Versions: New versions added.
9548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9550         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9554         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9555         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9556         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9557         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9558         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9559         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9560         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9561         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9562         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9563         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9564         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9565         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9566         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9567         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9569         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9570         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9571         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9573         * NEWS: Mention addition of x86_64 vector sincos.
9574         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9575         * math/math.h (__MATHDECL_VEC): New macro.
9576         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9577         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9578         declaration under condition.
9579         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9580         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9581         TEST_VEC_LOOP change.
9582         * math/test-double-vlen4.h: Likewise.
9583         * math/test-double-vlen8.h: Likewise.
9584         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9585         * math/test-float-vlen4.h: Likewise.
9586         * math/test-float-vlen8.h: Likewise.
9587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9588         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9590         * sysdeps/x86_64/fpu/Versions: New versions added.
9591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9593         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9598         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9600         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9601         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9602         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9603         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9604         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9605         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9606         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9616         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9617         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9618         redirections for powf.
9619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9620         * sysdeps/x86_64/fpu/Versions: New versions added.
9621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9622         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9623         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9624         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9626         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9629         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9631         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9632         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9633         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9634         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9635         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9636         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9645         * math/test-float-vlen16.h: Fixed 2 argument macro.
9646         * math/test-float-vlen4.h: Likewise.
9647         * math/test-float-vlen8.h: Likewise.
9648         * NEWS: Mention addition of x86_64 vector powf.
9650 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9652         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9653         and redefine.
9654         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9655         and redefine.
9656         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9657         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9660         [BZ #18553]
9661         * resource/getpriority.c (getpriority): Rename to __getpriority
9662         and define as weak alias of __getpriority.
9663         * resource/setpriority.c (setpriority): Rename to __setpriority
9664         and define as weak alias of __setpriority.
9665         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9666         __getpriority and define as weak alias of __getpriority.
9667         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9668         __setpriority and define as weak alias of __setpriority.
9669         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9670         strong name.
9671         (setpriority): Use __setpriority as strong name.
9672         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9673         __getpriority and define as weak alias of __getpriority.
9674         * include/sys/resource.h (__getpriority): Declare.  Use
9675         libc_hidden_proto.
9676         (__setpriority): Likewise.
9677         (getpriority): Don't use libc_hidden_proto.
9678         (setpriority): Likewise.
9679         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9680         getpriority.  Call __setpriority instead of setpriority.
9681         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9682         Remove variable.
9684         [BZ #18547]
9685         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9686         as weak alias of __getttynam.  Use prototype function definition.
9687         Call __setttyent, __getttyent and __endttyent instead of
9688         setttyent, getttyent and endttyent.
9689         (getttyent): Rename to __getttyent and define as weak alias of
9690         __getttyent.  Call __setttyent instead of setttyent.  Call
9691         __fgets_unlocked instead of fgets_unlocked.
9692         (setttyent): Rename to __setttyent and define as weak alias of
9693         __setttyent.
9694         (endttyent): Rename to __endttyent and define as weak alias of
9695         __endttyent.
9696         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9697         (__setttyent): Likewise.
9698         (__endttyent): Likewise.
9699         (getttyent): Don't use libc_hidden_proto.
9700         (setttyent): Likewise.
9701         (endttyent): Likewise.
9702         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9703         __endttyent instead of setttyent, getttyent and endttyent.
9704         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9705         Remove variable.
9707         [BZ #18546]
9708         * socket/recv.c (__recv): Use libc_hidden_def.
9709         * socket/socket.c (__socket): Likewise.
9710         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9711         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9712         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9713         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9714         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9715         libc_hidden_def.
9716         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9717         libc_hidden_weak.
9718         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9719         Use libc_hidden_proto.
9720         (__recv): Likewise.
9721         * socket/Versions (libc): Export __recv and __socket at version
9722         GLIBC_PRIVATE.
9723         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9724         instead of recv.
9725         (init_mq_netlink): Call __socket instead of socket.
9726         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9727         Remove variable.
9729         [BZ #18545]
9730         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9731         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9732         hidden_weak.
9733         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9734         define as alias of __mq_timedsend.  Use hidden_weak.
9735         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9736         __mq_timedsend as strong name.
9737         (mq_timedreceive): Use __mq_timedreceive as strong name.
9738         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9739         (__mq_timedreceive): Likewise.
9740         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9741         __mq_timedreceive instead of mq_timedreceive.
9742         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9743         instead of mq_timedsend.
9744         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9745         Remove variable.
9747         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9748         hidden_def and hidden_weak instead of libc_hidden_def and
9749         libc_hidden_weak.
9750         (top level): Refer to hidden_def in comment.
9751         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9752         macro.  Use it instead of libc_hidden_def.
9753         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9754         specify __GI_* name explicitly.
9755         (mq_timedreceive): Likewise.
9756         (mq_setattr): Likewise.
9758         [BZ #18544]
9759         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9760         __pthread_barrier_init and define as weak alias of
9761         __pthread_barrier_init.
9762         * sysdeps/sparc/nptl/pthread_barrier_init.c
9763         (pthread_barrier_init): Likewise.
9764         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9765         __pthread_barrier_wait and define as weak alias of
9766         __pthread_barrier_wait.
9767         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9768         (pthread_barrier_wait): Likewise.
9769         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9770         (pthread_barrier_wait): Likewise.
9771         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9772         (pthread_barrier_wait): Likewise.
9773         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9774         (pthread_barrier_wait): Likewise.
9775         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9776         __pthread_barrier_wait at version GLIBC_PRIVATE.
9777         * include/pthread.h (__pthread_barrier_init): Declare.
9778         (__pthread_barrier_wait): Likewise.
9779         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9780         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9781         (helper_thread): Likewise.
9782         (init_mq_netlink): Call __pthread_barrier_init instead of
9783         pthread_barrier_init.
9785         [BZ #18542]
9786         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9787         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9788         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9789         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9790         vswscanf.
9791         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9792         Remove variable.
9794         [BZ #18540]
9795         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9796         strong alias of _IO_fflush.  Use libc_hidden_def.
9797         * libio/iofflush_u.c (fflush_unlocked): Rename to
9798         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9799         Use libc_hidden_weak.
9800         * include/stdio.h (__fflush_unlocked): Declare.  Use
9801         libc_hidden_proto.
9802         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9803         fflush_unlocked.
9804         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9805         Remove variable.
9807         [BZ #18539]
9808         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9809         define as weak alias of __addseverity.
9810         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9811         Remove variable.
9812         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9813         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9814         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9816         [BZ #18536]
9817         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9818         (__tfind): Likewise.
9819         (__tdelete): Likewise.
9820         (__twalk): Likewise.
9821         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9822         __twalk to GLIBC_PRIVATE.
9823         * include/search.h (__tsearch): Use libc_hidden_proto.
9824         (__tfind): Likewise.
9825         (__tdelete): Likewise.
9826         (__twalk): Likewise.
9827         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9828         Call __tdelete instead of tdelete.
9829         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9830         tfind.  Call __tsearch instead of tsearch.
9831         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9832         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9833         Remove variable.
9834         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9836         [BZ #18534]
9837         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9838         (dprintf): Define as a weak alias of __dprintf, not a strong
9839         alias.
9840         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9841         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9842         dprintf.
9843         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9844         Remove variable.
9845         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9846         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9848         [BZ #18533]
9849         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9850         not a strong alias.
9851         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9852         Remove variable.
9854         [BZ #18532]
9855         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9856         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9857         (in6addr_loopback): Rename to __in6addr_loopback and define as
9858         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9859         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9860         libc_hidden_proto.
9861         (__in6addr_any): Likewise.
9862         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9863         in6addr_any.
9864         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9865         variable.
9866         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9868 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9870         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9871         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9872         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9873         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9874         redirections for pow.
9875         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9876         * sysdeps/x86_64/fpu/Versions: New versions added.
9877         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9878         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9879         build of SSE, AVX2 and AVX512 IFUNC versions.
9880         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9884         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9885         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9887         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9888         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9889         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9890         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9891         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9892         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9893         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9894         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9895         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9897         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9898         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9899         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9900         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9901         * NEWS: Mention addition of x86_64 vector pow.
9903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9905         redirections for expf.
9906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9907         * sysdeps/x86_64/fpu/Versions: New versions added.
9908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9910         build of SSE, AVX2 and AVX512 IFUNC versions.
9911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9912         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9913         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9914         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9915         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9917         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9918         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9919         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9920         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9921         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9922         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9923         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9924         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9925         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9926         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9929         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9930         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9931         * NEWS: Mention addition of x86_64 vector expf.
9933         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9934         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9937         redirections for exp.
9938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9939         * sysdeps/x86_64/fpu/Versions: New versions added.
9940         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9942         build of SSE, AVX2 and AVX512 IFUNC versions.
9943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9945         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9946         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9949         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9950         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9951         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9952         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9953         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9954         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9955         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9956         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9957         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9958         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9959         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9960         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9961         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9962         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9963         * NEWS: Mention addition of x86_64 vector exp.
9965         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9966         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9967         redirections for logf.
9968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9969         * sysdeps/x86_64/fpu/Versions: New versions added.
9970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9971         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9972         build of SSE, AVX2 and AVX512 IFUNC versions.
9973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9974         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9976         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9979         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9980         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9981         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9982         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9983         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9984         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9985         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9986         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9987         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9988         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9991         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9993         * NEWS: Mention addition of x86_64 vector logf.
9995         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9996         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9997         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9998         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9999         redirections for log.
10000         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10001         * sysdeps/x86_64/fpu/Versions: New versions added.
10002         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10003         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10004         build of SSE, AVX2 and AVX512 IFUNC versions.
10005         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10006         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10007         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10008         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10009         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10010         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10011         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10012         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10013         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10014         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10015         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10016         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10017         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10018         test.
10019         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10020         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10022         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10023         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10024         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10025         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10026         * NEWS: Mention addition of x86_64 vector log.
10028 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10030         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10031         cfi_adjust_cfa_offset argument.
10032         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10033         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10035         [BZ #18034]
10036         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10037         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10038         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10039         ordering using ldar.
10040         (_dl_tlsdesc_dynamic): Likewise.
10041         (_dl_tlsdesc_return_lazy): Likewise.
10042         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10043         relaxed atomics instead of volatile and synchronize with release store.
10044         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10045         volatile.
10046         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10048 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10051         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10053         * sysdeps/x86_64/fpu/Versions: New versions added.
10054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10056         build of SSE, AVX2 and AVX512 IFUNC versions.
10057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10063         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10064         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10065         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10066         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10067         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10068         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10069         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10070         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10071         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10072         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10073         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10074         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10075         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10076         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10077         * NEWS: Mention addition of x86_64 vector sinf.
10079 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10081         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10082         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10083         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10084         Remove variable.
10085         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10086         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10088 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10090         [BZ #18530]
10091         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10092         strong alias of _IO_fputs.  Use libc_hidden_def.
10093         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10094         and define as weak alias of __fputs_unlocked.  Use
10095         libc_hidden_weak.
10096         * include/stdio.h (__fputs_unlocked): Declare.  Use
10097         libc_hidden_proto.
10098         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10099         fputs_unlocked.
10101         [BZ #18529]
10102         * resolv/netdb.h [__USE_POSIX]: Change condition to
10103         [__USE_XOPEN2K].
10104         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10105         not expect.
10106         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10107         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10108         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10109         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10110         [XPG4 || UNIX98] (AI_ALL): Likewise.
10111         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10112         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10113         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10114         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10115         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10116         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10117         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10118         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10119         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10120         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10121         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10122         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10123         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10124         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10125         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10126         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10127         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10128         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10129         [XPG4 || UNIX98] (gai_strerror): Likewise.
10130         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10131         [XPG4 || UNIX98] (getnameinfo): Likewise.
10133         [BZ #18528]
10134         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10135         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10136         __USE_XOPEN2K8].
10137         (getgrent): Likewise.
10138         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10139         expect.
10140         [XPG3 || POSIX2008] (endgrent): Likewise.
10141         [XPG3] (setgrent): Likewise.
10142         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10143         variable.
10144         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10146         [BZ #18527]
10147         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10148         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10149         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10150         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10151         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10152         * include/unistd.h (__getlogin_r): Declare.  Use
10153         libc_hidden_proto.
10154         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10155         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10156         variable.
10157         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10158         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10159         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10161 2015-06-12  Martin Sebor  <msebor@redhat.com>
10163         [BZ #18512]
10164         * Makerules (check-install-supported): New target.
10165         (install): Add check-install-supported as a dependency.
10166         * manual/install.texi (Installing the C Library): Document
10167         that overriding prefix and exec_prefix is not supported.
10168         Mention DESTDIR.
10169         * INSTALL: Regenerate from the above.
10171 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10173         [BZ #18519]
10174         * posix/Versions (libc): Export __libc_pread at version
10175         GLIBC_PRIVATE.
10176         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10177         instead of pread.
10178         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10179         variable.
10181         [BZ #18522]
10182         * misc/efgcvt_r.c
10183         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10184         (cvt_symbol): Use weak_alias instead of strong_alias.
10185         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10186         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10187         Remove variable.
10188         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10189         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10191         [BZ #18520]
10192         * inet/herrno.c (h_errno): Rename to __h_errno.
10193         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10194         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10195         to __h_errno instead of h_errno.
10196         * nptl/herrno.c (h_errno): Rename to __h_errno.
10197         (__h_errno_location): Refer to __h_errno not h_errno.
10198         * resolv/Versions (h_errno): Rename to __h_errno.
10199         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10200         Remove variable.
10201         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10203 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10205         * configure.ac: More strict check for AVX512 assembler support.
10206         * configure: Regenerated.
10208         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10209         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10211         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10213         * sysdeps/x86_64/fpu/Versions: New versions added.
10214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10216         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10222         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10223         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10224         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10225         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10226         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10227         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10228         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10229         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10230         test.
10231         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10234         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10235         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10236         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10237         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10238         * NEWS: Mention addition of x86_64 vector sin.
10240 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10242         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10243         comment.
10245 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10247         [BZ #18479]
10248         * nptl/pt-interp.c: New file.
10249         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10250         Add pt-interp.
10251         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10252         $(common-objpfx)runtime-linker.h.
10254 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10256         * Makeconfig (+interp): Remove unused variable.
10257         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10258         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10259         $(elf-objpfx)runtime-linker.h.
10260         ($(elf-objpfx)runtime-linker.h): Rename to
10261         $(common-objpfx)runtime-linker.h and move ...
10262         * Makerules [$(build-shared) = yes]: ... here.
10263         * elf/interp.c: Include <runtime-linker.h> instead of
10264         <elf/runtime-linker.h>.
10266 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10268         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10269         (__gettimeofday_syscall): Remove vsyscall fallback.
10270         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10271         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10272         Add syscall fallback function.
10273         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10274         if vDSO is not present.
10275         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10276         fallback function.
10277         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10278         present.
10279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10280         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10282 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #18497]
10285         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10286         of wcscmp.
10287         (wcscmp): Define as weak alias of WCSCMP.
10288         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10289         wcscoll.
10290         (USE_HIDDEN_DEF): Define.
10291         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10292         __wcscoll.  Don't use libc_hidden_weak.
10293         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10294         wcscmp.
10295         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10296         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10297         __GI_wcscmp.
10298         (weak_alias): Undefine and redefine.
10299         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10300         __wcscmp and define as weak alias of __wcscmp.
10301         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10302         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10303         (__wcscoll): Likewise.
10304         (wcscmp): Don't use libc_hidden_proto.
10305         (wcscoll): Likewise.
10306         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10307         wcscoll.
10308         * posix/regexec.c (check_node_accept_bytes): Likewise.
10309         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10310         variable.
10311         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10312         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10314         [BZ #18507]
10315         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10316         __fstatvfs and define as weak alias of __fstatvfs.  Use
10317         libc_hidden_weak.
10318         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10319         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10320         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10321         Define as alias of __fstatvfs, not fstatvfs.
10322         (fstatvfs64): Likewise.
10323         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10324         Define as alias of __statvfs, not statvfs.
10325         (statvfs64): Likewise.
10326         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10327         Remove variable.
10329 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10332         (HAVE_GETCPU_VSYSCALL): Define.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10334         (HAVE_GETCPU_VSYSCALL): Likewise.
10335         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10336         * sysdeps/unix/sysv/linux/sched_getcpu.c
10337         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10338         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10339         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10340         prototype.
10341         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10342         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10343         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10345         Define.
10346         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10347         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10348         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10349         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10351 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10353         * sysdeps/x86_64/fpu/Makefile: New file.
10354         * sysdeps/x86_64/fpu/Versions: New file.
10355         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10356         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10357         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10358         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10359         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10360         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10361         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10365         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10366         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10367         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10368         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10369         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10371         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10372         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10373         * sysdeps/x86_64/configure: Regenerated.
10374         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10375         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10376         * manual/install.texi (Configuring and compiling): Document
10377         --disable-mathvec.
10378         * INSTALL: Regenerated.
10379         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10381         * math/Makefile: Added rules for vector tests.
10382         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10383         declaration under condition.
10384         * math/test-double-vlen2.h: New file.
10385         * math/test-double-vlen4.h: New file.
10386         * math/test-double-vlen8.h: New file.
10387         * math/test-vec-loop.h: Added initialization macro.
10388         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10390         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10391         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10392         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10393         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10394         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10395         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10396         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10397         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10398         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10400         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10401         * sysdeps/x86_64/fpu/Versions: New versions added.
10402         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10405         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10406         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10409         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10411         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10412         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10413         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10414         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10415         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10416         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10417         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10419         * NEWS: Mention addition of x86_64 vector cosf.
10421         * math/Makefile: Added CFLAGS for new tests.
10422         * math/test-float-vlen16.h: New file.
10423         * math/test-float-vlen4.h: New file.
10424         * math/test-float-vlen8.h: New file.
10425         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10426         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10428         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10429         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10431         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10435         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10437 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10439         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10440         * locale/programs/ld-ctype.c: Likewise.
10442 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10444         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10445         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10446         bit_ZMM16_31_state): New macro.
10447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10448         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10450 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10452         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10454 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10456         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10458 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10460         [BZ #18498]
10461         * libio/memstream.c (open_memstream): Rename to __open_memstream
10462         and define as weak alias of __open_memstream.
10463         * include/stdio.h (__open_memstream): Declare.  Use
10464         libc_hidden_proto.
10465         (open_memstream): Don't use libc_hidden_proto.
10466         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10467         open_memstream.
10468         * posix/getopt.c (_getopt_internal_r): Likewise.
10469         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10470         variable.
10471         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10472         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10473         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10475         [BZ #18496]
10476         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10477         instead of wcrtomb.
10479         [BZ #18483]
10480         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10481         [__USE_XOPEN2K8].  Remove redundant #endif.
10482         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10483         Remove redundant #if.
10484         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10485         Remove variable.
10486         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10487         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10489         [BZ #18495]
10490         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10491         (__iswlower): Likewise.
10492         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10493         (__iswlower): Likewise.
10494         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10495         instead of towlower.
10496         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10497         instead of iswlower.  Call __towupper instead of towupper.
10498         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10499         instead of iswalnum.
10501 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10503         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10504         errors to stderr.
10506 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10508         [BZ #15661]
10509         [BZ #17322]
10510         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10511         Check for overflow properly.  Check for O_APPEND.  Ignore large
10512         file system block sizes.  Add comments about problems.
10513         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10514         * manual/filesys.texi (Storage Allocation): New node.
10516 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10518         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10519         cancellable syscalls.
10520         (SYS_ify): Add guard to no redefine it.
10521         (INLINE_SYSCALL): Likewise.
10522         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10523         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10524         SYSCALL_CANCEL instead.
10525         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10526         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10527         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10528         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10529         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10530         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10531         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10532         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10533         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10534         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10535         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10536         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10537         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10538         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10539         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10543         (__libc_pread64): Likewise.
10544         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10545         (__libc_preadv): Likewise.
10546         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10547         (__libc_readv64): Likewise.
10548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10549         (__libc_pwrite): Likewise.
10550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10551         (__libc_pwrite64): Likewise.
10552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10553         (__libc_pwritev): Likewise.
10554         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10555         (__libc_pwritev64): Likewise.
10556         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10557         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10558         (sync_file_range): Likewise.
10559         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10560         Likewise.
10561         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10562         Likewise.
10563         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10564         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10565         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10566         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10567         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10568         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10569         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10570         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10572         Likewise.
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10574         (__libc_read64): Likewise.
10575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10576         Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10584         (__libc_pread64): Likewise.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10588         (__libc_pwrite64): Likewise.
10589         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10590         (sync_file_range): Likewise.
10591         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10592         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10593         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10594         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10595         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10596         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10597         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10598         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10599         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10600         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10601         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10602         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10603         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10604         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10605         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10606         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10607         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10608         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10609         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10610         Likewise.
10611         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10612         Likewise.
10613         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10614         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10617         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10618         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10622         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10623         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10624         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10625         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10627 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10629         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10630         Include dl-vdso.
10631         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10632         Use VDSO routines for gettimeofday, clock_gettime if
10633         available.
10634         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10635         Declare VDSO symbols.
10636         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10637         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10638         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10639         * sysdeps/unix/sysv/linux/arm/Versions: Add
10640         __vdso_clock_gettime.
10642 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10644         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10645         be an inline implementation regardless of library is built within.
10646         (open_not_cancel_2): Likewise.
10647         (__read_nocancel): Likewise.
10648         (__write_nocancel): Likewise.
10649         (openat_not_cancel): Likewise.
10650         (openat_not_cancel_3): Likewise.
10651         (openat64_not_cancel): Likewise.
10652         (openat64_not_cancel_3): Likewise.
10653         (__close_nocancel): Likewise.
10654         (pause_not_cancel): Likewise.
10655         (nanosleep_not_cancel): Likewise.
10656         (sigsuspend_not_cancel): Likewise.
10658 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10660         [BZ #14958]
10661         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10662         wake-up.
10663         (__pthread_rwlock_rdlock_slow): Likewise.
10664         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10665         Likewise.
10666         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10667         Likewise.
10668         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10669         * nptl/tst-rwlock16.c: New file.
10670         * nptl/Makefile (tests): Add new test.
10672 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10674         [BZ #18324]
10675         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10676         missing wake-up of readers.
10677         * nptl/tst-rwlock15.c: New file.
10678         * nptl/Makefile (tests): Add new test.
10680 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10682         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10683         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10684         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10685         and __nacl_supply_interface_rtld.
10686         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10687         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10688         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10689         Add __nacl_supply_interface_rtld.
10690         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10692 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10694         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10695         isfinite.
10696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10697         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10699 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10701         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10702         __signbit* with standard C99 macros.
10703         * math/e_exp10l.c: Likewise.
10704         * math/e_exp2l.c: Likewise.
10705         * math/e_scalb.c: Likewise.
10706         * math/e_scalbf.c: Likewise.
10707         * math/e_scalbl.c: Likewise.
10708         * math/s_ldexp.c: Likewise.
10709         * math/s_ldexpf.c: Likewise.
10710         * math/s_ldexpl.c: Likewise.
10711         * math/w_atan2.c: Likewise.
10712         * math/w_atan2f.c: Likewise.
10713         * math/w_atan2l.c: Likewise.
10714         * math/w_cosh.c: Likewise.
10715         * math/w_coshf.c: Likewise.
10716         * math/w_coshl.c: Likewise.
10717         * math/w_exp10.c: Likewise.
10718         * math/w_exp10f.c: Likewise.
10719         * math/w_exp10l.c: Likewise.
10720         * math/w_exp2.c: Likewise.
10721         * math/w_exp2f.c: Likewise.
10722         * math/w_exp2l.c: Likewise.
10723         * math/w_fmod.c: Likewise.
10724         * math/w_fmodf.c: Likewise.
10725         * math/w_fmodl.c: Likewise.
10726         * math/w_hypot.c: Likewise.
10727         * math/w_hypotf.c: Likewise.
10728         * math/w_hypotl.c: Likewise.
10729         * math/w_jnl.c: Likewise.
10730         * math/w_lgamma.c: Likewise.
10731         * math/w_lgamma_r.c: Likewise.
10732         * math/w_lgammaf.c: Likewise.
10733         * math/w_lgammaf_r.c: Likewise.
10734         * math/w_lgammal.c: Likewise.
10735         * math/w_lgammal_r.c: Likewise.
10736         * math/w_pow.c: Likewise.
10737         * math/w_powf.c: Likewise.
10738         * math/w_powl.c: Likewise.
10739         * math/w_remainder.c: Likewise.
10740         * math/w_remainderf.c: Likewise.
10741         * math/w_remainderl.c: Likewise.
10742         * math/w_scalb.c: Likewise.
10743         * math/w_scalbf.c: Likewise.
10744         * math/w_scalbl.c: Likewise.
10745         * math/w_scalbln.c: Likewise.
10746         * math/w_scalblnf.c: Likewise.
10747         * math/w_scalblnl.c: Likewise.
10748         * math/w_sinh.c: Likewise.
10749         * math/w_sinhf.c: Likewise.
10750         * math/w_sinhl.c: Likewise.
10751         * math/w_tgamma.c: Likewise.
10752         * math/w_tgammaf.c: Likewise.
10753         * math/w_tgammal.c: Likewise.
10754         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10755         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10756         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10758         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10760         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10761         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10762         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10763         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10764         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10765         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10766         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10767         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10768         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10769         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10771         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10772         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10775         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10780         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10782         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10783         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10784         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10785         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10786         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10787         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10788         * stdio-common/printf_fp.c: Likewise.
10789         * stdio-common/printf_fphex.c: Likewise.
10790         * stdio-common/printf_size.c: Likewise.
10792 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10794         [BZ #18470]
10795         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10796         strnlen.
10797         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10798         Remove variable.
10799         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10800         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10801         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10802         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10803         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10804         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10805         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10806         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10807         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10808         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10810         [BZ #18468]
10811         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10812         weak alias of __wmemchr.  Use libc_hidden_weak.
10813         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10814         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10815         instead of wmemchr.
10817 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10819         [BZ #18383]
10820         * elf/tst-tlsalign-extern.c: New file.
10821         * elf/tst-tlsalign-extern-static.c: New file.
10822         * elf/tst-tlsalign-vars.c: New file.
10823         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10824         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10825         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10826         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10827         (test-xfail-tst-tlsalign-extern-static): New variable.
10829 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10831         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10832         Use variable name _sc_err instead of err.
10833         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10834         instead of ret.
10835         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10836         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10837         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10838         (INLINE_SYSCALL): Likewise.
10840         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10841         * include/string.h (__strnlen): Use libc_hidden_proto.
10842         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10843         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10844         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10845         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10846         (libc_hidden_def): Undefine and redefine.
10847         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10848         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10849         __GI_strnlen.
10850         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10851         libc_hidden_def.
10852         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10854         [BZ #18469]
10855         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10856         weak alias of __towlower.  Use libc_hidden_weak.
10857         (towupper): Rename to __towupper and define as weak alias of
10858         __towupper.  Use libc_hidden_weak.
10859         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10860         (__towupper): Likewise.
10861         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10862         __towlower instead of towlower.
10864 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10866         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10867         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10869 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10871         * sysdeps/aarch64/libm-test-ulps: Update.
10873 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10875         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10876         Define.
10877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10879         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10880         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10881         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10882         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10883         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10885 2015-06-01  Martin Sebor  <msebor@redhat.com>
10887         [BZ #18116]
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10889         (__setcontext): Use extended four-operand version of mtsf whenever
10890         possible.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10892         (__novec_swapcontext): Likewise.
10894 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10896         * benchtests/scripts/compare_bench.py: New file.
10897         * benchtests/scripts/import_bench.py (mean): New function.
10898         (split_list): Likewise.
10899         (do_for_all_timings): Likewise.
10900         (compress_timings): Likewise.
10902         * benchtests/scripts/import_bench.py: New file.
10903         * benchtests/scripts/validate_benchout.py: Import import_bench
10904         instead of jsonschema.
10905         (validate_bench): Remove function.
10906         (main): Use import_bench.
10908 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10910         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10911         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10913 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10917 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10919         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10920         set THREAD_SELF->tid to a magic value and futex-wake it.
10921         Pass its address to the thread_exit system call.
10922         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10923         bit is clear.
10924         * sysdeps/nacl/lowlevellock.h: New file.
10925         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10927         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10928         Add TIMEOUT to current time, don't subtract it.
10930 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10932         [BZ #2981]
10933         [BZ #18422]
10934         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10935         ($(objpfx)tst-audit2.out): Also depend on
10936         $(objpfx)tst-auditmod9b.so.
10937         * elf/tst-audit2.c: Include <dlfcn.h>.
10938         (calloc_called): New.
10939         (calloc): Allow to be called more than once.
10940         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10942 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10944         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10945         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10947 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10949         * stdlib/monetary.h: Fix comment.
10951 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10953         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10954         Avoid using variables in #defines that might cause shadowing.
10955         (INTERNAL_VSYSCALL_CALL): Likewise.
10957 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10959         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10961         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10962         * nptl/lll_timedlock_wait.c: ... to this new file.
10963         * nptl/Makefile (libpthread-routines): Add it.
10964         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10965         * nptl/lll_timedwait_tid.c: ... to this new file.
10966         * nptl/Makefile (libpthread-routines): Add it.
10967         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10968         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10969         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10970         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10971         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10972         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10973         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10974         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10975         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10976         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10978 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10980         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10982         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10984         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10986         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10988         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10989         * sysdeps/unix/sysv/linux/tile/sysdep.h
10990         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10991         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10992         using vDSO syscall macro.
10994 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10996         [BZ #17293]
10997         * uk_UA: Fix sorting order for Ukrainian locale
10999 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11001         * stdlib/monetary.h: Fix comment.
11003 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11005         [BZ #18234]
11006         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11007         st_mtim and st_ctim members.
11008         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11009         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11010         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11011         (struct stat64): Likewise.
11012         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11013         (struct stat64): Likewise.
11014         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11015         (struct stat64): Likewise.
11017 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11019         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11020         Define and include sysdep-vdso.h.
11021         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11022         Likewise.
11023         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11024         Likewise.
11025         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11026         Define with VDSO_SYMBOL and use PTR_MANGLE.
11027         (__vdso_clock_gettime): Likewise.
11028         (__vdso_clock_getres): Likewise.
11029         (_libc_vdso_platform_setup): Likewise.
11030         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11031         Likewise.
11032         (_libc_vdso_platform_setup): Likewise.
11033         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11034         Likewise.
11035         (__vdso_clock_gettime): Likewise.
11036         (__vdso_clock_getres): Likewise.
11037         (__vdso_get_tbfreq): Likewise.
11038         (__vdso_getcpu): Likewise.
11039         (__vdso_time): Likewise.
11040         (__vdso_sigtramp_rt64): Likewise.
11041         (__vdso_signtramp32): Likewise.
11042         (__vdso_sigtramp_rt32): Likewise.
11043         (_libc_vdso_platform_setup): Likewise.
11044         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11045         Likewise.
11046         (__vdso_clock_gettime): Likewise.
11047         (__vdso_clock_getres): Likewise.
11048         (_libc_vdso_platform_setup): Likewise.
11049         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11050         Likewise.
11051         (__vdso_clock_gettime): Likewise.
11052         (_libc_vdso_platform_setup): Likewise.
11053         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11054         Likewise.
11055         (__vdso_getcpu): Likewise.
11056         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11057         Use VDSO_SYMBOL macro to define.
11058         (__vdso_clock_gettime): Likewise.
11059         (__vdso_clock_getres): Likewise.
11060         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11061         Likewise.
11062         (__vdso_clock_gettime): Likewise.
11063         (__vdso_clock_getres): Likewise.
11064         (__vdso_get_tbfreq): Likewise.
11065         (__vdso_getcpu): Likewise.
11066         (__vdso_time): Likewise.
11067         (__vdso_sigtramp_rt64): Likewise.
11068         (__vdso_signtramp32): Likewise.
11069         (__vdso_sigtramp_rt32): Likewise.
11070         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11071         Likewise.
11072         (__vdso_clock_gettime): Likewise.
11073         (__vdso_clock_getres): Likewise.
11074         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11075         Likewise.
11076         (__vdso_clock_gettime): Likewise.
11077         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11080         macro.
11081         (INTERNAL_VSYSCALL): Likewise.
11082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11083         Remove macro.
11084         (INTERNAL_VSYSCALL): Likewise.
11085         (INTERNAL_VSYSCALL_NCS): Likewise.
11086         (INTERNAL_VSYSCALL_CALL): New macro.
11087         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11089         Likewise.
11090         (INTERNAL_VSYSCALL): Likewise.
11091         (INTERNAL_VSYSCALL_NCS): Likewise.
11092         (INTERNAL_VSYSCALL_CALL): New macro.
11093         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11095         (INLINE_VSYSCALL): Remove macro.
11096         (INTERNAL_VSYSCALL): Remove macro.
11097         (INTERNAL_VSYSCALL_NCS): Remove macro.
11098         (INTERNAL_VSYSCALL_CALL): New macro.
11099         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11101         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11102         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11103         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11105         (INLINE_VSYSCALL): Remove macro.
11106         (INTERNAL_VSYSCALL): Likewise.
11107         (INTERNAL_VSYSCALL_NCS): Likewise.
11108         (INTERNAL_VSYSCALL_CALL): New macro.
11109         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11110         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11111         PTR_DEMANGLE on vDSO pointer.
11112         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11113         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11114         macro.
11115         (INTERNAL_SYSCALL): Likewise.
11116         (INTERNAL_VSYSCALL_NCS): Remove macro.
11117         (INTERNAL_VSYSCALL_CALL): New macro.
11118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11119         Remove macro.
11120         (INTERNAL_VSYSCALL): Likewise.
11121         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11122         sysdep-vdso.h instead of libc-vdso.h.
11123         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11124         definition.
11125         (INLINE_VSYSCALL): Likewise.
11126         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11127         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11128         definition.
11129         (INLINE_VSYSCALL): Likewise.
11130         (INTERNAL_VSYSCALL): Likewise.
11131         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11132         * sysdeps/unix/sysv/linux/timespec_get.c
11133         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11134         (timespec_get): Use ANSI prototype.
11135         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11136         and definition for Linux.
11138 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11140         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11141         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11143 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11145         [BZ #2981]
11146         [BZ #18410]
11147         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11148         for missing DT_PLTRELSZ.
11150 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11152         Remove obsolete aliases that broke 'locale -a'
11153         [BZ #18412]
11154         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11155         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11156         breaking some applications that use 'locale -a' output.
11157         Change the encoding of this file from Latin-1 to ASCII to avoid
11158         other potential problems with people grepping this file.
11160 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11162         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11163         -fasynchronous-unwind-tables.
11164         (CFLAGS-sendto.c): Likewise.
11165         (CFLAGS-sendmsg.c): Likewise.
11166         (CFLAGS-connect.c): Likewise.
11167         (CFLAGS-recvmsg.c): Likewise.
11168         (CFLAGS-recvfrom.c): Likewise.
11169         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11170         (SOCKETCALL): New macro: non-cancellable socketcall.
11171         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11173         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11174         * sysdeps/unix/sysv/linux/accept.c: New file.
11175         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11176         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11177         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11178         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11179         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11180         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11181         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11182         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11183         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11184         * sysdeps/unix/sysv/linux/send.c: Likewise.
11185         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11186         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11187         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11188         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11189         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11190         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11191         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11192         prototype.
11193         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11194         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11195         instead of __internal_xxx function.
11196         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11197         prototype.
11198         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11199         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11200         instead of __internal_xxx function.
11201         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11202         prototype.
11203         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11204         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11205         instead of __internal_xxx function.
11206         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11207         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11208         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11209         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11210         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11211         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11212         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11213         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11215         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11216         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11217         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11218         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11219         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11220         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11221         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11222         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11223         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11224         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11225         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11228         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11229         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11230         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11231         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11232         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11233         * sysdeps/unix/sysv/linux/send.S: Likewise.
11234         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11235         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11236         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11237         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11238         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11239         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11240         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11241         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11242         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11243         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11244         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11245         socketcall is implemented in GLIBC.
11247 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11249         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11250         (__fma): Ignore uninitialized warnings around packing.
11251         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11252         (__fmaf): Ignore uninitialized warnings around packing.
11253         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11254         (__fmal): Ignore uninitialized warnings around packing.
11256         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11257         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11259         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11261         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11262         switch statement into default case.
11263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11265         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11266         a conditional in forcing "inexact".
11267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11268         Likewise.
11270 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11272         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11273         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11274         for each INTERNAL_SYSCALL use.
11276 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11278         [BZ #438]
11279         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11280         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11281         variable.
11283         [BZ #18444]
11284         * string/basename.c (basename): Rename to __basename and define as
11285         weak alias of __basename.  Use libc_hidden_weak.
11286         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11287         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11288         __basename instead of basename.
11289         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11290         Remove variable.
11291         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11293 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11295         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11296         (_IO_JUMPS_FILE_plus): New.
11297         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11298         _IO_CAST_FIELD_ACCESS.
11299         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11300         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11301         * libio/freopen.c (freopen): Likewise.
11302         * libio/freopen64.c (freopen64): Likewise.
11303         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11304         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11305         * libio/iofwide.c (_IO_fwide): Likewise.
11306         * libio/memstream.c (open_memstream): Likewise.
11307         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11308         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11309         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11311 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11313         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11314         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11315         NADJ.
11316         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11317         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11318         NADJ.
11319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11320         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11321         NADJ.
11323         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11324         (p == 4) case.
11326         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11327         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11328         Remove variable.
11329         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11330         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11331         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11333 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11335         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11336         Adjust jump table label generation macros.
11338 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11340         * stdio-common/vfprintf.c (vfprintf): Move local variables
11341         args_malloced, specs, specs_malloced, and the code after
11342         do_positional to the printf_positional function.
11343         (printf_positional): New function.
11345 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11347         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11348         function.
11349         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11350         STEP4_TABLE, process_arg): Move macro definitions
11351         out of the vfprintf function.  (Cosmetic change only.)
11353 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11355         * benchtests/Makefile (stdio-common-bench): Define.
11356         (benchset): Add stdio-common-bench.
11357         * sprintf-inputs: New file.
11358         * sprintf-source.c: New file.
11360 2015-05-21  Andreas Schwab  <schwab@suse.de>
11362         [BZ #13028]
11363         [BZ #17053]
11364         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11365         of struct __res_state.
11366         * resolv/res_send.c (__libc_res_nsend): Likewise.
11367         (get_nsaddr): New function.
11368         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11369         statp directly.
11371 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11373         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11374         -D_POSIX_C_SOURCE=199506L.
11376         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11378         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11379         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11380         Do not mention otherwise.
11381         [POSIX] (_XOPEN_VERSION): Do not expect.
11382         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11383         [POSIX] (_POSIX2_C_BIND): Likewise.
11384         [POSIX] (_POSIX2_VERSION): Likewise.
11385         [POSIX] (_XOPEN_XPG2): Likewise.
11386         [POSIX] (_XOPEN_XPG3): Likewise.
11387         [POSIX] (_XOPEN_XPG4): Likewise.
11388         [POSIX] (_XOPEN_UNIX): Likewise.
11389         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11390         [POSIX] (_POSIX_BARRIERS): Likewise.
11391         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11392         [POSIX] (_POSIX_CPUTIME): Likewise.
11393         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11394         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11395         [POSIX] (_POSIX_SHELL): Likewise.
11396         [POSIX] (_POSIX_SPAWN): Likewise.
11397         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11398         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11399         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11400         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11401         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11402         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11403         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11404         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11405         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11406         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11407         [POSIX] (_POSIX2_PBS): Likewise.
11408         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11409         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11410         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11411         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11412         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11413         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11414         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11415         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11416         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11417         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11418         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11419         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11420         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11421         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11422         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11423         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11424         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11425         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11426         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11427         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11428         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11429         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11430         [POSIX] (_SC_2_C_BIND): Likewise.
11431         [POSIX] (_SC_2_C_VERSION): Likewise.
11432         [POSIX] (_SC_2_PBS): Likewise.
11433         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11434         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11435         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11436         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11437         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11438         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11439         [POSIX] (_SC_BARRIERS): Likewise.
11440         [POSIX] (_SC_BASE): Likewise.
11441         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11442         [POSIX] (_SC_DEVICE_IO): Likewise.
11443         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11444         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11445         [POSIX] (_SC_FD_MGMT): Likewise.
11446         [POSIX] (_SC_FIFO): Likewise.
11447         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11448         [POSIX] (_SC_FILE_LOCKING): Likewise.
11449         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11450         [POSIX] (_SC_IOV_MAX): Likewise.
11451         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11452         [POSIX] (_SC_NETWORKING): Likewise.
11453         [POSIX] (_SC_PAGE_SIZE): Likewise.
11454         [POSIX] (_SC_PASS_MAX): Likewise.
11455         [POSIX] (_SC_PIPE): Likewise.
11456         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11457         [POSIX] (_SC_REGEXP): Likewise.
11458         [POSIX] (_SC_SHELL): Likewise.
11459         [POSIX] (_SC_SIGNALS): Likewise.
11460         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11461         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11462         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11463         [POSIX] (_SC_USER_GROUPS): Likewise.
11464         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11465         [POSIX] (_SC_STREAMS): Likewise.
11466         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11467         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11468         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11469         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11470         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11471         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11472         [POSIX] (_PC_FILESIZEBITS): Likewise.
11473         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11474         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11475         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11476         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11477         [POSIX] (uid_t): Likewise.
11478         [POSIX] (gid_t): Likewise.
11479         [POSIX] (off_t): Likewise.
11480         [POSIX] (pid_t): Likewise.
11481         [POSIX] (cuserid): Allow.
11482         (_SC_2_CHAR_TERM): Require constant.
11483         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11484         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11485         variable.
11487 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11489         * sysdeps/nacl/pthread-pids.h: New file.
11490         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11491         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11493         * nptl/pthread-pids.h: New file.
11494         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11495         * nptl/nptl-init.c: Include <pthread-pids.h>.
11496         (__pthread_initialize_minimal_internal):
11497         Call __pthread_initialize_pids instead of set_tid_address syscall.
11499         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11500         * sysdeps/posix/usleep.c: ... here.
11502 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11504         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11505         call_pselect6 object.
11506         [$(subdir) = io]: Remove call_sync_file_range object.
11507         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11508         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11509         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11510         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11512 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11514         * math/s_cproj.c: Add include "math_private.h".
11515         * math/s_cprojf.c: Likewise.
11516         * math/s_cprojl.c: Likewise.
11518 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11520         [BZ #18244]
11521         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11522         high mantissa bit when testing whether P is a NaN.
11523         * math/libm-test.inc (remainder_test_data): Add more tests.
11524         (remquo_test_data): Likewise.
11526         [BZ #18049]
11527         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11528         below -32, return the argument, with underflow if subnormal.
11529         * math/auto-libm-test-in: Add more tests of atanh.
11530         * math/auto-libm-test-out: Regenerated.
11532 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11534         [BZ #18434]
11535         * nptl/tst-sem15.c: New file.
11536         * nptl/Makefile (tests): Add it.
11537         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11538         s/<</>>/ to fix typo in EOVERFLOW check.
11539         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11541 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11543         * manual/strings.texi (envz_remove): Fix typo in safety
11544         annotations.
11546 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11547             Steve Ellcey  <sellcey@imgtec.com>
11549         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11550         in order to avoid strict alias warnings.
11551         (iruserok_af): Ditto for ra.
11553 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11555         [BZ #17581]
11556         * malloc/hooks.c
11557         (magicbyte): Convert to a function and avoid returning 0x01.
11558         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11559         (mem2chunk_check): Fix unsigned comparisons to zero.
11560         Hoist defs of sz and magic.
11562 2015-05-19  Richard Henderson  <rth@redhat.com>
11564         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11566         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11568 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11570         [BZ #16159]
11571         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11572         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11573         (reused_arena): Find a non-corrupt arena.
11574         (heap_trim): Pass arena to unlink.
11575         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11576         malloc_printerr.
11577         (top_check): Likewise.
11578         (free_check): Likewise.
11579         (realloc_check): Likewise.
11580         * malloc/malloc.c (malloc_printerr): Add arena argument.
11581         (unlink): Likewise.
11582         (munmap_chunk): Adjust.
11583         (ARENA_CORRUPTION_BIT): New macro.
11584         (arena_is_corrupt): Likewise.
11585         (set_arena_corrupt): Likewise.
11586         (sysmalloc): Use mmap if there are no usable arenas.
11587         (_int_malloc): Likewise.
11588         (__libc_malloc): Don't fail if arena_get returns NULL.
11589         (_mid_memalign): Likewise.
11590         (__libc_calloc): Likewise.
11591         (__libc_realloc): Adjust for additional argument to
11592         malloc_printerr.
11593         (_int_free): Likewise.
11594         (malloc_consolidate): Likewise.
11595         (_int_realloc): Likewise.
11596         (_int_memalign): Don't touch corrupt arenas.
11597         * malloc/tst-malloc-backtrace.c: New test case.
11599         * Makefile (summarize-tests): Fix return value on success.
11601         * manual/string.texi (Envz Functions): Add envz_remove.
11603 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11605         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11606         (invalid_name): New function, broken out of ...
11607         (__opendirat): ... here.  Call it.
11608         (need_isdir_precheck): New function, broken out of ...
11609         (__opendirat): ... here.  Call it.
11610         Use __fxstatat64, not __xstatat64.
11611         (opendir_oflags): New function, broken out of ...
11612         (__opendirat): ... here.  Call it.
11613         (opendir_tail): New function, broken out of ...
11614         (__opendirat): ... here.  Call it.
11615         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11616         opendir_tail, rather than punting to __opendirat.
11617         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11619 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11621         * .gitignore: Ignore generated *.pyc.
11623 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11625         * include/stdio.h: Define __need_wint_t.
11626         * test-skeleton.c: Avoid `for' loop initial declaration.
11627         * nptl/tst-initializers1.c: Use test-skeleton.c.
11629 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11631         [BZ #18418]
11632         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11634 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11636         [BZ #16352]
11637         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11638         (__ieee754_atanh): Force underflow exception for results with
11639         small absolute value.
11640         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11641         (__ieee754_atanhf): Force underflow exception for results with
11642         small absolute value.
11643         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11644         (__ieee754_atanh): Force underflow exception for results with
11645         small absolute value.
11646         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11647         (__ieee754_atanhf): Force underflow exception for results with
11648         small absolute value.
11649         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11650         (__ieee754_atanhl): Force underflow exception for results with
11651         small absolute value.
11652         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11653         (__ieee754_atanhl): Force underflow exception for results with
11654         small absolute value.
11655         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11656         (__ieee754_atanhl): Force underflow exception for results with
11657         small absolute value.
11658         * math/auto-libm-test-in: Do not allow missing underflow
11659         exceptions from atanh.
11660         * math/auto-libm-test-out: Regenerated.
11662         [BZ #18221]
11663         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11664         2**-28 as threshold for returning x or +/- 1/x.
11665         * math/auto-libm-test-in: Add more tests of tan.
11666         * math/auto-libm-test-out: Regenerated.
11668         [BZ #18220]
11669         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11670         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11671         * math/auto-libm-test-in: Add another test of lgamma.
11672         * math/auto-libm-test-out: Regenerated.
11674 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11676         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11677         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11678         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11679         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11680         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11681         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11682         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11685         (log1): Use fabs.  (my_log2): Use fabs.
11686         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11687         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11689         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11691         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11692         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11693         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11694         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11695         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11696         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11698 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11700         [BZ #18217]
11701         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11702         as threshold for returning 1 - x.
11703         * math/auto-libm-test-in: Add more tests of erfc.
11704         * math/auto-libm-test-out: Regenerated.
11706 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11708         [BZ #18196]
11709         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11710         threshold for large arguments.
11711         * math/auto-libm-test-in: Add another test of atan.
11712         * math/auto-libm-test-out: Regenerated.
11714         [BZ #16339]
11715         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11716         (__log1p): Force underflow exception for results with small
11717         absolute value.
11718         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11719         (__log1pf): Force underflow exception for results with small
11720         absolute value.
11721         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11722         (__log1p): Force underflow exception for results with small
11723         absolute value.
11724         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11725         (__log1pf): Force underflow exception for results with small
11726         absolute value.
11727         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11728         (__log1pl): Force underflow exception for results with small
11729         absolute value.
11730         * math/auto-libm-test-in: Do not allow missing underflow
11731         exceptions from log1p.
11732         * math/auto-libm-test-out: Regenerated.
11734 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11737         [BZ #16704]
11738         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11740 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11742         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11743         (libmvec): New variable.
11744         * configure.ac: Added option for mathvec build.
11745         * configure: Regenerated.
11746         * mathvec/Depend: New file.
11747         * mathvec/Makefile: New file.
11748         * shlib-versions: Added libmvec.
11749         * math/Makefile: Added rule for libm.so installation.
11751         * bits/math-vector.h: New file.
11752         * bits/libm-simd-decl-stubs.h: New header.
11753         * math/Makefile (headers): Added new header
11754         libm-simd-decl-stubs.h.
11755         * math/math.h (__MATHCALL_VEC): New macro.
11757         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11758         for conditions in testing functions.
11759         * math/Makefile: Added call of libm-have-vector-test.sh.
11760         * math/libm-test.inc (HAVE_VECTOR): New macros.
11762         * math/libm-test.inc: START refactored.
11763         * math/test-double.c (TEST_MATHVEC): Add define.
11764         * math/test-float.c: Likewise.
11765         * math/test-idouble.c: Likewise.
11766         * math/test-ifloat.c: Likewise.
11767         * math/test-ildoubl.c: Likewise.
11768         * math/test-ldouble.c: Likewise.
11769         * sysdeps/generic/math-tests-arch.h
11770         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11771         architecture check.
11773         * math/test-double.c (FUNC_TEST): New macro.
11774         * math/test-float.c: Likewise.
11775         * math/test-idouble.c: Likewise.
11776         * math/test-ifloat.c: Likewise.
11777         * math/test-ildoubl.c: Likewise.
11778         * math/test-ldouble.c: Likewise.
11779         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11781 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11783         * sysdeps/nacl/fdopendir.c: New file.
11785         * dirent/scandir-tail.c: New file.
11786         * dirent/scandir64-tail.c: New file.
11787         * dirent/Makefile (routines): Add them.
11788         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11789         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11790         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11791         [!SCANDIR] (SCANDIR_TAIL): New macro.
11792         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11793         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11794         (SCANDIRAT): Macro removed.
11795         (SCANDIR_TAIL): New macro.
11796         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11797         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11798         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11799         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11800         (READDIR): Macro removed.
11801         (SCANDIR_TAIL): New macro.
11802         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11803         (SCANDIR_TAIL): New macro.
11805         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11806         * dirent/scandir-cancel.c: ... to this new file.
11807         * dirent/Makefile (routines): Add it.
11808         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11809         * sysdeps/unix/sysv/linux/i386/scandir64.c
11810         (SKIP_SCANDIR_CANCEL): Macro removed.
11811         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11813         * dirent/tst-scandir.c: New file.
11814         * dirent/tst-scandir64.c: New file.
11815         * dirent/Makefile (tests): Add them.
11817 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11819         [BZ #18409]
11820         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11822 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11824         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11825         list.
11827 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11829         * benchtests/bench-strcoll.c: New benchmark.
11830         * benchtests/Makefile: Generate locales and run benchmark.
11831         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11832         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11833         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11834         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11835         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11836         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11837         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11838         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11839         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11840         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11841         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11842         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11843         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11844         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11845         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11846         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11847         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11848         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11849         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11850         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11851         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11852         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11853         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11854         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11856 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11858         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11859         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11861 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11863         * posix/uname-values.h: New file.
11864         * posix/uname.c: Include that instead of <config-name.h>.
11865         * sysdeps/nacl/uname-values.h: New file.
11866         * sysdeps/arm/nacl/uname-values.h: New file.
11868 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11870         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11871         splitting into fields.
11873 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11875         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11876         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11877         * locale/localeinfo.h: Add enum collation_encoding_type.
11878         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11879         * programs/ld-collate.c (collate_output): Add encoding type info.
11880         * string/strcoll_l.c (STRDIFF): New function.
11881         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11882         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11884 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11886         [BZ #18397]
11887         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11888         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11889         <fpu_control.h> instead of <math/fpu_control.c>.
11890         * sysdeps/mips/mips32/fpu/Makefile: New file.
11892 2015-05-11  Andreas Schwab  <schwab@suse.de>
11894         [BZ #18007]
11895         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11896         nss_endgrent.
11897         (_nss_compat_endgrent): Call nss_endgrent.
11898         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11899         nss_endpwent.
11900         (_nss_compat_endpwent): Call nss_endpwent.
11901         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11902         needent, call nss_setspent only if non-zero.
11903         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11904         (internal_endspent): Don't call nss_endspent.
11905         (_nss_compat_endspent): Call nss_endspent.
11906         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11907         Remove.  All uses removed.
11908         (internal_setent): Remove parameter stayopen, add parameter
11909         stream.  Use it instead of global variable.
11910         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11911         (internal_endent, internal_getent): Add parameter stream.  Use it
11912         instead of global variable.
11913         (CONCAT(_nss_files_end,ENTNAME))
11914         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11915         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11916         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11917         uses removed.
11918         (internal_setent, internal_endent): Add parameter stream.  Use it
11919         instead of global variable.
11920         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11921         stream.
11922         (get_next_alias): Add parameter stream.
11923         (_nss_files_getaliasent_r): Pass global stream.
11924         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11925         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11926         (_nss_files_gethostbyname4_r): Pass local stream to
11927         internal_setent, internal_getent and internal_endent.  Remove
11928         locking.
11930 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11932         * tst-strfmon1.c (tests): Update expected currency symbol.
11934 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11936         * sysdeps/nacl/gethostname.c: New file.
11938 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11940         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11941         and sinh.
11942         * math/auto-libm-test-out: Regenerated.
11943         * sysdeps/i386/fpu/libm-test-ulps: Update.
11944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11946 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11948         [BZ #18125]
11949         * stdlib/tst-setcontext3.c: New file.
11950         * stdlib/tst-setcontext3.sh: New file.
11951         * stdlib/Makefile (tests): Add tst-setcontext3.
11952         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11953         to verify test program created output file.
11954         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11955         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11956         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11957         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11959 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11961         [BZ #18383]
11962         * elf/tst-tlsalign.c: New file.
11963         * elf/tst-tlsalign-static.c: New file.
11964         * elf/tst-tlsalign-lib.c: New file.
11965         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11966         (tests-static): Add tst-tlsalign-static.
11967         (modules-names): Add tst-tlsalign-lib.
11968         (test-xfail-tst-tlsalign): New variable.
11969         (test-xfail-tst-tlsalign-static): New variable.
11971         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11972         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11974 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11976         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11977         csqrt, erfc, sin and sincos.
11978         * math/auto-libm-test-out: Regenerated.
11979         * sysdeps/i386/fpu/libm-test-ulps: Update.
11980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11984         * sysdeps/aarch64/libm-test-ulps: Update.
11986 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11988         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11989         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11990         * math/auto-libm-test-out: Regenerated.
11991         * sysdeps/i386/fpu/libm-test-ulps: Update.
11992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11996         [BZ #18265]
11997         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11998         (wcsncpy): Likewise.
12000 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12002         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12003         Assume __ASSUME_FALLOCATE is always true.
12004         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12005         (__posix_fallocate64_l64): Likweise.
12006         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12007         (posix_fallocate): Likewise.
12008         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12009         (__posix_fallocate64_l64): Likewise.
12010         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12011         [!__ASSUME_FALLOCATE]: Add comment.
12013 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12015         * sysdeps/unix/sysv/linux/i386/Makefile
12016         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12017         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12018         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12019         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12020         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12021         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12022         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12024 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12026         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12027         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12028         tgamma.
12029         * math/auto-libm-test-out: Regenerated.
12030         * sysdeps/i386/fpu/libm-test-ulps: Update.
12031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12033 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12035         * math/auto-libm-test-in: Add more tests of tgamma.
12036         * math/auto-libm-test-out: Regenerated.
12037         * sysdeps/i386/fpu/libm-test-ulps: Update.
12038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12040         * math/auto-libm-test-in: Add more tests of tanh.
12041         * math/auto-libm-test-out: Regenerated.
12042         * sysdeps/i386/fpu/libm-test-ulps: Update.
12043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12045         * math/auto-libm-test-in: Add more tests of tan.
12046         * math/auto-libm-test-out: Regenerated.
12047         * sysdeps/i386/fpu/libm-test-ulps: Update.
12048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12050         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12051         * math/auto-libm-test-out: Regenerated.
12052         * sysdeps/i386/fpu/libm-test-ulps: Update.
12053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12055         * math/auto-libm-test-in: Add another test of pow.
12056         * math/auto-libm-test-out: Regenerated.
12057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12059         * math/auto-libm-test-in: Add more tests of lgamma.
12060         * math/auto-libm-test-out: Regenerated.
12061         * sysdeps/i386/fpu/libm-test-ulps: Update.
12062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12064         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12065         log1p.
12066         * math/auto-libm-test-out: Regenerated.
12067         * sysdeps/i386/fpu/libm-test-ulps: Update.
12068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12070 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12072         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12073         Elf64_Chdr structs and ELFCOMPRESS constants.
12075 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12077         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12078         expm1.
12079         * math/auto-libm-test-out: Regenerated.
12080         * sysdeps/i386/fpu/libm-test-ulps: Update.
12081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083         * math/auto-libm-test-in: Add more tests of erf and erfc.
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  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12090         * config.h.in (HAVE_AARCH64_BE): Add.
12092 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12094         * math/auto-libm-test-in: Add more tests of csqrt.
12095         * math/auto-libm-test-out: Regenerated.
12096         * sysdeps/i386/fpu/libm-test-ulps: Update.
12097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12099         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12100         * math/auto-libm-test-out: Regenerated.
12101         * sysdeps/i386/fpu/libm-test-ulps: Update.
12102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12104         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12106 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12108         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12109         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12111         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12112         (euidaccess, eaccess): Define as weak aliases.
12114         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12115         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12116         but __suseconds_t is often 'long int' so some sources assume that
12117         type is being used (e.g. they use %ld to print tv_usec).
12119 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12121         [BZ #18007]
12122         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12123         (CVE-2014-8121)
12124         * nss/tst-nss-getpwent.c: New file.
12125         * nss/Makefile (tests): Add new test.
12127 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12129         [BZ #18346]
12130         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12131         exponents less than 48 as cases where high part of mantissa needs
12132         examining to determine whether argument is integral.
12133         * math/libm-test.inc (round_test_data): Add more tests.
12135 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12137         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12139 2015-04-27  David S. Miller  <davem@davemloft.net>
12141         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12142         __tls_get_addr.
12143         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12145 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12147         [BZ#18333]
12148         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12150 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12152         [BZ#18333]
12153         * time/tzset.c (parse_tzname): Return error on memory allocation
12154         failure.
12155         * test-skeleton.c (struct temp_name_list): Change type of name
12156         member to non-const.
12157         (add_temp_file): Create a copy of the file name.
12158         (delete_temp_files): Deallocate memory.
12159         (create_temp_file): Add comment.
12161 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12163         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12164         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12166 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12168         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12169         * sysdeps/arm/configure: Regenerated.
12171 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12173         [BZ #17715]
12174         * time/tzfile.c (__tzfile_read): Check for large values of
12175         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12176         * time/tzset.c (__tzstring_len): New function, based on the old
12177         __tzstring function.
12178         (__tzstring): Call __tzstring_len.
12179         (parse_tzname): New helper function extracted from
12180         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12181         the input string.
12182         (parse_offset): New helper function extracted from
12183         __tzset_parse_tz.  Replace switch with fallthrough with
12184         initialization before sscanf.
12185         (parse_rule): Likewise.
12186         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12187         new-style function definition.
12188         * timezone/Makefile (tests): Add tst-tzset.
12189         (tst-tzset.out): Dependencies on time zone files.
12190         (tst-tzset-ENV): Set TZDIR.
12191         (testdata/XT%): Copy crafted time zone files.
12192         * timezone/README: Mention crafted time zone files.
12193         * timezone/testdata/XT1, timezone/testdata/XT2,
12194         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12195         files.
12196         * timezone/tst-tzset.c: New test.
12198 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12200         * Makeconfig (+gccwarn): Remove -Winline.
12202 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12204         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12206 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12208         * NEWS: Mention sysconf() cache information support for s390.
12209         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12211 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12213         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12214         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12215         (__nearbyint): Likewise.
12216         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12217         (copysignl): Likewise.
12219 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12221         [BZ #18287]
12222         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12223         based on padding.  (CVE-2015-1781)
12225 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12227         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12228         libc-vdso.h.
12229         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12230         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12231         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12232         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12233         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12234         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12235         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12237         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12240         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12241         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12242         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12243         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12244         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12245         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12247         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12248         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12249         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12250         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12251         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12253 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12255         * stdlib/setenv.c (__add_to_environ):
12256         Dump core quickly if setenv (..., NULL, ...) is called.
12257         This time, do it the right way, and pacify GCC with a pragma.
12259 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12261         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12262         IMAP->l_prev cannot be null, and #if out the code for the contrary
12263         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12264         believe that NS (&_dl_ns[NSID]) could point outside the array.
12266         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12267         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12268         before using NSID as an index.
12270 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12272         [BZ #17825]
12273         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12274         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12275         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12277 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12279         Add preliminary port to Google Native Client on ARM.
12280         * abi-tags (.*-.*-nacl.*): New entry.
12281         * sysdeps/arm/nacl: New directory.
12282         * sysdeps/nacl: New directory.
12284 2015-04-16  David S. Miller  <davem@davemloft.net>
12286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12287         lowlevellock-futex.h
12289 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12291         * sysdeps/tile/configure.ac: New file.
12292         * sysdeps/tile/configure: Regenerated.
12294 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12296         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12297         conditionals for weak_alias and libc_hidden_weak.
12298         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12299         libc_hidden_weak and weak_alias.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12301         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12302         and weak_alias for static one.
12304 2015-04-15  David S. Miller  <davem@davemloft.net>
12306         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12308 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12310         [BZ #18206]
12311         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12312           Use signed comparision instead of substraction to avoid
12313           overflow bug.
12314         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12315           Take the sign of ret.
12316         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12317           Do not expect precise return values. Only the sign matters.
12318         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12319         * wcsmbs/test-wcsncmp.c: New File.
12320         * string/test-strncmp.c: Add wcsncmp support.
12322 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12324         [BZ #6792]
12325         * math/w_log1p.c: New file.
12326         * math/w_log1pf.c: Likewise.
12327         * math/w_log1pl.c: Likewise.
12328         * math/Makefile (libm-calls): Add w_log1p.
12329         * math/s_log1pl.c (log1pl): Remove weak_alias.
12330         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12331         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12332         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12333         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12334         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12335         [NO_LONG_DOUBLE] (log1pl): Likewise.
12336         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12337         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12338         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12339         (log1p): Remove long_double_symbol.
12340         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12341         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12342         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12343         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12344         remove weak_alias for corresponding log1p function.
12345         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12346         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12347         * sysdeps/ia64/fpu/w_log1p.c: New file.
12348         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12349         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12350         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12352 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12354         [BZ #18247]
12355         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12356         decimal exponent by 1.
12357         * stdlib/tst-strtod-round-data: Add more tests.
12358         * stdlib/tst-strtod-round.c (tests): Regenerated.
12360 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12362         * math/auto-libm-test-in: Add more tests of clog and clog10.
12363         * math/auto-libm-test-out: Regenerated.
12364         * sysdeps/i386/fpu/libm-test-ulps: Update.
12365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12367 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12369         * Makeconfig (module-cppflags): Exclude all .v.i files.
12370         (skip-module-cppflags): Variable removed.
12372         * configure.ac (libc_config_ok): Initialize before reading
12373         preconfigure scripts, not after.
12374         * configure: Regenerated.
12376         * test-skeleton.c (TIMEOUT): Move #define to top level.
12377         (main): Grok environment variable TEST_DIRECT.  If set, print
12378         test expectation details into that file and then behave as if
12379         given --direct.
12381 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12383         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12384         warning on 32-bit.
12386 2015-04-08  David S. Miller  <davem@davemloft.net>
12388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12390 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12392         * math/auto-libm-test-in: Add more tests of atanh.
12393         * math/auto-libm-test-out: Regenerated.
12394         * sysdeps/i386/fpu/libm-test-ulps: Update.
12395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12397         * math/auto-libm-test-in: Add more tests of atan.
12398         * math/auto-libm-test-out: Regenerated.
12399         * sysdeps/i386/fpu/libm-test-ulps: Update.
12400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12402 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12404         * elf/pldd.c (main): Rewrite to use struct
12405         scratch_buffer instead of extend_alloca.
12406         * elf/pldd-xx.c (find_maps): Likewise.
12407         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12408         <alloca.h>.
12409         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12410         scratch_buffer instead of extend_alloca.
12411         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12412         grp/compat-initgroups.c.
12413         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12414         Rewrite to use struct scratch_buffer instead of extend_alloca.
12415         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12416         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12418 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12420         * math/auto-libm-test-in: Add more tests of cbrt.
12421         * math/auto-libm-test-out: Regenerated.
12422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12424         * math/auto-libm-test-in: Add more tests of cabs.
12425         * math/auto-libm-test-out: Regenerated.
12426         * sysdeps/i386/fpu/libm-test-ulps: Update.
12427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12429         [BZ #18210]
12430         [BZ #18211]
12431         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12432         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12433         computations.
12434         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12435         clog10.
12436         * math/auto-libm-test-out: Regenerated.
12437         * sysdeps/i386/fpu/libm-test-ulps: Update.
12438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12440         [BZ #18197]
12441         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12442         (atan): Set FE_TONEAREST mode for internal computations.
12443         * math/auto-libm-test-in: Add more tests of atan.
12444         * math/auto-libm-test-out: Regenerated.
12446 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12448         [BZ #17930]
12449         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12451 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12453         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12455 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12457         * include/scratch_buffer.h: New file.
12458         * malloc/scratch_buffer_grow.c: Likewise.
12459         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12460         * malloc/scratch_buffer_set_array_size.c: Likewise.
12461         * malloc/tst-scratch_buffer.c: Likewise.
12462         * malloc/Makefile (routines): Add scratch_buffer_grow.
12463         (tests): Add test case.
12464         * malloc/Versions (GLIBC_PRIVATE): Export
12465         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12466         __libc_scratch_buffer_set_array_size.
12468 2015-04-06  Richard Henderson  <rth@redhat.com>
12470         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12471         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12473         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12474         unsigned int before printing.
12476 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12478         [BZ #17596]
12479         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12480         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12482 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12484         * include/libc-internal.h (libc_max_align_t): Define.
12486 2015-04-02  Andreas Schwab  <schwab@suse.de>
12488         [BZ #16850]
12489         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12491 2015-04-02  Mel Gorman  <mgorman@suse.de>
12493         [BZ #17195]
12494         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12495         as well as the main arena.
12497 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12499         [BZ #18185]
12500         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12501         sharing L2 cache to 2 for Silvermont/Knights Landing.
12503 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12505         [BZ #17711]
12506         * config.make.in (have-protected-data): New.
12507         * configure.ac: Check linker support for protected data symbol.
12508         * configure: Regenerated.
12509         * elf/Makefile (modules-names): Add tst-protected1moda and
12510         tst-protected1modb if $(have-protected-data) is yes.
12511         (tests): Add tst-protected1a and tst-protected1b if
12512         $(have-protected-data) is yes.
12513         ($(objpfx)tst-protected1a): New.
12514         ($(objpfx)tst-protected1b): Likewise.
12515         (tst-protected1modb.so-no-z-defs): Likewise.
12516         * elf/tst-protected1a.c: New file.
12517         * elf/tst-protected1b.c: Likewise.
12518         * elf/tst-protected1mod.h: Likewise.
12519         * elf/tst-protected1moda.c: Likewise.
12520         * elf/tst-protected1modb.c: Likewise.
12522 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12524         [BZ #17711]
12525         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12526         indicates it is called from do_lookup_x on relocation against
12527         protected data, skip the data definion in the executable from
12528         copy reloc.
12529         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12530         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12531         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12532         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12533         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12534         otherwise to 0.
12535         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12536         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12537         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12538         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12539         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12540         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12542 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12544         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12545         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12547 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12549         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12550         THREAD_SETMEM_NC.
12551         * sysdeps/x86_64/nptl/tls.h: Ditto.
12553 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12555         * dlfcn/tststatic.c (main): Converted to ...
12556         (do_test): ... this.
12557         (TEST_FUNCTION): New macro.
12558         Include test-skeleton.c.
12560 2015-03-26  Alan Modra  <amodra@gmail.com>
12562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12563         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12564         zero for undefined weak.
12565         (elf_machine_plt_conflict): Similarly.
12567 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12569         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12570         atanh.
12571         * math/auto-libm-test-out: Regenerated.
12572         * sysdeps/i386/fpu/libm-test-ulps: Update.
12573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12575         * math/auto-libm-test-in: Add another test of asin.
12576         * math/auto-libm-test-out: Regenerated.
12577         * sysdeps/i386/fpu/libm-test-ulps: Update.
12578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12580         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12581         Remove macro.
12582         (LLL_EBX_REG): Likewise.
12583         (LLL_ENTER_KERNEL): Likewise.
12585         * math/auto-libm-test-in: Add more tests of asin.
12586         * math/auto-libm-test-out: Regenerated.
12587         * sysdeps/i386/fpu/libm-test-ulps: Update.
12588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590         [BZ #18138]
12591         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12592         libc_do_syscall_args): New structure.
12593         (INTERNAL_SYSCALL_MAIN_0): New macro.
12594         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12595         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12596         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12597         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12598         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12599         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12600         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12601         Replace conditional definitions by conditional definitions of ....
12602         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12603         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12604         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12605         (libpthread-sysdep_routines): Add libc-do-syscall.
12606         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12608         to __NR_futex not 240.
12610 2015-03-25  Alan Modra  <amodra@gmail.com>
12612         * NEWS: Advertise TLS optimization.
12613         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12614         (DT_PPC_NUM): Increment.
12615         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12616         (CHECK_STATIC_TLS): Use here.
12617         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12618         TLS descriptors.
12619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12620         * sysdeps/powerpc/dl-tls.c: New file.
12621         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12622         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12623         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12624         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12629 2015-03-25  Alan Modra  <amodra@gmail.com>
12631         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12632         for overlapping .opd entries" to "support...".
12633         * sysdeps/powerpc/powerpc64/configure: Regenerate
12635 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12637         * math/auto-libm-test-in: Add more tests of acos.
12638         * math/auto-libm-test-out: Regenerated.
12639         * sysdeps/i386/fpu/libm-test-ulps: Update.
12640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12642         * math/auto-libm-test-in: Add more tests of expm1.
12643         * math/auto-libm-test-out: Regenerated.
12644         * sysdeps/i386/fpu/libm-test-ulps: Update.
12645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12649         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12650         * math/auto-libm-test-out: Regenerated.
12651         * sysdeps/i386/fpu/libm-test-ulps: Update.
12652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12657         * math/auto-libm-test-in: Add more tests of log2.
12658         * math/auto-libm-test-out: Regenerated.
12659         * sysdeps/i386/fpu/libm-test-ulps: Update.
12660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12662 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12664         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12665         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12666         _IO_IS_APPENDING bit in READ_WRITE instead.
12668 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12670         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12671         (__determine_cpumask_size): Replace extend_alloca with a
12672         variable-length array.  Do not treat res == 0 as an error.
12674 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12676         [BZ #18100]
12677         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12678         and integer overflow.
12679         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12680         (main): Add integer overflow tests.
12681         * manual/pattern.texi (Calling Wordexp): Document additional use
12682         for WRDE_SYNTAX.
12684 2015-03-23  Alan Modra  <amodra@gmail.com>
12686         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12687         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12688         and false branch of conditional.
12689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12690         Likewise.
12692 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12694         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12695         libc-modules.h
12696         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12697         unused declaration of _hurd_intr_rpc_msg_in_trap.
12698         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12699         defined instead of whether it is non-zero.
12700         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12701         input constraint instead of both input and output constraint.  Use ecx
12702         clobber instead of %ecx.
12703         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12704         mutex_unlock): Use a statement expression instead of an expression list.
12705         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12706         type to vm_size_t instead of vm_address_t.
12707         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12708         defined instead of whether it is non-zero.
12709         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12710         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12711         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12712         comparisons with mapaddr.
12713         * nscd/nscd-client.h: Include <time.h>.
12714         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12715         9th parameter to __vm_region instead of int.
12716         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12717         * scripts/check-local-headers.sh (exclude): Add device/,
12718         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12719         cthreads.h.
12721 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12723         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12724         to account for alignment padding.
12725         * sysdeps/arm/memmove.S: Likewise.
12727 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12729         * sysdeps/unix/sysv/linux/generic/README: New file.
12731 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12733         [BZ #18138]
12734         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12735         (futex_abstimed_wait)
12736         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12737         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12738         of lll_futex_timed_wait.
12740 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12742         [BZ #17542]
12743         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12745 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12747         [BZ #17090]
12748         [BZ #17620]
12749         [BZ #17621]
12750         [BZ #17628]
12751         * NEWS: Update.
12752         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12753         entries with Static TLS too.  Skip entries past the end of the
12754         allocated DTV, from Alan Modra.
12755         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12756         Static TLS DTV entry set up from...
12757         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12758         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12759         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12760         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12761         for Static TLS.
12762         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12763         that the slot we find is associated with the given map before
12764         using its generation count.
12765         * nptl_db/db_info.c: Include ldsodefs.h.
12766         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12767         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12768         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12769         (link_map::l_tls_offset): New struct field.
12770         (dtv_t::counter): Likewise.
12771         (rtld_global): New struct.
12772         (_rtld_global): New rtld variable.
12773         (dl_tls_dtv_slotinfo_list): New rtld global field.
12774         (dtv_slotinfo_list): New struct.
12775         (dtv_slotinfo): Likewise.
12776         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12777         (td_lookup): Rename to...
12778         (td_mod_lookup): ... this.  Use new mod parameter instead of
12779         LIBPTHREAD_SO.
12780         * nptl_db/td_thr_tlsbase.c: Include link.h.
12781         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12782         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12783         addresses even if the DTV is out of date or missing them.
12784         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12785         index zero-length arrays.
12786         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12787         (td_lookup): Make it a macro implemented in terms of...
12788         (td_mod_lookup): ... this declaration.
12789         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12790         (DB_MAIN_VARIABLE): Likewise.
12792 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12794         [BZ #18134]
12795         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12797 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12799         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12801 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12803         [BZ #18128]
12804         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12805         (atomic_add, atomic_increment_and_test)
12806         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12808 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12810         * stdlib/setenv.c (__add_to_environ):
12811         Dump core quickly if setenv (..., NULL, ...) is called.
12813 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12815         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12816         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12817         all the necessary asm magic in one place.
12818         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12819         using those.
12821 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12823         [BZ #14906]
12824         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12825         traced file mtime. Use consistent log message.
12826         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12827         (register_traced_file): Call install_watches. Always set mtime.
12828         (invalidate_cache): Iterate over all trace files. Call install_watches.
12829         (inotify_check_files): Don't inline. Handle watching parent
12830         directories and configuration file movement in and out.
12831         (handle_inotify_events): New function.
12832         (main_loop_poll): Call handle_inotify_events.
12833         (main_loop_epoll): Likewise.
12834         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12835         (struct traced_file): Use array of inotify fds. Add parent directory,
12836         and basename.
12837         (struct database_dyn): Remove unused file_mtime.
12838         (init_traced_file): New inline function.
12839         (define_traced_file): New macro.
12840         * nss/nss_db/db-init.c: Use define_traced_file.
12841         (_nss_db_init): Use init_traced_file.
12842         * nss/nss_files/files-init.c: Use define_traced_file.
12843         (_nss_files_init): Use init_traced_file.
12845 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12847         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12848         [_LIBC]: Do not include <stdlib.h>.
12849         [!_LIBC] (abort): Remove declaration.
12850         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12851         _FP_STATIC_ASSERT instead of conditionally calling abort.
12852         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12853         (_FP_EXTEND_CNAN): Likewise.
12854         (FP_TRUNC): Likewise.
12855         (__FP_CLZ): Likewise.
12856         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12858 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12860         * manual/string.texi (XPG basename): Fix prototype.
12862 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12864         [BZ #18080]
12865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12866         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12867         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12868         (__setcontext): Likewise.
12869         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12870         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12871         Call rt_sigprocmask syscall one time to set new signal mask
12872         and retrieve the current signal mask instead of two calls.
12873         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12874         (__swapcontext): Likewise.
12875         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12876         * stdlib/tst-setcontext2.c: New file.
12878 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12880         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12882 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12884         [BZ #18093]
12885         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12886         the wrong size.
12888 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12890         [BZ #18043]
12891         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12893 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12895         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12896         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12897         Remove define.
12898         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12899         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12900         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12901         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12902         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12903         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12904         define.
12905         * nptl_db/td_symbol_list.c (td_lookup): Remove
12906         HAVE_ASM_GLOBAL_DOT_NAME code.
12907         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12908         HAVE_ASM_GLOBAL_DOT_NAME check.
12909         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12910         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12911         (DOT_LABEL): Remove define.
12912         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12913         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12914         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12915         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12916         (__TLS_GET_ADDR): Likewise.
12917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12918         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12920 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12922         [BZ #18111]
12923         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12924         (_FPU_SETCW): Initialize cw from fpsr before storing.
12925         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12926         (fesetexceptflag): Rewrite using fpu_control.h.
12927         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12929 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12931         [BZ #18110]
12932         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12933         asms.
12934         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12936 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12938         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12939         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12940         abort.
12941         (_FP_FMA): Likewise.
12942         (_FP_DIV): Likewise.
12944 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12946         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12947         with 0 in that case.
12948         * Makefile (summarize-tests): New canned sequence, factored out of
12949         commands for targets tests and xtests.  Display summary lines that
12950         don't start with PASS: or XFAIL: rather than ones that do start with
12951         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12952         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12953         do start with ERROR: or FAIL:.
12954         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12955         (except for [$(build-shared) = yes]).
12956         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12957         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12958         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12959         * nptl/Makefile: Revert 2015-03-04 changes.
12960         [$(CXX) empty] (tests-unsupported): New variable.
12961         * debug/Makefile: Likewise.
12963         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12964         gnulib file.  Replace __attribute with __attribute__ throughout.
12966 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12968         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12970 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12972         [BZ #18104]
12973         * math/auto-libm-test-in: Add another test of pow.
12974         * math/auto-libm-test-out: Regenerated.
12976 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12978         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12979         $(config-cflags-nofma).
12981 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12983         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12984         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12985         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12986         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12987         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12988         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12989         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12990         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12991         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12992         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12993         Add comment on closing #endif.
12995 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12997         * posix/wordexp.c (CHAR_IN_SET): New macro.
12998         (parse_param): Use it.
13000 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13002         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13004 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13006         [BZ #18043]
13007         * posix/wordexp.c (parse_param): Fix buffer overflow.
13008         * posix/wordexp-test.c (test_case): Add test case.
13010 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13012         [BZ #18042]
13013         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13014         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13016 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13018         [BZ #18043]
13019         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13020         (do_bz18043): Delete.
13021         (at_page_end): New.
13022         (testit): Refactor to have words at the edge of unreadable page.
13024 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13026         [BZ #16734]
13027         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13028         Cleanup read-only streams as well.
13029         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13031 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13033         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13034         <bits/libc-lockP.h>
13036 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13038         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13039         on [__KERNEL__].
13040         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13041         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13042         * soft-fp/op-common.h (_FP_DECL): Likewise.
13044 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13046         * elf/ifuncdep2.c (global): Replace
13047         __attribute__((visibility("protected"))) with
13048         asm (".protected global").
13049         * elf/ifuncmod1.c (global): Likewise.
13050         * elf/ifuncmod5.c (global): Likewise.
13052 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13054         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13055         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13057 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13059         * manual/install.texi (Configuring and compiling):
13060         Document test-wrapper-env-only.
13061         * INSTALL: Regenerated.
13063 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13065         [BZ #18043]
13066         * posix/wordexp.c (parse_param): Fix buffer overflow.
13067         * posix/wordexp-test.c (do_bz18043): Add test case.
13069 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13071         * time/tst-strptime2.c (do_test): Ensure failing tests are
13072         reported correctly.
13073         * time/tst-strptime3.c (do_test): Likewise.
13075 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13077         Fix aio_error thread-safety.
13078         * sysdeps/pthread/aio_error.c: New file
13079         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13080         synchronization.
13082 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13084         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13085         (group_number, vfprintf): Use it.
13086         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13087         (JUMP, REF): Use it.
13088         (WORK_BUFFER_SIZE): New enum constant.
13089         (process_arg, vfprintf): Use it.
13091 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13093         * manual/errno.texi (Error Messages): Complete example function
13094         by adding missing #define.
13095         (program_invocation_name): Add statement indicating GNU
13096         extension and reference which header file declares the variable.
13097         (program_invocation_short_name): Likewise.
13099 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13101         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13102         compatibility note.
13104 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13106         * Makeconfig (test-wrapper-env-only): New variable.
13107         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13108         then use that with $(test-wrapper-env-only) rather than using
13109         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13111 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13113         [BZ #18082]
13114         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13115         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13116         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13117         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13118         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13119         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13120         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13121         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13122         Likewise.
13123         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13124         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13125         Likewise.
13126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13127         Likewise.
13128         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13129         Likewise.
13130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13131         Likewise.
13132         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13134         Likewise.
13135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13136         Likewise.
13137         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13138         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13140 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13142         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13143         (ETH_ALEN): New macro.
13144         (struct ether_addr): Use it for length of ether_addr_octet.
13146         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13147         (setdb): Don't call __nss_configure_lookup for "rpc".
13148         (do_test): Don't call test_rpc.
13149         (output_rpcent, test_rpc): Functions moved ...
13150         * sunrpc/test-rpcent.c: ... to this new file.
13151         * sunrpc/Makefile (tests): Add it.
13153         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13154         __xpg_sigpause.
13155         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13156         * nptl/tst-signal6.c: Likewise.
13157         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13158         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13160         * configure.ac (libc_cv_cxx_link_ok): New check.
13161         Reset CXX to empty if it fails to link.
13162         * configure: Regenerated.
13163         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13164         bug-atexit3-lib only if $(CXX) is nonempty.
13165         * nptl/Makefile (tests): Likewise for tst-cancel24.
13166         (tests, tests-static): Likewise for tst-cancel24-static.
13167         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13168         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13169         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13170         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13172 2015-03-04  Andreas Schwab  <schwab@suse.de>
13174         [BZ #17631]
13175         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13176         for non-GCC compilers.
13177         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13178         Likewise.
13180 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13182         [BZ #17776]
13183         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13184         integer before bitwise and assembly operations.
13185         (feclearexcept): Likewise.
13186         * math/test-fenvinline.c: New file.
13187         * math/Makefile: Add test-fenvinline test.
13189 2015-03-03  Alan Modra  <amodra@gmail.com>
13191         [BZ #16512]
13192         * scripts/localplt.awk: Strip off symbol version.
13193         * NEWS: Mention bug fix.
13195 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13197         * sysdeps/pthread/timer_routines.c
13198         (timer_free_list, thread_free_list, thread_active_list): Make static.
13200 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13202         [BZ #17779]
13203         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13204         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13205         Undefine.
13206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13207         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13210         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13211         Likewise.
13213 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13215         [BZ #18036]
13216         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13217         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13219 2015-03-02  Andreas Schwab  <schwab@suse.de>
13221         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13222         variable name.
13224 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13226         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13227         Return error status.
13229 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13231         [BZ #15969]
13232         * locale/findlocale.c (_nl_find_locale): Introduce const
13233         version of loc_name and drop unsafe type casts.
13235 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13237         * dlfcn/tststatic2.c (main): Converted to ...
13238         (do_test): ... this.
13239         (TEST_FUNCTION): New macro.
13240         Include test-skeleton.c.
13242 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13244         [BZ #17711]
13245         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13246         (tests-pie): Add vismain.
13247         (CFLAGS-vismain.c): New.
13248         * elf/vismain.c: Add comments for PIE requirement.
13250 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13252         [BZ #18046]
13253         [BZ #18047]
13254         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13255         0x1p-56L as threshold for just returning the argument.
13256         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13257         0x1p-32L as threshold for just returning the argument.
13258         * math/auto-libm-test-in: Add more tests of atanh.
13259         * math/auto-libm-test-out: Regenerated.
13260         * sysdeps/i386/fpu/libm-test-ulps: Update.
13261         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13263 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13265         * string/bcopy.c (bcopy): Call memmove for performance.
13267 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13269         * string/bzero.c (__bzero): Call memset for performance.
13271 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13273         [BZ #18068]
13274         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13275         to 00100000.
13277 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13279         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13281 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13283         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13284         (__kernel_standard): Use CSTR macro when setting exc.name.
13285         * sysdeps/ieee754/Makefile [$(subdir) = math]
13286         (CFLAGS-k_standard.c): Remove variable.
13288         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13289         setting p and q from "else if" to "else".
13290         (qzero): Likewise.
13291         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13292         (qone): Likewise.
13293         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13294         (qzerof): Likewise.
13295         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13296         (qonef): Likewise.
13297         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13298         (qzero): Likewise.
13299         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13300         (qone): Likewise.
13302         [BZ #18038]
13303         [BZ #18039]
13304         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13305         return pi/2 for arguments below 0x1p-113L.
13306         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13307         return pi/2 for arguments below 0x1p-106L.
13308         * math/auto-libm-test-in: Add more tests of acos.
13309         * math/auto-libm-test-out: Regenerated.
13311         [BZ #16351]
13312         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13313         (MO): New macro.
13314         (__ieee754_asin): Force underflow exception for results with small
13315         absolute value.
13316         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13317         (MO): New macro.
13318         (__ieee754_asinf): Force underflow exception for results with
13319         small absolute value.
13320         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13321         (__ieee754_asin): Force underflow exception for results with small
13322         absolute value.
13323         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13324         (__ieee754_asinf): Force underflow exception for results with
13325         small absolute value.
13326         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13327         (__ieee754_asinl): Force underflow exception for results with
13328         small absolute value.
13329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13330         (__ieee754_asinl): Force underflow exception for results with
13331         small absolute value.
13332         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13333         (__ieee754_asinl): Force underflow exception for results with
13334         small absolute value.
13335         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13336         Include <math.h>.
13337         * math/auto-libm-test-in: Do not mark underflow exceptions as
13338         possibly missing for bug 16351.
13339         * math/auto-libm-test-out: Regenerated.
13341         [BZ #18030]
13342         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13343         of power of 2 down when low part has opposite sign.
13344         * math/libm-test.inc (logb_test_data): Add more tests.
13346 2015-02-26  Andreas Schwab  <schwab@suse.de>
13348         [BZ #18032]
13349         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13350         over collating symbol inside a bracket expression.  Minor cleanup.
13351         * posix/tst-fnmatch3.c (do_test): Add test case.
13353 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #18029]
13356         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13357         Adjust exponent of power of 2 down when low part has opposite
13358         sign.
13359         * math/libm-test.inc (ilogb_test_data): Add more tests.
13361 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13363         [BZ #15969]
13364         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13365         the previous change.
13367         [BZ #15969]
13368         * locale/findlocale.c (_nl_find_locale): Retry archive search
13369         after alias expansion.
13371 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13373         * iconv/tst-iconv3.c (main): Converted to ...
13374         (do_test): ... this.
13375         (TEST_FUNCTION): New macro.
13376         Include test-skeleton.c.
13378         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13379         (convert): Make function static.
13380         (test_unalign): Likewise.  Add const to argument pointee types.
13381         (main): Replace with static function do_test.
13382         Print "Succeeded." only if RET is zero.
13383         (TEST_FUNCTION): New macro.
13384         Include test-skeleton.c.
13386         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13387         returns a null pointer.
13389 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13392         to __memcpy_ppc only for static builds.
13394 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13396         [BZ #18020]
13397         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13398         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13399         * math/auto-libm-test-in: Add more tests of asinh.
13400         * math/auto-libm-test-out: Regenerated.
13401         * sysdeps/i386/fpu/libm-test-ulps: Update.
13402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13406         [BZ #15850]
13407         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13408         and ip6_mtuinfo definitions here.
13409         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13410         in this define too.  Update comment.
13412 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13414         * elf/sprof.c (load_shobj): Tweak error message to match others.
13416 2015-02-24  Kevin Easton  <kevin@guarana.org>
13418         [BZ #16145] (partial fix)
13419         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13420         to reduce lock contention.
13422 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13424         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13425         (struct timex): Update time comment.
13426         (ADJ_SETOFFSET): Define.
13428 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13430         [BZ #18019]
13431         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13432         2**56 not 2**28 as threshold for log (2x) formula.
13433         * math/auto-libm-test-in: Add more tests of acosh.
13434         * math/auto-libm-test-out: Regenerated.
13435         * sysdeps/i386/fpu/libm-test-ulps: Update.
13436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13438 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13440         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13441         parenthesis around the buf assignment.
13442         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13444 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13446         [BZ #16783]
13447         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13448         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13449         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13450         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13451         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13452         * math/libm-test.inc (scalb_test_data): Add more tests.
13454 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13456         [BZ #17916]
13457         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13458         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13460 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13462         [BZ #17523]
13463         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13464         * io/bits/fcntl2.h (open): Use it.
13465         (openat): Likewise.
13466         * io/open.c (__libc_open): Likewise.
13467         * io/open64.c (__libc_open64): Likewise.
13468         * io/open64_2.c (__open64_2): Likewise.
13469         * io/open_2.c (__open_2): Likewise.
13470         * io/openat.c (__openat): Likewise.
13471         * io/openat64.c (__openat64): Likewise.
13472         * io/openat64_2.c (__openat64_2): Likewise.
13473         * io/openat_2.c (__openat_2): Likewise.
13474         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13475         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13476         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13477         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13478         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13479         (__open_nocancel): Likewise.
13480         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13481         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13482         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13484 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13486         [BZ #14841]
13487         * resolv/gethnamaddr.c (getanswer): Skip logging if
13488         RES_USE_DNSSEC is set.
13489         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13491 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13493         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13495 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13497         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13498         201304L, for Unicode 7.
13500 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13502         [BZ #17836]
13503         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13504         shared library.  Add gmon-start.os otherwise.
13505         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13506         $(objpfx)gmon-start.os if builing shared library.
13507         ($(objpfx)g$(static-start-installed-name)): Likewise.
13509 2015-02-23  Andreas Schwab  <schwab@suse.de>
13511         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13513 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13515         [BZ #17269]
13516         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13517         (enlarge_userbuf): Likewise.
13519 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13521         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13522         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13523         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13524         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13526 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13528         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13529         expression inside statement expression.
13531 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13534         <sysdeps/nptl/lowlevellock.h> and remove macros and
13535         functions that are now defined there.
13536         (SYS_futex): Remove.
13537         (lll_compare_and_swap): Remove.
13538         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13540 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13542         [BZ #17999]
13543         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13544         instead of scandirat.
13545         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13546         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13547         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13548         __scandirat.
13549         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13550         (__scandirat): Declare.  Use libc_hidden_proto.
13551         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13552         Remove variable.
13553         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13555 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13557         [BZ #15319]
13558         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13559         (MO): New macro.
13560         (__ieee754_atan2): For results with small absolute value, force
13561         underflow exception and remove excess range and precision from
13562         return value.
13563         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13564         (MO): New macro.
13565         (__ieee754_atan2f): For results with small absolute value, force
13566         underflow exception and remove excess range and precision from
13567         return value.
13568         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13569         (MO): New macro.
13570         (__atan): For results with small absolute value, force underflow
13571         exception and remove excess range and precision from return value.
13572         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13573         (MO): New macro.
13574         (__atanf): For results with small absolute value, force underflow
13575         exception and remove excess range and precision from return value.
13576         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13577         <math.h>.
13578         (__ieee754_atan2): Force underflow exception for results with
13579         small absolute value.
13580         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13581         <math_private.h>.
13582         (atan): Force underflow exception for results with small absolute
13583         value.
13584         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13585         (__atanf): Force underflow exception for results with small
13586         absolute value.
13587         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13588         <math.h>.
13589         (__atanl): Force underflow exception for results with small
13590         absolute value.
13591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13592         (__atanl): Force underflow exception for results with small
13593         absolute value.
13594         * sysdeps/x86/fpu/bits/mathinline.h
13595         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13596         (__ieee754_atan2): Only define inline for long double.
13597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13599         * math/auto-libm-test-in: Do not mark underflow exceptions as
13600         possibly missing for bug 15319.  Add more tests of atan2.
13601         * math/auto-libm-test-out: Regenerated.
13602         * math/libm-test.inc (casin_test_data): Do not mark underflow
13603         exceptions as possibly missing for bug 15319.
13604         (casinh_test_data): Likewise.
13605         * sysdeps/i386/fpu/libm-test-ulps: Update.
13607 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13609         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13610         * sysdeps/mips/bits/endian.h: Fix comments.
13612 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13614         [BZ #17996]
13615         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13616         (hdestroy_r): Likewise.
13617         (hsearch_r): Likewise.
13618         (__hcreate_r): Declare and use libc_hidden_proto.
13619         (__hdestroy_r): Likewise.
13620         (__hsearch_r): Likewise.
13621         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13622         (hcreate): Call __hcreate_r instead of hcreate_r.
13623         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13624         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13625         as weak alias of __hcreate_r.
13626         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13627         __hdestroy_r.
13628         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13629         __hsearch_r.
13630         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13631         Remove variable.
13632         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13633         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13634         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13635         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13637 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13639         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13640         arena_lock into a single arena_get.
13642 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13644         * dl-reloc.c: Inlucde libc-internal.h.
13645         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13646         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13647         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13648         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13649         (grow_heap): Likewise.
13650         * malloc/malloc.c: Include libc-internal.h.
13651         (do_check_malloc): Call powerof2.
13652         (sysmalloc): Use pagesize. Call ALIGN_UP.
13653         (systrim): Use pagesize.
13654         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13655         (__libc_valloc): Use pagesize.
13656         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13658 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13660         [BZ #17991]
13661         * include/sys/resource.h (__getrlimit64): Declare.  Use
13662         libc_hidden_proto.
13663         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13664         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13665         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13666         getrlimit64.
13667         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13668         __getrlimit64.
13669         [!getrlimit64] (getrlimit64): Define as weak alias of
13670         __getrlimit64.  Use libc_hidden_weak.
13671         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13672         using __getrlimit64 not __new_getrlimit64.
13673         (__GI_getrlimit64): Likewise.
13674         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13675         Likewise.
13676         (__GI_getrlimit64): Likewise.
13677         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13679         (getrlimit): Add __getrlimit64 alias.
13680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13681         Likewise.
13682         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13683         Remove variable.
13684         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13685         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13687 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13689         * libio/fileops.c: Add missing sys/mman.h
13690         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13692 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13694         * manual/math.texi (Errors in Math Functions): Clarify goals
13695         regarding inexact and underflow exceptions.
13697 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13699         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13700         * sysdeps/mips/memset.S: Ditto.
13702 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13704         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13706 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13708         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13709         (__v1longjmp): Remove versioned symbol.
13710         (__v1siglongjmp): Remove alias and versioned symbol.
13711         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13712         (__v2siglongjmp): Likewise.
13714 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13716         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13718 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13720         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13722 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #17987]
13725         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13726         zero result does not depend on the sign resulting from
13727         subtraction.
13728         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13729         Likewise.
13730         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13731         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13732         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13733         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13734         * math/libm-test.inc (remquo_test_data): Add more tests.
13736 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13738         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13739         Problem reported by J William Piggott.
13741 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13743         [BZ #17978]
13744         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13745         products 4 * y and 2 * y where those would overflow.
13746         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13747         Likewise.
13748         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13749         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13750         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13751         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13752         * math/libm-test.inc (remquo_test_data): Add more tests.
13754         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13756         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13757         [defined _COMPILING_NEWLIB].
13758         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13759         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13761         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13762         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13764 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13766         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13767         acquired.
13769 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13771         [BZ #17792]
13772         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13773         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13774         HOST_STACK_END_ADDR): Likewise.
13776 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13778         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13779         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13780         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13782 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13784         * sysdeps/generic/c++-types.data: New file.
13785         * sysdeps/generic/ld.abilist: New file.
13786         * sysdeps/generic/libBrokenLocale.abilist: New file.
13787         * sysdeps/generic/libanl.abilist: New file.
13788         * sysdeps/generic/libc.abilist: New file.
13789         * sysdeps/generic/libcrypt.abilist: New file.
13790         * sysdeps/generic/libdl.abilist: New file.
13791         * sysdeps/generic/libm.abilist: New file.
13792         * sysdeps/generic/libpthread.abilist: New file.
13793         * sysdeps/generic/libresolv.abilist: New file.
13794         * sysdeps/generic/librt.abilist: New file.
13796 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #17569]
13799         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13800         Compute absolute value of x as modified by fmod, not original
13801         value of x.
13802         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13803         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13804         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13805         RUN_TEST_ffI_f1_mod8.
13806         (remquo_test_data): Add more tests.
13808 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13810         * sysdeps/init_array/pt-crti.S: New file.
13812 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13814         [BZ #17967]
13815         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13816         __builtin_fmaf instead of relying on contraction of a * b + c.
13818 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13820         [BZ #17969]
13821         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13822         node.
13824 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13826         [BZ #17964]
13827         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13828         __builtin_fma instead of relying on contraction of a * b + c.
13830 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13832         * Makeconfig (ASFLAGS): Add -Werror=undef.
13833         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13834         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13835         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13837         * Makeconfig (after-link): New variable.
13838         (+link-pie, +link-pie-tests): Use it.
13839         (+link-static, +link-static-tests): Likewise.
13840         (+link, +link-tests): Likewise.
13841         * Makerules (build-module, build-module-asneeded): Likewise.
13842         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13843         Likewise.
13844         * elf/Makefile ($(objpfx)ld.so): Likewise.
13846 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13848         [BZ #17965]
13849         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13850         both struct timeval and struct timespec.
13852 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13854         [BZ #16560]
13855         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13856         and redefine.
13857         (__ieee754_exp2l): Do not multiply small fractional parts by
13858         M_LN2l.
13859         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13860         small argument.
13861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13862         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13863         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13864         * math/auto-libm-test-in: Add more tests of exp2.
13865         * math/auto-libm-test-out: Regenerated.
13867 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13869         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13870         unaligned path.
13872 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13874         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13875         little endian.
13877 2015-02-12  Andreas Schwab  <schwab@suse.de>
13879         [BZ #15790]
13880         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13881         Filter out elision flags from value returned in kind.
13882         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13883         * nptl/tst-pthread-mutexattr.c: New file.
13885 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13887         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13888         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13889         into gnu-gnu, and update comment to refer to abi-tags.
13891 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13893         [BZ #15467]
13894         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13895         (__sincos): Set errno to EDOM for infinite argument.
13896         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13897         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13898         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13899         (__sincosl): Set errno to EDOM for infinite argument.
13900         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13901         (__sincosl): Set errno to EDOM for infinite argument.
13902         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13903         (__sincosl): Set errno to EDOM for infinite argument.
13904         * math/libm-test.inc (sincos_test_data): Test errno setting.
13906 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13908         * string/strxfrm_l.c: Remove #define STRCMP.
13909         * string/strcoll_l.c: Remove #define STRLEN.
13910         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13911         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13913 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13915         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13916         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13917         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13918         * sysdeps/mips/mips64/Makefile: ... here.
13919         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13920         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13921         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13922         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13923         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13924         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13925         * sysdeps/mips/mips64/n64/Implies: Likewise.
13927 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13929         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13930         <sys/time.h>, <string.h>, and <errno.h>.
13931         (dest_offset, dest_address, value, zero): Remove unused variables.
13932         (ldouble): Remove typedef.
13933         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13934         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13935         1).  Fix code style.
13936         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13937         (check): Function removed.
13938         (CHECK): New macro.
13939         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13940         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13941         Don't call set_sigaction_FP and remove_sigaction_FP here.
13942         (ldouble_test): Just use 'long double' as macro argument, no need for
13943         the 'ldouble' typedef.
13944         (do_test): Set up SIGFPE handler at start, using plain signal rather
13945         than sigaction.  Fix code style.
13947 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13949         [BZ #17949]
13950         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13951         jump label.
13953 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13955         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13956         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13958         * sysdeps/powerpc/configure.ac: Remove file.
13959         * sysdeps/powerpc/configure: Likewise.
13961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13962         [sysdep_routines]: Remove wordcopy-power6 object.
13963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13964         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13966         (__memmove_ppc32): Likewise.
13967         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13968         file.
13969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13971         Remove preprocessor.
13973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13974         [sysdep_routines]: Remove wide chars objects.
13975         [wcsmbs]: New rule for wide char objects.
13977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13978         Remove wordcopy-power6 obejct.
13979         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13980         Use local call for wordcopy and memcpy symbols.
13981         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13982         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13983         implementation for loader.
13984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13987         Remove wordcopy-power7 object.
13988         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13990         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13991         (_wordcopy_fwd_dest_aligned): Likewise.
13992         (_wordcopy_bwd_aligned): Likewise.
13993         (_wordcopy_bwd_dest_aligned): Likewise.
13995         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13996         Rewrite to call __memmove_ppc instead of include default
13997         implementation.
13999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14000         Remove wide chars objects.
14001         [wcsmbs]: New rule for wide char objects.
14003 2015-02-09  Andreas Schwab  <schwab@suse.de>
14005         [BZ #17912]
14006         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14007         in terms of __O_DIRECTORY.
14009 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14011         * time/getdate.c: Include <stdbool.h>.
14012         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14013         call PTR_MANGLE.
14014         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14015         PTR_DEMANGLE.
14017 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14019         Add ersatz _Static_assert on older C hosts
14020         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14021         pre-C11 C platform that is not known to support _Static_assert.
14023 2015-02-07  Richard Braun  <rbraun@sceen.net>
14025         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14026         sigstate.
14027         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14029 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14031         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14032         priority against unexistent AIO_PRIO_DELTA_MAX.
14033         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14034         instead of int.
14035         * misc/fchflags.c (fchflags): Likewise.
14036         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14037         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14038         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14039         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14040         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14041         Declare macros.
14042         [__USE_MISC] (chflags, fchflags): Declare functions.
14043         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14044         EINVAL when nfds is greater than FD_SETSIZE.
14045         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14046         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14047         45.
14048         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14049         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14050         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14051         MACH_RCV_TIMED_OUT.
14052         * hurd/hurd/signal.h (_hurd_self_sigstate,
14053         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14054         Explicit casts from void *.
14055         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14056         * abi-tags: Rename gnu-gnu os into gnu.
14058         [BZ #4719]
14059         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14060         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14061         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14062         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14063         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14064         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14066         [BZ #17944]
14067         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14068         duplicates ADDR->sun_path with sockaddr LEN limitation.
14069         * sysdeps/mach/hurd/connect.c: Include <string.h>
14070         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14071         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14072         * sysdeps/mach/hurd/sendto.c: Likewise.
14073         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14074         implementing it by hand.
14076 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14078         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14079         Use sfi_breg on ldr.
14080         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14081         Likewise.
14083         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14084         it's defined.
14085         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14086         Test SIGSETXID only if it's defined.
14088         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14090         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14091         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14093         * nptl/tst-align2.c: Moved ...
14094         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14095         * nptl/Makefile (tests): Remove tst-align2.
14096         * sysdeps/unix/sysv/linux/Makefile
14097         [$(subdir) = nptl] (tests): Add tst-align-clone.
14098         * nptl/tst-getpid1.c: Moved ...
14099         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14100         * nptl/tst-getpid2.c: Moved ...
14101         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14102         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14103         * sysdeps/unix/sysv/linux/Makefile
14104         [$(subdir) = nptl] (tests): ... here.
14105         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14106         * sysdeps/unix/sysv/linux/Makefile
14107         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14109         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14110         Drop trailing \n from perror argument.  Use return rather than exit.
14112         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14113         on [SA_SIGINFO].
14114         * nptl/tst-cancel21.c (do_test): Likewise.
14115         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14116         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14117         [!SA_SIGINFO]: Make it a stub test.
14119         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14120         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14122         * posix/tst-getlogin.c: Move to ...
14123         * login/tst-getlogin.c: ... here.
14124         * posix/Makefile (tests): Move tst-getlogin to ...
14125         * login/Makefile (tests): ... here.
14127         * libio/tst-atime.c (do_test): Move local variables SV and E
14128         inside [ST_NOATIME] conditional.
14130         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14132         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14134         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14135         (wait_code): New function replaces macro.
14136         Call nanosleep rather than syscall.
14138         * nptl/pt-system.c: Rewritten.  Put everything under
14139         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14140         Use IFUNC to redirect when possible.
14142         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14143         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14144         Use IFUNC to redirect when possible.
14146         * nptl/pt-fork.c: Rewritten.  Put everything under
14147         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14148         Use IFUNC to redirect when possible.
14149         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14152         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14153         unconditionally nowadays.  This included the only reference to
14154         __vdso_clock_gettime that appears outside libc proper.
14155         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14156         Remove version set (containing only __vdso_clock_gettime).
14157         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14158         Add attribute_hidden.
14159         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14160         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14161         libc_hidden_data_def.
14162         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14163         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14165         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14166         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14167         setrpcent, and getrpcport to ...
14168         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14169         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14170         getrpcbynumber_r, and getrpcent_r to ...
14171         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14172         * inet/getrpcbyname.c: Moved ...
14173         * sunrpc/getrpcbyname.c: ... here.
14174         * inet/getrpcbyname_r.c: Moved ...
14175         * sunrpc/getrpcbyname_r.c: ... here.
14176         * inet/getrpcbynumber.c: Moved ...
14177         * sunrpc/getrpcbynumber.c: ... here.
14178         * inet/getrpcbynumber_r.c: Moved ...
14179         * sunrpc/getrpcbynumber_r.c: ... here.
14180         * inet/getrpcent.c: Moved ...
14181         * sunrpc/getrpcent.c: ... here.
14182         * inet/getrpcent_r.c: Moved ...
14183         * sunrpc/getrpcent_r.c: ... here.
14184         * inet/Makefile (routines): Move those to ...
14185         * sunrpc/Makefile (routines): ... here.
14186         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14187         the $(subdirs) list.
14188         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14189         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14190         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14191         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14193         * elf/Makefile (routines): Include $(all-dl-routines), not just
14194         $(dl-routines).
14195         (rtld-routines): Likewise.  Use = rather than :=.
14196         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14197         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14198         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14199         * sysdeps/arm/Makefile: Likewise.
14200         * sysdeps/i386/Makefile: Likewise.
14201         * sysdeps/x86_64/Makefile: Likewise.
14202         * sysdeps/hppa/Makefile [$(subdir) = elf]
14203         (sysdep_routines, sysdep-rtld-routines): Don't add
14204         $(sysdep-dl-routines) to these.
14205         * sysdeps/ia64/Makefile: Likewise.
14206         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14207         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14208         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14209         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14210         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14211         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14212         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14213         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14214         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14215         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14216         these; sysdep-dl-routines alone is enough.
14218 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14220         [BZ #17932]
14221         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14222         where multiplication results in zero and third argument is finite
14223         and nonzero.
14224         * math/auto-libm-test-in: Add more tests of fma.
14225         * math/auto-libm-test-out: Regenerated.
14227         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14228         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14229         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14230         (_FP_CMP_EQ): Likewise.
14231         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14233         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14234         extra argument CHECK_NAN.  Redefine as wrapper around
14235         _FP_EXTEND_CNAN.
14237 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14239         * version.h (RELEASE): Set to "stable".
14240         (VERSION): Set to "2.21"
14241         * include/features.h (__GLIBC_MINOR__): Set to 21.
14243         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14245 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14246             Paul Eggert  <eggert@cs.ucla.edu>
14248         [BZ #16618]
14249         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14250         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14251         size in bytes. Store needed elements in wpmax. Use needed size
14252         in bytes for extend_alloca.
14254 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14256         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14257         binutls 2.25, and texinfo 5.2.
14258         * INSTALL: Regenerate.
14259         * sysdeps/nios2/configure: Regenerate.
14260         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14261         * manual/contrib.texi: Update.
14262         * po/be.po: Update.
14263         * po/bg.po: Update.
14264         * po/ca.po: Update.
14265         * po/cs.po: Update.
14266         * po/da.po: Update.
14267         * po/de.po: Update.
14268         * po/el.po: Update.
14269         * po/eo.po: Update.
14270         * po/es.po: Update.
14271         * po/fi.po: Update.
14272         * po/fr.po: Update.
14273         * po/gl.po: Update.
14274         * po/hr.po: Update.
14275         * po/hu.po: Update.
14276         * po/ia.po: Update.
14277         * po/id.po: Update.
14278         * po/it.po: Update.
14279         * po/ja.po: Update.
14280         * po/ko.po: Update.
14281         * po/lt.po: Update.
14282         * po/nb.po: Update.
14283         * po/nl.po: Update.
14284         * po/pl.po: Update.
14285         * po/pt_BR.po: Update.
14286         * po/ru.po: Update.
14287         * po/rw.po: Update.
14288         * po/sk.po: Update.
14289         * po/sl.po: Update.
14290         * po/sv.po: Update.
14291         * po/tr.po: Update.
14292         * po/uk.po: Update.
14293         * po/vi.po: Update.
14294         * po/zh_CN.po: Update.
14295         * po/zh_TW.po: Update.
14297         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14298         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14299         * sysdeps/hppa/dl-irel.h: Remove #warning.
14300         * sysdeps/hppa/entry.h: Provide prototype for
14301         __canonicalize_funcptr_for_compare and cast argument.
14302         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14303         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14304         * sysdeps/hppa/sotruss-lib.c: New file.
14305         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14306         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14307         (atomic_compare_and_exchange_bool_acq): Likewise.
14308         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14309         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14311         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14312         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14313         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14315 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14317         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14318         called function in non-PIC case.
14320 2015-01-31  David S. Miller  <davem@davemloft.net>
14322         * sysdeps/sparc/sparc32/bits/atomic.h
14323         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14324         unlock not after it.
14325         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14326         volatile register usage warnings from the compiler.
14328         * sysdeps/sparc/nptl/sem_init.c: Delete.
14329         * sysdeps/sparc/nptl/sem_post.c: Delete.
14330         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14331         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14332         * sysdeps/sparc/sparc32/sem_init.c: New file.
14333         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14334         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14335         padding explicitly initialized.
14336         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14337         padding for in-semaphore spinlock.
14338         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14339         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14340         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14341         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14342         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14343         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14344         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14345         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14346         version.
14347         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14348         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14350 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14352         [BZ #17801]
14353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14354         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14355         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14356         New.
14357         (index_AVX_Fast_Unaligned_Load): Likewise.
14358         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14359         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14360         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14361         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14362         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14363         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14364         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14365         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14366         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14368 2015-01-29  Andreas Schwab  <schwab@suse.de>
14370         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14372 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14374         [BZ #17892]
14375         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14377 2015-01-28  Martin Sebor  <msebor@redhat.com>
14379         * math/README.libm-test: Clarify. Add "How to read the test output."
14381 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14383         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14384         Define to 0.
14386 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14388         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14389         (__HAVE_64B_ATOMICS): Define to 0.
14391 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14393         [BZ #17885]
14394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14395         value to set as new flag.
14397         [BZ #16576]
14398         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14399         and use _ARCH_PPCSQ instead.
14400         (__ieee754_sqrt): Likewise.
14401         (__ieee754_sqrtf): Likewise.
14402         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14403         _ARCH_PPCSQ is defined.
14404         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14405         fsqrt instruction.
14406         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14407         _ARCH_PPCSQ is defined.
14408         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14409         fsqrts instruction.
14410         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14412 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14414         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14415         bug (GCC BZ #64739).
14417 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14419         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14420         Mark _retval as used.
14421         (lll_futex_wake_unlock): Likewise.
14422         (lll_futex_timed_wait_requeue_pi): Likewise.
14424         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14425         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14426         register variables.
14428         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14429         libm_hidden_def.
14431         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14432         (__bswap_64): Mark as __always_inline.
14434 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14436         [BZ #15378]
14437         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14438         when none of the search directories exist.
14440 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14442         [BZ #17869]
14443         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14444         power8 in .machine directive.
14446         [BZ #17868]
14447         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14448         set dependency from opd value.
14450 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14453         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14454         architecture.
14456 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14458         [BZ #17870]
14459         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14460         with uint64_t.
14461         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14462         (uint64_t) 1.
14463         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14464         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14465         Replace 1UL with (uint64_t) 1.
14466         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14467         int with uint64_t.
14469 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14471         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14472         (if_freenameindex): Likewise.
14474         * resource/getrlimit64.c: Add missing libc_hidden_def.
14476 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14478         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14479         __label__.
14480         (_FP_FMA): Likewise.
14481         (_FP_TO_INT_ROUND): Likewise.
14482         (_FP_FROM_INT): Likewise.
14484 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14486         [BZ #16418]
14487         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14488         Make code racy and cancel safe.
14490 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14492         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14493         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14494         attribution.
14496         * pwd/tst-getpw.c: Rewrite.
14498         [BZ #17702]
14499         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14500         (modules-names): Add moddummy1 and moddummy2.
14501         ($(objpfx)tst-rec-dlopen): Define.
14502         * dlfcn/moddummy1.c: New file.
14503         * dlfcn/moddummy2.c: New file.
14504         * dlfcn/tst-rec-dlopen.c: New file.
14505         * elf/dl-cache.c (_dl_load_cache_lookup):
14506         Return char*. Copy result with alloca/strcpy/strdup.
14507         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14508         returns char*. Free cached. If not saving realname
14509         free cached.
14510         * elf/dl-open.c (dl_open_worker): Do not assert that
14511         _r_debug->r_state is RT_CONSISTENT.
14512         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14513         returns char*.
14515 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14516             Carlos O'Donell  <carlos@redhat.com>
14518         [BZ #12674]
14519         * nptl/sem_waitcommon.c: New file.
14520         * nptl/sem_wait.c: Include sem_waitcommon.c.
14521         (__sem_wait_cleanup, do_futex_wait): Remove.
14522         (__new_sem_wait): Adapt.
14523         (__new_sem_trywait): New function.
14524         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14525         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14526         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14527         (sem_timedwait): Adapt.
14528         * nptl/sem_post.c (__new_sem_post): Adapt.
14529         (futex_wake): New function.
14530         (__old_sem_post): Add release MO fence.
14531         * nptl/sem_open.c (sem_open): Adapt.
14532         * nptl/sem_init.c (__new_sem_init): Adapt.
14533         (futex_private_if_supported): New function.
14534         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14535         (__old_sem_getvalue): Add using previous code.
14536         * sysdeps/nptl/internaltypes.h: Adapt.
14537         * nptl/tst-sem13.c (do_test): Adapt.
14538         * nptl/tst-sem11.c (main): Adapt.
14539         * nptl/sem_trywait.c: Remove.
14540         * nptl/DESIGN-sem.txt: Remove.
14541         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14542         (gen-as-const-headers): Remove structsem.sym.
14543         * nptl/structsem.sym: Remove.
14544         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14545         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14546         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14547         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14548         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14549         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14550         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14551         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14552         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14553         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14554         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14555         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14556         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14557         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14558         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14559         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14560         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14561         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14562         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14563         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14564         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14565         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14567 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14569         * INSTALL: Regenerated.
14571         * po/libc.pot: Regenerated.
14573 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14574             Sandra Loosemore  <sandra@codesourcery.com>
14575             Andrew Jenner  <andrew@codesourcery.com>
14576             Joseph Myers  <joseph@codesourcery.com>
14577             Nathan Sidwell  <nathan@codesourcery.com>
14579         * NEWS: Mention new Nios II port.
14580         * sysdeps/nios2/Implies: New file.
14581         * sysdeps/nios2/Makefile: New file.
14582         * sysdeps/nios2/Subdirs: New file.
14583         * sysdeps/nios2/Versions: New file.
14584         * sysdeps/nios2/__longjmp.S: New file.
14585         * sysdeps/nios2/abort-instr.h: New file.
14586         * sysdeps/nios2/backtrace.c: New file.
14587         * sysdeps/nios2/bits/endian.h: New file.
14588         * sysdeps/nios2/bits/fenv.h: New file.
14589         * sysdeps/nios2/bits/link.h: New file.
14590         * sysdeps/nios2/bits/setjmp.h: New file.
14591         * sysdeps/nios2/bsd-_setjmp.S: New file.
14592         * sysdeps/nios2/bsd-setjmp.S: New file.
14593         * sysdeps/nios2/configure: New generated file.
14594         * sysdeps/nios2/configure.ac: New file.
14595         * sysdeps/nios2/crti.S: New file.
14596         * sysdeps/nios2/crtn.S: New file.
14597         * sysdeps/nios2/dl-init.c: New file.
14598         * sysdeps/nios2/dl-machine.h: New file.
14599         * sysdeps/nios2/dl-sysdep.h: New file.
14600         * sysdeps/nios2/dl-tls.h: New file.
14601         * sysdeps/nios2/dl-trampoline.S: New file.
14602         * sysdeps/nios2/gccframe.h: New file.
14603         * sysdeps/nios2/gmp-mparam.h: New file.
14604         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14605         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14606         * sysdeps/nios2/ldsodefs.h: New file.
14607         * sysdeps/nios2/libc-tls.c: New file.
14608         * sysdeps/nios2/libm-test-ulps: New file.
14609         * sysdeps/nios2/machine-gmon.h: New file.
14610         * sysdeps/nios2/math-tests.h: New file.
14611         * sysdeps/nios2/math_private.h: New file.
14612         * sysdeps/nios2/memusage.h: New file.
14613         * sysdeps/nios2/nptl/Makefile: New file.
14614         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14615         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14616         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14617         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14618         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14619         * sysdeps/nios2/nptl/tls.h: New file.
14620         * sysdeps/nios2/preconfigure: New file.
14621         * sysdeps/nios2/s_fma.c: New file.
14622         * sysdeps/nios2/s_fmaf.c: New file.
14623         * sysdeps/nios2/setjmp.S: New file.
14624         * sysdeps/nios2/sfp-machine.h: New file.
14625         * sysdeps/nios2/sotruss-lib.c: New file.
14626         * sysdeps/nios2/stackguard-macros.h: New file.
14627         * sysdeps/nios2/stackinfo.h: New file.
14628         * sysdeps/nios2/start.S: New file.
14629         * sysdeps/nios2/sysdep.h: New file.
14630         * sysdeps/nios2/tls-macros.h: New file.
14631         * sysdeps/nios2/tst-audit.h: New file.
14632         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14633         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14634         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14635         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14636         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14637         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14638         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14639         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14640         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14641         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14642         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14643         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14644         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14645         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14646         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14647         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14648         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14649         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14650         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14651         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14652         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14653         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14654         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14655         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14656         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14657         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14658         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14659         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14660         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14661         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14662         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14663         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14664         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14665         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14666         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14667         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14669         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14670         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14671         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14672         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14673         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14674         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14675         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14677 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14679         [BZ #17844]
14680         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14681         (getutent): Use weak_alias in non SHARED case
14682         and default_symbol_version in SHARED case.
14683         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14684         (getutent_r, pututline): Likewise.
14685         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14686         (getutid): Likewise.
14687         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14688         (getutid_r): Likewise.
14689         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14690         (getutline): Likewise.
14691         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14692         (getutline_r): Likewise.
14693         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14694         (updwtmp): Likewise.
14696 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14698         [BZ #17848]
14699         * sysdeps/s390/s390-32/memcmp.S
14700         (memcmp_g5): Rename to __memcmp_g5.
14701         * sysdeps/s390/s390-32/memcpy.S
14702         (memcpy_g5): Rename to __memcpy_g5.
14703         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14704         (memcpy_mvcle) Rename to __memcpy_mvcle.
14705         * sysdeps/s390/s390-32/memset.S
14706         (memset_g5): Rename to __memset_g5.
14707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14708         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14709         and use prefixed functions.
14710         * sysdeps/s390/s390-32/multiarch/memcmp.S
14711         (memcmp_z196): Rename to __memcmp_z196.
14712         (memcmp_z10): Rename to __memcmp_z10.
14713         (memcmp): Set alias to __memcmp_g5.
14714         (bcmp): Set alias to __memcmp_g5.
14715         * sysdeps/s390/s390-32/multiarch/memcpy.S
14716         (memcpy_z196): Rename to __memcpy_z196.
14717         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14718         (memcpy_z10): Rename to __memcpy_z10.
14719         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14720         (memcpy): Set alias to __memcpy_g5.
14721         * sysdeps/s390/s390-32/multiarch/memset.S
14722         (memset_z196): Rename to __memset_z196.
14723         Jump to __memset_mvcle instead of memset_mvcle.
14724         (memset_z10): Rename to __memset_z10.
14725         Jump to __memset_mvcle instead of memset_mvcle.
14726         (memset_mvcle) Rename to __memset_mvcle.
14727         (memset): Set alias to __memset_g5.
14728         * sysdeps/s390/s390-64/memcmp.S
14729         (memcmp_z900): Rename to __memcmp_z900.
14730         * sysdeps/s390/s390-64/memcpy.S
14731         (memcpy_z900): Rename to __memcpy_z900.
14732         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14733         (memcpy_mvcle) Rename to __memcpy_mvcle.
14734         * sysdeps/s390/s390-64/memset.S
14735         (memset_z900): Rename to __memset_z900.
14736         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14737         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14738         and use prefixed functions.
14739         * sysdeps/s390/s390-64/multiarch/memcmp.S
14740         (memcmp_z196): Rename to __memcmp_z196.
14741         (memcmp_z10): Rename to __memcmp_z10.
14742         (memcmp): Set alias to __memcmp_z900.
14743         (bcmp): Set alias to __memcmp_z900.
14744         * sysdeps/s390/s390-64/multiarch/memcpy.S
14745         (memcpy_z196): Rename to __memcpy_z196.
14746         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14747         (memcpy_z10): Rename to __memcpy_z10.
14748         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14749         (memcpy): Set alias to __memcpy_z900.
14750         * sysdeps/s390/s390-64/multiarch/memset.S
14751         (memset_z196): Rename to __memset_z196.
14752         Jump to __memset_mvcle instead of memset_mvcle.
14753         (memset_z10): Rename to __memset_z10.
14754         Jump to __memset_mvcle instead of memset_mvcle.
14755         (memset_mvcle) Rename to __memset_mvcle.
14756         (memset): Set alias to __memset_z900.
14758 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14760         [BZ #17748]
14761         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14762         __fesetenv instead of fesetenv.
14764 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14766         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14767         macro.
14769 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14771         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14772         regression on LE.
14774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14775         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14777         strncmp-power8 object.
14778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14779         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14780         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14781         * NEWS: Update.
14783 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14784             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14786         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14787         trailing byte check.
14789 2015-01-13  David S. Miller  <davem@davemloft.net>
14791         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14793 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14795         * login/logout.c (logout): Use memset rather than bzero.
14796         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14797         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14798         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14799         (_gethtbyaddr): Likewise.
14800         * locale/programs/simple-hash.c (bcopy): Macro removed.
14802 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14805         Add strcmp-power8 object.
14806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14807         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14808         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14809         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14810         __strcmp_power8 implementation.
14811         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14812         * NEWS: Update.
14814         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14815         Add strncpy-power8 and stpncpy-power8 objects.
14816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14817         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14818         implementations.
14819         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14820         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14821         __stpncpy_power8 implementation.
14822         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14823         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14824         __strncpy_power8 implementation.
14825         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14826         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14827         * NEWS: Update.
14829         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14830         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14831         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14834         strncat-power8 object.
14835         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14836         __strcat_power8 implementation.
14837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14838         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14839         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14840         optimized strcat for power8.
14842         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14843         strcpy-power8 and stpcpy-power8 objects.
14844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14845         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14846         implementations.
14847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14848         multiarch stpcpy implementation for POWER8.
14849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14850         multiarch strcpy implementation for POWER8.
14851         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14852         __strcpy_power8 function.
14853         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14854         stpcpy for POWER8.
14855         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14856         strcpy for POWER8.
14857         * NEWS: Update.
14859 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14861         [BZ #16009]
14862         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14863         weights and rules. Use do_xfrm_cached if data fits in cache,
14864         do_xfrm otherwise.  Moved former main loop to...
14865         * (do_xfrm_cached): New function.
14866         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14867         find_idx, find_position and stack_push.
14868         * (find_idx): New function.
14869         * (find_position): Likewise.
14870         * localedata/sort-test.sh: Added test run for do_xfrm.
14871         * localedata/xfrm-test.c (main): Added command line option
14872         -nocache to run the test with strings that are too large for
14873         the STRXFRM cache.
14875 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14877         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14878         variable to lll_futex_wake call, not the value itself.
14880 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14882         [BZ #17803]
14883         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14884         twom64.  Adjust value to 0x1p-64L.
14885         (__scalblnl): Only return standard underflowing result for K <=
14886         -64 not K <= -63; adjust exponent for underflowing result by 64
14887         not 63.
14888         * math/libm-test.inc (scalbn_test_data): Add more tests.
14889         (scalbln_test_data): Likewise.
14891         [BZ #17834]
14892         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14893         0x1p63L.
14894         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14895         not HX.
14896         * math/libm-test.inc (scalbn_test_data): Add more tests.
14897         (scalbln_test_data): Likewise.
14899 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14900             Stefani Seibold  <stefani@seibold.net>
14902         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14903         (sysdep_routines): Add dl-vdso here, ...
14904         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14905         (sysdep_routines): ... not here.
14906         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14907         fallback when vDSO is not presented.
14908         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14909         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14910         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14911         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14912         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14913         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14914         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14915         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14916         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14917         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14918         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14919         fallback configurable symbol when vDSO is not available.
14920         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14921         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14922         be able to redefine fallback symbol when vDSO is not available.
14923         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14924         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14926 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14928         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14929         (TLS_INIT_TP): Add tm_capable initialization.
14930         (TLS_DEFINE_INIT_TP): Likewise.
14931         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14932         TCB.
14933         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14934         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14935         calculation.
14936         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14937         transactoion is lock elision is built and TCB tm_capable is set.
14938         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14940         (INTERNAL_SYSCALL_NCS): Likewise.
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14942         (INTERNAL_SYSCALL_NCS): Likewise.
14943         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14945         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14946         for powerpc.
14947         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14948         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14949         and remove it for 32 bits case.
14950         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14952         initialization.
14953         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14954         Disable lock elision with rdlocks if elision is not available.
14956         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14957         (sysdep_routines): Add lock elision objects.
14958         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14959         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14960         [pthread_mutex_t] (__elision): Add field.
14961         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14962         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14963         elision definitions for powerpc.
14964         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14965         implementation of lock elision for powerpc.
14966         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14967         implementation of timed lock elision for powerpc.
14968         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14969         implementation of trylock with lock elision for powerpc.
14970         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14971         implementaion of unlock for lock elision for powerpc.
14972         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14973         automatic enable lock elision for mutexes.
14974         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14975         transaction execution definitions for powerpc.
14976         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14977         definitions.
14978         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14979         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14980         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14981         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14982         * NEWS: Update.
14984 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14986         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14987         for #include of <shm-directory.h>.
14989 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14991         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14992         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14994 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14996         [BZ #17791]
14997         * NEWS: Mention bug fix.
14998         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14999         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15000         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15002 2015-01-09  Torvald Riegel <triegel@redhat.com>
15004         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15006 2015-01-09  Torvald Riegel <triegel@redhat.com>
15008         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15010 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15012         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15013         pointer and cast to uintptr_t.
15015 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15017         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15018         removed.
15019         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15021 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15023         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15024         of 0.
15026 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15028         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15029         <nptl/pthreadP.h> instead.
15030         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15032         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15033         already defined.
15034         [__SIGRTMIN] (init): Function removed.
15035         [__SIGRTMIN] (initialized): Variable removed.
15036         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15037         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15038         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15039         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15040         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15041         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15042         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15043         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15044         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15045         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15046         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15047         * sysdeps/nptl/allocrtsig.c: New file.
15048         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15049         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15050         * sysdeps/generic/testrtsig.h: File removed.
15052         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15053         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15055         * nptl/nptl-init.c (pthread_functions): Conditionalize
15056         .ptr__nptl_setxid initialization on [SIGSETXID].
15058         * sysdeps/nptl/sys/procfs.h: New file.
15059         * nptl_db/Makefile (headers): Add it.
15060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15062         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15063         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15064         * nptl/pthread_attr_setaffinity.c: Include it.
15065         * nptl/pthread_setattr_default_np.c: Likewise.
15066         * nptl/check-cpuset.h: New file.
15068 2015-01-08  Richard Henderson  <rth@redhat.com>
15070         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15071         (CFLAGS-tst-execstack-prog.c): Likewise.
15072         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15074 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15075             Sandra Loosemore  <sandra@codesourcery.com>
15076             Andrew Jenner  <andrew@codesourcery.com>
15077             Joseph Myers  <joseph@codesourcery.com>
15078             Nathan Sidwell  <nathan@codesourcery.com>
15080         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15081         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15082         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15083         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15084         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15085         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15086         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15087         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15088         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15089         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15090         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15091         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15092         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15093         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15094         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15095         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15096         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15098 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15100         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15101         timespec struct member in syscall macro.
15102         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15103         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15104         first timeval struct member in syscall macro.
15105         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15107 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #17748]
15110         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15111         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15112         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15113         __feupdateenv and define as weak alias of __feupdateenv.  Use
15114         libm_hidden_weak.
15115         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15116         libm_hidden_def.
15117         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15118         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15119         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15120         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15121         libm_hidden_def.
15122         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15123         __feupdateenv and define as weak alias of __feupdateenv.  Use
15124         libm_hidden_weak.
15125         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15126         libm_hidden_def.
15127         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15128         __feupdateenv and define as weak alias of __feupdateenv.  Use
15129         libm_hidden_weak.
15130         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15131         libm_hidden_def.
15132         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15133         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15134         (__feupdateenv): Likewise.
15135         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15136         __feupdateenv and define as weak alias of __feupdateenv.  Use
15137         libm_hidden_weak.
15138         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15139         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15140         libm_hidden_def.
15141         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15142         function.
15143         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15144         libm_hidden_def.
15145         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15146         __feupdateenv instead of feupdateenv.
15147         (default_libc_feupdateenv_test): Likewise.
15148         (libc_feresetround_ctx): Likewise.
15150 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15152         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15153         prototype.
15155 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15157         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15158         COLL_SYM in a couple of places to avoid uninitialized variable
15159         wanings on tilegx gcc 4.8.2.
15161 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15163         * sysdeps/aarch64/strcpy.S: New file.
15164         * sysdeps/aarch64/stpcpy.S: New file.
15165         * NEWS: Updated.
15167 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15169         * sysdeps/aarch64/strrchr.S: New file.
15170         * NEWS: Updated.
15172 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15174         [BZ #17658]
15175         * stdlib/setenv.c: Fix memory leak when setting large,
15176         duplicate string.
15178 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15180         [BZ #17273]
15181         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15182         and tabs from buffer before parsing fstab entry.
15183         * misc/tst-mntent.c (main): Add test for mount entry with
15184         trailing spaces and tabs.
15186 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15188         [BZ #17748]
15189         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15190         * math/fesetround.c (fesetround): Rename to __fesetround and
15191         define as weak alias of __fesetround.  Use libm_hidden_weak.
15192         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15193         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15194         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15195         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15196         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15197         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15198         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15199         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15200         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15201         __fesetround_inline.
15202         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15203         __fesetround_inline instead of __fesetround.
15204         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15205         __fesetround and define as weak alias of __fesetround.  Use
15206         libm_hidden_weak.  Call __fesetround_inline instead of
15207         __fesetround.
15208         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15209         __fesetround and define as weak alias of __fesetround.  Use
15210         libm_hidden_weak.
15211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15212         Likewise.
15213         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15214         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15215         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15216         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15217         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15218         __fesetround and define as weak alias of __fesetround.  Use
15219         libm_hidden_weak.
15220         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15221         __fesetround instead of fesetround.
15222         (default_libc_feholdexcept_setround): Likewise.
15223         (libc_feholdsetround_ctx): Likewise.
15224         (libc_feholdsetround_noex_ctx): Likewise.
15226         [BZ #17748]
15227         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15228         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15230         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15231         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15232         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15233         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15234         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15235         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15236         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15237         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15238         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15239         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15240         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15241         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15242         libm_hidden_def.
15243         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15244         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15245         Likewise.
15246         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15247         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15248         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15249         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15250         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15251         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15252         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15253         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15254         __fesetenv instead of fesetenv.
15255         (libc_feresetround_noex_ctx): Likewise.
15256         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15257         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15258         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15259         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15260         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15261         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15262         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15263         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15264         (__feupdateenv): Likewise.
15265         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15266         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15267         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15268         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15270 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15272         [BZ #17806]
15273         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15274         addresses have been freed.
15276 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15278         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15279         and nservall.
15281 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15283         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15284         Clean up check_pf allocation pattern. addresses
15286 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15288         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15289         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15290         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15291         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15292         * nptl/pthread_join.c (pthread_join): Likewise.
15293         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15294         * sysdeps/posix/waitid.c (__waitid): Likewise.
15295         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15296         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15297         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15298         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15299         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15300         Likewise.
15301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15302         (__libc_pread64): Likewise.
15303         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15304         (__libc_pwrite): Likewise.
15305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15306         (__libc_pwrite64): Likewsie.
15307         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15308         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15309         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15310         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15311         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15312         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15313         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15315         Likewise.
15316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15317         (__libc_pread64): Likewise.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15319         Likewise.
15320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15321         (__libc_pwrite64): Likewise.
15322         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15323         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15324         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15325         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15326         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15327         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15328         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15329         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15330         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15331         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15332         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15333         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15334         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15335         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15337         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15338         Likewise.
15340 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15342         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15343         (CFLAGS-test-double.c): Likewise.
15344         (CFLAGS-test-ldouble.c): Likewise.
15345         (CPPFLAGS-test-ifloat.c): Likewise.
15346         (CPPFLAGS-test-idouble.c): Likewise.
15347         (CPPFLAGS-test-ildoubl.c): Likewise.
15348         (CFLAGS-test-test-fenv.c): Remove variable.
15349         (CFLAGS-test-misc.c): Likewise.
15351 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15353         [BZ #17797]
15354         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15355         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15356         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15357         CLOCKS_PER_SEC == 1000000.
15358         * time/clocktest.c (main): Replace %ld with %jd and cast to
15359         intmax_t.
15361 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15363         * sysdeps/generic/unwind-resume.h: New file.
15364         * sysdeps/gnu/unwind-resume.c: Include it.
15365         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15366         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15367         argument list.
15368         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15369         global rather than static.
15370         (_Unwind_Resume): Update user.
15371         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15372         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15373         rather than static.  Add __attribute__ ((cold)).
15374         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15375         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15376         * sysdeps/arm/arm-unwind-resume.S: New file.
15377         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15378         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15379         * sysdeps/arm/Makefile [$(subdir) = csu]
15380         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15381         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15382         Add rt-arm-unwind-resume.
15383         [$(subdir) = nptl]
15384         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15385         Add pt-arm-unwind-resume.
15386         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15387         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15389 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #17748]
15392         * include/fenv.h (__feholdexcept): Declare.  Use
15393         libm_hidden_proto.
15394         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15395         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15396         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15397         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15398         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15399         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15400         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15401         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15402         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15403         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15404         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15405         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15406         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15407         (feholdexcept): Likewise.
15408         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15409         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15410         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15411         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15412         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15413         __feholdexcept instead of feholdexcept.
15414         (default_libc_feholdexcept_setround): Likewise.
15416 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15418         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15419         to avoid using stl/str to align destination.
15421 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15423         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15425 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15427         [BZ #17796]
15428         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15429         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15430         Define as weak alias not strong alias.
15432 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15434         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15435         bltzal with addiupc.
15436         (RTLD_START): Ditto.
15438 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15440         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15441         for __vdso_* functions in declarations.
15442         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15443         definitions.
15444         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15445         INTERNAL_VSYSCALL): Use struct return types to check for error.
15447         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15448         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15449         function with cast from llround().
15450         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15451         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15452         Define.
15454 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15456         [BZ #17793]
15457         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15458         Define as weak alias not strong alias.
15460         [BZ #17635]
15461         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15462         ...
15463         * ctype/ctype-extn.c: ... here.
15464         (__isblank_l): Move to ...
15465         * ctype/ctype-c99_l.c: ... here.  New file.
15466         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15467         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15468         Remove variable.
15469         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15470         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15471         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15472         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15473         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15475         [BZ #17777]
15476         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15477         (posix_fadvise64): Define as weak alias not strong alias.
15478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15479         (posix_fallocate64): Likewise.
15480         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15481         Remove variable.
15482         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15483         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15484         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15485         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15486         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15488 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15490         [BZ #16191]
15491         * NEWS: Mention bug fix.
15492         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15493         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15494         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15495         (HOST_STACK_END_ADDR): Likewise.
15497 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #17748]
15500         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15501         * math/fegetround.c (fegetround): Rename to __fegetround and
15502         define as weak alias of __fegetround.  Use libm_hidden_weak.
15503         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15504         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15505         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15506         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15507         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15508         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15509         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15510         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15511         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15512         Undefine after rather than before function definition; use
15513         parentheses around function name in definition.
15514         (__fegetround): Also undefine macro after function definition.
15515         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15516         __fegetround and define as weak alias of __fegetround.  Use
15517         libm_hidden_weak.  Do not undefine as macro.
15518         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15519         Likewise.
15520         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15521         __fegetround and define as weak alias of __fegetround.  Use
15522         libm_hidden_weak.
15523         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15524         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15525         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15526         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15527         __fegetround and define as weak alias of __fegetround.  Use
15528         libm_hidden_weak.
15529         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15530         __fegetround instead of fegetround.
15532         [BZ #17782]
15533         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15534         Condition macro definition on [__USE_MISC].
15536         [BZ #17781]
15537         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15538         (struct sigaction): Change type of sa_flags field to int.
15540         [BZ #17780]
15541         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15542         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15543         __glibc_reserved0.
15545         * nptl/version.c (banner): Use single year in copyright notice.
15547         * NEWS: Update copyright dates.
15548         * catgets/gencat.c (print_version): Likewise.
15549         * csu/version.c (banner): Likewise.
15550         * debug/catchsegv.sh: Likewise.
15551         * debug/pcprofiledump.c (print_version): Likewise.
15552         * debug/xtrace.sh (do_version): Likewise.
15553         * elf/ldconfig.c (print_version): Likewise.
15554         * elf/ldd.bash.in: Likewise.
15555         * elf/pldd.c (print_version): Likewise.
15556         * elf/sotruss.sh: Likewise.
15557         * elf/sprof.c (print_version): Likewise.
15558         * iconv/iconv_prog.c (print_version): Likewise.
15559         * iconv/iconvconfig.c (print_version): Likewise.
15560         * locale/programs/locale.c (print_version): Likewise.
15561         * locale/programs/localedef.c (print_version): Likewise.
15562         * login/programs/pt_chown.c (print_version): Likewise.
15563         * malloc/memusage.sh (do_version): Likewise.
15564         * malloc/memusagestat.c (print_version): Likewise.
15565         * malloc/mtrace.pl: Likewise.
15566         * manual/libc.texinfo: Likewise.
15567         * nptl/version.c (banner): Likewise.
15568         * nscd/nscd.c (print_version): Likewise.
15569         * nss/getent.c (print_version): Likewise.
15570         * nss/makedb.c (print_version): Likewise.
15571         * posix/getconf.c (main): Likewise.
15572         * scripts/test-installation.pl: Likewise.
15573         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15575 2015-01-02  Will Newton  <will.newton@linaro.org>
15577         * sysdeps/arm/armv7/configure: Removed.
15578         * sysdeps/arm/armv7/configure.ac: Likewise.
15580 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15582         * All files with FSF copyright notices: Update copyright dates
15583         using scripts/update-copyrights.
15584         * intl/plural.c: Regenerated.
15585         * locale/programs/charmap-kw.h: Likewise.
15586         * locale/programs/locfile-kw.h: Likewise.
15588 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15590         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15592 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15594         [BZ #17748]
15595         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15596         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15597         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15598         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15599         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15600         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15601         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15602         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15603         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15604         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15605         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15606         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15607         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15608         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15609         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15610         libm_hidden_def.
15611         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15613         Likewise.
15614         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15615         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15617         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15618         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15619         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15620         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15621         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15622         __fegetenv instead of fegetenv.
15623         (libc_feholdsetround_noex_ctx): Likewise.
15625 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15627         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15628         (Elf_MIPS_ABIFlags_v0): New structure.
15629         (EF_MIPS_FP64): Define.
15630         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15631         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15632         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15633         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15634         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15635         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15636         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15637         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15638         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15639         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15640         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15641         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15642         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15643         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15644         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15645         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15646         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15647         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15648         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15649         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15650         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15651         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15652         field.
15653         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15654         EF_MIPS_FP64.
15655         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15656         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15657         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15658         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15659         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15660         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15661         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15662         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15663         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15664         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15665         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15666         record the current FP ABI extension.
15667         (mips-mode-switch): Define to show if kernel headers support mode
15668         switching.
15669         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15670         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15671         supported SYSV ABI version to 3.
15672         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15673         feature.
15675 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15676             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15678         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15679         path.
15680         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15682 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15684         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15685         __fegetround and redefine to call __fegetround.  Remove condition
15686         on [!__NO_MATH_INLINES].
15687         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15688         function.
15689         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15690         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15691         Remove macro.
15692         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15693         instead of <fenv_libc.h>.
15694         (__llrintl): Call fegetround instead of __fegetround.
15695         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15696         instead of <fenv_libc.h>.
15697         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15698         (__lrintl): Call fegetround instead of __fegetround.
15699         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15700         instead of <fenv_libc.h>.
15701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15702         (__rintl): Call fegetround instead of __fegetround.
15704 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15706         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15707         arrays.
15709 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15711         [BZ #17775]
15712         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15713         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15714         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15716 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15718         * sysdeps/i386/tls-macros.h: Include <features.h>.
15719         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15720         (TLS_IE): Likewise.
15721         (TLS_LD): Likewise.
15722         (TLS_GD): Likewise.
15723         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15724         define for GCC >= 5.0.
15726 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15728         * math/test-fenv.c (test_single_exception, set_single_exc,
15729         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15730         feexcp_mask_test, feenable_test, fe_single_test): Add
15731         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15732         case where they are not used.
15733         * math/libm-test.inc: Likewise.
15734         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15735         unused in the absence of FP rounding/exception support.
15736         * stdio-common/tst-printf-round.c: Likewise.
15737         * stdlib/tst-strtod-round.c: Likewise.
15738         * stdlib/tst-strtod-underflow.c: Likewise.
15740 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15742         [BZ #17723]
15743         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15744         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15745         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15746         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15747         libm_hidden_weak.
15748         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15749         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15750         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15751         libm_hidden_def.
15752         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15753         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15754         libm_hidden_weak.
15755         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15756         Likewise.
15757         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15758         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15759         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15760         libm_hidden_weak.
15761         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15762         libm_hidden_def.
15763         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15764         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15765         (__feraiseexcept): Likewise.
15766         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15767         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15768         libm_hidden_weak.
15769         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15770         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15771         libm_hidden_def.
15772         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15773         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15774         Use libm_hidden_def.
15775         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15776         libm_hidden_def.
15777         (feraiseexcept): Define as weak not strong alias.  Use
15778         libm_hidden_weak.
15779         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15780         New inline function.  Factored out of ...
15781         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15782         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15783         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15784         feraiseexcept.
15785         * math/w_acos.c (__acos): Likewise.
15786         * math/w_asin.c (__asin): Likewise.
15787         * math/w_ilogb.c (__ilogb): Likewise.
15788         * math/w_j0.c (y0): Likewise.
15789         * math/w_j1.c (y1): Likewise.
15790         * math/w_jn.c (yn): Likewise.
15791         * math/w_log.c (__log): Likewise.
15792         * math/w_log10.c (__log10): Likewise.
15793         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15794         * sysdeps/aarch64/fpu/math_private.h
15795         (libc_feupdateenv_test_aarch64): Likewise.
15796         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15797         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15798         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15799         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15800         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15801         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15802         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15803         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15805         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15807 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15809         [BZ #17732]
15810         * io/test-utime.c (main): Replace %ld with %jd and cast to
15811         intmax_t.
15812         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15813         * nptl/tst-mutex5.c: Include <stdint.h>.
15814         (do_test): Replace %ld with %jd and cast to intmax_t.
15815         * posix/tst-regex.c (run_test): Likewise.
15816         (run_test_backwards): Likewise.
15817         * rt/tst-clock.c: Include <stdint.h>.
15818         (clock_test): Replace %ld with %jd and cast to intmax_t.
15819         * rt/tst-cpuclock1.c: Include <stdint.h>.
15820         (do_test): Replace %lu with %ju and cast to uintmax_t.
15821         * rt/tst-cpuclock2.c: Include <stdint.h>.
15822         (do_test): Replace %lu with %ju and cast to uintmax_t.
15823         * rt/tst-mqueue1.c: Include <stdint.h>.
15824         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15825         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15826         intmax_t.
15827         * rt/tst-mqueue4.c (do_test): Likewise.
15828         * rt/tst-timer4.c: Include <stdint.h>.
15829         (check_ts): Replace %ld with %jd and cast to intmax_t.
15830         (do_test): Likewise.
15831         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15832         and cast to intmax_t.
15833         * sysdeps/pthread/tst-timer.c (main): Likewise.
15834         * time/clocktest.c (main): Likewise.
15835         * time/tst-posixtz.c (do_test): Likewise.
15836         * timezone/tst-timezone.c (main): Likewise.
15838 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15839             H.J. Lu  <hongjiu.lu@intel.com>
15841         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15842         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15843         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15844         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15845         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15846         version if bit_Fast_Unaligned_Load is set.
15847         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15848         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15849         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15850         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15851         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15852         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15854         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15855         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15857         to 4.
15858         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15859         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15860         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15861         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15863 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15865         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15866         instead of #if to avoid a Wundef warning.
15867         * stdlib/tst-limits.c (do_test): Likewise.
15869         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15870         parallel other exception macros.
15871         (fegetenv): Convert from macro to extern inline so that it applies
15872         retroactively to inline functions already seen by the compiler.
15873         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15875         * posix/Makefile (before-compile): Use $(objpfx) for
15876         posix-conf-vars-def.h.
15878 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15880         * posix/getconf.c (main): Use size_t for type of I.
15881         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15882         NSPEC.
15884         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15885         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15886         * posix/posix-envs.def: Likewise.
15887         * sysdeps/posix/sysconf.c: Likewise.
15888         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15889         (specs): Remove array.
15890         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15891         array.
15893         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15894         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15895         (__sysconf): Use CONF_IS_* macros.
15897         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15898         ($(objpfx)posix-conf-vars-def.h): New target.
15899         * posix/posix-conf-vars.list: New file.
15900         * posix/posix-conf-vars.h: New file.
15901         * posix/confstr.c: Include posix-conf-vars.h.
15902         (confstr): Use CONF_IS_* macros.
15903         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15904         CONF_IS_* macros.
15905         * scripts/gen-posix-conf-vars.awk: New file.
15907 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15909         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15910         fegetround): Add no-op macros to avoid linknamespace issues.
15912         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15913         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15915         * sysdeps/unix/sysv/linux/tile/sysdep.h
15916         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15917         assembly-specific section to avoid a redefinition warning.
15919         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15920         long before casting to pointer to avoid a cast warning.
15922 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15924         * sysdeps/tile/tilegx/Implies: New file.
15926 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15928         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15930 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15932         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15934 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15937         not define.
15938         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15939         <kernel-features.h>.
15940         (__utimes) [__NR_utimes]: Make code unconditional.
15941         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15943         (__ASSUME_UTIMES): Do not undefine.
15944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15945         (__ASSUME_UTIMES): Likewise.
15946         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15947         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15948         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15949         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15951 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15953         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15955 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15957         [BZ #17747]
15958         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15959         alias to weak alias for j0l, y0l.
15960         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15961         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15963         [BZ #17746]
15964         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15965         conversion.
15967 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15969         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15970         to zero if not already defined.
15972 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15974         [BZ #17724]
15975         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15976         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15977         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15978         (char *) casts added.
15979         * sysdeps/ieee754/k_standardf.c: New file.
15980         * sysdeps/ieee754/k_standardl.c: Likewise.
15981         * math/Makefile (libm-support): Remove k_standard.
15982         (libm-calls): Add k_standard.
15984 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15986         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15987         Optimize to avoid an unnecessary FPCR read.
15989 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15991         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15992         Optimize to reduce FPCR/FPSR accesses.
15994 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15996         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15997         Call libc_fetestexcept_aarch64.
15999 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16001         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16002         Call libc_fesetround_aarch64.
16004 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16006         [BZ #17733]
16007         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16008         (__bind): Do not define as weak alias.
16009         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16010         define.
16011         (__getsockname): Do not define as weak alias.
16013 2014-12-22  Will Newton  <will.newton@linaro.org>
16015         * manual/install.texi: Document that we require bison 2.7
16016         or above.
16017         * INSTALL: Regenerate.
16018         * configure.ac: Use AC_CHECK_PROG_VER instead of
16019         AC_PATH_PROG when checking for bison and check for
16020         version 2.7 or above.
16021         * configure: Regenerate.
16023 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16025         [BZ #17745]
16026         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16027         * sysdeps/tile/ffsll.c (ffsll): To here.
16029         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16031 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16033         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16034         if not defined.
16035         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16036         definition.
16037         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16038         hidden ___tls_get_addr.
16039         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16040         hidden __tls_get_addr.
16041         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16042         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16043         Likewise.
16045 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16047         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16048         _dl_init call.
16050 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16052         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16053         from "call _dl_init@PLT".
16054         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16056 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16058         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16059         guarantees.
16061 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16063         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16065 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16067         [BZ #17744]
16068         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16069         strnlen.
16071 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16073         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16074         of multu on MIPSr6.
16075         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16076         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16077         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16078         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16079         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16081 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16083         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16084         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16085         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16086         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16087         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16088         mips32r6/mips64r6.
16089         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16091 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16093         * string/strncat.c (STRNCAT): Simplify implementation.
16095 2014-12-19  David S. Miller  <davem@davemloft.net>
16097         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16098         access the quad as both a long double and as a series of 4 words.
16100         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16101         link_map->l_info array access.
16103 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16105         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16107         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16108         * math/atest-exp2.c (TIMEOUT): Likewise.
16109         * math/atest-sincos.c (TIMEOUT): Likewise.
16111 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16113         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16114         -Wno-error with -fno-builtin-lround.
16116 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16118         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16119         Contains futex constants and functions moved over from ...
16120         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16121         <lowlevellock-futex.h>.
16122         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16123         (lll_timedwait_tid): Add comments and parentheses around macro
16124         arguments.
16126 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16128         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16129         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16130         (__lll_private_flag): Remove.
16131         (lll_futex_wait): Likewise.
16132         (lll_futex_timed_wait): Likewise.
16133         (lll_futex_wake): Likewise.
16134         (lll_futex_requeue): Likewise.
16135         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16136         (__lll_timedwait_tid): Spell out argument names.
16137         (lll_timedwait_tid): Add comments and parentheses around macro
16138         arguments.
16139         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16140         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16142 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16144         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16145         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16146         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16147         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16148         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16149         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16150         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16151         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16152         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16154         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16155         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16156         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16158         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16159         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16160         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16161         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16162         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16164 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16166         * sysdeps/x86_64/x32/Makefile: New file.
16168 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16170         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16171         1L with (mp_limb_t) 1.
16173 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16175         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16176         * nptl/libc_pthread_init.c: ... here.
16177         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16178         * nptl/register-atfork.c: ... here.
16180         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16181         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16182         Use assert_perror to check its return value.
16183         (__gai_create_helper_thread): Likewise.
16185         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16187         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16189 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16191         [BZ #17725]
16192         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16193         __profil_counter.
16194         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16195         Likewise.
16196         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16197         Likewise.
16198         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16199         Likewise.
16200         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16201         (profil_counter): Likewise.
16202         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16203         (profil_counter): Likewise.
16204         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16205         Likewise.
16206         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16207         Likewise.
16208         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16209         (profil_counter): Likewise.
16210         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16211         Likewise.
16212         [!__profil_counter] (profil_counter): Define as weak alias of
16213         __profil_counter.
16214         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16215         (profil_counter): Rename to __profil_counter.
16216         [!__profil_counter] (profil_counter): Define as weak alias of
16217         __profil_counter.
16218         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16219         (profil_counter): Rename to __profil_counter.
16220         [!__profil_counter] (profil_counter): Define as weak alias of
16221         __profil_counter.
16222         * sysdeps/posix/profil.c: Update comment referring to
16223         profil_counter.
16224         (__profil): Use __profil_counter instead of profil_counter.
16225         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16226         __profil_counter.  Use __profil_counter_ushort and
16227         __profil_counter_uint in definitions.
16228         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16229         instead of profil_counter_uint and profil_counter_ushort.
16231         [BZ #17722]
16232         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16233         define as weak alias of __inet_makeaddr.
16234         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16235         as weak alias of __inet_addr.
16236         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16237         as weak alias of __inet_pton.  Use libc_hidden_weak.
16238         * include/arpa/inet.h (__inet_pton): Declare.  Use
16239         libc_hidden_proto.
16240         (inet_makeaddr): Don't use libc_hidden_proto.
16241         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16242         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16243         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16244         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16245         Remove variable.
16246         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16247         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16249 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16251         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16253 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16255         * stdio-common/bug-vfprintf-nargs.c (do_test):
16256         Cast value to intptr_t to avoid format warning
16257         for usage with PRIdPTR printing macro.
16259 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16261         * libio/tst-widetext.c (do_test):
16262         Use format type %td instead of %Zd for ptrdiff_t
16263         in order to avoid format warning.
16265 2014-12-17  Andreas Schwab  <schwab@suse.de>
16267         * nscd/mem.c (gc): Add size_t cast to match printf format.
16269 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16271         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16272         (init): Apply PTR_MANGLE to pointers before storing them.
16273         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16274         before using them.
16276 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16278         [BZ #17719]
16279         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16280         define as weak alias of __memrchr.
16281         (__memrchr): Do not define as strong alias of memrchr.
16282         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16283         Remove variable.
16284         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16285         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16286         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16288         [BZ #17717]
16289         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16290         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16291         (if_indextoname): Rename to __if_indextoname and define as weak
16292         alias of __if_indextoname.  Use libc_hidden_weak.
16293         (if_freenameindex): Rename to __if_freenameindex and define as
16294         weak alias of __if_freenameindex.
16295         (if_nameindex): Rename to __if_nameindex and define as weak alias
16296         of __if_nameindex.
16297         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16298         __if_nametoindex and define as weak alias of __if_nametoindex.
16299         Use libc_hidden_weak.
16300         (if_freenameindex): Rename to __if_freenameindex and define as
16301         weak alias of __if_freenameindex.
16302         (if_nameindex): Rename to __if_nameindex and define as weak alias
16303         of __if_nameindex.
16304         (if_indextoname): Rename to __if_indextoname and define as weak
16305         alias of __if_indextoname.  Use libc_hidden_weak.
16306         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16307         __if_nametoindex and define as weak alias of __if_nametoindex.
16308         Use libc_hidden_weak.
16309         (if_freenameindex): Rename to __if_freenameindex and define as
16310         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16311         (if_nameindex_netlink): Use __if_freenameindex instead of
16312         if_freenameindex.
16313         (if_nameindex): Rename to __if_nameindex and define as weak alias
16314         of __if_nameindex.  Use libc_hidden_weak.
16315         (if_indextoname): Rename to __if_indextoname and define as weak
16316         alias of __if_indextoname.  Use libc_hidden_weak.
16317         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16318         libc_hidden_proto.
16319         [!_ISOMAC] (__if_freenameindex): Likewise.
16320         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16321         if_nametoindex.
16322         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16323         variable.
16324         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16325         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16326         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16327         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16328         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16329         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16330         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16332         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16333         Remove variable.
16334         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16335         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16337 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16339         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16340         subscript above bounds'
16342         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16343         bounds.
16345 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16347         * libio/tst-fopenloc.c: Use test-skeleton.c.
16349         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16350         (entry): Rename to ITEM.
16351         (do_test, comp): Adjust.
16353         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16355 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16357         * string/tester.c: Include <libc-internal.h>.
16358         (test_memset): Ignore -Wmemset-transposed-args.
16360 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16362         * misc/tst-mntent2.c (do_test): Fix warning.
16364 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16366         * elf/tst-unique4lib.cc(a): Mark as used.
16368 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16370         [BZ #17630]
16371         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16372         names.
16374 2014-12-16  Allan McRae  <allan@archlinux.org>
16376         * stdio-common/Makefile (tests): Re-add bug26.
16378 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16380         [BZ #17657]
16381         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16382         static array.
16384 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16386         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16387         (__lll_lock_wait): Likewise.
16388         (__lll_timedlock_wait): Likewise.
16389         (__lll_timedwait_tid): Likewise.
16390         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16391         (__lll_robust_timedlock_wait): Likewise.
16392         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16393         (lll_cond_trylock): Likewise.
16394         (__lll_lock): Likewise.
16395         (__lll_robust_lock): Likewise.
16396         (__lll_cond_lock): Likewise.
16397         (lll_robust_cond_lock): Likewise.
16398         (__lll_timedlock): Likewise.
16399         (__lll_robust_timedlock): Likewise.
16400         (__lll_unlock): Likewise.
16401         (__lll_robust_unlock): Likewise.
16402         (lll_wait_tid): Likewise.
16403         (lll_timedwait_tid): Likewise.
16405 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16407         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16409 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16411         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16413 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16415         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16416         * stdio-common/tst-sprintf.c: Likewise.
16418 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16420         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16422 2014-12-15  Jeff Law  <law@redhat.com>
16424         [BZ #16617]
16425         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16426         on the heap.  (CVE-2012-3406)
16427         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16428         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16429         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16431 2014-12-15  Will Newton  <will.newton@linaro.org>
16433         * manual/install.texi: Bump required version of texinfo
16434         to 4.7 from 4.5.
16435         * INSTALL: Regenerated.
16436         * configure.ac: Check for makeinfo version 4.7 and above.
16437         * configure: Regenerated.
16439 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16441         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16442         PREFIX, string constant to insert between directory and name.
16443         * sysdeps/posix/shm_open.c: Update caller.
16444         * sysdeps/posix/shm_unlink.c: Likewise.
16445         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16446         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16447         (SEM_SHM_PREFIX): New macro.
16448         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16449         [$(have-thread-library) = no].
16450         * nptl/Makefile (libpthread-routines): Add shm-directory.
16451         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16452         * sysdeps/nptl/shm-directory.h: New file.
16453         * sysdeps/posix/shm-directory.c
16454         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16455         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16456         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16457         INTERNAL_SYSCALL.
16458         (__where_is_shmfs): Function removed.
16459         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16460         Variables removed.
16461         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16462         Use SHM_GET_NAME.
16463         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16465         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16466         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16467         unconditional for use inside libpthread.
16468         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16470 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16472         * nptl/pthread_getaffinity.c: New file.
16473         * nptl/pthread_setaffinity.c: New file.
16474         * nptl/pthread_getname.c: New file.
16475         * nptl/pthread_setname.c: New file.
16477         * nptl/pthread_create.c (START_THREAD_DEFN)
16478         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16480 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16483         * resolv/res_send.c (send_vc): Disable warning resplen may
16484         be used uninitialized.
16486 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16488         * nptl/tst-mutex6.c
16489         (ATTR_NULL): New define checks ATTR against NULL.
16490         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16491         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16493 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16495         [BZ #17581]
16496         * malloc/hooks.c
16497         (mem2mem_check): Revert my previous change.
16498         (malloc_check_get_size): Revert my previous change.
16499         (mem2chunk_check): Revert my previous change.
16501 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16503         * sysdeps/posix/shm-directory.c: New file.
16504         * sysdeps/posix/shm-directory.h: New file.
16505         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16506         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16507         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16508         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16509         Transmute EPERM to EACCES.
16510         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16511         from ...
16512         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16513         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16515 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16517         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16518         pointer and cast to uintptr_t.
16519         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16520         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16521         Add cast to avoid warning.
16522         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16524 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16526         * nptl/semaphore.h: Move to ...
16527         * sysdeps/pthread/semaphore.h: ... here.
16528         * Makefile (installed-headers): Change nptl/semaphore.h to
16529         sysdeps/pthread/semaphore.h.
16531 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16533         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16534         generated error format strings.
16536         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16537         -Wformat-extra-args warnings for scanf formats.
16538         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16539         test of zero-length format (duh).
16540         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16541         corner-case scanf format test.
16542         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16543         generated fprintf format string.
16544         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16545         corner-case sprintf format tests.
16546         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16547         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16548         -Wformat-extra-args warnings throughout.
16549         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16550         (CFLAGS-scanf4.c): Likewise.
16551         (CFLAGS-scanf7.c): Likewise.
16552         (CFLAGS-tst-sprintf.c): Likewise.
16553         (CFLAGS-tst-printf.c): Likewise.
16554         (CFLAGS-tst-printfsz.c): Likewise.
16556 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16558         * include/cpio.h: New file.
16559         * include/fmtmsg.h: Likewise.
16561         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16562         corresponding format argument to size_t.
16563         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16564         arguments.
16565         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16566         corresponding format argument to size_t.
16567         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16568         arguments.
16569         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16570         corresponding format argument to size_t.
16571         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16572         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16573         (CFLAGS-tst-mbswcs2.c): Likewise.
16574         (CFLAGS-tst-mbswcs3.c): Likewise.
16575         (CFLAGS-tst-mbswcs4.c): Likewise.
16576         (CFLAGS-tst-mbswcs5.c): Likewise.
16577         (CFLAGS-tst-trans.c): Likewise
16579 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16581         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16582         rather than assuming they won't contain any '%'s.
16584 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16586         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16587         inhibit_loop_to_libcall to avoid recursive calls.
16588         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16589         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16591 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16593         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16594         prototype.
16596 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16598         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16599         integer value instead of boolean.
16601 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16603         * malloc/malloc.c: Fix powerof2 check.
16605 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16607         * locale/programs/locfile.h (maybe_swap_uint32):
16608         Remove inline and add unused attribute.
16610 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16613         Truncating assembler expression to a .long expression.
16615 2014-12-11  Andreas Schwab  <schwab@suse.de>
16617         * elf/rtld.c (struct map_args): Constify str member.
16618         (do_preload): Constify fname argument.
16620 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16623         constants definition.
16625 2014-12-11  Andreas Schwab  <schwab@suse.de>
16627         [BZ #16657]
16628         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16629         FORCE_ELISION instead of DO_ELISION.
16630         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16631         Remove.
16632         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16633         Likewise.
16635         * iconvdata/gconv-modules: Remove duplicate entry.
16637 2014-12-11  Will Newton  <will.newton@linaro.org>
16639         Merge gettext 0.19.3 into intl/.
16641         This involves a number of cosmetic changes to comments
16642         and ANSI function definitions and prototypes throughout
16643         all the files. The gettext copyright header is used but
16644         with the date ranges taken from the glibc copy.
16646         * NEWS: Add gettext merge to 2.21.
16647         * intl/bindtextdom.c: Switch to gettext copyright.
16648         Use ANSI definitions and prototypes.
16649         Use gl_* locking primitives rather than __libc_* ones.
16650         Use __builtin_expect rather than __glibc_likely/unlikely.
16651         * intl/dcgettext.c: Switch to gettext copyright.
16652         Use ANSI definitions and prototypes.
16653         * intl/dcigettext.c: Switch to gettext copyright.
16654         Use ANSI definitions and prototypes.
16655         (INTDIV0_RAISES_SIGFPE): New define.
16656         Use gl_* locking primitives rather than __libc_* ones.
16657         Include eval-plural.h instead of plural-eval.c.
16658         Use __builtin_expect rather than __glibc_likely/unlikely.
16659         * intl/dcngettext.c: Switch to gettext copyright.
16660         Use ANSI definitions and prototypes.
16661         * intl/dgettext.c: Likewise.
16662         * intl/dngettext.c: Likewise.
16663         * intl/plural-eval.c: Renamed to...
16664         * intl/eval-plural.h: ...this.
16665         * intl/explodename.c: Switch to gettext copyright.
16666         Use ANSI definitions and prototypes.
16667         (_nl_explode_name): Use strchr instead of __rawmemchr.
16668         * intl/finddomain.c: Switch to gettext copyright.
16669         Use ANSI definitions and prototypes.
16670         Use gl_* locking primitives rather than __libc_* ones.
16671         (_nl_find_domain): Use malloc rather than alloca for
16672         allocation of temporary locale name.
16673         * intl/gettext.c: Switch to gettext copyright.
16674         Use ANSI definitions and prototypes.
16675         * intl/gettextP.h: Switch to gettext copyright.
16676         Use ANSI definitions and prototypes.
16677         Use gl_* locking primitives rather than __libc_* ones.
16678         * intl/gmo.h: Switch to gettext copyright.
16679         (struct sysdep_string): Move struct segment_pair outside of
16680         struct definition.
16681         * intl/hash-string.c: Use ANSI definitions and prototypes.
16682         * intl/hash-string.h: Switch to gettext copyright.
16683         Use ANSI definitions and prototypes.
16684         * intl/l10nflist.c: Switch to gettext copyright.
16685         Use ANSI definitions and prototypes.
16686         (_nl_normalize_codeset): Avoid integer overflow.
16687         * intl/loadinfo.h: Switch to gettext copyright.
16688         Use ANSI definitions and prototypes.
16689         (LIBINTL_DLL_EXPORTED): New define.
16690         (PATH_SEPARATOR): New define.
16691         * intl/loadmsgcat.c: Switch to gettext copyright.
16692         * intl/localealias.c: Switch to gettext copyright.
16693         Use ANSI definitions and prototypes.
16694         (_nl_expand_alias): Use PATH_SEPARATOR.
16695         * intl/ngettext.c: Switch to gettext copyright.
16696         Use ANSI definitions and prototypes.
16697         * intl/plural-exp.c: Likewise.
16698         * intl/plural-exp.h: Switch to gettext copyright.
16699         Use ANSI definitions and prototypes.
16700         (struct expression): Move definition of enum operator outside
16701         of struct definition.
16702         * intl/plural.c: Regenerate.
16703         * intl/plural.y: Switch to gettext copyright.
16704         Use ANSI definitions and prototypes.
16705         Port to bison 3.0.
16706         * intl/textdomain.c: Switch to gettext copyright.
16707         Use ANSI definitions and prototypes.
16708         Use gl_* locking primitives rather than __libc_* ones.
16710 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16712         * debug/warning-nop.c: Add used atrribute.
16714 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16716         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16718         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16719         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16720         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16722 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16725         [BZ #17634]
16726         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16727         Undefine after defining function.  Define as weak alias of
16728         __wcschr.  Use libc_hidden_weak.
16729         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16730         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16731         (libc_hidden_def): Also define __GI___wcschr alias.
16732         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16733         __wcschr and define as weak alias of __wcschr.
16734         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16735         __wcschr.
16736         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16737         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16738         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16739         libc_hidden_weak.  Do not use libc_hidden_def.
16740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16741         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16742         __GI___wcschr alias.
16743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16744         [IS_IN (libc)] (wcschr): Define as macro expanding to
16745         __redirect_wcschr.
16746         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16747         [IS_IN (libc)] (__wcschr_power6): Likewise.
16748         [IS_IN (libc)] (__wcschr_power7): Likewise.
16749         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16750         instead of wcschr.
16751         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16752         __libc_wcschr.
16753         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16754         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16755         __wcschr and define as weak alias of __wcschr.  Use
16756         libc_hidden_builtin_def.
16757         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16758         as weak alias of __wcschr.  Use libc_hidden_weak.
16759         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16760         wcschr.
16761         * time/era.c (_nl_init_era_entries): Likewise.
16762         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16763         variable.
16764         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16765         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16767 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16769         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16770         format for long int variable.
16772 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16774         [BZ #10672]
16775         * manual/search.texi: (Array Sort Function): Remove claim how to make
16776         qsort stable.
16778 2014-12-10  Andreas Schwab  <schwab@suse.de>
16780         [BZ #12847]
16781         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16782         user-controlled locks.
16784 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16786         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16787         register.
16789 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16791         * configure.ac (--disable-werror): New configure option.
16792         (enable_werror): New AC_SUBST.
16793         * configure: Regenerated.
16794         * config.make.in (enable-werror): New variable.
16795         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16796         -Wno-error=undef.
16797         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16798         * manual/install.texi (Configuring and compiling): Document
16799         --disable-werror.
16800         * INSTALL: Regenerated.
16801         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16802         (CFLAGS-tst-chk2.c): Likewise.
16803         (CFLAGS-tst-chk3.c): Likewise.
16804         (CFLAGS-tst-chk4.cc): Likewise.
16805         (CFLAGS-tst-chk5.cc): Likewise.
16806         (CFLAGS-tst-chk6.cc): Likewise.
16807         (CFLAGS-tst-lfschk1.c): Likewise.
16808         (CFLAGS-tst-lfschk2.c): Likewise.
16809         (CFLAGS-tst-lfschk3.c): Likewise.
16810         (CFLAGS-tst-lfschk4.cc): Likewise.
16811         (CFLAGS-tst-lfschk5.cc): Likewise.
16812         (CFLAGS-tst-lfschk6.cc): Likewise.
16814         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16815         (main): Disable -Wdeprecated-declarations around calls to
16816         register_printf_function.
16818         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16819         (do_test): Disable -Wdiv-by-zero around some calls to
16820         fwrite_unlocked and fread_unlocked.
16822         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16823         (DIAG_POP_NEEDS_COMMENT): Likewise.
16824         (_DIAG_STR1): Likewise.
16825         (_DIAG_STR): Likewise.
16826         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16827         * stdio-common/bug21.c: Include <libc-internal.h>.
16828         (do_test): Disable -Wformat around call to sscanf.
16829         * stdio-common/scanf14.c: Include <libc-internal.h>.
16830         (main): Disable -Wformat around some calls to scanf functions.
16832 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16834         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16836 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16838         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16839         stack variable alignment.
16841 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16843         [BZ #17682]
16844         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16845         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16846         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16847         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16848         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16849         __getrlimit instead of getrlimit.
16850         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16851         __gettimeofday instead of gettimeofday.
16852         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16853         Likewise.
16854         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16855         Likewise.
16856         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16857         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16858         Remove variable.
16859         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16860         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16862 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16864         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16865         for wide-character tests.
16867 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16869         * io/openat64.c: #include <libc-internal.h>
16870         (__openat64): Prototypify.  Use ignore_value on MODE.
16871         * io/openat.c: Likewise.
16872         * misc/reboot.c: #include <libc-internal.h>
16873         (reboot): Prototypify.  Use ignore_value on HOWTO.
16874         * misc/ptrace.c: #include <libc-internal.h>
16875         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16877 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16879         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16880         XPG4, UNIX98 and XOPEN2K.
16881         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16882         Remove variable.
16883         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16885 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16887         * libio/fileops.c: Use ISO C style for function definitions.
16888         * libio/iofopen.c: Likewise.
16889         * libio/wfileops.c: Likewise.
16891         [BZ #17653]
16892         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16893         offset on EOF.
16894         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16895         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16896         (fgets_func): Function pointer to fgets and fgetws.
16897         (do_ftell_test): Add test to verify ftell value after read
16898         EOF.
16899         (do_test): Set fgets_func.
16901         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16902         O_TRUNC flag for w and w+ modes.
16903         (do_rewind_test): Likewise.
16904         (do_ftell_test): Likewise.
16905         (do_write_test): Likewise.
16907         [BZ #17647]
16908         * libio/fileops.c (do_ftell): Seek only when there are
16909         unflushed writes.
16910         * libio/wfileops.c (do_ftell_wide): Likewise.
16911         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16912         test case.
16913         (do_one_test): Call it.
16915 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16917         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16918         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16919         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16920         Remove variable.
16921         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16922         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16923         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16925 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16927         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16928         Remove variable.
16929         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16931         [BZ #17668]
16932         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16933         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16934         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16935         __freeifaddrs.  Use libc_hidden_weak.
16936         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16937         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16938         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16939         __freeifaddrs.  Use libc_hidden_weak.
16940         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16941         __getifaddrs and define as weak alias of __getifaddrs.  Use
16942         libc_hidden_weak.
16943         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16944         __freeifaddrs.  Use libc_hidden_weak.
16945         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16946         Remove variable.
16947         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16948         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16950 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16952         [BZ #17601]
16953         * sysdeps/mips/start.S (__start): Use indirect jump to call
16954         __libc_start_main.
16956 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16958         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16960         * nptl/tst-mutex1.c: Include <stdbool.h>.
16961         [!ATTR] (ATTR_NULL): New macro.
16962         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16963         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16964         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16966         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16967         to char *.
16969         [BZ #17665]
16970         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16971         Change conditional to [__USE_MISC].
16973         [BZ #17664]
16974         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16975         fgets_unlocked.
16976         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16977         __fgets_unlocked.
16978         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16979         fgets_unlocked.
16980         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16981         Remove variable.
16982         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16983         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16984         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16985         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16986         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16987         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16988         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16989         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16990         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16992         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16994 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16997         Remove strpbrk objects.
16998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16999         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17000         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17001         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17002         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17003         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17005         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17006         Remove strcspn objects.
17007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17008         (__libc_ifunc_impl_list): Remove strcspn implementation.
17009         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17010         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17011         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17012         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17015         Remove strspn objetcs.
17016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17017         (__libc_ifunc_impl_list): Remove strspn implementation.
17018         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17019         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17020         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17021         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17023 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17025         [BZ #17581]
17026         * malloc/hooks.c
17027         (mem2mem_check): Add a terminator to the chain of checking blocks.
17028         (malloc_check_get_size): Use it here.
17029         (mem2chunk_check): Ditto.
17031 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17033         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17034         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17036 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17038         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17040         * nptl/nptl-init.c: Include libc-internal.h.
17041         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17043         * elf/ldconfig.c (search_dir): Expand comment.
17045 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17047         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17048         variable.
17049         (linknamespace-symlist-stdlibs-tests): Likewise.
17050         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17051         instead of $(objpfx)symlist-stdlibs.
17052         (linknamespace-libs-isoc): New variable.
17053         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17054         (linknamespace-libs-ISO): New variable.
17055         (linknamespace-libs-ISO99): Likewise.
17056         (linknamespace-libs-ISO11): Likewise.
17057         (linknamespace-libs-XPG3): Likewise.
17058         (linknamespace-libs-XPG4): Likewise.
17059         (linknamespace-libs-POSIX): Likewise.
17060         (linknamespace-libs-UNIX98): Likewise.
17061         (linknamespace-libs-XOPEN2K): Likewise.
17062         (linknamespace-libs-POSIX2008): Likewise.
17063         (linknamespace-libs-XOPEN2K8): Likewise.
17064         ($(objpfx)symlist-stdlibs): Replace by
17065         $(linknamespace-symlist-stdlibs-tests).  Use
17066         $(linknamespace-libs-$*) as set of libraries.
17067         ($(linknamespace-header-tests)): Update dependencies.  Use
17068         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17069         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17070         * conform/linknamespace.pl: Remove comment about considering
17071         definitions of symbols from irrelevant libraries.
17073 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17075         [BZ #13862]
17076         * elf/dl-tls.c: Include <atomic.h>.
17077         (oom): Remove #ifdef SHARED/#endif.
17078         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17079         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17080         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17081         big enough.
17082         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17083         * nptl/Makefile (tests): Add tst-stack4.
17084         (modules-names): Add tst-stack4mod.
17085         ($(objpfx)tst-stack4): New.
17086         (tst-stack4mod.sos): Likewise.
17087         ($(objpfx)tst-stack4.out): Likewise.
17088         ($(tst-stack4mod.sos)): Likewise.
17089         (clean): Likewise.
17090         * nptl/tst-stack4.c: New file.
17091         * nptl/tst-stack4mod.c: Likewise.
17093 2014-11-27  J. Brown  <jb999@gmx.de>
17095         * sysdeps/x86/bits/string.h: Add recent CPUs.
17097 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17099         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17100         sigblock.
17102         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17103         feof.
17105         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17106         variable.
17108 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17110         * nscd/connections.c: Include libc-internal.h because of macro
17111         usage ignore_value.
17113 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17115         * string/bits/string3.h (__warn_memset_zero_len): Don't
17116         declare for gcc newer than 5.0.
17117         (memset): Don't test for zero-length __LEN for gcc newer than
17118         5.0.
17120 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17122         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17123         size_t for %zu format.
17125         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17126         difference, not %ju.
17128 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17130         * include/libc-internal.h (ignore_value): New macro.
17131         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17132         with ignore_value.
17134         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17135         definition.
17137         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17138         pthread_cleanup_push to void *.
17140         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17141         Undefine.
17143         [BZ #16619]
17144         [BZ #16740]
17145         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17146         instead of 1L << 52.
17148         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17149         * libio/bug-rewind2.c (do_test): Likewise.
17151         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17152         * debug/test-strcpy_chk-ifunc.c: Likewise.
17153         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17154         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17155         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17156         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17157         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17158         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17159         * Rules [$(multi-arch) = no] (tests): Do not filter out
17160         $(tests-ifunc).
17161         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17162         * debug/Makefile (tests-ifunc): Remove variable.
17163         (tests): Do not add $(tests-ifunc).
17164         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17165         (tests): Do not add $(tests-ifunc).
17166         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17167         [TEST_IFUNC]: Remove conditionals.
17168         * string/test-string.h (TEST_IFUNC): Remove macro.
17169         [TEST_IFUNC]: Remove conditionals.
17171         * string/test-strchr.c [!WIDE] (L): New macro.
17172         [WIDE] (L): Likewise.
17173         (check1): Use CHAR instead of char.  Use L on string and character
17174         constants.
17176 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17178         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17179         tests.
17180         * sysdeps/powerpc/bits/atomic.h
17181         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17182         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17183         (atomic_exchange_and_add_acq): Likewise.
17184         (atomic_exchange_and_add_rel): Likewise.
17185         * sysdeps/powerpc/powerpc32/bits/atomic.h
17186         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17187         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17188         * sysdeps/powerpc/powerpc64/bits/atomic.h
17189         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17190         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17192 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17194         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17195         Change synchronization of __sched_fifo_min_prio and
17196         __sched_fifo_max_prio.
17197         * nptl/pthread_mutexattr_getprioceiling.c
17198         (pthread_mutexattr_getprioceiling): Likewise.
17199         * nptl/pthread_mutexattr_setprioceiling.c
17200         (pthread_mutexattr_setprioceiling): Likewise.
17201         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17202         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17203         Likewise.
17205 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17207         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17208         void.
17210 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17212         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17213         third argument const.
17215 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17217         fnmatch: work around GCC compiler warning bug with uninit var
17218         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17219         This works around a bug with x86-64 GCC 4.9.2 and earlier
17220         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17221         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17222         used uninitialized in this function [-Wmaybe-uninitialized]".
17224 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17226         * posix/bug-regex31.c (main): Return RES not 0.
17228 2014-11-25  Anton Blanchard <anton@samba.org>
17230         * sysdeps/powerpc/bits/atomic.h
17231         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17233 2014-11-24  Sterling Augustine  <saugustine@google.com>
17235         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17237 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17239         [BZ #17608]
17240         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17242 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17244         [BZ #17633]
17245         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17246         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17247         variable.
17248         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17249         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17251 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17253         * string/strncpy.c (strncpy): Improve performance by using memset.
17255 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17257         * string/strcpy.c (strcpy):
17258         Improve performance by using strlen and memcpy.
17260 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17262         * string/strcoll_l.c (get_next_seq): __always_inline.
17263         * string/strcoll_l.c (do_compare): __always_inline.
17265 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17267         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17268         defined.
17269         * include/mqueue.h: Likewise.
17270         * include/stdlib.h: Likewise.
17272         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17273         (get_null_defines): Adjust.
17274         * sunrpc/Makefile: Adjust comment.
17275         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17276         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17277         (CFLAGS-interp.c): Likewise.
17278         (CFLAGS-ldconfig.c): Likewise.
17279         (CPPFLAGS-.os): Likewise.
17280         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17281         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17282         * extra-modules.mk (extra-modules.mk): Likewise.
17283         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17284         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17285         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17286         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17287         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17288         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17289         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17290         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17291         * iconvdata/Makefile (CPPFLAGS): Likewise.
17292         (cpp-srcs-left): Add libof for all iconvdata routines.
17293         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17294         * include/assert.h: Likewise.
17295         * include/ctype.h: Likewise.
17296         * include/errno.h: Likewise.
17297         * include/libc-symbols.h: Likewise.
17298         * include/math.h: Likewise.
17299         * include/netdb.h: Likewise.
17300         * include/resolv.h: Likewise.
17301         * include/stdio.h: Likewise.
17302         * include/stdlib.h: Likewise.
17303         * include/string.h: Likewise.
17304         * include/sys/stat.h: Likewise.
17305         * include/wctype.h: Likewise.
17306         * intl/l10nflist.c: Likewise.
17307         * libidn/idn-stub.c: Likewise.
17308         * libio/libioP.h: Likewise.
17309         * nptl/libc_multiple_threads.c: Likewise.
17310         * nptl/pthreadP.h: Likewise.
17311         * posix/regex_internal.h: Likewise.
17312         * resolv/res_hconf.c: Likewise.
17313         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17314         * sysdeps/arm/memmove.S: Likewise.
17315         * sysdeps/arm/sysdep.h: Likewise.
17316         * sysdeps/generic/_itoa.h: Likewise.
17317         * sysdeps/generic/symbol-hacks.h: Likewise.
17318         * sysdeps/gnu/errlist.awk: Likewise.
17319         * sysdeps/gnu/errlist.c: Likewise.
17320         * sysdeps/i386/i586/memcpy.S: Likewise.
17321         * sysdeps/i386/i586/memset.S: Likewise.
17322         * sysdeps/i386/i686/memcpy.S: Likewise.
17323         * sysdeps/i386/i686/memmove.S: Likewise.
17324         * sysdeps/i386/i686/mempcpy.S: Likewise.
17325         * sysdeps/i386/i686/memset.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17328         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17329         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17332         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17333         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17334         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17340         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17341         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17342         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17343         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17344         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17345         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17346         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17347         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17348         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17349         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17350         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17351         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17352         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17353         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17354         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17355         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17356         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17357         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17362         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17363         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17364         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17365         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17367         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17368         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17369         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17370         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17371         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17372         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17373         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17374         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17376         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17378         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17379         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17380         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17381         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17382         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17383         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17384         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17386         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17387         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17388         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17389         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17390         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17391         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17392         * sysdeps/posix/closedir.c: Likewise.
17393         * sysdeps/posix/opendir.c: Likewise.
17394         * sysdeps/posix/readdir.c: Likewise.
17395         * sysdeps/posix/rewinddir.c: Likewise.
17396         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17397         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17398         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17399         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17400         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17401         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17402         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17407         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17408         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17409         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17410         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17411         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17412         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17413         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17416         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17417         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17418         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17419         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17421         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17424         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17431         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17432         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17434         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17435         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17436         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17438         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17440         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17441         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17442         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17443         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17444         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17445         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17446         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17447         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17452         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17453         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17454         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17455         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17456         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17457         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17458         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17459         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17460         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17461         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17463         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17464         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17465         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17466         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17467         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17468         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17469         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17470         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17471         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17472         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17473         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17474         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17475         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17476         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17477         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17478         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17480         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17482         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17483         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17484         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17485         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17486         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17487         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17488         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17489         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17492         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17494         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17495         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17496         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17497         * sysdeps/unix/alpha/sysdep.S: Likewise.
17498         * sysdeps/unix/alpha/sysdep.h: Likewise.
17499         * sysdeps/unix/make-syscalls.sh: Likewise.
17500         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17502         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17503         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17504         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17505         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17506         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17507         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17508         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17509         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17510         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17511         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17512         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17514         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17515         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17516         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17517         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17518         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17519         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17520         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17522         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17523         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17524         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17525         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17529         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17530         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17534         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17538         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17539         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17540         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17541         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17542         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17543         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17544         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17547         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17551         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17552         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17553         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17556         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17558         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17559         * sysdeps/x86_64/memcpy.S: Likewise.
17560         * sysdeps/x86_64/memmove.c: Likewise.
17561         * sysdeps/x86_64/memset.S: Likewise.
17562         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17564         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17565         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17566         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17567         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17569         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17570         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17571         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17572         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17573         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17574         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17575         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17577         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17578         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17579         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17580         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17581         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17582         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17583         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17584         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17586         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17587         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17588         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17589         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17590         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17591         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17592         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17593         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17594         * sysdeps/x86_64/strcmp.S: Likewise.
17596         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17598         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17599         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17600         * elf/rtld-Rules: Likewise.
17601         * elf/setup-vdso.h: Likewise.
17602         * include/assert.h: Likewise.
17603         * include/bits/stdlib-float.h: Likewise.
17604         * include/errno.h: Likewise.
17605         * include/sys/stat.h: Likewise.
17606         * include/unistd.h: Likewise.
17607         * sysdeps/aarch64/setjmp.S: Likewise.
17608         * sysdeps/alpha/setjmp.S: Likewise.
17609         * sysdeps/arm/__longjmp.S: Likewise.
17610         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17611         * sysdeps/arm/setjmp.S: Likewise.
17612         * sysdeps/arm/sysdep.h: Likewise.
17613         * sysdeps/generic/_itoa.h: Likewise.
17614         * sysdeps/generic/dl-sysdep.h: Likewise.
17615         * sysdeps/generic/ldsodefs.h: Likewise.
17616         * sysdeps/i386/dl-tls.h: Likewise.
17617         * sysdeps/i386/setjmp.S: Likewise.
17618         * sysdeps/m68k/setjmp.c: Likewise.
17619         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17620         * sysdeps/mach/hurd/opendir.c: Likewise.
17621         * sysdeps/posix/getcwd.c: Likewise.
17622         * sysdeps/posix/opendir.c: Likewise.
17623         * sysdeps/posix/profil.c: Likewise.
17624         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17627         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17628         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17631         * sysdeps/s390/dl-tls.h: Likewise.
17632         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17633         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17634         * sysdeps/sh/sh3/setjmp.S: Likewise.
17635         * sysdeps/sh/sh4/setjmp.S: Likewise.
17636         * sysdeps/unix/alpha/sysdep.h: Likewise.
17637         * sysdeps/unix/arm/sysdep.S: Likewise.
17638         * sysdeps/unix/i386/sysdep.S: Likewise.
17639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17640         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17641         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17642         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17643         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17645         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17647         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17648         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17649         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17651         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17654         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17657         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17659         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17663         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17666         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17667         * sysdeps/x86_64/setjmp.S: Likewise.
17669         * include/math.h: Use IS_IN instead of IS_IN_libm.
17670         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17673         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17676         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17679         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17681         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17682         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17684         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17685         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17686         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17690         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17691         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17692         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17693         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17694         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17695         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17697         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17698         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17699         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17700         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17701         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17702         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17704         Likewise.
17705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17706         Likewise.
17707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17708         Likewise.
17709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17710         Likewise.
17711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17712         Likewise.
17713         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17714         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17715         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17717         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17718         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17724         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17725         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17726         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17727         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17728         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17729         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17730         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17731         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17732         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17733         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17737         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17739         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17741         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17742         * nptl/pthreadP.h: Likewise.
17743         * nptl_db/structs.def: Likewise.
17744         * sysdeps/arm/sysdep.h: Likewise.
17745         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17746         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17747         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17748         * sysdeps/unix/alpha/sysdep.h: Likewise.
17749         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17751         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17752         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17753         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17754         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17755         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17756         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17757         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17758         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17759         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17760         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17761         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17762         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17767         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17770         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17771         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17772         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17773         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17774         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17776         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17777         * nptl/pthreadP.h: Likewise.
17778         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17779         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17780         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17781         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17782         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17783         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17784         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17785         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17786         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17787         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17788         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17789         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17791         Likewise.
17792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17793         Likewise.
17794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17796         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17799         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17800         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17801         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17803         * dlfcn/dladdr.c: Use IS_IN.
17804         * dlfcn/dladdr1.c: Likewise.
17805         * dlfcn/dlclose.c: Likewise.
17806         * dlfcn/dlerror.c: Likewise.
17807         * dlfcn/dlinfo.c: Likewise.
17808         * dlfcn/dlmopen.c: Likewise.
17809         * dlfcn/dlopen.c: Likewise.
17810         * dlfcn/dlsym.c: Likewise.
17811         * dlfcn/dlvsym.c: Likewise.
17813         * include/ifaddrs.h: Use IS_IN.
17814         * inet/check_pf.c: Likewise.
17815         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17816         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17818         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17819         IS_IN_ldconfig.
17820         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17821         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17823         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17824         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17825         IS_IN (libc).
17827         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17829         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17830         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17831         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17832         * include/libc-symbols.h (IS_IN_LIB): New macro.
17833         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17834         * include/netdb.h: Likewise.
17835         * include/stap-probe.h: Remove all uses of IN_LIB.
17837         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17838         instead of IN_MODULE.
17839         * include/libc-symbols.h (IN_MODULE): Define using
17840         MODULE_NAME.
17841         (PASTE_NAME, PASTE_NAME1): New macros.
17842         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17843         of IN_LIB.
17844         (STAP_PROBE_ASM): Likewise.
17846 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17848         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17849         __mach_init in dlopened libc.
17851 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17853         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17854         * sysdeps/arm/preconfigure: Regenerate.
17856 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17858         * nptl/pthread_create.c (__pthread_create_2_1): Set
17859         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17860         when copying values from IATTR into PD.
17862 2014-11-21  Will Newton  <will.newton@linaro.org>
17863             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17865         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17866         Refactor inline-asm.  Also add comment.
17868         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17869         ElfW macro instead of hardcoded Elf64 types.
17870         (la_aarch64_gnu_pltenter): Likewise.
17871         * sysdeps/aarch64/dl-machine.h
17872         (elf_machine_runtime_setup): Use ElfW(Addr).
17874         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17875         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17876         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17877         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17878         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17879         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17880         (R_AARCH64_TLS_DTPMOD): This.
17881         (R_AARCH64_TLS_DTPREL64): Rename to ...
17882         (R_AARCH64_TLS_DTPREL): This.
17883         (R_AARCH64_TLS_TPREL64): Rename to ...
17884         (R_AARCH64_TLS_TPREL): This.
17885         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17886         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17887         R_AARCH64_TLS_TPREL64.
17888         (elf_machine_rela): Likewise.
17890 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17892         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17893         by setting it to 0.  64b atomics are not supported currently.
17895 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17897         [BZ #16469]
17898         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17899         search domain names.
17901 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17903         [BZ #16469]
17904         * NEWS: Update.
17905         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17906         trailing dot.
17907         * posix/tst-getaddrinfo5.c: New.
17908         * posix/Makefile (tests): Add it.
17910 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17912         [BZ #14498]
17913         * NEWS: Fixed.
17914         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17915         after parsing line but before break_if_match.
17916         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17917         if there is a protocol mismatch.
17919 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17921         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17922         because the potential race is on the user-supplied stream.
17924 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17926         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17927         string literal if not passed a buffer.
17928         * manual/job.texi (ctermid): Update reasoning, note deviation
17929         from posix, suggest mtasurace when not passed a buffer, for
17930         future non-preliminary safety notes.
17932 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17934         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17935         of not passing it a buffer.
17936         Reported by Peng Haitao.
17938 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17940         * manual/Makefile ($(objpfx)stamp-summary): Require
17941         check-safety.sh to pass.
17942         * manual/check-safety.sh: Wish for verification that every
17943         @deftypefn and @deftypefun is followed by a @safety remark.
17945 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17947         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17949         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17950         PTHREAD_CANCEL_ASYNCHRONOUS.
17951         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17952         send SIGCANCEL.
17954         * nptl/default-sched.h: New file.
17955         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17956         * nptl/pthread_create.c: Include it.
17957         (__pthread_create_2_1): Use collect_default_sched instead of making
17958         Linux syscalls here directly.
17960 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17962         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17963         __pthread_once): Use C11 atomics.
17965 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17967         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17969 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17971         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17972         atomic_thread_fence_acquire, atomic_thread_fence_release,
17973         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17974         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17975         atomic_compare_exchange_weak_relaxed,
17976         atomic_compare_exchange_weak_acquire,
17977         atomic_compare_exchange_weak_release,
17978         atomic_exchange_acquire, atomic_exchange_release,
17979         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17980         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17981         atomic_fetch_and_acquire,
17982         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17984 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17986         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17987         USE_ATOMIC_COMPILER_BUILTINS): Define.
17988         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17990         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17992         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17994         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17996         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17998         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18000         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18002         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18004         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18006         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18008         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18010         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18012         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18014         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18016         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18018         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18020         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18022         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18023         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18024         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18026         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18029 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18031         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18032         the sched_priority value here.  It was already checked when the user
18033         called pthread_attr_setschedparam.
18035         * nptl/tst-bad-schedattr.c: New file.
18036         * nptl/Makefile (tests): Add it.
18038 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18039             Florian Weimer  <fweimer@redhat.com>
18040             Joseph Myers  <joseph@codesourcery.com>
18041             Adam Conrad  <adconrad@0c3.net>
18042             Andreas Schwab  <schwab@suse.de>
18043             Brooks  <bmoses@google.com>
18045         [BZ #17625]
18046         * wordexp-test.c (__dso_handle): Add prototype.
18047         (__register_atfork): Likewise.
18048         (__app_register_atfork): New function.
18049         (registered_forks): New global.
18050         (register_fork): New function.
18051         (test_case): Add 3 new tests for WRDE_CMDSUB.
18052         (main): Call __app_register_atfork.
18053         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18054         fork count is non-zero fail the test.
18055         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18056         is set.
18057         (parse_dollars): Remove check for WRDE_NOCMD.
18058         (parse_dquote): Likewise.
18060 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18062         * Makeconfig (built-modules): List non-library modules to be
18063         built.
18064         (module-cppflags): Include libc-modules.h for
18065         everything except shlib-versions.v.i.
18066         (CPPFLAGS): Use it.
18067         (before-compile): Add libc-modules.h.
18068         ($(common-objpfx)libc-modules.h,
18069         $(common-objpfx)libc-modules.stmp): New targets.
18070         (common-generated): Add libc-modules.h and libc-modules.stmp.
18071         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18072         * include/libc-symbols.h: Don't include libc-modules.h.
18073         * include/libc-modules.h: Remove file.
18074         * scripts/gen-libc-modules.awk: New script to generate
18075         libc-modules.h.
18076         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18077         Depend on libc-modules.stmp.
18079         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18081         * Makeconfig (in-module): Get value of libof set for the
18082         translation unit.
18083         (CPPFLAGS): Use $(in-module).
18084         * Makerules: Don't suffix routine names for nonlib.
18085         * include/libc-modules.h: New file.
18086         * include/libc-symbols.h: Include libc-modules.h
18087         (IS_IN): New macro to replace IS_IN_* macros.
18088         * elf/Makefile: Set libof-* for each routine.
18089         * elf/rtld-Rules: Likewise.
18090         * extra-modules.mk: Likewise.
18091         * iconv/Makefile: Likewise.
18092         * iconvdata/Makefile: Likewise.
18093         * locale/Makefile: Likewise.
18094         * malloc/Makefile: Likewise.
18095         * nss/Makefile: Likewise.
18096         * sysdeps/gnu/Makefile: Likewise.
18097         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18098         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18099         * sysdeps/s390/s390-64/Makefile: Likewise.
18100         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18101         CPPFLAGS for nscd instead of nonlib.
18103 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18105         * nptl/createthread.c: New file.
18107         * nptl/createthread.c: Moved ...
18108         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18110         * nptl/createthread.c: Add proper top-line comment.
18111         (do_clone): Folded into ...
18112         (create_thread): ... here.  Take new arguments STOPPED_START and
18113         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18114         increment __nptl_threads, do event-reporting logic, do
18115         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18116         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18117         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18118         just send SIGCANCEL.
18119         * nptl/pthread_create.c: Forward-declare create_thread before
18120         including createthread.c.
18121         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18122         declaration, and new macro START_THREAD_SELF to replace argument.
18123         Remove return statement.
18124         (report_thread_creation): New function.
18125         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18126         synchronization logic, and __nptl_nthreads increment here, around
18127         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18128         PD->parent_cancelhandling here, before create_thread.  When
18129         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18130         __deallocate_stack, and ENOMEM translation here.
18132 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18134         [BZ #17616]
18135         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18136         (mptwo): Rename to __mptwo.
18137         (__inv): Use __mptwo instead of mptwo.
18138         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18139         (mptwo): Rename to __mptwo.
18140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18141         of mpone and __mptwo instead of mptwo.
18142         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18143         instead of mpone.
18144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18145         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18146         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18147         of mpone and __mptwo instead of mptwo.
18148         (__mpranred): Use __mpone instead of mpone.
18149         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18150         variable.
18151         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18152         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18153         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18154         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18155         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18156         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18157         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18158         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18159         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18160         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18161         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18162         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18163         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18164         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18165         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18166         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18167         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18168         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18169         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18171 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18173         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18174         replace BSD Handler xref with BSD Signal Handling.
18176 2014-11-17  Richard Henderson  <rth@redhat.com>
18178         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18179         (_FP_PACK_RAW_2): Remove.
18180         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18181         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18182         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18183         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18184         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18185         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18186         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18187         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18188         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18189         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18190         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18191         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18192         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18193         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18194         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18195         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18197 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18199         * signal/signal.h [__USE_MISC]
18200         (struct sigvec): Remove type.
18201         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18202         (sigvec): Remove declaration.
18203         * sysdeps/posix/sigvec.c: Moved ...
18204         * signal/sigvec.c: ... here, replacing old file.
18205         (struct sigvec): New type, copied from old signal.h definition.
18206         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18207         (__sigvec): Convert definition to prototype.
18208         (sigvec): Replace weak_alias with compat_symbol.
18209         * signal/Versions (libc: GLIBC_2.21): New version set.
18210         * include/signal.h: Remove __sigvec declaration.
18211         * sysdeps/unix/bsd/sigvec.c: Remove file.
18212         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18213         * manual/signal.texi (BSD Handler): Remove subsection.
18214         Move siginterrupt up to ...
18215         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18216         (Blocking in BSD): Fold subsection into its parent.
18217         * NEWS: Mention sigvec removal.
18219 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18221         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18222         (DLA_FMS): Make definition conditional only on [__FMA4__].
18223         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18224         definition.
18226         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18227         Make definition conditional only on [PROF].
18228         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18229         definition.
18230         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18231         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18233         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18234         !__GNUC__].
18235         * include/signal.h (__sigpause): Move declaration above call to
18236         libc_hidden_proto.
18237         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18238         variable.
18239         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18240         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18242 2014-11-14  David S. Miller  <davem@davemloft.net>
18244         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18245         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18247 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18249         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18250         * configure: Regenerated.
18251         * manual/install.texi (Tools for Compilation): Document a
18252         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18253         compiler verified to work.
18254         * INSTALL: Regenerated.
18256         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18257         redeclare with asm name.
18258         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18259         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18260         including <string.h>.
18261         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18262         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18263         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18265         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18267         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18269 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18271         * stdlib/strtol.c (__strtol): Use prototype definition.
18273         [BZ #17594]
18274         * stdlib/strtol.c (SYM__): New macro.
18275         (SYM__1): Likewise.
18276         (__strtol): Likewise.
18277         (strtol): Rename to __strtol and define as weak alias of
18278         __strtol.  Use libc_hidden_weak.
18280 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18282         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18283         Use numbered labels in inline assembly.
18285 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18287         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18288         Add setjmp LIBC_PROBE.
18289         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18290         Likewise.
18291         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18292         Add longjmp, longjmp_target LIBC_PROBE.
18293         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18294         Likewise.
18296 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18298         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18299         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18300         to get rid of unused variable warning.
18302 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18304         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18305         Check for unwind_backtrace ==  NULL only in SHARED case.
18306         (__backchain_backtrace): Compile only in SHARED case.
18307         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18308         Likewise.
18309         (__backchain_backtrace): Declare as static.
18311 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18313         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18314         (__libc_multiple_threads_ptr): Variable moved ...
18315         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18317 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18319         * conform/GlibcConform.pm: New file.
18320         * conform/conformtest.pl: Use GlibcConform module.
18321         * conform/linknamespace.pl: New file.
18322         * conform/list-header-symbols.pl: Likewise.
18323         * conform/Makefile (linknamespace-symlists-base): New variable.
18324         (linknamespace-symlists-tests): Likewise.
18325         (linknamespace-header-base): Likewise.
18326         (linknamespace-header-tests): Likewise.
18327         (tests-special): Add new tests.
18328         ($(linknamespace-symlists-tests)): New rule.
18329         (linknamespace-libs): New variable.
18330         ($(objpfx)symlist-stdlibs): New rule.
18331         ($(linknamespace-header-tests)): Likewise.
18332         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18333         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18334         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18335         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18336         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18337         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18338         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18339         (test-xfail-ISO/math.h/linknamespace): Likewise.
18340         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18341         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18342         (test-xfail-ISO/time.h/linknamespace): Likewise.
18343         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18344         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18345         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18346         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18347         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18348         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18349         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18350         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18351         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18352         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18353         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18354         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18355         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18356         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18357         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18358         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18359         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18360         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18361         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18362         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18363         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18364         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18365         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18366         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18367         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18368         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18369         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18370         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18371         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18372         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18373         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18374         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18375         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18376         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18377         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18378         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18379         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18380         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18381         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18382         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18383         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18384         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18385         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18386         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18387         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18388         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18389         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18390         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18391         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18392         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18393         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18394         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18395         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18396         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18397         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18398         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18399         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18400         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18401         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18402         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18403         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18404         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18405         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18406         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18407         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18408         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18409         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18410         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18411         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18412         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18413         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18414         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18415         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18416         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18417         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18418         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18419         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18420         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18421         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18422         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18423         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18424         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18425         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18426         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18427         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18428         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18429         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18430         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18431         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18432         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18433         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18434         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18435         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18436         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18437         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18438         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18439         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18440         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18441         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18442         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18443         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18444         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18445         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18446         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18447         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18448         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18449         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18450         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18451         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18452         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18453         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18454         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18455         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18456         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18457         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18458         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18459         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18460         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18461         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18462         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18463         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18464         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18465         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18466         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18467         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18468         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18469         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18470         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18471         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18472         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18473         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18474         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18475         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18476         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18477         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18478         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18479         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18480         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18481         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18482         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18483         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18484         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18485         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18486         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18487         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18488         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18489         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18490         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18491         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18492         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18494         [BZ #17589]
18495         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18496         of fgets_unlocked.
18498         [BZ #17585]
18499         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18500         (memmem): Rename to __memmem and define as weak alias of
18501         __memmem.  Use libc_hidden_weak.
18502         (__memmem): Use libc_hidden_def.
18503         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18504         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18505         memmem.
18507         [BZ #17582]
18508         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18509         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18510         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18511         and define as weak alias of __fgets_unlocked.  Use
18512         libc_hidden_weak.
18513         (__fgets_unlocked): Use libc_hidden_def.
18514         * include/stdio.h (__fgets_unlocked): Declare.  Use
18515         libc_hidden_proto.
18516         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18517         __fgets_unlocked instead of fgets_unlocked.
18518         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18519         (GET_NPROCS_CONF_PARSER): Likewise.
18520         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18521         (GET_NPROCS_CONF_PARSER): Likewise.
18523         [BZ #17574]
18524         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18525         weak alias of __wmemset.  Use libc_hidden_weak.
18526         (__wmemset): Use libc_hidden_def.
18527         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18528         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18529         of wmemset.
18531         [BZ #17573]
18532         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18533         with asm name __mempcpy.
18534         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18536         [BZ #17572]
18537         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18538         and define as weak alias of __rawmemchr.
18539         (__rawmemchr): Do not define as strong alias of rawmemchr.
18541         [BZ #17571]
18542         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18543         alias of __qsort_r.
18544         (qsort): Call __qsort_r instead of qsort_r.
18545         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18546         (__qsort_r): Declare.  Call libc_hidden_proto.
18547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18548         instead of qsort_r.
18549         * nscd/gai.c (__qsort_r): Define to qsort_r.
18550         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18551         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18552         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18554         [BZ #17570]
18555         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18556         define as weak alias of __malloc_info.
18558         [BZ #17584]
18559         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18560         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18561         (__rewinddir): Use libc_hidden_def.
18562         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18563         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18564         (__rewinddir): Use libc_hidden_def.
18565         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18566         weak alias of __rewinddir.  Don't use libc_hidden_def.
18567         (__rewinddir): Use libc_hidden_def.
18568         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18569         (__rewinddir): Use libc_hidden_proto.
18570         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18571         rewinddir.
18572         (__getcwd): Use __rewinddir instead of rewinddir.
18574         [BZ #17583]
18575         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18576         alias of __fileno.  Use libc_hidden_weak.
18577         (__fileno): Use libc_hidden_def.
18578         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18579         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18580         alias of __ftello.
18581         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18582         __ftello.
18583         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18584         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18585         libc_hidden_def.
18586         (fread_unlocked): Don't use libc_hidden_ver.
18587         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18588         and define as weak alias of __fread_unlocked.  Don't use
18589         libc_hidden_def.
18590         (__fread_unlocked): Use libc_hidden_def.
18591         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18592         (ftello): Don't use libc_hidden_proto.
18593         (__ftello): Declare.  Use libc_hidden_proto.
18594         (fread_unlocked): Don't use libc_hidden_proto.
18595         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18596         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18597         and __ftello instead of fileno, fread_unlocked and ftello.
18599 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18601         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18602         GOT12.
18603         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18604         Likewise.
18605         (_dl_start_user): Likewise.
18606         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18608 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18609             Siddhesh Poyarekar  <siddhesh@redhat.com>
18611         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18612         Move argv and envp down instead of moving argc up.
18613         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18615 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18617         [BZ #17506]
18618         * test-skeleton.c (main): Return successful if one of
18619         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18620         * string/tst-strcoll-overflow.c: Define expected status.
18622 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18624         [BZ #17475]
18625         * locale/iso-639.def: Define Bhili and Tulu language codes.
18627 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18629         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18631 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18633         [BZ #17555]
18634         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18636 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18638         * configure.ac: Updated check of minimal required version to
18639         2.22.
18640         * manual/install.texi (Tools for Compilation): Updated version
18641         number.
18642         * configure: Regenerated.
18643         * INSTALL: Likewise.
18645 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18647         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18648         __tls_get_addr.
18650 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18652         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18653         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18654         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18655         libc_hidden_weak.
18656         (waitpid): Define as alias of __waitpid.
18657         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18658         __waitpid.
18659         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18660         libc_hidden_weak.
18661         (waitpid): Define as alias of __waitpid.
18662         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18663         __libc_waitpid alias.
18664         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18665         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18666         Likewise.
18667         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18668         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18669         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18670         alias.
18671         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18672         __waitpid.
18673         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18674         libc_hidden_weak.
18675         (waitpid): Define as alias of __waitpid.
18677 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18679         * manual/llio.texi: Add comment that write safety has been
18680         fixed in Linux.
18682         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18683         (localplt-build-dso): Add elf/ld.so.
18684         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18685         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18686         and free for ld.so.
18687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18688         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18690         Likewise.
18691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18692         Likewise.
18693         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18694         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18695         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18696         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18697         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18698         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18699         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18700         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18701         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18702         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18703         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18705 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18707         [BZ #14132]
18708         * include/libc-symbols.h (INTUSE): Remove macro.
18709         (INTDEF): Likewise.
18710         (INTVARDEF): Likewise.
18711         (_INTVARDEF): Likewise.
18712         (INTDEF2): Likewise.
18713         (INTVARDEF2): Likewise.
18714         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18715         rtld_hidden_def instead of INTVARDEF.
18716         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18717         (_dl_starting_up_internal): Remove declaration.
18718         (_dl_starting_up): Use rtld_hidden_proto.
18719         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18720         declaration.
18721         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18722         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18723         _dl_starting_up.
18724         * elf/dl-writev.h (_dl_writev): Likewise.
18725         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18726         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18727         _dl_starting_up_internal.
18729 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18731         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18732         test-skeleton.c.
18734 2014-11-05  Will Newton  <will.newton@linaro.org>
18736         * benchtests/Makefile: (bench-malloc): Add malloc thread
18737         scalability benchmark.
18738         * benchtests/bench-malloc-threads.c: New file.
18740 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18742         * sysdeps/aarch64/strchrnul.S: New file.
18744 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18746         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18747         definition.
18748         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18749         Likwise.
18750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18751         Likewise.
18752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18753         Likewise.
18754         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18755         Likewise.
18756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18757         Likewise.
18759 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18761         * catgets/test-gencat.c: Use test-skeleton.c.
18762         * catgets/tst-catgets.c: Likewise.
18763         * csu/tst-empty.c: Likewise.
18764         * elf/tst-audit2.c: Likewise.
18765         * elf/tst-global1.c: Likewise.
18766         * elf/tst-pathopt.c: Likewise.
18767         * elf/tst-piemod1.c: Likewise.
18768         * elf/tst-tls10.c: Likewise.
18769         * elf/tst-tls11.c: Likewise.
18770         * elf/tst-tls12.c: Likewise.
18771         * gnulib/tst-gcc.c: Likewise.
18772         * iconvdata/tst-e2big.c: Likewise.
18773         * iconvdata/tst-loading.c: Likewise.
18774         * iconv/tst-iconv1.c: Likewise.
18775         * iconv/tst-iconv2.c: Likewise.
18776         * inet/test-inet6_opt.c: Likewise.
18777         * inet/tst-gethnm.c: Likewise.
18778         * inet/tst-network.c: Likewise.
18779         * inet/tst-ntoa.c: Likewise.
18780         * intl/tst-codeset.c: Likewise.
18781         * intl/tst-gettext2.c: Likewise.
18782         * intl/tst-gettext3.c: Likewise.
18783         * intl/tst-ngettext.c: Likewise.
18784         * intl/tst-translit.c: Likewise.
18785         * io/test-stat.c: Likewise.
18786         * libio/test-fmemopen.c: Likewise.
18787         * libio/tst-freopen.c: Likewise.
18788         * libio/tst-sscanf.c: Likewise.
18789         * libio/tst-ungetwc1.c: Likewise.
18790         * libio/tst-ungetwc2.c: Likewise.
18791         * libio/tst-widetext.c: Likewise.
18792         * localedata/tst-ctype.c: Likewise.
18793         * localedata/tst-digits.c: Likewise.
18794         * localedata/tst-leaks.c: Likewise.
18795         * localedata/tst-mbswcs1.c: Likewise.
18796         * localedata/tst-mbswcs2.c: Likewise.
18797         * localedata/tst-mbswcs3.c: Likewise.
18798         * localedata/tst-mbswcs4.c: Likewise.
18799         * localedata/tst-mbswcs5.c: Likewise.
18800         * localedata/tst-setlocale.c: Likewise.
18801         * localedata/tst-trans.c: Likewise.
18802         * localedata/tst-wctype.c: Likewise.
18803         * localedata/tst-xlocale1.c: Likewise.
18804         * login/tst-grantpt.c: Likewise.
18805         * malloc/tst-calloc.c: Likewise.
18806         * malloc/tst-malloc.c: Likewise.
18807         * malloc/tst-mallocstate.c: Likewise.
18808         * malloc/tst-mcheck.c: Likewise.
18809         * malloc/tst-mtrace.c: Likewise.
18810         * malloc/tst-obstack.c: Likewise.
18811         * math/atest-exp2.c: Likewise.
18812         * math/atest-exp.c: Likewise.
18813         * math/atest-sincos.c: Likewise.
18814         * math/test-matherr.c: Likewise.
18815         * math/test-misc.c: Likewise.
18816         * math/test-powl.c: Likewise.
18817         * math/tst-definitions.c: Likewise.
18818         * misc/tst-dirname.c: Likewise.
18819         * misc/tst-efgcvt.c: Likewise.
18820         * misc/tst-fdset.c: Likewise.
18821         * misc/tst-hsearch.c: Likewise.
18822         * misc/tst-mntent2.c: Likewise.
18823         * nptl/tst-sem7.c: Likewise.
18824         * nptl/tst-sem8.c: Likewise.
18825         * nptl/tst-sem9.c: Likewise.
18826         * nss/test-netdb.c: Likewise.
18827         * posix/tst-fnmatch.c: Likewise.
18828         * posix/tst-getlogin.c: Likewise.
18829         * posix/tst-gnuglob.c: Likewise.
18830         * posix/tst-mmap.c: Likewise.
18831         * pwd/tst-getpw.c: Likewise.
18832         * resolv/tst-inet_ntop.c: Likewise.
18833         * rt/tst-timer.c: Likewise.
18834         * stdio-common/test-fseek.c: Likewise.
18835         * stdio-common/test-popen.c: Likewise.
18836         * stdio-common/test-vfprintf.c: Likewise.
18837         * stdio-common/tst-cookie.c: Likewise.
18838         * stdio-common/tst-fileno.c: Likewise.
18839         * stdio-common/tst-gets.c: Likewise.
18840         * stdio-common/tst-obprintf.c: Likewise.
18841         * stdio-common/tst-perror.c: Likewise.
18842         * stdio-common/tst-sprintf2.c: Likewise.
18843         * stdio-common/tst-sprintf3.c: Likewise.
18844         * stdio-common/tst-sprintf.c: Likewise.
18845         * stdio-common/tst-swprintf.c: Likewise.
18846         * stdio-common/tst-tmpnam.c: Likewise.
18847         * stdio-common/tst-unbputc.c: Likewise.
18848         * stdio-common/tst-wc-printf.c: Likewise.
18849         * stdlib/tst-environ.c: Likewise.
18850         * stdlib/tst-fmtmsg.c: Likewise.
18851         * stdlib/tst-limits.c: Likewise.
18852         * stdlib/tst-rand48-2.c: Likewise.
18853         * stdlib/tst-rand48.c: Likewise.
18854         * stdlib/tst-random2.c: Likewise.
18855         * stdlib/tst-random.c: Likewise.
18856         * stdlib/tst-strtol.c: Likewise.
18857         * stdlib/tst-strtoll.c: Likewise.
18858         * stdlib/tst-tls-atexit.c: Likewise.
18859         * stdlib/tst-xpg-basename.c: Likewise.
18860         * string/test-ffs.c: Likewise.
18861         * string/tst-bswap.c: Likewise.
18862         * string/tst-inlcall.c: Likewise.
18863         * string/tst-strtok.c: Likewise.
18864         * string/tst-strxfrm.c: Likewise.
18865         * sysdeps/x86_64/tst-audit10.c: Likewise.
18866         * sysdeps/x86_64/tst-audit3.c: Likewise.
18867         * sysdeps/x86_64/tst-audit4.c: Likewise.
18868         * sysdeps/x86_64/tst-audit5.c: Likewise.
18869         * time/tst-ftime_l.c: Likewise.
18870         * time/tst-getdate.c: Likewise.
18871         * time/tst-mktime3.c: Likewise.
18872         * time/tst-mktime.c: Likewise.
18873         * time/tst-posixtz.c: Likewise.
18874         * time/tst-strptime2.c: Likewise.
18875         * time/tst-strptime3.c: Likewise.
18876         * wcsmbs/tst-btowc.c: Likewise.
18877         * wcsmbs/tst-mbrtowc.c: Likewise.
18878         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18879         * wcsmbs/tst-wchar-h.c: Likewise.
18880         * wcsmbs/tst-wcpncpy.c: Likewise.
18881         * wcsmbs/tst-wcrtomb.c: Likewise.
18882         * wcsmbs/tst-wcsnlen.c: Likewise.
18883         * wcsmbs/tst-wcstof.c: Likewise.
18885 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #14132]
18888         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18889         INTDEF.
18890         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18891         declaration.
18892         (_dl_mcount): Use rtld_hidden_proto.
18893         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18894         _dl_mcount.
18895         * elf/rtld.c (_rtld_global_ro): Likewise.
18897         [BZ #14132]
18898         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18899         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18900         of _dl_init_internal.
18901         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18902         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18903         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18904         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18905         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18906         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18907         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18908         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18909         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18910         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18911         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18912         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18913         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18914         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18915         * sysdeps/tile/dl-start.S (_start): Likewise.
18916         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18917         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18919         [BZ #14132]
18920         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18921         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18922         (rtld_progname): Make macro definition unconditional.
18923         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18924         INTDEF.
18925         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18926         (dl_main): Likewise.
18927         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18928         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18929         instead of _dl_argv_internal.
18930         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18931         __GI__dl_argv instead of INTUSE(_dl_argv).
18932         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18933         __GI__dl_argv instead of _dl_argv_internal.
18935         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18936         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18937         macro.
18938         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18939         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18940         New macro.
18941         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18942         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18943         macro.
18944         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18945         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18947 2014-11-04  Andreas Schwab  <schwab@suse.de>
18949         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18951 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18953         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18954         mtvsrd instruction in binary form.
18956 2014-11-03  Andreas Schwab  <schwab@suse.de>
18958         [BZ #17522]
18959         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18960         for less than MB_LEN_MAX use a local buffer of that size.
18961         * libio/tst-fputws.c: New file.
18962         * libio/Makefile (tests): Add tst-fputws.
18964 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18966         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18967         the size of the fpu_fr.fpu_dregs[] array.
18969 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18971         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18972         (__nanosleep): Do not define as alias.
18973         (nanosleep): Define as alias of __nanosleep.
18974         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18975         __libc_nanosleep name.
18977 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18979         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18980         install.texi in comment.
18982 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18984         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18985         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18986         ... add here and use lwsync or sync ...
18987         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18988         ... and add here using lwsync.
18990 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18992         * elf/dl-machine-reject-phdr.h: New file.
18993         * elf/dl-load.c: #include that.
18994         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18995         if that returned true.
18997 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18999         [BZ #17496]
19000         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19001         gen-as-const-headers chunk.  Add a big scare comment after the last
19002         safe place to touch before-compile.
19004 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19006         * manual/install.texi (Tools for Compilation): Update autoconf
19007         version requirements.
19008         * INSTALL: Regenerated.
19010         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19011         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19012         (__libc_pselect): Likewise.
19014         [BZ #14138]
19015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19020 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19022         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19023         correct barrier instruction.
19024         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19025         Likewise.
19026         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19027         Likewise.
19029 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19031         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19032         after defining inlines.  Instead, just use parens to defeat macro
19033         expansion of __isctype in its declaration.
19035 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19037         * include/sys/uio.h (__libc_readv): Remove declaration.
19038         (__libc_writev): Likewise.
19039         * misc/readv.c (__libc_readv): Rename to __readv.
19040         (__readv): Do not define as alias.
19041         (readv): Define as alias of __readv.
19042         * misc/writev.c (__libc_writev): Rename to __writev.
19043         (__writev): Do not define as alias.
19044         (writev): Define as alias of __writev.
19045         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19046         (__readv): Do not define as alias.
19047         (readv): Define unconditionally as alias of __readv.
19048         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19049         (__writev): Do not define as alias.
19050         (writev): Define unconditionally as alias of __writev.
19051         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19052         name.
19053         (writev): Do not define __libc_writev name.
19055 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19057         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19058         (convert_charseq): New function, broken out of ...
19059         (use_from_charmap): ... here.  Call it.
19060         (use_to_charmap): Use convert_charseq and free instead of duplicating
19061         its code with a variable-length stack struct.
19063 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19065         * include/fcntl.h (__libc_creat): Remove declaration.
19066         * io/creat.c (__libc_creat): Rename to creat.
19067         (creat): Do not define as alias.
19068         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19069         of creat instead of __libc_creat.
19070         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19071         to creat.
19072         (creat): Do not define as alias.
19073         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19074         __libc_creat.
19075         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19076         __libc_creat name.
19077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19078         Likewise.
19080 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19082         * manual/llio.texi: Add comments discussing why write() may be
19083         considered MT-unsafe on Linux.
19085 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19087         * dl-load.c (local_strdup): Remove.
19088         (expand_dynamic_string_token): Use __strdup.
19089         (decompose_rpath): Likewise.
19090         (_dl_map_object): Likewise.
19092 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #14132]
19095         * sysdeps/generic/unwind-dw2-fde.c
19096         (__register_frame_info_bases_internal): Do not declare.
19097         (__register_frame_info_table_bases_internal): Likewise.
19098         (__deregister_frame_info_bases_internal): Likewise.
19099         (__register_frame_info_bases): Declare and use hidden_proto before
19100         definition.  Use hidden_def instead of INTDEF.
19101         (__register_frame_info_table_bases): Likewise.
19102         (__deregister_frame_info_bases): Likewise.
19103         (__register_frame_info): Do not use INTUSE.
19104         (__register_frame): Likewise.
19105         (__register_frame_info_table): Likewise.
19106         (__register_frame_table): Likewise.
19107         (__deregister_frame_info): Likewise.
19108         (__deregister_frame): Likewise.
19110 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19112         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19113         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19114         not undefine.
19115         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19116         Likewise.
19117         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19118         Likewise.
19120 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19122         [BZ #14138]
19123         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19124         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19125         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19126         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19127         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19128         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19129         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19130         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19131         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19132         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19133         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19134         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19135         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19136         syscall.
19137         (setfsuid): Likewise.
19138         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19139         (setfsuid): Likewise.
19140         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19141         (setfsuid): Likewise.
19142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19143         Likewise.
19144         (setfsuid): Likewise.
19145         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19146         (setfsuid): Likewise.
19147         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19148         Likewise.
19149         (setfsuid): Likewise.
19151 2014-10-27  Andreas Schwab  <schwab@suse.de>
19153         [BZ #17501]
19154         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19155         check for Slow_SSE4_2 feature bit.
19156         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19157         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19158         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19159         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19161 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19163         * configure.ac: Validate compiler version with a empirical test of
19164         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19165         $CC -v output.
19166         * configure: Regenerated.
19168         * inet/htons.c (htons): Prototypify.
19169         * inet/htonl.c (htonl): Likewise.
19171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19173         * string/strncat.c (strncat): Improve performance by using strlen.
19175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19177         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19181         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19182         Call libc_fetestexcept_aarch64.
19184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19186         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19187         Call libc_feholdexcept_aarch64.
19189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19191         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19192         Call get_rounding_mode.
19194 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19196         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19197         Simplify logic.
19199 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19201         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19202         Simplify logic.
19204 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19206         [BZ #14138]
19207         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19208         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19209         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19210         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19211         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19212         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19213         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19214         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19215         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19216         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19217         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19218         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19219         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19220         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19221         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19222         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19223         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19224         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19225         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19226         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19227         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19228         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19229         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19230         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19231         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19232         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19233         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19234         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19235         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19236         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19237         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19238         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19239         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19240         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19241         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19242         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19243         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19244         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19245         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19246         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19247         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19248         syscall.
19249         (geteuid): Likewise.
19250         (getgid): Likewise.
19251         (getuid): Likewise.
19252         (getresgid): Likewise.
19253         (getresuid): Likewise.
19254         (getgroups): Likewise.
19255         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19256         (geteuid): Likewise.
19257         (getgid): Likewise.
19258         (getuid): Likewise.
19259         (getresgid): Likewise.
19260         (getresuid): Likewise.
19261         (getgroups): Likewise.
19262         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19263         (geteuid): Likewise.
19264         (getgid): Likewise.
19265         (getuid): Likewise.
19266         (getresgid): Likewise.
19267         (getresuid): Likewise.
19268         (getgroups): Likewise.
19269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19270         Likewise.
19271         (geteuid): Likewise.
19272         (getgid): Likewise.
19273         (getuid): Likewise.
19274         (getresgid): Likewise.
19275         (getresuid): Likewise.
19276         (getgroups): Likewise.
19277         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19278         (geteuid): Likewise.
19279         (getgid): Likewise.
19280         (getuid): Likewise.
19281         (getresgid): Likewise.
19282         (getresuid): Likewise.
19283         (getgroups): Likewise.
19284         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19285         Likewise.
19286         (geteuid): Likewise.
19287         (getgid): Likewise.
19288         (getuid): Likewise.
19289         (getgroups): Likewise.
19291         [BZ #14138]
19292         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19293         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19294         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19295         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19296         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19297         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19298         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19299         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19300         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19301         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19302         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19303         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19304         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19305         __chown.
19306         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19307         (lchown): Likewise.
19308         (fchown): Likewise.
19309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19310         Likewise.
19311         (lchown): Likewise.
19312         (fchown): Likewise.
19313         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19314         (lchown): Likewise.
19315         (fchown): Likewise.
19316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19317         Likewise.
19318         (lchown): Likewise.
19319         (fchown): Likewise.
19321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19323         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19324         Simplify logic.
19326 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19329         Cleanup logic.
19331 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19333         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19334         Remove unused include.
19336 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19338         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19340         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19341         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19343 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19344             Helge Deller <deller@gmx.de>
19346         [BZ #17508]
19347         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19348         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19349         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19351 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19353         [BZ #14132]
19354         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19355         Remove macro definition.
19356         (__ashrdi3_v_glibc20): Likewise.
19357         (__lshrdi3_v_glibc20): Likewise.
19358         (__cmpdi2_v_glibc20): Likewise.
19359         (__ucmpdi2_v_glibc20): Likewise.
19360         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19361         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19362         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19363         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19364         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19365         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19367 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19369         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19370         old GNU extension [0] syntax.
19371         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19372         alloca rather than an array member with variable length.
19373         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19374         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19375         (parse_opt): ... here.  Likewise use alloca there.
19376         Validate the -i argument before checking for rootness.
19377         (send_shutdown): New function, broken out of ...
19378         (parse_opt): ... here.
19380 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19382         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19383         macro to get at the _rt_local_ro field.
19384         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19385         ([PIC] case) or _dl_hwcap ([!PIC] case).
19386         * sysdeps/arm/setjmp.S: Likewise.
19388         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19389         * sysdeps/arm/configure.ac: New check to define it.
19390         * sysdeps/arm/configure: Regenerated.
19391         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19392         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19393         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19394         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19395         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19396         Use move/movt pair instead of a load.
19397         (LDST_GLOBAL): Macro removed.
19398         (LDR_GLOBAL): New macro replaces it.
19399         (LDR_HIDDEN): New macro.
19400         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19401         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19403         * setjmp/tst-setjmp-static.c: New file.
19404         * setjmp/Makefile (tests): Add it.
19405         (tests-static): New variable.
19407 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19409         [BZ #17485]
19410         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19412 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19414         [BZ #14132]
19415         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19417 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19419         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19421 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19423         * io/fts.c (dirent_not_directory): New function.
19424         (fts_build): Call it.
19426 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19428         * nptl/version.c (__nptl_main): Use normal __write rather than
19429         INTERNAL_SYSCALL.
19430         (banner): Update copyright years.
19432         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19433         gettimeofday.
19434         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19435         * nptl/pthread_cond_timedwait.c: Likewise.
19436         * nptl/pthread_mutex_timedlock.c: Likewise.
19437         * nptl/sem_timedwait.c: Likewise.
19439         * sysdeps/nptl/bits/libc-lock.h
19440         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19441         (__libc_lock_init_recursive): Return void, not 0.
19442         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19443         (__libc_rwlock_init): Likewise.
19444         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19446 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19448         [BZ #15215]
19449         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19450         (__pthread_once_slow): ... here.
19451         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19452         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19454 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19456         [BZ #15215]
19457         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19458         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19459         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19460         * nptl/pthread_once.c (__pthread_once): Likewise.
19461         Update comments.
19463 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #14138]
19466         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19467         name.
19468         (writev): Use __libc_writev as strong name.
19469         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19470         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19472 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19474         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19476         * sysdeps/i386/nptl/tls.h
19477         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19478         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19479         New macros.
19480         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19481         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19482         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19483         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19484         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19485         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19487         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19488         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19489         on [__NR_futex].
19490         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19491         broken out of ...
19492         (__pthread_mutex_init): ... here.  Call it.
19493         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19494         Conditionalize PI cases on [__NR_futex].
19495         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19496         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19497         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19499         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19500         conditional on [SIGSETXID].
19501         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19502         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19503         is defined.  Likewise for SIGSETXID.
19504         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19505         Conditionalize definitions on [SIGSETXID].
19506         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19507         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19508         unblocking on [SIGCANCEL].
19510         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19511         [__NR_set_robust_list].
19513 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19515         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19516         (do_compare): Likewise.
19518 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19520         [BZ #15884]
19521         * string/strcoll_l.c: Don't include stdio.h.
19522         (coll_seq): Remove members idxarr and rulearr.
19523         (get_next_seq_cached): Remove function.
19524         (get_next_seq): Likewise.
19525         (get_next_seq_nocache): Rename to get_next_seq.
19526         (do_compare): Remove function.
19527         (do_compare_nocache): Rename to do_compare.
19528         (STRCOLL): Remove weight and rules cache.
19530 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19532         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19533         * sysdeps/arm/sfp-machine.h: ... to here.
19534         * sysdeps/arm/Implies: Remove arm/soft-fp.
19536 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19538         * conform/data/sys/utsname.h-data (*_t): Allow.
19539         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19540         [POSIX] (WEXITED): Do not expect constant.
19541         [POSIX] (WSTOPPED): Likewise.
19542         [POSIX] (WNOHANG): Likewise.
19543         [POSIX] (WNOWAIT): Likewise.
19544         [POSIX] (siginfo_t): Do not expect type or elements.
19545         [POSIX] (pid_t): Do not expect type.
19546         [POSIX] (signal.h): Do not allow header.
19547         [POSIX] (sys/resource.h): Likewise.
19548         [POSIX] (si_*): Do not allow pattern.
19549         [POSIX] (W*): Likewise.
19550         [POSIX] (P_*): Likewise.
19551         [POSIX] (BUS_*): Likewise.
19552         [POSIX] (CLD_*): Likewise.
19553         [POSIX] (FPE_*): Likewise.
19554         [POSIX] (ILL_*): Likewise.
19555         [POSIX] (POLL_*): Likewise.
19556         [POSIX] (SEGV_*): Likewise.
19557         [POSIX] (SI_*): Likewise.
19558         [POSIX] (TRAP_*): Likewise.
19559         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19560         variable.
19562 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19564         [BZ #12926]
19565         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19566         infinite loop when __recvmsg returns 0.
19568 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19570         * CANCEL-FCT-WAIVE: Remove file.
19571         * CANCEL-FILE-WAIVE: Likewise.
19573         [BZ #14132]
19574         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19575         instead of INTVARDEF.
19576         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19577         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19578         rtld_hidden_data_def instead of INTVARDEF.
19579         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19580         * elf/dl-deps.c (expand_dst): Likewise.
19581         * elf/dl-load.c (_dl_dst_count): Likewise.
19582         (_dl_dst_substitute): Likewise.
19583         (decompose_rpath): Likewise.
19584         (_dl_init_paths): Likewise.
19585         (open_path): Likewise.
19586         (_dl_map_object): Likewise.
19587         * elf/rtld.c (dl_main): Likewise.
19588         (process_dl_audit): Likewise.
19589         (process_envvars): Likewise.
19590         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19591         Remove declaration.
19592         (__libc_enable_secure): Use rtld_hidden_proto.
19594 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19596         * elf/dl-load.c
19597         (add_path): New function broken out of _dl_rtld_di_serinfo.
19598         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19600 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19602         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19603         parentheses around macro arguments.
19604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19605         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19608         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19609         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19615         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19616         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19617         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19618         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19619         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19620         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19623         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19624         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19626         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19633         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19634         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19635         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19637         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19638         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19639         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19640         Likewise.
19641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19648         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19650         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19652         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19653         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19662         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19663         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19667         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19668         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19669         (_FP_FRAC_SRS_1): Likewise.
19670         (_FP_FRAC_CLZ_1): Likewise.
19671         (_FP_MUL_MEAT_1_imm): Likewise.
19672         (_FP_MUL_MEAT_1_wide): Likewise.
19673         (_FP_MUL_MEAT_1_hard): Likewise.
19674         (_FP_SQRT_MEAT_1): Likewise.
19675         (_FP_FRAC_ASSEMBLE_1): Likewise.
19676         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19677         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19678         (__FP_CLZ_2): Likewise.
19679         (_FP_MUL_MEAT_2_wide): Likewise.
19680         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19681         (_FP_MUL_MEAT_2_gmp): Likewise.
19682         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19683         (_FP_SQRT_MEAT_2): Likewise.
19684         (_FP_FRAC_ASSEMBLE_2): Likewise.
19685         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19686         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19687         (_FP_FRAC_CLZ_4): Likewise.
19688         (_FP_MUL_MEAT_4_wide): Likewise.
19689         (_FP_MUL_MEAT_4_gmp): Likewise.
19690         (_FP_SQRT_MEAT_4): Likewise.
19691         (_FP_FRAC_ASSEMBLE_4): Likewise.
19692         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19693         * soft-fp/op-common.h (_FP_CMP): Likewise.
19694         (_FP_CMP_EQ): Likewise.
19695         (_FP_CMP_UNORD): Likewise.
19696         (_FP_TO_INT): Likewise.
19697         (_FP_FROM_INT): Likewise.
19698         [!__FP_CLZ] (__FP_CLZ): Likewise.
19699         (_FP_DIV_HELP_imm): Likewise.
19700         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19701         Likewise.
19702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19706         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19707         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19710         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19713         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19714         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19715         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19716         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19717         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19718         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19721         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19724         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19725         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19731         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19732         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19733         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19734         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19736         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19737         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19738         (FP_UNPACK_RAW_SP): Likewise.
19739         (FP_PACK_RAW_S): Likewise.
19740         (FP_PACK_RAW_SP): Likewise.
19741         (FP_UNPACK_S): Likewise.
19742         (FP_UNPACK_SP): Likewise.
19743         (FP_UNPACK_SEMIRAW_S): Likewise.
19744         (FP_UNPACK_SEMIRAW_SP): Likewise.
19745         (FP_PACK_S): Likewise.
19746         (FP_PACK_SP): Likewise.
19747         (FP_PACK_SEMIRAW_S): Likewise.
19748         (FP_PACK_SEMIRAW_SP): Likewise.
19749         (_FP_SQRT_MEAT_S): Likewise.
19750         (FP_CMP_S): Likewise.
19751         (FP_CMP_EQ_S): Likewise.
19752         (FP_CMP_UNORD_S): Likewise.
19753         (FP_TO_INT_S): Likewise.
19754         (FP_FROM_INT_S): Likewise.
19756         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19758         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19759         (FP_EX_INVALID_IMZ): Likewise.
19760         (FP_EX_INVALID_IMZ_FMA): Likewise.
19761         (FP_EX_INVALID_ISI): Likewise.
19762         (FP_EX_INVALID_ZDZ): Likewise.
19763         (FP_EX_INVALID_IDI): Likewise.
19764         (FP_EX_INVALID_SQRT): Likewise.
19765         (FP_EX_INVALID_CVI): Likewise.
19766         (FP_EX_INVALID_VC): Likewise.
19767         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19768         "invalid" exceptions.
19769         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19770         (_FP_ADD_INTERNAL): Likewise.
19771         (_FP_MUL): Likewise.
19772         (_FP_FMA): Likewise.
19773         (_FP_DIV): Likewise.
19774         (_FP_CMP_CHECK_NAN): Likewise.
19775         (_FP_SQRT): Likewise.
19776         (_FP_TO_INT): Likewise.
19777         (FP_EXTEND): Likewise.
19779 2014-10-09  Allan McRae  <allan@archlinux.org>
19781         * po/fr.po: Update French translation from translation project.
19783 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19785         [BZ #14132]
19786         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19787         of INTDEF.
19788         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19789         (__cxa_atexit): Use libc_hidden_proto.
19790         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19792         [BZ #14132]
19793         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19794         declaration.
19795         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19796         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19797         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19798         [!_ISOMAC] (__iswctype_internal): Likewise.
19799         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19800         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19801         alias.
19802         (fcntl): Remove __fcntl_internal alias.
19803         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19804         __connect_internal alias.
19805         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19806         Likewise.
19808         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19809         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19810         FP_DENORM_ZERO.
19811         (_FP_CHECK_FLUSH_ZERO): New macro.
19812         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19813         (_FP_CMP): Likewise.
19814         (_FP_CMP_EQ): Likewise.
19815         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19816         FP_DENORM_ZERO.
19817         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19818         (FP_TRUNC): Likewise.
19820         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19821         treated as invalid conversion, not as normal exponent.
19823         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19824         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19825         (_FP_CMP_EQ): Likewise.
19826         (_FP_CMP_UNORD): Likewise.
19827         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19828         (FP_CMP_EQ_D): Likewise.
19829         (FP_CMP_UNORD_D): Likewise.
19830         * soft-fp/extended.h (FP_CMP_E): Likewise.
19831         (FP_CMP_EQ_E): Likewise.
19832         (FP_CMP_UNORD_E): Likewise.
19833         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19834         (FP_CMP_EQ_Q): Likewise.
19835         (FP_CMP_UNORD_Q): Likewise.
19836         * soft-fp/single.h (FP_CMP_S): Likewise.
19837         (FP_CMP_EQ_S): Likewise.
19838         (FP_CMP_UNORD_S): Likewise.
19839         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19840         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19841         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19842         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19843         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19844         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19845         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19846         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19847         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19848         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19849         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19850         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19851         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19852         to FP_CMP_Q.
19853         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19854         FP_CMP_Q.
19855         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19856         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19857         FP_CMP_EQ_Q.
19858         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19859         FP_CMP_Q.
19860         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19861         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19862         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19863         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19864         FP_CMP_EQ_Q.
19865         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19866         FP_CMP_Q.
19867         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19868         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19869         FP_CMP_EQ_Q.
19870         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19871         FP_CMP_Q.
19872         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19873         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19874         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19875         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19876         FP_CMP_EQ_Q.
19878         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19879         a subnormal result, set the underflow exception if trapping on
19880         underflow is enabled.
19881         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19882         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19883         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19884         redefine to 0.
19885         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19886         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19887         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19888         * soft-fp/extendxftf2.c (__extendxftf2): Use
19889         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19891         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19892         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19893         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19894         FP_HANDLE_EXCEPTIONS.
19895         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19896         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19897         FP_HANDLE_EXCEPTIONS.
19898         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19899         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19900         FP_HANDLE_EXCEPTIONS.
19901         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19902         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19903         FP_HANDLE_EXCEPTIONS.
19905 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #14132]
19908         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19909         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19910         use INTUSE.
19911         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19912         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19913         Remove alias.
19914         (__adjtimex): Define using libc_hidden_ver.
19915         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19916         Remove declaration.
19917         (ntp_gettime): Call __adjtimex directly.
19918         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19919         Remove declaration.
19920         (ntp_gettimex): Call __adjtimex directly.
19921         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19922         __adjtimex_internal alias.
19924 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19926         [BZ #17460]
19927         * nscd/nscd.c (more_help): Rewrite list of tables collection
19928         using xstrdup and asprintf.
19930         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19932 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19933             Roland McGrath  <roland@hack.frob.com>
19935         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19936         (do_lookup_unique): ... local function 'enter' here; update callers.
19938 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19940         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19941         compat_symbol calls on [SHARED].
19942         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19943         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19944         Remove.
19945         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19946         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19947         (oldsetrlimit): Remove.
19948         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19950         (lchown): New syscall entry.
19951         (oldsetrlimit): Remove.
19952         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19954         (oldsetrlimit): Remove.
19955         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19957         [BZ #14138]
19958         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19959         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19960         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19961         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19962         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19963         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19964         (fchown): Likewise.
19965         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19966         (fchown): Likewise.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19968         Likewise.
19970 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19973         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19974         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19975         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19976         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19977         Likewise.
19978         (__old_sem_post): Likewise.
19980 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19982         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19983         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19984         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19985         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19986         Use INLINE_VSYSCALL macro.
19987         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19988         __vdso_clock_gettime.
19989         * sysdeps/unix/sysv/linux/tile/init-first.c
19990         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19991         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19992         __vdso_clock_gettime.
19994         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19995         to set up frame more cleanly.
19997         * sysdeps/tile/memcmp.c: New file.
19999         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20001         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20002         * sysdeps/tile/tilegx/strcasestr.c: New file.
20003         * sysdeps/tile/tilegx/strnlen.c: New file.
20004         * sysdeps/tile/tilegx/strstr.c: New file.
20006         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20008 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20010         * nptl/tst-setuid3.c: Write errors to stdout.
20012 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20014         * elf/dl-deps.c
20015         (preload): New functions broken out of _dl_map_object_deps.
20016         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20018 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #14138]
20021         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20022         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20024 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20026         * sysdeps/mips/strcmp.S: New.
20028 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #14138]
20031         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20032         (linkat): Likewise.
20033         (mkdirat): Likewise.
20034         (readlinkat): Likewise.
20035         (renameat): Likewise.
20036         (symlinkat): Likewise.
20037         (unlinkat): Likewise.
20038         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20039         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20040         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20041         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20042         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20043         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20044         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20046 2014-09-30  Will Newton  <will.newton@linaro.org>
20048         * math/math.h: Define long double math functions if
20049         _LIBC_TEST is defined.
20050         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20052         * localedata/Makefile: Move assignment to tests-special
20053         into an ifdef testing run-built-tests.
20054         * timezone/Makefile: Likewise.
20056 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20058         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20059         with $(BASH) not $(SHELL).
20061 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20062             Matthew LeGendre  <legendre1@llnl.gov>
20064         [BZ #17411]
20065         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20066         l_reloc_result.
20068 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20070         * stdio-common/printf_fp.c
20071         (hack_digit): New function, broken out of ...
20072         (__printf_fp): ... local function here.  Update call sites.
20073         hack_digit now takes an additional parameter that is a pointer
20074         to a struct of the referenced locals.  Those locals moved inside
20075         the struct and references updated.
20077 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20079         * aclocal.m4: Require autoconf 2.69.
20080         * configure: Regenerated.
20081         * sysdeps/aarch64/configure: Likewise.
20082         * sysdeps/alpha/configure: Likewise.
20083         * sysdeps/arm/armv7/configure: Likewise.
20084         * sysdeps/arm/configure: Likewise.
20085         * sysdeps/ia64/configure: Likewise.
20086         * sysdeps/mach/configure: Likewise.
20087         * sysdeps/mips/configure: Likewise.
20088         * sysdeps/s390/configure: Likewise.
20089         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20092         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20093         file.
20094         * sysdeps/ia64/configure.ac: Likewise.
20096 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20099         specify symbol version for ld.so.  Do not include entry for
20100         libpthread.
20101         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20103         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20105         [BZ #14171]
20106         * Makeconfig [$(build-shared) = yes]
20107         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20108         makefiles.
20109         [$(build-shared) = yes && $(soversions.mk-done) = t]
20110         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20111         [$(build-shared) = yes && $(soversions.mk-done) = t]
20112         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20113         to Makerules.
20114         [$(build-shared) = yes && $(soversions.mk-done) = t]
20115         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20116         here.
20117         [$(build-shared) = yes && $(soversions.mk-done) = t]
20118         (common-generated): Don't append gnu/lib-names.h and
20119         gnu/lib-names.stmp here.
20120         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20121         (lib-names-h-abi): New variable.
20122         [$(build-shared) = yes && $(soversions.mk-done) = t]
20123         (lib-names-stmp-abi): Likewise.
20124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20125         abi-variants] (before-compile): Append
20126         $(common-objpfx)$(lib-names-h-abi).
20127         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20128         abi-variants] (common-generated): Append gnu/lib-names.h.
20129         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20130         abi-variants] (install-others-nosubdir): Depend on
20131         $(inst_includedir)/$(lib-names-h-abi).
20132         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20133         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20134         [$(build-shared) = yes && $(soversions.mk-done) = t]
20135         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20136         [$(build-shared) = yes && $(soversions.mk-done) = t]
20137         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20138         [$(build-shared) = yes && $(soversions.mk-done) = t]
20139         (common-generated): Append $(lib-names-h-abi) and
20140         $(lib-names-stmp-abi).
20141         * scripts/lib-names.awk: Do not handle multi being set.
20142         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20143         Remove variable.
20144         (abi-lp64_be-ld-soname): Likewise.
20145         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20146         Likewise.
20147         (abi-hard-ld-soname): Likewise.
20148         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20149         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20150         Remove variable.
20151         (abi-o32_hard-ld-soname): Likewise.
20152         (abi-o32_soft_2008-ld-soname): Likewise.
20153         (abi-o32_hard_2008-ld-soname): Likewise.
20154         (abi-n32_soft-ld-soname): Likewise.
20155         (abi-n32_hard-ld-soname): Likewise.
20156         (abi-n32_soft_2008-ld-soname): Likewise.
20157         (abi-n32_hard_2008-ld-soname): Likewise.
20158         (abi-n64_soft-ld-soname): Likewise.
20159         (abi-n64_hard-ld-soname): Likewise.
20160         (abi-n64_soft_2008-ld-soname): Likewise.
20161         (abi-n64_hard_2008-ld-soname): Likewise.
20162         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20163         Likewise.
20164         (abi-64-v2-ld-soname): Likewise.
20165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20166         ld.so entries.
20167         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20168         variable.
20169         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20170         entry.
20171         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20172         variable.
20173         (abi-64-ld-soname): Likewise.
20174         (abi-x32-ld-soname): Likewise.
20175         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20176         entry.
20177         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20179 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20181         [BZ #14138]
20182         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20183         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20184         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20185         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20186         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20187         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20188         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20189         syscall entry for GLIBC_2.2 symbol version.
20190         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20191         Likewise.
20192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20193         (setrlimit): Likewise.
20194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20195         Likewise.
20197 2014-09-23  Will Newton  <will.newton@linaro.org>
20199         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20200         _LINUX_ARM_SYSDEP_H include guard too.
20201         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20202         define.
20204 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20206         * sysdeps/unix/sysv/linux/eventfd.c:
20207         Make first argument unsigned.
20208         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20209         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20211 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20213         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20214         * socket/sys/socket.h: Likewise
20215         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20217 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20219         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20221 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20223         * time/tst-ftime.c: New test.
20224         * time/Makefile (tests): Add tst-ftime.
20226 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20228         * soft-fp/extended.h: Fix comment formatting.
20229         * soft-fp/op-1.h: Likewise.
20230         * soft-fp/op-2.h: Likewise.
20231         * soft-fp/op-4.h: Likewise.
20232         * soft-fp/op-8.h: Likewise.
20233         * soft-fp/op-common.h: Likewise.
20234         * soft-fp/soft-fp.h: Likewise.
20236         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20238 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20240         [BZ #6652]
20241         * Makeconfig (soversions-default-setname): Remove variable.
20242         ($(common-objpfx)soversions.i): Don't pass default_setname to
20243         soversions.awk.
20244         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20245         oldest_abi to abi-versions.awk.
20246         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20247         * config.make.in (oldest-abi): Remove variable.
20248         * configure.ac (--enable-oldest-abi): Remove configure option.
20249         * configure: Regenerated.
20250         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20251         text.
20252         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20253         * scripts/soversions.awk: Do not handle default_setname variable.
20254         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20255         variable.
20256         * sysdeps/mach/hurd/configure: Regenerated.
20257         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20258         variable.
20259         * sysdeps/unix/sysv/linux/configure: Regenerated.
20261 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20263         * elf/Makefile (CFLAGS-interp.c): Remove.
20264         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20265         path string.
20266         * elf/interp.c: Include generated runtime-linker.h
20268         * Makerules (lib%.so): Don't include $(+interp) in
20269         prerequisites.
20270         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20271         * dlfcn/eval.c: Remove file.
20273         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20274         macros.
20276         [BZ #17266]
20277         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20278         4.2 and newer.
20280         [BZ #17370]
20281         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20283 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20284             Jakub Jelinek  <jakub@redhat.com>
20286         [BZ #17266]
20287         * libio/stdio.h: Check definition of __fortify_function
20288         instead of __extern_always_inline to include bits/stdio2.h.
20289         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20290         check if __extern_always_inline is defined.
20291         [__USE_MISC || __USE_XOPEN]: Likewise.
20292         [__USE_ISOC99] Likewise.
20293         * misc/sys/cdefs.h (__fortify_function): Define only if
20294         __extern_always_inline is defined.
20295         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20296         __extern_always_inline and __extern_inline only for g++-4.3
20297         and newer or a compatible gcc.
20299 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20301         [BZ #17371]
20302         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20303         last change to handle zero prefix length.
20305 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20307         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20308         _SC_REGEX_VERSION.
20310         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20311         _POSIX_RAW_SOCKETS.
20313 2014-09-13  Allan McRae  <allan@archlinux.org>
20315         * po/ru.po: Update Russian translation from translation project.
20317 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20319         * locale/programs/locale.c (show_locale_vars): Inline local function
20320         into its sole call site.  Clean up some style nits.
20321         (print_item): New function, broken out of ...
20322         (show_info): ... local function here.  Clean up style nits.
20324         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20325         out of ...
20326         (set_class_defaults): ... local function set_default here.
20327         Define set_default as a macro locally to pass constant parameters.
20328         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20329         rather than a shared local.
20331         * stdlib/rpmatch.c (try): New function, broken out of ...
20332         (rpmatch): ... local function here.  Also, prototypify definition.
20334 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20336         * scripts/soversions.awk: Do not handle configuration names.
20337         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20338         vendor and os variables to soversions.awk.
20339         * configure.ac: Do not modify gnu-* host_os.
20340         * configure: Regenerated
20341         * shlib-versions: Remove first column with configuration names.
20342         * nptl/shlib-versions: Likewise.
20343         * nptl_db/shlib-versions: Likewise.
20344         * sysdeps/hppa/shlib-versions: Likewise.
20345         * sysdeps/m68k/shlib-versions: Likewise.
20346         * sysdeps/mach/hurd/shlib-versions: Likewise.
20347         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20348         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20349         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20350         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20351         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20352         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20353         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20354         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20356         Likewise.
20357         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20358         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20359         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20360         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20361         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20362         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20363         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20364         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20367         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20369         Regenerated.
20370         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20372         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20374         * shlib-versions: Remove OS-specific entries.  Moved to files in
20375         sysdeps.
20376         * sysdeps/mach/hurd/shlib-versions: New file.
20377         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20379         * nptl/shlib-versions: Remove architecture-specific entries.
20380         Moved to files in sysdeps.
20381         * shlib-versions: Likewise.
20382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20383         file.
20384         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20385         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20386         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20387         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20389         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20390         (UDP_NO_CHECK6_RX): Likewise.
20392 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20394         * sysdeps/posix/sysconf.c (__sysconf): Spell
20395         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20397 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20399         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20400         loading.
20401         * iconv/Versions (__gconv_transliterate): Export for use from
20402         gconv modules.
20403         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20404         (struct __gconv_trans_data, __gconv_trans_fct,
20405         __gconv_trans_context_fct, __gconv_trans_query_fct,
20406         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20407         definitions.
20408         (struct __gconv_step_data): Remove __trans member.
20409         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20410         longer hidden.  Remove unused trans_data argument.
20411         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20412         (__gconv_translit_find): Remove declaration.
20413         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20414         prototype.
20415         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20416         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20417         trans_data argument.  Add hidden definition.
20418         (__gconv_translit_find): Remove.
20419         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20420         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20421         * iconv/skeleton.c: Remove transliteration initialization.
20422         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20423         __gconv_step_data initialization.
20424         * libio/iofwide.c (__libio_translit_): Remove.
20425         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20426         * wcsmbs/btowc.c (__btowc): Likewise.
20427         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20428         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20429         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20430         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20431         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20432         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20433         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20434         * wcsmbs/wctob.c (wctob): Likewise.
20436 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20438         [BZ #16194]
20439         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20440         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20441         register usage.
20442         * sysdeps/x86/Makefile: Adjust.
20444 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20445             Roland McGrath  <roland@hack.frob.com>
20447         * locale/weight.h: Add include guard.
20448         (findidx): Make static rather than auto; take new parameters
20449         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20450         * locale/weightwc.h: Likewise.
20451         * posix/fnmatch_loop.c
20452         (FCT): Change type of EXTRA from int32_t to wint_t.
20453         Don't include either header inside the function.
20454         Call FINDIDX rather than findidx, and pass new arguments.
20455         #undef FINDIDX at the end of the file.
20456         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20457         FINDIDX before including fnmatch_loop.c for the non-wide version.
20458         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20459         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20460         for the wide version.
20461         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20462         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20463         Pass new arguments to findidx.
20464         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20465         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20466         Don't #include it inside the function.  Pass new arguments to findidx.
20467         * posix/regex_internal.h
20468         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20469         (re_string_elem_size_at): Don't #include it inside the function.
20470         Pass new arguments to findidx.
20471         * string/strcoll_l.c: #include WEIGHT_H at top level.
20472         (get_next_seq): Don't #include it inside the function.
20473         Pass new arguments to findidx.
20474         (get_next_seq_nocache): Likewise.
20475         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20476         (STRXFRM): Don't #include it inside the function.
20477         Pass new arguments to findidx.
20479 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20481         [BZ #17344]
20482         * malloc/malloc.c (unlink): Turn asserts into a call to
20483         malloc_printerr.
20485 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20487         [BZ #17370]
20488         * libio/wfileops (do_ftell_wide): Free OUT.
20490 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20492         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20494 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20496         [BZ #17363]
20497         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20498         group if the current group is empty.
20500 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20502         * benchtests/bench-memset.c (test_main): Add more test from size
20503         from 32 to 512 bytes.
20504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20505         Add POWER8 memset object.
20506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20507         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20508         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20509         implementation.
20510         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20511         Likewise.
20512         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20513         multiarch POWER8 memset optimization.
20514         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20515         POWER8 memset optimization.
20517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20518         Remove bzero multiarch objects.
20519         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20520         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20521         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20522         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20523         Remove define.
20524         [__bzero]: Redefine to specific name.
20525         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20526         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20527         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20528         define.
20529         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20530         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20532 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20534         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20535         warnings into errors.
20537         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20538         __cxa_thread_atexit_impl prototype.
20540 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20542         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20543         Fix capitalization of error message.
20545 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20547         * sysdeps/mips/preconfigure: Modify ABI tests.
20549 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20551         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20553 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20554             Carlos O'Donell  <carlos@systemhalted.org>
20556         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20557         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20558         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20559         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20560         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20561         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20562         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20563         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20564         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20565         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20566         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20567         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20569         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20571         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20573         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20575         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20576         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20577         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20578         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20579         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20580         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20581         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20582         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20583         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20584         Deconditionalize the code that was previously under [RESET_PID].
20585         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20586         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20587         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20588         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20589         include sysdep.h.
20591 2014-09-08  Allan McRae  <allan@archlinux.org>
20593         * version.h (RELEASE): Set to "development".
20594         (VERSION): Set to "2.20.90"
20596 2014-09-07  Allan McRae  <allan@archlinux.org
20598         * version.h (RELEASE): Set to "stable".
20599         (VERSION): Set to "2.20"
20600         * include/features.h (__GLIBC_MINOR__): Set to 20.
20602         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20603         Liebler.
20605         * po/ko.po: Update Korean translation from translation project.
20607 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20609         [BZ #17354]
20610         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20611         macro for handling signed relocations.
20613 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20615         [BZ #17325]
20616         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20617         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20618         assert.
20619         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20620         * iconvdata/ibm935.c (BODY): Likewise.
20621         * iconvdata/ibm937.c (BODY): Likewise.
20622         * iconvdata/ibm939.c (BODY): Likewise.
20623         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20624         assert.
20625         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20626         script.
20627         * iconvdata/run-iconv-test.sh: New test loop for checking for
20628         decoder crashers.
20630 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20633         libm_hidden_ver.
20635 2014-09-01  Allan McRae  <allan@archlinux.org>
20637         * po/eo.po: Update Esperanto translation from translation project.
20639         * po/ca.po: Update Catalan translation from translation project.
20641 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20643         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20644         __proc_dostop call.
20646 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20648         [BZ #17319]
20649         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20650         to call set_thread_area instead of hand written asm.
20651         (__NR_set_thread_area): Removed define.
20652         (TLS_FLAG_WRITABLE): Likewise.
20653         (__ASSUME_SET_THREAD_AREA): Remove check.
20654         (TLS_EBX_ARG): Remove define.
20655         (TLS_LOAD_EBX): Likewise.
20657 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20659         Simplify atomicity of socket creation in bind.
20661         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20662         looking up the name after linking the file.
20664 2014-08-27  Allan McRae  <allan@archlinux.org>
20666         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20668 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20670         [BZ #17187]
20671         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20672         trans_compare, open_translit, __gconv_translit_find):
20673         Remove module loading code.
20675 2014-08-26  Allan McRae  <allan@archlinux.org>
20677         * po/vi.po: Update Vietnamese translation from translation project.
20679         * po/uk.po: Update Ukrainian translation from translation project.
20681         * po/fr.po: Update French translation from translation project.
20683         * po/ru.po: Update Russian translation from translation project.
20685         * po/pl.po: Update Polish translation from translation project.
20687         * po/cs.po: Update Czech translation from translation project.
20689         * po/de.po: Update German translation from translation project.
20691         * po/bg.po: Update Bulgarian translation from translation project.
20693         * po/sv.po: Update Sweedish translation from translation project.
20695         * po/nl.po: Update Dutch translation from translation project.
20697         * po/es.po: Update Spanish translation from translation project.
20699 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20703         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20704         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20705         (CPPFLAGS-iconvconfig): Likewise.
20706         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20708         * include/libc-symbols.h: Remove unnecessary check for
20709         NOT_IN_libc.
20710         * nptl/pthreadP.h: Likewise.
20711         * sysdeps/aarch64/setjmp.S: Likewise.
20712         * sysdeps/alpha/setjmp.S: Likewise.
20713         * sysdeps/arm/sysdep.h: Likewise.
20714         * sysdeps/i386/setjmp.S: Likewise.
20715         * sysdeps/m68k/setjmp.c: Likewise.
20716         * sysdeps/posix/getcwd.c: Likewise.
20717         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20718         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20719         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20720         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20721         * sysdeps/sh/sh3/setjmp.S: Likewise.
20722         * sysdeps/sh/sh4/setjmp.S: Likewise.
20723         * sysdeps/unix/alpha/sysdep.h: Likewise.
20724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20726         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20727         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20732         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20735         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20737         * sysdeps/x86_64/setjmp.S: Likewise.
20739 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20741         [BZ #17263]
20742         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20743         <stdint.h>.
20744         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20745         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20747 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20751         [BZ #17262]
20752         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20753         and __x86_64__ when disabling x87 inline functions.
20755 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20757         [BZ #17259]
20758         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20759         asm statement with __cpuid_count.
20761 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20763         * configure.ac: Change __ehdr_start code to dereference the struct.
20764         Run readelf on the output to look for relocations.
20765         * configure: Regenerated.
20767 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20769         [BZ #17261]
20770         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20771         value to 0.
20772         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20774 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20776         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20778 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20780         [BZ #16892]
20781         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20782         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20784 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20786         * malloc/malloc.c: Fix typo in comment.
20788 2014-08-09  Allan McRae  <allan@archlinux.org>
20790         * Regenerate libc.po.
20792 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20794         * intl/tst-gettext2.sh: Check every lang file for creation.
20796 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20798         * sysdeps/aarch64/fpu/math_private.h
20799         (libc_feholdsetround_noex_aarch64_ctx): New function.
20801 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20803         * sysdeps/arm/armv6/strcpy.S (strcpy):
20804         Fix performance issue in misaligned cases.
20806 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20808         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20809         Move definition from termios.h.
20810         (struct termio): Likewise.
20811         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20812         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20813         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20814         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20815         Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20817         Move definition to ioctl-types.h
20818         (struct termio): Likewise.
20819         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20820         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20821         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20822         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20823         Likewise.
20825 2014-08-05  Richard Henderson  <rth@redhat.com>
20827         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20828         exceptions.
20829         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20830         Add fraiseexcpt.
20831         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20832         Use __feraiseexcept.
20833         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20834         Protect libm symbols with IS_IN_libm.
20836         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20838 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20840         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20842 2014-08-04  Will Newton  <will.newton@linaro.org>
20844         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20845         file.
20847 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20849         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20850         variants for each function.
20852 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20854         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20855         appended ...
20856         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20857         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20858         appended ...
20859         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20860         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20861         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20862         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20863         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20864         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20865         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20866         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20867         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20868         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20869         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20870         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20871         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20872         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20873         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20874         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20875         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20876         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20877         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20878         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20879         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20880         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20881         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20882         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20883         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20884         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20885         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20886         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20887         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20888         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20889         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20890         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20891         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20892         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20893         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20894         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20895         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20896         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20897         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20898         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20899         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20900         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20901         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20902         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20903         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20905         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20907         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20909         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20910         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20911         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20912         Update #include.
20913         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20914         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20916 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20918         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20919         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20920         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20921         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20922         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20923         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20925 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20927         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20928         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20929         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20930         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20932 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20934         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20935         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20936         (__libc_vfork): Define function under this name.
20937         (__vfork): Define as an alias.
20938         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20939         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20941 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20943         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20944         that was previously under [RESET_PID].
20945         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20947 2014-08-04  Andreas Schwab  <schwab@suse.de>
20949         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20951 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20953         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20954         (main): Likewise.
20956 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20958         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20960 2014-08-01  Richard Henderon  <rth@redhat.com>
20962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20963         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20964         typo in exact zero test.
20965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20966         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20969 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20971         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20972         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20973         * sysdeps/arm/sysdep.h: ... here.
20974         [!__ASSEMBLER__]: Include <stdint.h>.
20976 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20978         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20979         (HAVE_WCTYPE_H): Likewise.
20980         (HAVE_ISWCTYPE): Likewise.
20981         (ENABLE_NLS): Likewise.
20982         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20983         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20985         * posix/regex_internal.c: Check if DEBUG is defined and is
20986         set.
20988         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20989         (HAVE_MBSRTOWCS): Likewise.
20990         * posix/fnmatch.c: Include string.h unconditionally.
20992 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20994         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20995         reversal.
20997 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20999         * sysdeps/generic/safe-fatal.h: New file.
21000         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21001         * nptl/forward.c: Include it.
21002         (__pthread_unwind): Use __safe_fatal as default action, rather
21003         than a bogus use of INTERNAL_SYSCALL that could never work.
21005         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21006         * configure.ac (libc_cv_builtin_trap): New test.
21007         * configure: Regenerated.
21008         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21009         (ABORT_INSTRUCTION): Define using __builtin_trap.
21011         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21012         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21013         * sysdeps/nptl/nptl-signals.h: New file.
21014         * nptl/pthreadP.h: Include <nptl-signals.h>.
21016 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21018         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21019         (ONE_DIRECTION): Define.
21020         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21021         (ONE_DIRECTION): Define.
21022         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21023         (ONE_DIRECTION): Define.
21025 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21027         * sysdeps/s390/Makefile: Delete file.
21028         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21029         * sysdeps/s390/__longjmp.c: Delete file.
21030         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21031         Remove fields __flags and __reserved.
21032         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21033         and add versioning.
21034         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21035         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21036         * sysdeps/s390/rtld-setjmp.S: Likewise.
21037         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21038         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21039         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21040         * sysdeps/s390/s390-32/setjmp.S: ... here.
21041         Add versioning.
21042         (__sigsetjmp): Remove setting __flags field.
21043         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21044         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21045         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21046         * sysdeps/s390/s390-64/setjmp.S: ... here.
21047         Add versioning.
21048         (__sigsetjmp): Remove setting __flags field.
21049         * sysdeps/s390/setjmp.S: Delete file.
21050         * sysdeps/s390/sigjmp.c: Likewise.
21051         * sysdeps/s390/v1-longjmp.c: Likewise.
21052         * sysdeps/s390/v1-setjmp.h: Likewise.
21053         * sysdeps/s390/v1-sigjmp.c: Likewise.
21054         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21055         Remove v1-longjmp_chk.
21056         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21057         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21058         Include debug/longjmp_chk.c and add versioning.
21059         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21060         Include nptl/pt-longjmp.c and add versioning.
21061         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21062         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21063         Include __longjmp.c.
21064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21065         Move to ...
21066         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21067         (__getcontext): Remove setting __flags field.
21068         Add versioning.
21069         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21070         Don't restore upper high grps.
21071         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21072         Likewise.
21073         (__swapcontext): Remove setting uc_flags field.
21074         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21075         Delete file.
21076         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21077         Include __longjmp.c.
21078         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21079         Move to ...
21080         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21081         (__getcontext): Remove setting __flags field.
21082         Add versioning.
21083         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21084         (__swapcontext): Remove setting uc_flags field.
21085         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21086         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21087         Remove fields uc_high_gprs and __reserved.
21088         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21089         New file with reverted content.
21090         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21091         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21092         Regenerated.
21093         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21094         Regenerated.
21096 2014-07-31  Andreas Schwab  <schwab@suse.de>
21098         * config.h.in (HAVE_IFUNC): Define to 0.
21099         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21100         definedness.
21102 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21105         memmove-avx-unaligned, memcpy-avx-unaligned and
21106         mempcpy-avx-unaligned.
21107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21108         Add tests for AVX memcpy functions.
21109         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21110         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21111         memcpy_chk.
21112         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21113         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21114         memmove_chk.
21115         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21117         mempcpy_chk.
21118         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21119         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21120         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21122 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21124         [BZ #17213]
21125         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21126         powerpc64le.
21128 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21130         [BZ #16839]
21131         * manual/llio.texi: Add section about open file description locks.
21132         * manual/examples/ofdlocks.c: Example of open file description
21133         lock usage.
21134         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21135         F_OFD_SETLK, and F_OFD_SETLKW.
21137 2014-07-23  Allan McRae  <allan@archlinux.org>
21139         * po/es.po: Update Spanish translation from translation project.
21141 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21143         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21145 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21147         [BZ #17078]
21148         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21149         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21150         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21152 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21154         [BZ #17088]
21155         * math/fesetenv.c (__fesetenv)
21156         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21157         * math/feupdateenv.c (__feupdateenv)
21158         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21160         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21161         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21162         (__ASSUME_SOCKETCALL): Do not define.
21164         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21165         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21166         (__ASSUME_SOCKETCALL): Do not define.
21167         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21168         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21169         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21170         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21171         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21172         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21173         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21174         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21176         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21177         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21178         (__ASSUME_SOCKETCALL): Do not define.
21179         (__ASSUME_IPC64): Define unconditionally.
21180         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21181         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21182         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21183         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21184         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21185         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21186         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21187         Likewise.
21189         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21190         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21191         (__ASSUME_SOCKETCALL): Do not define.
21192         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21193         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21194         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21195         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21196         (__ASSUME_REQUEUE_PI): Define unconditionally.
21197         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21198         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21199         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21200         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21201         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21202         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21204         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21205         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21206         (__ASSUME_SOCKETCALL): Do not define.
21207         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21208         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21209         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21210         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21212         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21214         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21215         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21216         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21217         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21218         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21219         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21220         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21221         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21222         (__ASSUME_GETCPU_SYSCALL): Likewise.
21224         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21225         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21226         cases for individual architectures.
21227         * sysdeps/gnu/configure: Regenerated.
21228         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21229         LIBC_SLIBDIR_RTLDDIR.
21230         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21231         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21232         LIBC_SLIBDIR_RTLDDIR.
21233         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21235         LIBC_SLIBDIR_RTLDDIR.
21236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21237         Regenerated.
21238         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21239         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21240         file.
21241         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21242         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21243         file.
21244         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21245         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21246         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21247         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21249         * sysdeps/aarch64/shlib-versions: Move to ...
21250         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21251         * sysdeps/alpha/shlib-versions: Move to ...
21252         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21253         * sysdeps/arm/shlib-versions: Move to ...
21254         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21255         * sysdeps/hppa/shlib-versions: Move all contents except for
21256         libgcc_s entry to ...
21257         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21258         entry from ...
21259         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21260         * sysdeps/ia64/shlib-versions: Move to ...
21261         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21262         entry from ...
21263         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21264         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21265         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21266         * sysdeps/microblaze/shlib-versions: Move to ...
21267         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21268         * sysdeps/mips/shlib-versions: Move to ...
21269         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21270         entry from ...
21271         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21272         * sysdeps/tile/shlib-versions: Move to ...
21273         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21274         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21275         from ...
21276         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21277         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21278         entry from ...
21279         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21281 2014-07-17  Will Newton  <will.newton@linaro.org>
21283         * sysdeps/arm/bits/atomic.h
21284         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21285         (__arch_compare_and_exchange_bool_16_int): Likewise.
21286         (__arch_compare_and_exchange_bool_64_int): Likewise.
21288         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21289         into an #else block.
21291 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21293         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21294         just Linux configurations.  Test empirically that the compiler sets
21295         __ARM_EABI__, rather than using the tuple to decide.
21296         * sysdeps/arm/preconfigure: Regenerated.
21297         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21298         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21299         contents appended ...
21300         * sysdeps/arm/configure.ac: ... here.
21301         * sysdeps/arm/configure: Regenerated.
21303 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21305         * nptl/pthread_kill.c: New file.
21306         * nptl/pthread_sigmask.c: New file.
21307         * nptl/pthread_sigqueue.c: New file.
21309         * sysdeps/nptl/lowlevellock.h: New file.
21310         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21311         * sysdeps/nptl/lowlevellock-futex.h: New file.
21313         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21314         Remove dead declarations.
21316 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21318         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21319         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21320         config-cflags-avx2.
21321         * sysdeps/x86_64/configure.ac: Likewise.
21322         * sysdeps/i386/configure: Regenerated.
21323         * sysdeps/x86_64/configure: Likewise.
21324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21325         memset-avx2 only if config-cflags-avx2 is yes.
21326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21327         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21328         defined.
21329         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21330         only if HAVE_AVX2_SUPPORT is defined.
21331         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21333 2014-07-14  Alan Modra  <amodra@gmail.com>
21335         [BZ #17153]
21336         * elf/elf.h (DT_PPC64_NUM): Correct value.
21337         * NEWS: Add to fixed bug list.
21339 2014-07-13  Jim Meyering  <meyering@fb.com>
21341         [BZ 17150]
21342         regex: don't deref NULL upon heap allocation failure
21343         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21344         failure in one more place.
21345         To trigger the segfault, configure grep -with-included-regex,
21346         build it, and run these commands:
21347         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21349 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21351         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21353 2014-07-11  Richard Henderson  <rth@redhat.com>
21355         * sysdeps/aarch64/libm-test-ulps: Update.
21357 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21359         [BZ #17135]
21360         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21361         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21362         (__nptl_setxid): Initialize error member.  Call
21363         __nptl_setxid_error.
21364         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21365         * nptl/descr.h (struct xid_command): Add error member.
21366         * nptl/tst-setuid3.c: New file.
21367         * nptl/Makefile (tests): Add it.
21369 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21372         New define.
21373         (__lll_trylock): Use __lll_base_trylock.
21374         (__lll_cond_trylock): Likewise.
21376 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21378         * nptl/pthread_create.c (start_thread): Use atomic_or and
21379         lll_futex_wake directly rather than lll_robust_dead.
21380         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21381         (lll_robust_dead): Macro removed.
21382         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21383         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21384         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21385         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21386         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21387         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21388         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21389         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21390         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21391         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21392         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21393         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21394         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21395         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21396         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21398         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21399         Use atomic_compare_and_exchange_val_acq directly rather than
21400         lll_robust_trylock.
21401         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21402         (__lll_robust_trylock, lll_robust_trylock): Removed.
21403         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21404         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21405         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21406         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21407         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21408         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21409         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21410         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21411         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21412         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21413         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21414         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21415         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21416         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21418 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21420         * manual/locale.texi (Locale Names): New section documenting
21421         locale name syntax.  Adjust menu and node chaining accordingly.
21422         (Choosing Locale): Reference Locale Names, Locale Categories.
21423         Mention setting LC_ALL=C.  Reflect that name syntax is now
21424         documented.
21425         (Locale Categories): New section title.  Reference Locale Names.
21426         LC_ALL is an environment variable, but not a category.
21427         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21428         description, now in Locale Name.  Reference that section.  Locale
21429         name syntax is now documented.
21431 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21433         [BZ #17137]
21434         * locale/findlocale.c (name_present, valid_locale_name): New
21435         functions.
21436         (_nl_find_locale): Use the loc_name variable to store name
21437         candidates.  Call name_present and valid_locale_name to check and
21438         validate locale names.  Return an error if the locale is invalid.
21440 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21442         * locale/setlocale.c (setlocale): Use strdup for allocating
21443         composite name copy.
21445 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21447         Sync up with gnulib.
21448         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21449         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21450         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21451         and _GL_ARG_NONNULL.
21452         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21453         [!_LIBC]: Include code for Windows and Cygwin.
21454         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21455         Include prototype for int strerror_r.
21456         [!_LIBC] (is_open): New function.
21457         (flush_stdout): New function.
21458         (print_errno_message): Use it.
21459         (error): Likewise.
21460         (error_at_line): Likewise.
21461         (error_tail) Add function attribute macros.  Use
21462         __builtin_expect.
21464         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21466         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21468         * io/ftw.c: Include sys/param.h unconditionally.
21470         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21472         [BZ #17125]
21473         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21474         libc_freeres_ptr.
21475         (freecache): New function to free CACHE on exit.
21477         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21478         initialization.
21480 2014-07-09  David S. Miller  <davem@davemloft.net>
21482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21484         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21485         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21486         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21487         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21488         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21489         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21490         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21491         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21492         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21493         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21494         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21495         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21496         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21498 2014-07-09  Andreas Schwab  <schwab@suse.de>
21500         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21501         output.
21502         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21503         (do_test): Likewise.
21505         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21507 2014-07-09  Will Newton  <will.newton@linaro.org>
21509         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21510         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21511         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21512         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21513         * sysdeps/hppa/start.S (_start): Likewise.
21515 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21517         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21519         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21520         defined.
21522 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21524         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21525         after checking that it is non-NULL.
21527         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21529 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21531         * sysdeps/powerpc/memmove.c: Remove file.
21532         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21533         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21534         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21535         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21536         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21537         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21538         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21539         string memmove instead of removed powerpc one.
21541         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21542         [weak_alias]: Fix compiler warning due trailing data.
21543         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21544         [weak_alias]: Likewise.
21545         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21546         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21549         (__libc_ifunc_impl_list): Add memmove functions.
21551 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21553         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21554         Remove code.
21555         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21556         Likewise
21557         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21558         Likewise
21559         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21560         Likewise
21561         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21562         Likewise
21563         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21564         Likewise
21565         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21566         Likewise
21567         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21568         Likewise
21569         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21570         Likewise
21571         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21572         Likewise
21573         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21574         Likewise
21575         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21576         Likewise
21577         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21578         Likewise
21579         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21580         Likewise
21581         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21582         Likewise
21583         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21584         Likewise
21585         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21586         Likewise
21588 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21590         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21591         to avoid alignment traps in non-cacheable memory.
21592         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21595         multiarch objects.
21596         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21597         file: multiarch power7 memmove.
21598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21599         multiarch default memmove.
21600         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21601         multiarch memove for powerpc32/power4.
21603         * string/bcopy.c: Use full path to include memmove.c.
21604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21605         multiarch objects.
21606         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21607         bcopy for powerpc64.
21608         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21609         bcopy for powerpc64.
21610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21611         and memmove implementations.
21612         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21613         optimized multiarch memmove for POWER7/powerpc64.
21614         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21615         default multiarch memmove for powerpc64.
21616         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21617         multiarch for powerpc64.
21618         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21619         for POWER7/powerpc64.
21620         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21621         memmove for POWER7/powerpc64.
21623         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21624         glibc default one.
21626         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21627         __ELF_NATIVE_CLASS equal to 64.
21629 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21631         * sysdeps/nptl/lowlevellock.h: File removed.
21633         * NEWS: NPTL is no longer an add-on!
21634         * nptl/internaltypes.h: Moved ...
21635         * sysdeps/nptl/internaltypes.h: ... here.
21636         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21637         * sysdeps/nptl/fork.c: Likewise.
21638         * sysdeps/nptl/gai_misc.h: Likewise.
21639         * sysdeps/nptl/librt-cancellation.c: Likewise.
21640         * sysdeps/nptl/jmp-unwind.c: Likewise.
21641         * sysdeps/nptl/setxid.h: Likewise.
21642         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21643         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21644         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21645         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21646         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21647         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21648         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21649         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21650         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21651         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21652         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21653         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21654         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21655         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21656         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21657         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21658         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21659         * nptl/Makeconfig: Moved ...
21660         * sysdeps/nptl/Makeconfig: ... here.
21661         * nptl/configure: File removed.
21662         * nptl/ANNOUNCE: File removed.
21663         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21664         * sysdeps/unix/sysv/linux/configure: Regenerated.
21666         * nptl/Makefile (routines): Add libc_pthread_init,
21667         libc_multiple_threads, register-atfork and unregister-atfork.
21668         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21669         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21670         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21671         pthread-pi-defines.sym, structsem.sym.
21672         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21673         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21674         [$(subdir) = nptl] (tests): Add tst-setgetname.
21675         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21676         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21677         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21678         [!LIBC_SIGACTION]: Remove aliases.
21679         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21680         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21681         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21682         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21683         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21684         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21686         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21687         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21688         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21689         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21690         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21691         __libc_allocate_rtsig_private.
21692         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21693         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21694         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21695         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21696         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21697         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21698         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21699         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21700         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21701         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21702         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21703         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21704         * nptl/internaltypes.h: ... here.
21705         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21706         * sysdeps/nptl/jmp-unwind.c: ... here.
21707         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21708         * nptl/libc-lowlevellock.c: ... here.
21709         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21710         * nptl/libc_multiple_threads.c: ... here.
21711         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21712         * nptl/libc_pthread_init.c: ... here.
21713         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21714         * nptl/lowlevelbarrier.sym: ... here.
21715         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21716         * nptl/lowlevelcond.sym: ... here.
21717         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21718         * nptl/lowlevellock.c: ... here.
21719         * nptl/lowlevellock.h: Moved ...
21720         * sysdeps/nptl/lowlevellock.h: ... here.
21721         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21722         * nptl/lowlevelrobustlock.c: ... here.
21723         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21724         * nptl/lowlevelrobustlock.sym: ... here.
21725         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21726         * nptl/lowlevelrwlock.sym: ... here.
21727         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21728         * nptl/pt-fork.c: ... here.
21729         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21730         * nptl/pthread-pi-defines.sym: ... here.
21731         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21732         * nptl/pthread_attr_getaffinity.c: ... here.
21733         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21734         * nptl/pthread_attr_setaffinity.c: ... here.
21735         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21736         * nptl/pthread_mutex_cond_lock.c: ... here.
21737         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21738         Update #include.
21739         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21740         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21741         * nptl/pthread_once.c: ... here, replacing old file.
21742         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21743         * nptl/pthread_yield.c: ... here.
21744         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21745         * nptl/register-atfork.c: ... here.
21746         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21747         * nptl/sem_post.c: ... here.
21748         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21749         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21750         * nptl/sem_timedwait.c: ... here.
21751         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21752         * nptl/sem_trywait.c: ... here.
21753         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21754         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21755         * nptl/sem_wait.c: ... here.
21756         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21757         * nptl/structsem.sym: ... here.
21758         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21759         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21760         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21761         * nptl/unregister-atfork.c: ... here.
21762         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21763         * nptl/unwindbuf.sym: ... here.
21764         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21765         * sysdeps/nptl/fork.c: ... here.
21766         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21767         * sysdeps/nptl/fork.h: ... here.
21768         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21769         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21770         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21771         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21772         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21773         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21774         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21775         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21776         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21777         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21778         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21779         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21780         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21781         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21782         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21783         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21784         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21785         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21786         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21787         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21788         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21789         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21790         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21791         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21792         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21793         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21794         * sysdeps/unix/sysv/linux/raise.c: ... here.
21795         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21796         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21797         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21798         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21799         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21800         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21801         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21802         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21803         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21804         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21805         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21806         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21807         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21808         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21809         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21811 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21813         * sysdeps/generic/memcopy.h: Add comment for
21814         MEMCPY_OK_FOR_FWD_MEMMOVE.
21816 2014-07-04  Will Newton  <will.newton@linaro.org>
21818         * string/memchr.c: Merge from gnulib.
21819         [_LIBC]: Remove conditionals.
21820         (__ptr_t): Remove define.
21821         (LONG_MAX_32_BITS): Likewise.
21822         (LONG_MAX): Likewise.
21823         (MEMCHR): Use ANSI prototype and optimize algorithm.
21825         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21827 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21829         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21830         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21832         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21833         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21834         in a bare environment with no <stdlib.h> installed.
21835         * sysdeps/nptl/configure: Regenerated.
21837         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21839         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21840         AC_EGREP_CPP for kernel header checks, so they only succeed if
21841         including <linux/version.h> actually works right.
21842         * sysdeps/unix/sysv/linux/configure: Regenerated.
21844         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21845         value so it's not diagnosed as unused.
21847         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21848         thing) with "ifeq ($(subdir),rt)".
21850 2014-07-03  Richard Henderson  <rth@redhat.com>
21852         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21853         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21854         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21856         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21857         (math_force_eval): New.
21859         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21860         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21862         * sysdeps/alpha/fpu/s_round.c: Remove file.
21863         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21865         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21866         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21867         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21868         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21869         (_dl_start, print_statistics): Likewise.
21870         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21871         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21873         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21874         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21875         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21876         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21877         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21878         (HP_SMALL_TIMING_AVAIL): Define.
21879         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21881         (HP_SMALL_TIMING_AVAIL): Define.
21882         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21883         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21885         * sysdeps/aarch64/hp-timing.h: New file.
21887         * sysdeps/generic/hp-timing.h: Remove dead comment.
21888         * sysdeps/generic/hp-timing-common.h: New file.
21889         * sysdeps/alpha/hp-timing.h: Include it.
21890         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21891         * sysdeps/i386/i686/hp-timing.h: Likewise.
21892         * sysdeps/ia64/hp-timing.h: Likewise.
21893         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21896         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21897         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21898         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21899         (hp_timing_t): New.
21901         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21902         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21903         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21904         * elf/rtld.c (_dl_start_final): Likewise.
21905         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21906         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21907         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21908         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21909         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21911         (HP_TIMING_DIFF_INIT): Remove.
21912         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21913         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21914         (HP_TIMING_DIFF_INIT): Remove.
21915         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21916         * sysdeps/i386/i686/hp-timing.c: Remove file.
21917         * sysdeps/x86_64/hp-timing.c: Remove file.
21918         * sysdeps/ia64/hp-timing.c: Remove file.
21919         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21920         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21922         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21924         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21925         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21926         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21927         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21928         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21929         (HP_TIMING_ACCUM): Remove.
21930         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21931         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21932         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21934         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21935         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21936         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21937         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21938         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21939         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21940         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21941         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21943         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21945 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21947         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21949 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21951         Sync up with gettext.
21952         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21953         [_MSC_VER]: Include malloc.h
21954         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21955         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21956         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21957         TEMP_FAILURE_RETRY.  Cast return of alloca.
21958         [!_LIBC] Call gl_rwlock_init.
21959         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21961 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21963         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21964         before checking its value.
21966 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21968         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21970         * debug/memcpy_chk.c: Don't include pagecopy.h.
21971         * debug/mempcpy_chk.c: Likewise.
21972         * string/memcpy.c: Likewise.
21973         * string/memmove.c: Likewise.
21974         * sysdeps/powerpc/memmove.c: Likewise.
21975         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21976         definition of PAGE_COPY_FWD_MAYBE here...
21977         * sysdeps/generic/pagecopy.h: ... from here.
21978         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21980 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21981             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21983         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21985         optimizations.
21986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21987         (__libc_ifunc_impl_list): Likewise.
21988         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21989         multiarch strcat for PPC64.
21990         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21991         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21993 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21995         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21997 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21999         * intl/loadmsgcat.c: Remove declaration of
22000         get_sysdep_segment_value.
22001         (get_sysdep_segment_value): Use ISO C style.
22002         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22003         semicolon.  Fix typo and formatting in comment.
22004         (_nl_unload_domain): Use ISO C style.
22006         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22008 2014-07-02  Will Newton  <will.newton@linaro.org>
22010         * malloc/obstack.c: Merge from gnulib master.
22011         [HAVE_CONFIG_H]: Remove conditional code.
22012         [!_LIBC]: Include config.h.
22013         [!ELIDE_CODE]: Don't include inttypes.h, include
22014         stdint.h unconditionally.
22015         (print_and_abort): Mark as _Noreturn.
22016         (_obstack_allocated_p): Mark as __attribute_pure__.
22017         (obstack_free): Rename to __obstack_free.
22018         [!__attribute__]: Remove conditional code.
22019         * malloc/obstack.h: Merge from gnulib master.
22020         [__cplusplus]: Move conditional down.
22021         [!__attribute_pure__]: Define __attribute_pure__ here
22022         if it is not already defined.
22023         (_obstack_memory_used): Mark as __attribute_pure__.
22024         [!__obstack_free]: Define as obstack_free.
22025         [__GNUC__]: Remove check for ancient NeXT gcc.
22027 2014-07-02  Will Newton  <will.newton@linaro.org>
22028             Paul Eggert  <eggert@cs.ucla.edu>
22030         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22032 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22034         * resolv/gethnamaddr.c: Add comment warning that the file is
22035         not maintained.
22037 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22039         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22040         entries.
22042         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22043         entry for aio_cancel and aio_cancel64.
22044         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22045         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22046         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22047         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22048         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22049         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22050         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22051         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22052         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22053         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22054         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22055         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22056         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22058 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22060         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22061         * nptl/pthread_mutex_lock.c: Likewise.
22062         * nptl/pthread_mutex_timedlock.c: Likewise.
22063         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22065 2014-07-01  Richard henderson  <rth@redhat.com>
22067         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22068         (__isnan, __isnanl): Remove.
22069         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22071         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22073 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22075         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22077 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22079         * resolv/nss_dns/dns-host.c (getanswer_r)
22080         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22082 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22085         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22086         undefine.
22087         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22088         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22090 2014-07-01  Roland McGrath <roland@hack.frob.com>
22092         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22093         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22095         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22096         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22098         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22099         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22100         ... here.
22101         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22102         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22104         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22105         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22106         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22107         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22109         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22110         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22111         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22112         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22113         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22114         Moved ...
22115         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22116         ... here.
22117         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22118         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22119         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22120         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22121         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22122         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22123         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22124         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22125         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22126         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22127         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22128         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22129         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22130         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22131         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22132         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22133         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22134         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22135         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22136         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22137         ... here.
22138         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22139         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22140         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22141         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22142         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22143         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22144         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22145         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22147 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22149         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22150         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22151         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22152         Add sysdep.
22154 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22158 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22160         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22161         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22163         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22165         * sysdeps/arm/libm-test-ulps: Regenerated.
22167 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22168             Roland McGrath <roland@hack.frob.com>
22170         * test-skeleton.c (signal_handler): Kill the whole process group
22171         before killing the child individually.
22172         (main): Report any failure on `setpgid'.
22174 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22176         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22177         from _TLS_H to _ARM_NPTL_TLS_H.
22178         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22179         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22181 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22183         [BZ #16539]
22184         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22185         (__expm1l): Return argument unchanged when small but not
22186         subnormal.
22188         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22189         include macro name.
22190         (_FP_UNPACK_RAW_1_P): Likewise.
22191         (_FP_PACK_RAW_1): Likewise.
22192         (_FP_PACK_RAW_1_P): Likewise.
22193         (_FP_MUL_MEAT_1_wide): Likewise.
22194         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22195         (_FP_MUL_MEAT_1_hard): Likewise.
22196         (_FP_DIV_MEAT_1_imm): Likewise.
22197         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22198         (_FP_DIV_MEAT_1_udiv): Likewise.
22199         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22200         (_FP_UNPACK_RAW_2): Likewise.
22201         (_FP_UNPACK_RAW_2_P): Likewise.
22202         (_FP_PACK_RAW_2): Likewise.
22203         (_FP_PACK_RAW_2_P): Likewise.
22204         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22205         (_FP_MUL_MEAT_2_wide): Likewise.
22206         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22207         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22208         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22209         (_FP_MUL_MEAT_2_gmp): Likewise.
22210         (_FP_DIV_MEAT_2_udiv): Likewise.
22211         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22212         (_FP_FRAC_SRL_4): Likewise.
22213         (_FP_FRAC_SRST_4): Likewise.
22214         (_FP_FRAC_SRS_4): Likewise.
22215         (_FP_UNPACK_RAW_4): Likewise.
22216         (_FP_UNPACK_RAW_4_P): Likewise.
22217         (_FP_PACK_RAW_4): Likewise.
22218         (_FP_PACK_RAW_4_P): Likewise.
22219         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22220         (_FP_MUL_MEAT_4_wide): Likewise.
22221         (_FP_MUL_MEAT_4_gmp): Likewise.
22222         (umul_ppppmnnn): Likewise.
22223         (_FP_DIV_MEAT_4_udiv): Likewise.
22224         (__FP_FRAC_ADD_4): Likewise.
22225         (__FP_FRAC_SUB_3): Likewise.
22226         (__FP_FRAC_SUB_4): Likewise.
22227         (__FP_FRAC_DEC_3): Likewise.
22228         (__FP_FRAC_DEC_4): Likewise.
22229         (__FP_FRAC_ADDI_4): Likewise.
22230         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22231         (_FP_FRAC_SRL_8): Likewise.
22232         (_FP_FRAC_SRS_8): Likewise.
22234         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22235         include macro name.
22236         (FP_UNPACK_RAW_EP): Likewise.
22237         (FP_PACK_RAW_E): Likewise.
22238         (FP_PACK_RAW_EP): Likewise.
22239         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22240         (_FP_ISSIGNAN): Likewise.
22241         (_FP_ADD_INTERNAL): Likewise.
22242         (_FP_FMA): Likewise.
22243         (_FP_CMP): Likewise.
22244         (_FP_SQRT): Likewise.
22245         (_FP_TO_INT): Likewise.
22246         (_FP_FROM_INT): Likewise.
22247         (FP_EXTEND): Likewise.
22248         (_FP_DIV_MEAT_N_loop): Likewise.
22250 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22252         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22253         throughout.
22255 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22257         [BZ #17097]
22258         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22259         result with correct sign in case of exponents that produce
22260         overflow except for X very close to 1.
22262 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22264         mktime: merge #if/#ifdef usage from glibc
22265         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22266         as that works with both Glibc's and Gnulib's style.
22267         See thread starting at Siddhesh Poyarekar's bug report at:
22268         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22270 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22273         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22274         * sysdeps/tile/tilegx/memmove.c: Remove file.
22276 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22278         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22279         abi-name definition.
22280         * scripts/soversions.awk: Do not handle or generate ABI lines.
22281         * shlib-versions: Remove ABI entries.
22282         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22283         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22285 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22288         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22289         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22290         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22292         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22294         Moved ...
22295         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22296         ... here.
22297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22298         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22300         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22302         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22306         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22308         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22310         Moved ...
22311         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22315         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22317         Moved ...
22318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22320         Moved ...
22321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22325         Moved ...
22326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22328         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22334         Moved ...
22335         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22337         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22339         Moved ...
22340         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22342         Moved ...
22343         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22347         Moved ...
22348         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22349         ... here.
22350         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22351         Identical file removed.
22352         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22353         Moved ...
22354         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22356         Identical file removed.
22357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22358         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22360         Moved ...
22361         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22363         Identical file removed.
22364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22365         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22367         Identical file removed.
22368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22369         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22371         Identical file removed.
22372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22373         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22375         Identical file removed.
22376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22377         Moved ...
22378         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22380         Identical file removed.
22381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22382         Moved ...
22383         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22385         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22387         Identical file removed.
22388         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22389         Moved ...
22390         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22391         ... here.
22392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22393         Identical file removed.
22394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22395         Moved ...
22396         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22397         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22398         Identical file removed.
22399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22400         Moved ...
22401         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22403         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22405         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22406         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22407         Moved ...
22408         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22409         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22410         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22412         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22413         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22414         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22415         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22416         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22418 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22420         [BZ #17092]
22421         * nscd/nscd.c (monitor_child): Return exit status of child
22422         instead of return value from wait syscall.
22424 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22426         * configure.ac (libc_commonpagesize): Remove variable.
22427         (libc_relro_required): Likewise.
22428         (libc_cv_z_relro): Remove configure test.
22429         * configure: Regenerated.
22430         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22431         variable.
22432         (libc_relro_required): Likewise.
22433         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22434         (libc_relro_required): Likewise.
22435         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22436         (libc_relro_required): Likewise.
22437         * sysdeps/arm/preconfigure: Regenerated.
22438         * sysdeps/ia64/preconfigure: Remove file.
22439         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22440         variable.
22441         (libc_relro_required): Likewise.
22443         [BZ #16561]
22444         [BZ #16562]
22445         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22446         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22447         recompute overflowing results in original rounding mode.
22448         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22449         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22450         recompute overflowing results in original rounding mode.
22451         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22452         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22453         recompute overflowing results in original rounding mode.
22454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22456         recompute overflowing results in original rounding mode.
22457         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22458         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22459         recompute overflowing results in original rounding mode.
22460         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22461         (libc_feholdsetround_ctx): New macro.
22462         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22463         * sysdeps/i386/fpu/libm-test-ulps: Update.
22464         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22466 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22468         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22469         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22470         corresponding .cpsetup call.
22472 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22474         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22475         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22476         * sysdeps/arm/Makefile [$(subdir) = csu]
22477         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22478         (static-only-routines): Add aeabi_read_tp here.
22479         (shared-only-routines): Add libc-aeabi_read_tp here.
22480         (CFLAGS-libc-start.c): Add -fexceptions here.
22481         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22482         (sysdep_routines, static-only-routines, shared-only-routines):
22483         Don't add to these here.
22484         (CFLAGS-libc-start.c): Likewise.
22486         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22487         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22488         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22489         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22490         * sysdeps/arm/Makefile [$(subdir) = rt]
22491         (librt-sysdep_routines, librt-shared-only-routines):
22492         Append rt-aeabi_unwind_cpp_pr1 here.
22493         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22494         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22495         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22496         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22497         Append nptl-aeabi_unwind_cpp_pr1 here.
22498         (tests): Filter out tst-cleanupx4 here.
22499         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22500         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22501         Don't do those here.
22503 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22505         * scripts/list-sources.sh: Do not handle ports specially.
22507 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22509         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22510         * sysdeps/arm/feupdateenv.c: Likewise.
22512         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22514 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22516         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22517         trailing whitespace removed.
22518         * scripts/config.guess: Update to version 2014-03-23.
22519         * scripts/config.sub: Update to version 2014-05-01
22520         * scripts/install-sh: Update to version 2013-12-25.23.
22521         * scripts/move-if-change: Update from gnulib.
22523 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22525         * debug/memmove_chk.c: Remove pagecopy.h include.
22527 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22529         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22530         identical to gnulib mktime.
22532 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22534         * configure.ac: Do not test for machine being rs6000.  Do not test
22535         for powerpc*-*soft.
22536         * configure: Regenerated.
22538         [BZ #11505]
22539         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22540         test.
22541         * configure: Regenerated.
22542         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22543         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22544         Remove configure test.
22545         * sysdeps/arm/configure: Regenerated.
22546         * sysdeps/nptl/configure.ac: Do not check
22547         libc_cv_asm_cfi_directives.
22548         * sysdeps/nptl/configure: Regenerated.
22549         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22550         * sysdeps/x86_64/nptl/configure: Remove generated file.
22551         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22552         unconditional.
22553         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22555 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22557         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22558         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22559         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22560         it is defined.
22562         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22563         instead of whether it is defined.
22564         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22565         * sysdeps/hppa/dl-machine.h: Likewise.
22566         * sysdeps/ia64/dl-machine.h: Likewise.
22567         * sysdeps/m68k/dl-machine.h: Likewise.
22568         * sysdeps/microblaze/dl-machine.h: Likewise.
22569         * sysdeps/mips/dl-machine.: Likewise.
22570         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22571         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22572         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22573         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22574         * sysdeps/sh/dl-machine.h: Likewise.
22575         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22576         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22577         * sysdeps/tile/dl-machine.h: Likewise.
22578         * sysdeps/x86_64/dl-machine.h: Likewise.
22580         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22581         code.
22582         (verify_persistent_db): Likewise.
22584 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22587         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22589         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22591         Moved ...
22592         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22593         ... here.
22594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22597         Identical file removed.
22598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22601         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22603         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22605         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22607         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22609         Moved ...
22610         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22612         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22614         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22616         Moved ...
22617         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22619         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22621         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22623         Identical file removed.
22624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22625         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22627         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22629         Moved ...
22630         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22631         ... here.
22632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22633         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22635         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22637         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22639         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22641         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22643         Moved ...
22644         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22646         Moved ...
22647         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22649         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22651         Moved ...
22652         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22654         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22656         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22657         folded into ...
22658         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22659         * sysdeps/unix/sysv/linux/s390/Versions
22660         (libpthread: GLIBC_2.19): New version set.
22661         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22662         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22663         (librt: GLIBC_2.3.3): New version set.
22664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22665         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22666         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22667         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22668         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22669         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22670         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22671         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22672         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22673         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22674         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22675         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22676         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22677         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22678         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22679         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22680         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22681         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22682         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22683         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22684         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22686         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22688         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22689         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22690         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22691         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22692         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22693         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22694         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22695         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22697         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22700         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22702         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22704         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22705         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22706         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22707         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22708         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22710         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22711         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22712         (__libc_vfork): Define the function under this name.
22713         [!NOT_IN_libc] (__vfork): Make this an alias.
22714         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22716         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22717         (__libc_vfork): Define the function under this name.
22718         [!NOT_IN_libc] (__vfork): Make this an alias.
22719         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22720         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22721         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22724         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22726         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22727         code that was previously under [RESET_PID].
22728         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22729         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22732         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22733         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22734         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22735         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22736         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22737         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22738         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22739         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22740         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22741         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22742         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22743         Moved ...
22744         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22745         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22746         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22747         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22748         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22749         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22750         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22751         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22752         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22753         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22754         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22755         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22756         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22757         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22758         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22759         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22760         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22761         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22762         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22763         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22764         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22765         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22766         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22767         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22768         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22769         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22770         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22772         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22774 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22776         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22777         that was previously under [RESET_PID].
22778         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22780 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22782         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22783         not undefine and redefine.
22784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22785         [O_CLOEXEC]: Make code unconditional.
22786         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22787         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22788         <kernel-features.h>.
22789         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22790         conditional variable definition.
22791         (shm_open) [O_CLOEXEC]: Make code unconditional.
22792         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22793         code.
22795         * configure.ac (USE_REGPARMS): Don't define here.
22796         * configure: Regenerated.
22797         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22798         * sysdeps/i386/configure: Regenerated.
22800         * nptl/createthread.c: Don't include kernel-features.h.
22801         * nptl/pthread_cancel.c: Likewise.
22802         * nptl/pthread_condattr_setclock.c: Likewise.
22803         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22804         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22805         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22806         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22807         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22808         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22809         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22812         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22813         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22814         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22815         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22816         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22817         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22818         * nscd/gai.c: Likewise.
22819         * nss/nss_db/db-open.c: Likewise.
22820         * sysdeps/generic/ldsodefs.h: Likewise.
22821         * sysdeps/sh/nptl/tls.h: Likewise.
22822         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22823         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22824         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22825         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22826         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22827         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22828         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22829         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22830         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22831         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22832         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22833         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22834         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22835         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22836         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22837         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22838         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22839         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22840         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22841         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22844         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22845         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22848         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22850         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22851         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22852         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22853         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22854         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22855         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22856         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22857         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22858         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22859         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22860         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22861         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22862         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22863         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22864         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22865         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22866         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22867         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22868         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22869         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22870         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22871         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22872         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22873         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22874         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22875         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22876         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22877         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22878         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22879         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22902         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22903         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22904         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22905         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22906         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22907         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22908         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22909         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22910         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22911         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22912         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22913         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22914         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22915         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22916         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22917         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22918         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22919         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22920         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22921         * sysdeps/unix/sysv/linux/system.c: Likewise.
22922         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22923         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22924         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22925         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22926         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22927         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22928         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22930         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22931         * configure: Regenerated.
22932         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22934         * configure.ac (base_machine): Do not set specially for particular
22935         machines here.
22936         * configure: Regenerated.
22937         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22938         settings from configure.ac.
22939         * sysdeps/i386/preconfigure: New file.
22940         * sysdeps/s390/preconfigure: Likewise.
22941         * sysdeps/sh/preconfigure: Likewise.
22942         * sysdeps/sparc/preconfigure: Likewise.
22944 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22946         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22947         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22948         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22949         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22950         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22951         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22952         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22953         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22954         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22955         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22956         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22957         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22958         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22959         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22960         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22961         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22963         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22964         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22966         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22967         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22968         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22969         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22970         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22971         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22972         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22973         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22974         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22975         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22976         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22977         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22978         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22979         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22980         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22981         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22982         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22983         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22984         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22985         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22987         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22989         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22992         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22993         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22995         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22997         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22999         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23000         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23001         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23002         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23003         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23006         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23008         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23010         Moved ...
23011         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23012         ... here.
23013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23016         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23018         Moved ...
23019         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23021         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23025         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23027         Moved ...
23028         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23030         Moved ...
23031         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23033         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23035         Moved ...
23036         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23038         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23040         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23042         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23044         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23046         Moved ...
23047         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23048         ... here.
23049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23050         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23052         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23054         Moved ...
23055         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23057         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23059         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23061         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23063         Moved ...
23064         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23066         Moved ...
23067         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23069         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23071         Moved ...
23072         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23074         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23076         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23078 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23080         * timezone/checktab.awk: Update from tzcode 2014e.
23081         * timezone/private.h: Likewise.
23082         * timezone/tzfile.h: Likewise.
23083         * timezone/zdump.c: Likewise.
23084         * timezone/zic.c: Likewise.
23086         * sysdeps/unix/sysv/linux/kernel-features.h
23087         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23088         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23089         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23090         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23091         Remove conditional code.
23093 2014-06-25  Will Newton  <will.newton@linaro.org>
23095         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23096         (_dl_arm_cap_flags): Add HWCAP2 values.
23097         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23098         (_DL_HWCAP_COUNT): Increase to 37.
23099         (_DL_HWCAP_LAST): New define.
23100         (_DL_HWCAP2_LAST): New define.
23101         (_dl_procinfo): Add support for printing
23102         AT_HWCAP2 entries.
23103         (_dl_string_hwcap): Use _dl_hwcap_string.
23105 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23109 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23111         * README: Do not mention ports directory.
23113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23114         Remove macro.
23115         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23116         <kernel-features.h>.
23117         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23118         conditional variable definition.
23119         (__futimes): Update comment.
23120         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23121         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23123         [BZ #16560]
23124         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23125         arguments close to 0.
23126         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23127         Likewise.
23128         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23129         Likewise.
23130         * math/auto-libm-test-in: Add more tests of exp10.
23131         * math/auto-libm-test-out: Regenerated.
23132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23134         * sysdeps/unix/sysv/linux/kernel-features.h
23135         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23136         * sysdeps/unix/sysv/linux/readv.c: Do not include
23137         <kernel-features.h>.
23138         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23139         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23140         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23141         unconditional.
23142         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23143         conditional code.
23144         * sysdeps/unix/sysv/linux/writev.c: Do not include
23145         <kernel-features.h>.
23146         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23147         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23148         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23149         unconditional.
23150         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23151         conditional code.
23153 2014-06-25  Will Newton  <will.newton@linaro.org>
23155         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23156         comment changes throughout the file.  Remove checks
23157         for HAVE_*_H definitions that are not required.
23158         (__gen_tempname): Call abort if an unknown kind value is
23159         passed.
23161 2014-06-25  Andreas Schwab  <schwab@suse.de>
23163         [BZ #17086]
23164         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23165         scalbln, scalblnf, scalblnl in libc.
23167 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23169         [BZ #17086]
23170         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23171         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23172         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23174 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23176         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23177         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23178         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23179         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23180         Update #include.
23181         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23182         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23183         Update #include.
23184         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23185         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23186         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23187         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23188         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23189         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23190         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23191         * sysdeps/x86/bits/semaphore.h: ... here.
23192         * sysdeps/x86/nptl/elide.h: Moved ...
23193         * sysdeps/x86/elide.h: ... here.
23194         * sysdeps/x86_64/nptl/Implies: File removed.
23195         * sysdeps/i386/nptl/Implies: File removed.
23197 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23199         [BZ #16539]
23200         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23201         return the argument for normal arguments with exponent below -64.
23202         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23203         Likewise.
23204         * math/auto-libm-test-in: Add another test of expm1.
23205         * math/auto-libm-test-out: Regenerated.
23207         [BZ #16287]
23208         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23209         calling __erfcl for arguments at least 16.
23210         * math/auto-libm-test-in: Add more tests of erf.
23211         * math/auto-libm-test-out: Regenerated.
23213         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23214         individual architectures.
23215         * sysdeps/unix/sysv/linux/configure: Regenerated.
23216         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23217         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23218         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23219         (ldd_rewrite_script): Define variable.
23220         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23222         file.
23223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23224         generated file.
23225         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23226         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23227         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23228         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23229         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23230         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23231         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23232         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23234 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23236         [BZ #17084]
23237         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23238         Rename member __data.d to __data.__elision_data.
23240 2014-06-24  Wilco  <wdijkstr@arm.com>
23242         * NEWS: Add 16918 to fixed bug list.
23244 2014-06-24  Wilco  <wdijkstr@arm.com>
23246         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23248 2014-06-24  Wilco  <wdijkstr@arm.com>
23250         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23251         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23252         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23253         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23254         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23255         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23256         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23257         Use _FPU_MASK_RM.
23259 2014-06-24  Wilco  <wdijkstr@arm.com>
23261         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23263 2014-06-24  Wilco  <wdijkstr@arm.com>
23265         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23266         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23267         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23268         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23270 2014-06-24  Wilco  <wdijkstr@arm.com>
23272         [BZ #16918]
23273         * sysdeps/arm/feupdateenv.c (feupdateenv):
23274         Rewrite to reduce FPSCR accesses and fix return value.
23276 2014-06-24  Wilco  <wdijkstr@arm.com>
23278         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23279         Optimize to avoid unnecessary FPSCR writes.
23280         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23281         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23282         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23283         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23285 2014-06-24  Wilco  <wdijkstr@arm.com>
23287         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23288         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23289         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23290         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23291         Call libc_fetestexcept_vfp.
23292         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23293         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23294         __SOFTFP__ ifdef so that they can be built for softfp.
23296 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23298         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23299         argument type signed char.
23301         * Makerules (check-abi): Dump diff of symlist if the test
23302         fails.
23304 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23306         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23307         using abort.
23309         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23310         Remove unused variable ST.
23312 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23314         [BZ #16354]
23315         [BZ #17061]
23316         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23317         small arguments before calling __expm1.
23318         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23319         small arguments before calling __expm1f.
23320         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23321         small arguments before calling __expm1l.
23322         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23323         Likewise.
23324         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23325         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23326         spurious underflow for some cosh tests.
23327         * math/auto-libm-test-out: Regenerated.
23328         * sysdeps/i386/fpu/libm-test-ulps: Update.
23330         [BZ #17050]
23331         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23332         (__ieee754_y1): Set errno if return value overflows.
23333         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23334         (__ieee754_y1f): Set errno if return value overflows.
23335         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23336         (__ieee754_y1l): Set errno if return value overflows.
23337         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23338         (__ieee754_y1l): Set errno if return value overflows.
23339         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23340         * math/auto-libm-test-out: Regenerated.
23342         * math/gen-auto-libm-tests.c: Document use of
23343         ignore-zero-inf-sign.
23344         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23345         (input_flags): Add ignore-zero-inf-sign.
23346         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23347         * math/gen-libm-test.pl (generate_testfile): Handle
23348         ignore-zero-inf-sign.
23349         * math/auto-libm-test-in: Mark some cpow tests with
23350         ignore-zero-inf-sign and some with xfail-rounding.
23351         * math/auto-libm-test-out: Regenerated.
23352         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23353         * sysdeps/i386/fpu/libm-test-ulps: Update.
23354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23356         [BZ #16315]
23357         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23358         overflowing or underflowing operations take place with sign of
23359         result.
23360         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23361         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23362         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23363         (__ieee754_pow): Recompute overflowing and underflowing results in
23364         original rounding mode.
23365         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23366         (__powl_helper): Allow negative argument X and scale negated value
23367         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23368         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23369         overflowing or underflowing operations take place with sign of
23370         result.
23371         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23372         Include <math.h>.
23373         * math/auto-libm-test-in: Add more tests of pow.
23374         * math/auto-libm-test-out: Regenerated.
23375         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23376         (pow_tonearest_test_data): Remove.
23377         (pow_test_tonearest): Likewise.
23378         (pow_towardzero_test_data): Likewise.
23379         (pow_test_towardzero): Likewise.
23380         (pow_downward_test_data): Likewise.
23381         (pow_test_downward): Likewise.
23382         (pow_upward_test_data): Likewise.
23383         (pow_test_upward): Likewise.
23384         (main): Don't call removed functions.
23385         * sysdeps/i386/fpu/libm-test-ulps: Update.
23386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23388 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23391         Moved ...
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23394         Moved ...
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23397         Moved ...
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23400         Moved ...
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23403         File removed.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23405         File removed.
23406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23407         File removed.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23409         File removed.
23410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23411         File removed.
23412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23413         File removed.
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23415         File removed.
23416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23417         File removed.
23418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23419         File removed.
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23421         File removed.
23422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23423         File removed.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23425         File removed.
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23427         Moved ...
23428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23430         Moved ...
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23432         ... here.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23434         Moved ...
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23437         Moved ...
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23440         Moved ...
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23443         Moved ...
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23452         Moved ...
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23456         ... here.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23458         Moved ...
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23461         Moved ...
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23463         ... here.
23464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23465         Moved ...
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23467         ... here.
23468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23469         Moved ...
23470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23471         ... here.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23476         Moved ...
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23483         ... here.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23485         Moved ...
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23487         ... here.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23489         Moved ...
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23495         Moved ...
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23498         Moved ...
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23501         Moved ...
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23503         ... here.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23505         Moved ...
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23508         Moved ...
23509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23511         Moved ...
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23514         Moved ...
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23519         Moved ...
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23522         Moved ...
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23525         Moved ...
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23527         ... here.
23528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23529         Moved ...
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23531         ... here.
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23533         Moved ...
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23535         ... here.
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23537         Moved ...
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23540         Moved ...
23541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23543         Moved ...
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23546         Moved ...
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23548         ... here.
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23550         Moved ...
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23552         ... here.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23554         Moved ...
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23556         ... here.
23557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23558         Moved ...
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23561         Moved ...
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23564 2014-06-23  Will Newton  <will.newton@linaro.org>
23565             Wilco  <wdijkstr@arm.com>
23567         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23568         implementation.  Include get-rounding-mode.h.
23569         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23570         [!libc_feholdsetround_noex_ctx]: Define
23571         libc_feholdsetround_noex_ctx.
23572         [!libc_feholdsetround_noexf_ctx]: Define
23573         libc_feholdsetround_noexf_ctx.
23574         [!libc_feholdsetround_noexl_ctx]: Define
23575         libc_feholdsetround_noexl_ctx.
23576         (libc_feholdsetround_ctx): New function.
23577         (libc_feresetround_ctx): New function.
23578         (libc_feholdsetround_noex_ctx): New function.
23579         (libc_feresetround_noex_ctx): New function.
23581 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23583         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23584         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23585         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23586         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23587         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23588         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23590         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23591         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23592         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23593         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23594         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23595         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23597         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23598         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23599         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23600         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23601         Moved ...
23602         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23603         ... here.
23604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23607         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23609         Moved ...
23610         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23612         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23614         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23616         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23618         Moved ...
23619         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23621         Moved ...
23622         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23624         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23626         Moved ...
23627         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23629         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23630         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23631         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23632         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23633         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23635         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23637         Moved ...
23638         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23639         ... here.
23640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23641         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23643         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23645         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23647         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23649         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23651         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23653         Moved ...
23654         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23656         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23658         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23660         Moved ...
23661         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23663         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23664         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23665         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23667         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23668         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23669         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23670         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23671         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23672         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23673         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23674         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23676         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23677         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23678         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23679         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23680         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23681         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23682         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23683         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23684         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23685         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23686         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23687         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23688         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23689         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23690         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23691         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23692         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23693         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23694         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23696 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23699         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23700         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23701         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23702         (IPV6_PMTUDISC_INTERFACE): Likewise.
23703         (IPV6_PMTUDISC_OMIT): Likewise.
23705 2014-06-23  Andreas Schwab  <schwab@suse.de>
23707         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23708         Remove unused errout label.
23710 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23712         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23713         macro: hardware supports Vector Crypto instructions.
23715 2014-06-23  Will Newton  <will.newton@linaro.org>
23717         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23718         rather than __builtin_expect.
23720         * elf/dl-lookup.c (undefined_msg): Remove variable.
23721         (_dl_lookup_symbol_x): Replace undefined_msg with string
23722         literal.
23724         * elf/dl-lookup.c (do_lookup_unique): New function.
23725         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23726         to a separate function.
23728 2014-06-23  Andreas Schwab  <schwab@suse.de>
23730         [BZ #17079]
23731         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23732         before reading the next line.
23734 2014-06-23  Will Newton  <will.newton@linaro.org>
23736         * test-skeleton.c (signal_handler): Use printf and %m
23737         rather than perror.  Use printf rather than fprintf to
23738         stderr.  Use puts rather than fputs to stderr.
23739         (main): Likewise.
23741 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23743         * nscd/nscd.c (thread_info_t): Remove typedef.
23744         (thread_info): Remove variable.
23746 2014-06-21  Allan McRae  <allan@archlinux.org>
23748         * NEWS: Mention CVE-2014-4043.
23750 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23752         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23753         * nptl/smp.h: ... here.
23755         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23757         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23758         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23759         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23760         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23762         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23763         * nptl/stack-aliasing.h: New file.
23764         * sysdeps/i386/i686/stack-aliasing.h: New file.
23765         * sysdeps/i386/i686/nptl/Makefile: File removed.
23766         * sysdeps/x86_64/stack-aliasing.h: New file.
23767         * sysdeps/x86_64/nptl/Makefile
23768         (CFLAGS-pthread_create.c): Variable removed.
23770         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23771         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23772         old file.
23773         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23774         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23775         old file.
23777 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23780         (__ASSUME_SIGFRAME_V2): Remove macro.
23781         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23782         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23783         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23784         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23785         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23786         Declare as function.  Remove conditional macro definitions.
23787         (__default_rt_sa_restorer): Likewise.
23788         (__default_sa_restorer_v1): Remove declaration.
23789         (__default_sa_restorer_v2): Likewise.
23790         (__default_rt_sa_restorer_v1): Likewise.
23791         (__default_rt_sa_restorer_v2): Likewise.
23792         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23793         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23794         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23796 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23798         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23799         (libpthread-routines): Add sysdep.
23800         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23801         * sysdeps/unix/sysv/linux/sparc/Versions
23802         (libpthread: GLIBC_2.3.3): New version set.
23803         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23804         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23805         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23806         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23807         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23809         Moved ...
23810         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23812         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23813         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23814         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23815         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23816         * sysdeps/sparc/nptl/sem_init.c: ... here.
23817         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23818         * sysdeps/sparc/nptl/sem_post.c: ... here.
23819         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23820         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23821         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23822         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23823         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23824         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23825         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23826         (libpthread-routines): Add cpu_relax.
23827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23828         File removed.
23829         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23830         (librt: GLIBC_2.3.3): New version set.
23831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23832         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23833         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23834         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23837         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23839         Moved ...
23840         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23842         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23844         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23846         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23848         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23850         Moved ...
23851         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23852         Update #include.
23853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23854         Moved ...
23855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23856         Update #include.
23857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23858         Moved ...
23859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23860         Update #include.
23861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23862         Moved ...
23863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23864         Update #include.
23865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23866         Moved ...
23867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23868         Update #include.
23869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23870         Moved ...
23871         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23872         Update #include.
23873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23874         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23878         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23884         Moved ...
23885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23887         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23889         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23891 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23893         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23894         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23895         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23896         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23897         * nscd/nscd.c: Likewise.
23898         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23899         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23900         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23901         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23903         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23904         <kernel-features.h>.
23905         (init_mq_netlink): Remove conditional have_sock_cloexec
23906         definitions.  Remove code conditional on have_sock_cloexec < 0.
23907         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23908         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23909         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23910         <kernel-features.h>.
23911         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23912         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23914 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23917         Add tests for memset_chk and memset.
23919         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23920         with AVX2_Usable.
23922 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23924         [BZ #16046]
23925         * elf/tst-dl-iter-static.c: New file.
23926         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23928         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23929         error.
23931 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23933         * sysdeps/unix/sysv/linux/kernel-features.h
23934         (__ASSUME_F_GETOWN_EX): Remove macro.
23935         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23936         <kernel-features.h>.
23937         (miss_F_GETOWN_EX): Remove variable or macro.
23938         (do_fcntl): Do not check miss_F_GETOWN_EX.
23939         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23941         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23942         Remove macro.
23943         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23944         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23945         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23947         * sysdeps/unix/sysv/linux/kernel-features.h
23948         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23949         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23950         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23951         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23953 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23955         [BZ #17075]
23956         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23957         Fix calculation of the symbol's value.
23958         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23959         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23960         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23961         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23962         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23963         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23964         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23965         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23966         (modules-names): Add `tst-armtlsdescmod',
23967         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23968         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23969         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23970         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23971         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23972         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23973         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23974         ($(objpfx)tst-armtlsdescloc): New dependency.
23975         ($(objpfx)tst-armtlsdescextnow): Likewise.
23976         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23977         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23978         TLS scheme support.
23979         * sysdeps/arm/configure: Regenerate.
23981 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23983         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23984         (__atfct_seterrno_2): Likewise.
23985         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23986         <kernel-features.h>.
23987         (__ASSUME_ATFCTS): Do not undefine and redefine.
23988         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23989         (__have_atfcts): Remove conditional definition.
23990         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23991         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23992         unreachable if [__ASSUME_ATFCTS].
23993         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23994         not undefine and redefine.
23995         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23996         <kernel-features.h>.
23997         (faccessat) [__NR_faccessat]: Make code unconditional.
23998         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23999         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24000         <kernel-features.h>.
24001         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24002         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24003         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24004         <kernel-features.h>.
24005         (fchownat) [__NR_fchownat]: Make code unconditional.
24006         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24007         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24008         <kernel-features.h>.
24009         (futimesat) [__NR_futimesat]: Make code unconditional.
24010         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24011         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24012         <kernel-features.h>.
24013         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24014         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24015         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24016         <kernel-features.h>.
24017         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24018         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24019         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24020         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24021         <kernel-features.h>.
24022         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24023         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24024         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24025         <kernel-features.h>.
24026         (linkat) [__NR_linkat]: Make code unconditional.
24027         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24028         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24029         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24030         <kernel-features.h>.
24031         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24032         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24033         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24034         <kernel-features.h>.
24035         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24036         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24037         * sysdeps/unix/sysv/linux/openat.c: Do not include
24038         <kernel-features.h>.
24039         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24040         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24041         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24042         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24043         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24044         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24045         <kernel-features.h>.
24046         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24047         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24048         result of INLINE_SYSCALL directly, not via int variable.
24049         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24050         <kernel-features.h>.
24051         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24052         (renameat) [__NR_renameat]: Make code unconditional.
24053         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24054         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24055         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24056         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24057         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24058         (__ASSUME_ATFCTS): Do not undefine and redefine.
24059         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24060         <kernel-features.h>.
24061         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24062         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24063         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24064         <kernel-features.h>.
24065         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24066         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24067         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24068         (__ASSUME_ATFCTS): Do not undefine and redefine.
24069         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24070         <kernel-features.h>.
24071         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24072         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24073         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24074         <kernel-features.h>.
24075         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24076         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24078 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24080         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24082 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24084         [BZ #17069]
24085         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24086         constructed tree before returning error.
24087         * posix/bug-regexp36.c: Expand test case.
24089 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24091         [BZ #6803]
24092         * math/libm-test.inc (scalbln_test_date):
24093         Add errno expectations.
24094         * math/w_scalblnf.c: New File.
24095         Add wrapper which checks for setting errno to ERANGE.
24096         Add weak_alias for corresponding scalbln function.
24097         * math/w_scalbln.c: Likewise.
24098         * math/w_scalblnl.c: Likewise.
24099         * math/Makefile (libm-calls): Add w_scalbln.
24100         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24101         Remove weak_alias for corresponding scalbln function.
24102         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24103         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24104         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24105         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24106         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24107         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24108         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24109         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24110         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24111         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24112         Remove long_double_symbol for scalblnl function in libm, libc.
24113         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24114         Add wrapper which checks for setting errno to ERANGE.
24115         Add long_double_symbol for scalblnl function in libm, libc.
24116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24117         Remove long_double_symbol for scalblnl in libm.
24118         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24119         Add wrapper which checks for setting errno to ERANGE.
24120         Add long_double_symbol for scalblnl function in libm.
24121         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24122         Do not use wrapper because of own implementation.
24124 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24126         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24127         3 bytes for __pad1 for x32.
24128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24130 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24131             H.J. Lu  <hongjiu.lu@intel.com>
24133         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24134         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24135         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24136         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24137         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24139 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24141         [BZ #17069]
24142         * posix/regcomp.c (parse_expression): Deallocate partially
24143         constructed tree before returning error.
24144         * posix/Makefile.c (tests): Add bug-regex36.
24145         (generated): Add bug-regex36.mtrace.
24146         (tests-special): Add $(objpfx)bug-regex36-mem.out
24147         (bug-regex36-ENV): New variable.
24148         ($(objpfx)bug-regex36-mem.out): New rule.
24149         * posix/bug-regex36.c: New file.
24151 2014-06-19  Will Newton  <will.newton@linaro.org>
24153         * malloc/malloc.c (systrim): If extra is zero then return
24154         early.
24156 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24158         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24160 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24162         * sysdeps/aarch64/strchr.S: New file.
24164 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24166         [BZ #17022]
24167         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24168         from arguments -2 or below.
24169         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24170         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24172 2014-06-18  Andreas Schwab  <schwab@suse.de>
24174         [BZ #17062]
24175         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24176         of a bracket expr not to run off the end of the string.
24177         * posix/Makefile (tests): Add tst-fnmatch3.
24178         * posix/tst-fnmatch3.c: New file.
24180 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24182         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24183         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24184         [$(cross-compiling) = no]: Likewise.
24185         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24186         [$(cross-compiling) = no]: Likewise.
24188 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24190         [BZ #17031]
24191         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24192         double, adjusted for any remainder from the high double.
24193         * math/libm-test.inc (nearbyint): Add tests.
24194         (rint): Likewise.
24196 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24198         * nptl/sysdeps/powerpc/Makefile: Moved ...
24199         * sysdeps/powerpc/nptl/Makefile: ... here.
24200         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24201         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24202         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24203         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24204         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24205         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24206         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24207         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24208         * nptl/sysdeps/powerpc/tls.h: Moved ...
24209         * sysdeps/powerpc/nptl/tls.h: ... here.
24211 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24213         [BZ #16681]
24214         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24215         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24216         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24217         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24218         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24219         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24220         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24221         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24222         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24224 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24226         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24228 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24230         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24231         defined operator.
24233         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24234         $TIMEOUTFACTOR.
24236 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24238         [BZ #17058]
24239         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24240         non-executed part of the test.
24242 2014-06-16  Andreas Schwab  <schwab@suse.de>
24244         * string/bits/string2.h (strdup, strndup): Update feature guard.
24246 2014-06-14  David S. Miller  <davem@davemloft.net>
24248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24250 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24252         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24253         that was previously under [RESET_PID].
24254         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24256         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24257         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24258         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24259         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24260         (__libc_vfork): New strong alias.
24261         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24263 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24265         * sysdeps/generic/elide.h: New file.
24267 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24269         * Makefile (installed-headers): Adjust path of pthread.h header.
24271 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24273         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24274         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24275         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24276         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24278         * nptl/sysdeps/s390/Makefile: Moved ...
24279         * sysdeps/s390/nptl/Makefile: ... here.
24280         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24281         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24282         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24283         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24284         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24285         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24286         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24287         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24288         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24289         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24290         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24291         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24292         * nptl/sysdeps/s390/tls.h: Moved ...
24293         * sysdeps/s390/nptl/tls.h: ... here.
24295         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24296         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24298 2014-06-13  David S. Miller  <davem@davemloft.net>
24300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24303         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24307         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24308         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24309         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24310         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24311         Remove RESET_PID cpp guards.
24312         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24313         Remove RESET_PID cpp guards.
24314         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24316 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24318         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24319         __sp to uintptr_t.
24321 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24326         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24344         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24345         (pthread_rwlock_rdlock): Add elision.
24346         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24347         (pthread_rwlock_wrlock): Add elision.
24348         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24349         (pthread_rwlock_trywrlock): Add elision.
24350         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24351         (pthread_rwlock_tryrdlock): Add elision.
24352         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24353         (pthread_rwlock_tryrdlock): Add elision unlock.
24354         * nptl/sysdeps/pthread/pthread.h:
24355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24356         (PTHREAD_RWLOCK_INITIALIZER,
24357         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24358         Handle new elision field.
24359         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24360         * sysdeps/arm/nptl/bits/pthreadtypes.h
24361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24362         * sysdeps/sh/nptl/bits/pthreadtypes.h
24363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24364         * sysdeps/tile/nptl/bits/pthreadtypes.h
24365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24366         * sysdeps/a/nptl/bits/pthreadtypes.h
24367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24368         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24370         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24372         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24374         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24376         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24378         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24380         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24382         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24384         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24385         (elision_init): Set try_xbegin to zero when no RTM.
24386         * sysdeps/x86/nptl/bits/pthreadtypes.h
24387         (pthread_rwlock_t): Change __pad1 to __rwelision.
24388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24390 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24392         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24393         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24394         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24395         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24397 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24399         [BZ #16996]
24400         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24401         that the cached result has been set before returning it.
24403 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24406         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24407         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24408         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24409         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24410         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24412         * nptl/sysdeps/sparc/Makefile: Moved ...
24413         * sysdeps/sparc/nptl/Makefile: ... here.
24414         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24415         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24416         * nptl/sysdeps/sparc/tls.h: Moved ...
24417         * sysdeps/sparc/nptl/tls.h: ... here.
24418         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24419         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24420         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24421         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24422         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24423         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24424         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24425         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24426         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24427         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24428         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24429         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24430         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24431         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24432         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24433         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24434         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24436         Update #include.
24437         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24439         Update #include.
24440         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24442         Update #include.
24443         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24444         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24445         Update #include.
24447         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24449         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24450         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24452         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24453         (struct list_links): Type removed.
24454         (struct thread_node, struct timer_node): Replace struct list_links
24455         with struct list_head.
24456         (list_unlink_ip): Likewise.
24457         * sysdeps/pthread/timer_routines.c
24458         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24459         (list_append, list_insbefore): Likewise.
24460         (list_init): Function removed.
24461         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24462         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24463         * sysdeps/pthread/Makefile: ... here, new file.
24465         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24466         * sysdeps/nptl/Implies: ... here.
24467         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24468         * nptl/sysdeps/pthread/list.h: Moved ...
24469         * include/list.h: ... here.
24470         * nptl/sysdeps/pthread/createthread.c: Moved ...
24471         * nptl/createthread.c: ... here.
24472         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24473         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24474         * nptl/pt-longjmp.c: ... here.
24475         * nptl/sysdeps/pthread/Makefile: Moved ...
24476         * sysdeps/nptl/Makefile: ... here.
24477         * nptl/sysdeps/pthread/Subdirs: Moved ...
24478         * sysdeps/nptl/Subdirs: ... here.
24479         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24480         * sysdeps/nptl/aio_misc.h: ... here.
24481         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24482         * sysdeps/nptl/bits/libc-lock.h: ... here.
24483         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24484         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24485         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24486         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24487         * nptl/sysdeps/pthread/configure: Moved ...
24488         * sysdeps/nptl/configure: ... here.
24489         * nptl/sysdeps/pthread/configure.ac: Moved ...
24490         * sysdeps/nptl/configure.ac: ... here.
24491         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24492         * sysdeps/nptl/gai_misc.h: ... here.
24493         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24494         * sysdeps/nptl/librt-cancellation.c: ... here.
24495         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24496         * sysdeps/nptl/malloc-machine.h: ... here.
24497         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24498         * sysdeps/nptl/pthread-functions.h: ... here.
24499         * nptl/sysdeps/pthread/pthread.h: Moved ...
24500         * sysdeps/nptl/pthread.h: ... here.
24501         * nptl/sysdeps/pthread/setxid.h: Moved ...
24502         * sysdeps/nptl/setxid.h: ... here.
24503         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24504         * sysdeps/nptl/sigfillset.c: ... here.
24505         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24506         * sysdeps/nptl/tcb-offsets.h: ... here.
24507         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24508         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24509         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24510         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24511         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24512         * sysdeps/pthread/allocalim.h: ... here.
24513         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24514         * sysdeps/pthread/bits/sigthread.h: ... here.
24515         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24516         * sysdeps/pthread/flockfile.c: ... here.
24517         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24518         * sysdeps/pthread/ftrylockfile.c: ... here.
24519         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24520         * sysdeps/pthread/funlockfile.c: ... here.
24521         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24522         * sysdeps/pthread/posix-timer.h: ... here.
24523         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24524         * sysdeps/pthread/timer_create.c: ... here.
24525         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24526         * sysdeps/pthread/timer_delete.c: ... here.
24527         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24528         * sysdeps/pthread/timer_getoverr.c: ... here.
24529         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24530         * sysdeps/pthread/timer_gettime.c: ... here.
24531         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24532         * sysdeps/pthread/timer_routines.c: ... here.
24533         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24534         * sysdeps/pthread/timer_settime.c: ... here.
24535         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24536         * sysdeps/pthread/tst-timer.c: ... here.
24537         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24538         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24540         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24541         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24543         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24544         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24545         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24546         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24547         Update #include target.
24548         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24549         * sysdeps/i386/i686/nptl/Makefile: ... here.
24550         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24551         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24552         Update #include target.
24553         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24554         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24555         * nptl/sysdeps/i386/Makefile: Moved ...
24556         * sysdeps/i386/nptl/Makefile: ... here.
24557         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24558         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24559         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24560         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24561         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24562         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24563         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24564         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24565         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24566         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24567         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24568         * nptl/sysdeps/i386/tls.h: Moved ...
24569         * sysdeps/i386/nptl/tls.h: ... here.
24571         * sysdeps/sh/Makefile [$(subdir) = csu]
24572         (gen-as-const-headers): Add tcb-offsets.sym.
24573         * nptl/sysdeps/sh/Makefile: File removed.
24574         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24575         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24576         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24577         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24578         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24579         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24580         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24581         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24582         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24583         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24584         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24585         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24586         * nptl/sysdeps/sh/tls.h: Moved ...
24587         * sysdeps/sh/nptl/tls.h: ... here.
24588         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24589         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24590         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24591         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24592         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24593         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24594         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24595         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24596         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24597         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24599         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24600         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24601         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24603         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24605         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24607         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24609         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24611         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24612         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24613         Moved ...
24614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24616         Moved ...
24617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24620         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24621         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24622         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24623         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24624         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24625         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24626         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24627         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24628         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24629         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24630         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24631         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24632         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24633         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24635         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24637 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24639         * posix/spawn_faction_addopen.c: Include string.h.
24641 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24643         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24644         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24645         * nptl/sysdeps/x86_64/Makefile: Moved ...
24646         * sysdeps/x86_64/nptl/Makefile: ... here.
24647         * nptl/sysdeps/x86_64/configure: Moved ...
24648         * sysdeps/x86_64/nptl/configure: ... here.
24649         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24650         * sysdeps/x86_64/nptl/configure.ac: ... here.
24651         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24652         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24653         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24654         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24655         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24656         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24657         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24658         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24659         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24660         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24661         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24662         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24663         * nptl/sysdeps/x86_64/tls.h: Moved ...
24664         * sysdeps/x86_64/nptl/tls.h: ... here.
24665         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24666         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24667         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24668         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24670         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24672 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24676 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24678         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24679         type.
24680         [POSIX] (off_t): Likewise.
24681         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24682         [POSIX] (S_ISBLK): Require macro.
24683         [POSIX] (S_ISCHR): Likewise.
24684         [POSIX] (S_ISDIR): Likewise.
24685         [POSIX] (S_ISFIFO): Likewise.
24686         [POSIX] (S_ISREG): Likewise.
24687         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24688         optional-macro.
24689         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24690         type.
24691         [POSIX] (time_t): Likewise.
24692         [POSIX] (timer_t): Likewise.
24694 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24696         [BZ #17048]
24697         * posix/spawn_int.h (struct __spawn_action): Make the path string
24698         non-const to support deallocation.
24699         * posix/spawn_faction_addopen.c
24700         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24701         * posix/spawn_faction_destroy.c
24702         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24703         path in all spawn_do_open actions.
24704         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24705         posix_spawn_file_actions_addopen.
24707 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24709         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24710         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24711         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24712         conditional code always true.
24713         (__libc_vfork): New alias.
24715 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24717         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24718         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24720         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24722         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24723         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24725         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24726         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24728         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24729         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24731 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24733         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24734         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24735         multiarch strcmp for PPC64.
24736         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24737         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24739         multiarch optimizations.
24740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24741         (__libc_ifunc_impl_list): Likewise.
24743 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24745         * benchtests/scripts/validate_benchout.py: New script.
24746         * benchtests/Makefile (bench-func): Call it.
24747         * benchtests/scripts/benchout.schema.json: New file.
24749 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24751         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24752         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24753         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24754         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24755         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24756         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24757         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24758         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24759         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24760         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24761         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24762         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24763         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24764         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24765         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24766         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24768         Moved ...
24769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24770         ... here.
24771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24772         Moved ...
24773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24775         Moved ...
24776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24777         ... here.
24778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24779         Moved ...
24780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24781         ... here.
24782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24783         Moved ...
24784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24786         Moved ...
24787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24788         ... here.
24789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24790         Moved ...
24791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24792         ... here.
24793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24794         Moved ...
24795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24797         Moved ...
24798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24799         ... here.
24800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24801         Moved ...
24802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24803         ... here.
24804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24805         Moved ...
24806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24807         ... here.
24808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24809         Moved ...
24810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24812         Moved ...
24813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24814         ... here.
24815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24816         Moved ...
24817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24818         ... here.
24819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24820         Moved ...
24821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24822         ... here.
24823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24824         Moved ...
24825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24827         Moved ...
24828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24829         ... here.
24830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24831         Moved ...
24832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24833         ... here.
24834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24835         Moved ...
24836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24838         Moved ...
24839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24840         ... here.
24841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24842         Moved ...
24843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24848         Moved ...
24849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24850         ... here.
24851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24852         Moved ...
24853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24854         ... here.
24855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24858         ... here.
24859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24860         Moved ...
24861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24863         Moved ...
24864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24865         ... here.
24866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24869         ... here.
24870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24871         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24873         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24877         ... here.
24878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24879         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24881         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24883         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24885         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24889         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24890         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24891         Moved ...
24892         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24894         Moved ...
24895         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24897         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24899         Moved ...
24900         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24902         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24903         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24904         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24905         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24906         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24908 2014-06-10  Wilco  <wdijkstr@arm.com>
24910         * math/test-fenv-return.c: New file.
24911         * math/Makefile: Add new test test-fenv-return.
24913 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24915         [BZ #17042]
24916         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24917         when x - 1 is zero.
24918         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24919         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24920         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24921         0.0L for an argument of 1.0L.
24922         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24923         Likewise.
24924         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24925         value when x - 1 is zero.
24926         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24927         * sysdeps/i386/fpu/libm-test-ulps: Update.
24928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24930 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24932         [BZ #15119]
24933         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24935 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24937         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24938         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24940 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24942         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24943         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24945         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24946         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24948         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24949         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24951         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24952         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24954         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24955         if not already defined.
24956         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24957         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24958         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24959         (TLS_INIT_TP): Use it.
24960         (TLS_DEFINE_INIT_TP): New macro.
24961         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24963 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24965         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24966         constant.
24967         [POSIX] (IXANY): Likewise.
24968         [POSIX] (OLCUC): Likewise.
24969         [POSIX || POSIX2008] (CBAUD): Do not allow.
24970         [POSIX || POSIX2008] (DEFECHO): Likewise.
24971         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24972         [POSIX || POSIX2008] (ECHOKE): Likewise.
24973         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24974         [POSIX || POSIX2008] (EXTA): Likewise.
24975         [POSIX || POSIX2008] (EXTB): Likewise.
24976         [POSIX || POSIX2008] (FLUSHO): Likewise.
24977         [POSIX || POSIX2008] (LOBLK): Likewise.
24978         [POSIX || POSIX2008] (PENDIN): Likewise.
24979         [POSIX || POSIX2008] (SWTCH): Likewise.
24980         [POSIX || POSIX2008] (VDISCARD): Likewise.
24981         [POSIX || POSIX2008] (VDSUSP): Likewise.
24982         [POSIX || POSIX2008] (VLNEXT): Likewise.
24983         [POSIX || POSIX2008] (VREPRINT): Likewise.
24984         [POSIX || POSIX2008] (VSTATUS): Likewise.
24985         [POSIX || POSIX2008] (VWERASE): Likewise.
24986         (B*): Change to B[0123456789]*.
24987         * conform/data/time.h-data [POSIX || UNIX98]
24988         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24989         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24990         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24991         [POSIX] (tm_*): Do not allow.
24993 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24995         * Makefile (install): Don't set LANGUAGE.
24996         * Makefile.in (install): Likewise.
24997         * assert/Makefile (test-assert-ENV): Remove variable.
24998         (test-assert-perr-ENV): Likewise.
24999         * elf/Makefile (neededtest4-ENV): Likewise.
25000         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25001         [$(cross-compiling) = no]: Don't set LANGUAGE.
25002         * io/ftwtest-sh (LANG): Remove variable.
25003         * libio/Makefile (tst-widetext-ENV): Likewise.
25004         * manual/install.texi (Running make install): Don't refer to
25005         environment settings for make install.
25006         * INSTALL: Regenerated.
25007         * nptl/tst-tls6.sh: Don't set LANG.
25008         * posix/globtest.sh (LANG): Remove variable.
25009         * string/Makefile (tester-ENV): Likewise.
25010         (inl-tester-ENV): Likewise.
25011         (noinl-tester-ENV): Likewise.
25012         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25013         [$(cross-compiling) = no]: Don't set LANGUAGE.
25014         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25015         without explicit environment settings.
25017 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25019         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25020         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25021         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25022         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25024 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25026         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25027         other files in the crypt directory.
25028         * crypt/crypt.c: Remove duplicate includes.
25029         * crypt/crypt-entry.c: Likewise.
25030         * crypt/crypt_util.c: Likewise.
25032 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25034         * Makeconfig (run-program-env): New variable.
25035         (run-program-prefix-before-env): Likewise.
25036         (run-program-prefix-after-env): Likewise.
25037         (run-program-prefix): Define in terms of new variables.
25038         (built-program-cmd-before-env): New variable.
25039         (built-program-cmd-after-env): Likewise.
25040         (built-program-cmd): Define in terms of new variables.
25041         (test-program-prefix-before-env): New variable.
25042         (test-program-prefix-after-env): Likewise.
25043         (test-program-prefix): Define in terms of new variables.
25044         (test-program-cmd-before-env): New variable.
25045         (test-program-cmd-after-env): Likewise.
25046         (test-program-cmd): Define in terms of new variables.
25047         * Rules (make-test-out): Use $(run-program-env).
25048         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25049         (help): Do not mention environment variables.  Mention
25050         --timeoutfactor option.
25051         (timeoutfactor): New variable.
25052         (blacklist_exports): Remove function.
25053         (exports): Remove variable.
25054         (command): Do not include ${exports}.
25055         * manual/install.texi (Configuring and compiling): Do not mention
25056         test wrappers preserving environment variables.  Mention that last
25057         assignment to a variable must take precedence.
25058         * INSTALL: Regenerated.
25059         * benchtests/Makefile (run-bench): Use $(run-program-env).
25060         * catgets/Makefile ($(objpfx)test1.cat): Use
25061         $(built-program-cmd-before-env), $(run-program-env) and
25062         $(built-program-cmd-after-env).
25063         ($(objpfx)test2.cat): Do not specify environment variables
25064         explicitly.
25065         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25066         $(run-program-env) and $(built-program-cmd-after-env).
25067         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25068         $(run-program-env) and $(test-program-cmd-after-env).
25069         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25070         explicitly.
25071         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25072         run_program_env and test_program_cmd_after_env arguments.
25073         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25074         * elf/tst-pathopt.sh: Use run_program_env argument.
25075         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25076         $(test-wrapper-env) and $(run-program-env).
25077         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25078         run_program_env arguments.
25079         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25080         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25081         $(test-program-prefix-before-env), $(run-program-env) and
25082         $(test-program-prefix-after-env).
25083         ($(objpfx)tst-gettext2.out): Likewise.
25084         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25085         run_program_env and test_program_prefix_after_env arguments.
25086         * intl/tst-gettext2.sh: Likewise.
25087         * intl/tst-gettext4.sh: Do not set environment variables
25088         explicitly.
25089         * intl/tst-gettext6.sh: Likewise.
25090         * intl/tst-translit.sh: Likewise.
25091         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25092         $(test-program-prefix-before-env), $(run-program-env) and
25093         $(test-program-prefix-after-env).
25094         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25095         run_program_env and test_program_prefix_after_env arguments.
25096         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25097         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25098         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25099         explicitly with each use of ${test_wrapper_env}.
25100         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25101         $(test-program-prefix-before-env), $(run-program-env) and
25102         $(test-program-prefix-after-env).
25103         * posix/tst-getconf.sh: Do not set environment variables
25104         explicitly.
25105         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25106         run_program_env and test_program_prefix_after_env arguments.
25107         * stdio-common/tst-printf.sh: Do not set environment variables
25108         explicitly.
25109         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25110         $(test-program-prefix-before-env), $(run-program-env) and
25111         $(test-program-prefix-after-env).
25112         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25113         run_program_env and test_program_prefix_after_env arguments.
25114         Split $test calls into $test_pre and $test.
25115         * timezone/Makefile (build-testdata): Use
25116         $(built-program-cmd-before-env), $(run-program-env) and
25117         $(built-program-cmd-after-env).
25119 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25121         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25122         strlen for non SHARED builds.
25124 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25126         * nptl/allocatestack.c (check_list): Inlined function...
25127         (__reclaim_stacks): ... here.
25129 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25131         [BZ #15698]
25132         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25133         memory overrun.
25135 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25137         * Rules (make-test-out): Include
25138         LOCPATH=$(common-objpfx)localedata in default environment.
25139         * debug/Makefile (tst-chk1-ENV): Remove variable.
25140         (tst-chk2-ENV): Likewise.
25141         (tst-chk3-ENV): Likewise.
25142         (tst-chk4-ENV): Likewise.
25143         (tst-chk5-ENV): Likewise.
25144         (tst-chk6-ENV): Likewise.
25145         (tst-lfschk1-ENV): Likewise.
25146         (tst-lfschk2-ENV): Likewise.
25147         (tst-lfschk3-ENV): Likewise.
25148         (tst-lfschk4-ENV): Likewise.
25149         (tst-lfschk5-ENV): Likewise.
25150         (tst-lfschk6-ENV): Likewise.
25151         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25152         (tst-iconv7-ENV): Likewise.
25153         * intl/Makefile (LOCPATH-ENV): Likewise.
25154         (tst-codeset-ENV): Likewise.
25155         (tst-gettext3-ENV): Likewise.
25156         (tst-gettext5-ENV): Likewise.
25157         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25158         (tst-fopenloc-ENV): Likewise.
25159         (tst-fgetws-ENV): Remove variable.
25160         (tst-ungetwc1-ENV): Likewise.
25161         (tst-ungetwc2-ENV): Likewise.
25162         (bug-ungetwc2-ENV): Likewise.
25163         (tst-swscanf-ENV): Likewise.
25164         (bug-ftell-ENV): Likewise.
25165         (tst-fgetwc-ENV): Likewise.
25166         (tst-fseek-ENV): Likewise.
25167         (tst-ftell-partial-wide-ENV): Likewise.
25168         (tst-ftell-active-handler-ENV): Likewise.
25169         (tst-ftell-append-ENV): Likewise.
25170         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25171         (tst-regexloc-ENV): Likewise.
25172         (bug-regex1-ENV): Likewise.
25173         (tst-regex-ENV): Likewise.
25174         (tst-regex2-ENV): Likewise.
25175         (bug-regex5-ENV): Likewise.
25176         (bug-regex6-ENV): Likewise.
25177         (bug-regex17-ENV): Likewise.
25178         (bug-regex18-ENV): Likewise.
25179         (bug-regex19-ENV): Likewise.
25180         (bug-regex20-ENV): Likewise.
25181         (bug-regex22-ENV): Likewise.
25182         (bug-regex23-ENV): Likewise.
25183         (bug-regex25-ENV): Likewise.
25184         (bug-regex26-ENV): Likewise.
25185         (bug-regex30-ENV): Likewise.
25186         (bug-regex32-ENV): Likewise.
25187         (bug-regex33-ENV): Likewise.
25188         (bug-regex34-ENV): Likewise.
25189         (bug-regex35-ENV): Likewise.
25190         (tst-rxspencer-ENV): Likewise.
25191         (tst-rxspencer-no-utf8-ENV): Likewise.
25192         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25193         (tst-sscanf-ENV): Likewise.
25194         (tst-swprintf-ENV): Likewise.
25195         (tst-swscanf-ENV): Likewise.
25196         (test-vfprintf-ENV): Likewise.
25197         (scanf13-ENV): Likewise.
25198         (bug14-ENV): Likewise.
25199         (tst-grouping-ENV): Likewise.
25200         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25201         (tst-strtod3-ENV): Likewise.
25202         (tst-strtod4-ENV): Likewise.
25203         (tst-strtod5-ENV): Likewise.
25204         (testmb2-ENV): Likewise./
25205         * string/Makefile (tst-strxfrm-ENV): Likewise.
25206         (tst-strxfrm2-ENV): Likewise.
25207         (bug-strcoll1-ENV): Likewise.
25208         (test-strcasecmp-ENV): Likewise.
25209         (test-strncasecmp-ENV): Likewise.
25210         * time/Makefile (tst-strptime-ENV): Likewise.
25211         (tst-ftime_l-ENV): Likewise.
25212         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25213         (tst-mbrtowc-ENV): Likewise.
25214         (tst-wcrtomb-ENV): Likewise.
25215         (tst-mbrtowc2-ENV): Likewise.
25216         (tst-c16c32-1-ENV): Likewise.
25217         (tst-mbsnrtowcs-ENV): Likewise.
25219 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25221         * manual/resource.texi (How to get information about the memory
25222         subsystem?): Fix typo.
25223         Reported by Peon de la Parra Ivan <peon@keba.com>
25225 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25227         [BZ #16882]
25228         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25229         (pthread_spin_lock): Branch out of spin loop to proper location.
25230         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25231         (pthread_spin_lock): Likewise.
25233         * nptl/tst-spin4.c: New test.
25234         * nptl/Makefile (tests): Add tst-spin4.
25236 2014-06-03  Andreas Schwab  <schwab@suse.de>
25238         [BZ #15946]
25239         * resolv/res_send.c (send_dg): Reload file descriptor after
25240         calling reopen.
25242 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25244         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25246 2014-06-03  Richard Henderson  <rth@redhat.com>
25248         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25249         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25250         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25251         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25252         in the SAVE_PID block.
25253         (__libc_vfork): New alias.
25254         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25256         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25257         child in registers, not on the stack.  Remove RESET_PID conditionals.
25258         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25260 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25262         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25264 2014-06-03  Wilco  <wdijkstr@arm.com>
25266         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25267         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25268         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25269         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25270         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25271         Likewise.
25273 2014-06-03  Wilco  <wdijkstr@arm.com>
25275         * sysdeps/aarch64/fpu/math_private.h
25276         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25277         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25278         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25279         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25280         Fix declarations.
25282 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25284         * crypt/crypt-private.h: Include ufc-crypt.h.
25285         (__b64_from_24bit): Declare extern.
25286         * crypt/crypt_util.c(__b64_from_24bit): New function.
25287         (b64t): New static const variable.
25288         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25289         (b64t): Remove variable.
25290         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25291         * crypt/sha256-crypt.c: Include crypt-private.h.
25292         (b64t): Remove variable.
25293         (__sha256_crypt_r): Remove b64_from_24bit and replace
25294         with __b64_from_24bit.
25295         * crypt/sha512-crypt.c: Likewise.
25297 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25299         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25300         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25301         Label the code __libc_vfork rather than __vfork.
25302         [!NOT_IN_libc] (vfork): Define as weak alias.
25303         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25304         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25305         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25307 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25309         * malloc/malloc.c (malloc_info): Fix format specifier for
25310         n_mmaps.
25312 2014-06-02  Wilco  <wdijkstr@arm.com>
25314         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25315         FPCR write.
25317 2014-06-02  Wilco  <wdijkstr@arm.com>
25319         [BZ #17009]
25320         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25321         Rewrite to reduce FPCR/FPSR accesses.
25323 2014-06-01  David S. Miller  <davem@davemloft.net>
25325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25327 2014-05-31  David S. Miller  <davem@davemloft.net>
25329         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25330         to occur in round to nearest mode when |x| >= 2.0
25332 2014-05-30  Richard Henderson  <rth@twiddle.net>
25334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25335         (PSEUDO_RET_NOERRNO): Remove.
25336         (ret): Don't redefine.
25337         (ret_NOERRNO): Define in terms of ret.
25338         (ret_ERRVAL): Likewise.
25340         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25341         use of PSEUDO_RET; perform the error check directly.
25343 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25345         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25346         with __int128_t.
25348 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25350         * malloc/malloc (malloc_info): Fix formatting.
25352 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25353             Roland McGrath  <roland@hack.frob.com>
25355         * malloc/malloc (malloc_info): Also print mmapped statistics.
25357 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25359         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25360         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25362 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25364         * malloc/malloc.c (malloc_info): Inline mi_arena.
25366 2014-05-29  Richard Henderson  <rth@twiddle.net>
25368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25369         Remove comma before expanding ASM_ARGS_##nr.
25370         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25371         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25372         of ASM_ARGS_##nr.
25373         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25374         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25375         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25376         (ASM_ARGS_1): Add leading comma.
25378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25379         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25380         to __errno_location.
25381         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25382         Remove the expected plt for __errno_location.
25384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25385         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25386         call to __read_tp.
25388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25389         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25390         it and break it down.
25391         (DOCARGS_0, DOCARGS_1): Do nothing.
25392         (DOCARGS_2): Update to store into the new stack frame.
25393         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25394         (UNDOCARGS_1): Update to restore from the new stack frame.
25395         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25396         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25399         (SINGLE_THREAD_P): New parameter for result regno.
25400         (PSEUDO): Update to match; use cbz instead of beq.
25402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25403         Use ENTRY to define the _nocancel entry point.  Share the syscall
25404         and syscall error check paths with the cancel path.
25405         (PSEUDO_END): New.
25407         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25408         whitespace; tabs before and after asm mnemonics.
25410 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25412         [BZ #15132]
25413         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25414         Call fstat64 or stat64 internally, depending on arguments passed.
25415         Replace stat buffer argument with file descriptor argument.
25416         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25417         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25418         Pass fd to __internal_statvfs instead of calling fstat64.
25419         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25420         Pass fd to __internal_statvfs64 instead of calling fstat64.
25421         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25422         Pass -1 to __internal_statvfs instead of calling stat64.
25423         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25424         Pass -1 to __internal_statvfs64 instead of calling stat64.
25426 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25428         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25429         that was previously under [RESET_PID].
25430         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25432         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25433         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25435 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25437         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25439         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25440         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25442 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25444         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25446 2014-05-27  Andreas Schwab  <schwab@suse.de>
25448         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25449         TLS_INIT_TP macro.
25450         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25451         * elf/rtld.c (init_tls, dl_main): Likewise.
25452         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25453         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25454         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25455         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25456         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25457         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25458         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25459         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25460         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25461         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25462         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25463         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25464         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25465         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25466         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25467         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25468         * sysdeps/generic/tls.h: Update description.
25470 2014-05-27  Will Newton  <will.newton@linaro.org>
25472         [BZ #16990]
25473         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25474         and restore r2 rather than just restoring.
25476 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25478         [BZ #16724]
25479         * libio/tst-ftell-append.c: New test case.
25480         * libio/Makefile (tests): Add test case.
25481         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25482         append mode.
25483         * libio/wfileops.c (do_ftell_wide): Likewise.
25485 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25489         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25490         ...
25491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25493         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25494         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25496         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25498         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25500         Moved ...
25501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25503         Moved ...
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25506         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25507         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25508         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25510         ...
25511         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25513         Moved ...
25514         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25515         here.
25516         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25517         ...
25518         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25519         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25520         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25522         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25523         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25524         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25525         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25528         merge into ...
25529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25531         ...
25532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25534         ...
25535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25537         Moved ...
25538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25539         here.
25540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25541         Moved ...
25542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25544         Moved ...
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25548         conditional [RESET_PID].
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25551         removed.
25552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25553         removed.
25555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25556         <tcb-offsets.h>.
25557         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25558         (__libc_vfork): New strong alias.
25559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25560         removed.
25561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25562         Removed.
25564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25565         <tcb-offsets.h>.
25566         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25567         (__libc_vfork): New strong alias.
25568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25569         removed.
25570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25571         removed.
25573 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25575         * malloc/malloc.c (mi_arena): New function.
25576         (malloc_info): Remove nested function mi_arena. Call non-nosted
25577         function mi_arena.
25579 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25581         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25582         by insrwi.
25583         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25584         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25585         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25586         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25587         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25588         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25589         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25591 2014-05-26  Andreas Schwab  <schwab@suse.de>
25593         [BZ #16984]
25594         * locale/programs/repertoire.c (repertoire_read): Add slash
25595         between I18NPATH element and file name.
25596         * locale/programs/locfile.c (locfile_read): Likewise.
25598 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25600         * nptl/pthread_mutexattr_settype.c
25601         (__pthread_mutexattr_settype):
25602         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25604 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25606         * nptl/tst-mutex5 (do_test):
25607         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25609 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25611         * benchtests/README: Document 'init' directive.
25612         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25613         BENCH_INIT.
25614         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25615         (parse_file): Recognize 'init' directive.
25617 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25619         [BZ #16796]
25620         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25621         alignment of struct pthread.
25623 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25625         [BZ #16878]
25626         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25627         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25628         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25629         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25631 2014-05-25  Richard Henderson  <rth@twiddle.net>
25633         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25634         (SINGLE_THREAD_P_PIC): Remove.
25635         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25636         (SINGLE_THREAD_P_PIC): Remove.
25638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25639         branch to syscall error ...
25640         (PSEUDO): ... here.
25641         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25642         from __local_syscall_error to .Lsyscall_error.
25643         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25644         (SYSCALL_ERROR): Update label name.
25646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25647         Do not use DOARGS/UNDOARGS.
25648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25649         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25650         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25651         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25652         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25655         block comment.
25657         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25658         define if !NOT_IN_libc.
25659         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25660         define with non-default symbol versions.
25662 2014-05-23  Richard Henderson  <rth@twiddle.net>
25664         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25665         (vfork, __vfork): Define via compat_symbol.
25667         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25668         [!HAVE_IFUNC] (vfork_compat): Remove.
25669         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25671 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25673         [BZ #16978]
25674         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25675         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25676         variable.
25678 2014-05-23  Richard Henderson  <rth@twiddle.net>
25680         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25681         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25682         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25683         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25685         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25686         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25688         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25689         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25690         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25691         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25692         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25693         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25694         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25695         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25696         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25697         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25698         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25699         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25700         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25701         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25702         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25703         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25704         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25705         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25706         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25707         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25708         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25709         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25711         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25712         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25713         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25714         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25715         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25716         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25717         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25718         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25719         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25720         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25721         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25722         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25723         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25724         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25725         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25726         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25727         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25728         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25729         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25730         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25732         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25734         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25736         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25738         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25739         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25740         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25742         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25743         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25744         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25745         before exiting on error.
25746         (__libc_vfork): New strong alias.
25747         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25748         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25750         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25751         that was previously under [RESET_PID].
25752         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25754         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25756 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25758         [BZ #16977]
25759         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25760         value when x - 1 is zero.
25761         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25762         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25763         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25764         0.0L for an argument of 1.0L.
25765         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25766         Likewise.
25767         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25768         value when x - 1 is zero.
25769         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25770         * sysdeps/i386/fpu/libm-test-ulps: Update.
25771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25773 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25775         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25776         alphasort and versionsort.
25778 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25780         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25781         macro.
25782         [copysignf]: Likewise.
25784 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25786         * crypt/md5-crypt.c: Fix formatting.
25788 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25790         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25791         (b64_from_24bit): New function.
25793 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25796         libc_hidden_builtin_def to ifunc.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25798         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25800 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25802         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25803         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25805 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25807         * nscd/Depend (linuxthreads): Remove.
25808         (nptl): Add.
25809         * resolv/Depend (linuxthreads): Remove.
25810         * rt/Depend (linuxthreads): Remove.
25812         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25813         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25814         $(common-objpfx)elf/.
25815         (link-libc-before-gnulib): Likewise.
25816         (elfobjdir): Remove variable.
25817         * Makefile (install): Use $(elf-objpfx) instead of
25818         $(common-objpfx)elf/.
25819         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25820         $(elfobjdir)/.
25821         (link-libc-deps): Likewise.
25822         ($(common-objpfx)libc.so): Likewise.
25823         ($(common-objpfx)linkobj/libc.so): Likewise.
25824         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25825         instead of $(common-objpfx)elf/.
25826         (symbolic-link-list): Likewise.
25827         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25828         [$(cross-compiling) = no]: Likewise.
25829         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25830         $(elfobjdir)/.
25831         (static-gnulib-arch): Likewise.
25832         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25833         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25834         $(common-objpfx)elf/.
25836 2014-05-21  Richard Henderson  <rth@redhat.com>
25838         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25839         (SINGLE_THREAD_P): Use the correct width load.  Fold
25840         into the ldr offset.
25842         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25843         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25845 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25847         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25848         (libgcc_s_resume): Use __attribute_used__.
25849         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25850         Likewise.
25852 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25854         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25855         optimization when used with float constants.
25857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25859 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25861         [BZ #16915]
25862         * locale/nl_langinfo_l.c: Make direct reference to every
25863         _nl_current_CATEGORY symbol.
25864         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25865         (tests-static): Add tst-langinfo-static.
25866         (tests-special): Add tst-langinfo-static.out.
25867         ($(objpfx)tst-langinfo.out): Redirect output.
25868         ($(objpfx)tst-langinfo-static.out): New.
25869         * localedata/tst-langinfo.sh: Send output to stdout.
25870         * localedata/tst-langinfo-static.c: New file.
25872         [BZ #16965]
25873         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25874         when the shift amount is modulo the limb size.
25876 2014-05-20  Richard Henderson  <rth@redhat.com>
25878         [BZ #16967]
25879         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25880         Change type of sa_flags from unsigned int to int.
25882         [BZ #16966]
25883         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25885         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25887 2014-05-20  Will Newton  <will.newton@linaro.org>
25889         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25890         Test the return value of the system call in the nocancel case.
25892 2014-05-20  Will Newton  <will.newton@linaro.org>
25893             Yvan Roux  <yvan.roux@linaro.org>
25895         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25896         #include of asm/ptrace.h.
25897         (PTRACE_GET_THREAD_AREA): Remove #undef.
25898         (PTRACE_GETHBPREGS): Likewise.
25899         (PTRACE_SETHBPREGS): Likewise.
25900         (struct user_regs_struct): New structure.
25901         (struct user_fpsimd_struct): New structure.
25902         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25903         #include of asm/ptrace.h and second #include of sys/user.h.
25904         (PTRACE_GET_THREAD_AREA): Remove #undef.
25905         (PTRACE_GETHBPREGS): Likewise.
25906         (PTRACE_SETHBPREGS): Likewise.
25907         (ELF_NGREG): Use new struct user_regs_struct.
25908         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25910 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25915 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25917         [BZ #16958]
25918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25919         membar to avoid block loads/stores to overlap previous stores.
25921 2014-05-17  Richard Henderson  <rth@redhat.com>
25923         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25924         Create the __##syscall_name##_nocancel entry point.
25925         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25926         Remove; let the sysdep-cancel.h code create it.
25928 2014-05-17  David S. Miller  <davem@davemloft.net>
25930         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25931         Protect with __USE_GNU.
25932         (TIOCSET_TEMPT): Likewise.
25933         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25934         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25935         these are already provided in bits/ioctl-types.h
25937 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25939         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25940         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25942         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25943         Use wait4 regardless of [__NR_waitpid].
25945 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25947         PR libgcc/60166
25948         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25949         (_FP_NANSIGN_Q): Set the quiet bit.
25951 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25953         * benchtests/Makefile
25954         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25955         not $(common-objpfx)math/libm.so.
25956         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25957         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25958         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25959         $(common-objpfx)dlfcn/libdl.so.
25960         ($(objpfx)tst-audit8): Depend on $(libm), not
25961         $(common-objpfx)math/libm.so.
25962         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25963         not $(common-objpfx)dlfcn/libdl.so.
25964         * math/Makefile
25965         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25966         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25967         [$(build-shared) = yes].
25968         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25969         $(common-objpfx)nptl/libpthread.so.
25970         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25971         $(common-objpfx)math/libm.so$(libm.so-version) or
25972         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25973         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25974         $(common-objpfx)dlfcn/libdl.so.
25975         * setjmp/Makefile (link-libm): Remove variable.
25976         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25977         * stdio-common/Makefile (link-libm): Remove variable.
25978         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25979         * stdlib/Makefile (link-libm): Remove variable.
25980         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25981         ($(objpfx)tst-strtod-round): Likewise.
25982         ($(objpfx)tst-tininess): Likewise.
25983         ($(objpfx)tst-strtod-underflow): Likewise.
25984         ($(objpfx)tst-strtod6): Likewise.
25985         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25986         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25987         $(common-objpfx)dlfcn/libdl.so.
25989 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25991         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25992         BSD terminal modes definitions.
25994 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25996         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25997         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25999         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26000         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26001         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26002         Don't do #include_next.
26003         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26004         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26005         Don't do #include_next.
26006         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26007         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26008         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26009         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26011 2014-05-16  Allan McRae  <allan@archlinux.org>
26013         * po/sv.po: Update Swedish translation from translation project.
26015         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26016         in sed expression.
26018 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26020         [BZ #16917]
26021         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26022         errno if the TIOCGPTN ioctl fails with an error different than
26023         EINVAL.
26024         * login/tst-ptsname.c: New file.
26025         * login/Makefile (tests): Add tst-ptsname.
26027         [BZ #16943]
26028         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26029         and prlimit64.
26031 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033         [BZ #16849]
26034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26035         herrno to return EAI_AGAIN.
26037 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26039         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26040         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26041         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26042         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26043         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26044         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26045         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26046         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26047         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26048         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26049         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26050         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26051         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26052         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26053         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26054         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26055         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26056         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26057         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26058         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26059         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26060         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26061         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26062         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26063         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26064         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26065         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26066         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26067         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26068         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26070         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26072         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26074         Moved ...
26075         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26077         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26079         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26081         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26083         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26085         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26087         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26089         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26091         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26093         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26099         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26103         Moved ...
26104         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26106         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26108         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26110         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26112         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26116         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26118         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26120         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26122         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26124         Moved ...
26125         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26127         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26129         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26130         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26131         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26132         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26133         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26134         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26135         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26136         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26137         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26138         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26139         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26140         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26141         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26142         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26143         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26144         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26145         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26146         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26147         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26149         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26150         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26151         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26152         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26153         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26154         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26156         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26157         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26158         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26159         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26161         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26162         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26164         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26165         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26166         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26167         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26168         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26170         Moved ...
26171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26173         Moved ...
26174         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26176         Moved ...
26177         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26179         Moved ...
26180         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26181         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26182         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26184         Moved ...
26185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26186         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26187         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26190         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26191         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26192         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26193         Moved ...
26194         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26196         Moved ...
26197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26198         ... here.
26199         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26200         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26202         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26204         Moved ...
26205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26206         ... here.
26207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26208         Moved ...
26209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26210         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26211         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26212         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26213         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26215         Moved ...
26216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26218         Moved ...
26219         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26221         Moved ...
26222         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26224         Moved ...
26225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26227         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26229         Moved ...
26230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26231         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26232         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26235         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26236         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26237         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26238         Moved ...
26239         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26241         Moved ...
26242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26243         ... here.
26244         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26245         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26246         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26247         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26249         Moved ...
26250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26251         ... here.
26252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26253         Moved ...
26254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26256         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26257         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26258         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26259         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26260         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26261         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26262         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26264         Moved ...
26265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26267         Moved ...
26268         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26270         Moved ...
26271         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26273         Moved ...
26274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26275         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26276         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26277         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26278         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26280         Moved ...
26281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26282         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26283         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26286         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26287         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26289         Moved ...
26290         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26294         ... here.
26295         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26296         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26298         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26300         Moved ...
26301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26302         ... here.
26303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26304         Moved ...
26305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26306         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26307         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26308         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26309         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26310         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26311         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26313         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26314         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26315         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26317         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26318         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26320         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26321         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26323         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26324         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26325         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26326         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26327         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26328         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26329         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26331         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26332         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26335         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26336         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26337         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26339         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26341         Moved ...
26342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26346         Moved ...
26347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26349         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26351         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26355         Moved ...
26356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26358         Moved ...
26359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26363         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26364         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26365         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26367         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26368         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26369         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26370         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26371         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26372         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26373         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26374         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26375         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26377         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26378         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26379         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26380         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26381         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26383         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26384         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26385         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26386         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26387         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26388         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26389         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26390         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26391         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26392         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26397         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26398         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26399         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26400         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26401         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26402         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26403         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26404         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26405         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26406         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26407         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26408         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26409         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26410         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26412         Update #include.
26413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26414         Likewise.
26415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26416         Likewise.
26417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26418         Likewise.
26419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26420         Likewise.
26421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26422         Likewise.
26423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26424         Likewise.
26425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26426         Likewise.
26427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26428         Likewise.
26429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26430         Likewise.
26431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26443         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26444         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26445         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26447         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26448         that was previously under [RESET_PID].
26449         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26450         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26451         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26453         * sysdeps/i386/nptl/Implies: New file.
26454         * sysdeps/x86_64/nptl/Implies: New file.
26455         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26456         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26457         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26458         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26460         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26461         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26462         (__libc_vfork): New strong alias.
26463         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26464         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26466         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26467         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26468         (__libc_vfork): New strong alias.
26469         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26470         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26472         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26473         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26474         (__libc_vfork): New strong alias.
26475         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26476         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26477         * nptl/pt-vfork.c: New file.
26478         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26479         (libpthread: GLIBC_2.20): New version set (empty).
26481 2014-05-14  Will Newton  <will.newton@linaro.org>
26483         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26484         rather than #if.
26486 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26488         [BZ #16564]
26489         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26490         arguments with exponent 65 or above.
26491         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26492         arguments 0x1p113L or above.
26493         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26494         to arguments 0x1p107L or above.
26495         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26496         positive arguments with exponent 65 or above.
26497         * math/auto-libm-test-in: Add more tests of log1p.
26498         * math/auto-libm-test-out: Regenerated.
26500         [BZ #16928]
26501         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26502         non-finite arguments is +0.
26503         * math/s_cacosf.c (__cacosf): Likewise.
26504         * math/s_cacosl.c (__cacosl): Likewise.
26505         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26506         * sysdeps/i386/fpu/libm-test-ulps: Update.
26507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26509         [BZ #16927]
26510         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26511         value.
26512         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26513         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26514         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26515         for explicit high bit of mantissa when testing for argument equal
26516         to 1.
26517         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26518         * sysdeps/i386/fpu/libm-test-ulps: Update.
26519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26521         [BZ #16516]
26522         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26523         (__erf): Scale by 16 instead of 8 in potentially underflowing
26524         case.  Ensure exception if result actually underflows.
26525         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26526         (__erff): Scale by 16 instead of 8 in potentially underflowing
26527         case.  Ensure exception if result actually underflows.
26528         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26529         (efx8): Remove variable.
26530         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26531         case.  Ensure exception if result actually underflows.
26532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26533         (efx8): Remove variable.
26534         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26535         case.  Ensure exception if result actually underflows.
26536         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26537         (efx8): Remove variable.
26538         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26539         case.  Ensure exception if result actually underflows.
26540         * math/auto-libm-test-in: Add more tests of erf.
26541         * math/auto-libm-test-out: Regenerated.
26543 2014-05-14  Andreas Schwab  <schwab@suse.de>
26545         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26546         Remove code conditionalized on USE___THREAD.
26548         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26549         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26550         not definedness.
26552 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26555         Define unconditionally.
26556         (__ASSUME_O_CLOEXEC): Likewise.
26557         (__ASSUME_SOCK_CLOEXEC): Likewise.
26558         (__ASSUME_IN_NONBLOCK): Likewise.
26559         (__ASSUME_PIPE2): Likewise.
26560         (__ASSUME_EVENTFD2): Likewise.
26561         (__ASSUME_SIGNALFD4): Likewise.
26562         (__ASSUME_DUP3): Likewise.
26563         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26564         (__ASSUME_DUP3): Do not define.
26565         (__ASSUME_EVENTFD2): Likewise.
26566         (__ASSUME_IN_NONBLOCK): Likewise.
26567         (__ASSUME_O_CLOEXEC): Likewise.
26568         (__ASSUME_PIPE2): Likewise.
26569         (__ASSUME_SIGNALFD4): Likewise.
26570         (__ASSUME_SOCK_CLOEXEC): Likewise.
26571         (__ASSUME_UTIMES): Undefine.
26572         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26573         (__ASSUME_UTIMES): Do not define.
26574         (__ASSUME_O_CLOEXEC): Likewise.
26575         (__ASSUME_SOCK_CLOEXEC): Likewise.
26576         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26577         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26578         0x020621].
26579         (__ASSUME_PIPE2): Likewise.
26580         (__ASSUME_EVENTFD2): Likewise.
26581         (__ASSUME_SIGNALFD4): Likewise.
26582         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26583         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26584         Do not define.
26585         (__ASSUME_EVENTFD2): Likewise.
26586         (__ASSUME_SIGNALFD4): Likewise.
26587         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26588         (__ASSUME_32BITUIDS): Likewise.
26589         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26590         (__ASSUME_IPC64): Likewise.
26591         (__ASSUME_ST_INO_64_BIT): Likewise.
26592         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26593         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26594         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26595         (__ASSUME_UTIMES): Do not define.
26596         (__ASSUME_PSELECT): Likewise.
26597         (__ASSUME_PPOLL): Likewise.
26598         (__ASSUME_O_CLOEXEC): Likewise.
26599         (__ASSUME_SOCK_CLOEXEC): Likewise.
26600         (__ASSUME_IN_NONBLOCK): Likewise.
26601         (__ASSUME_PIPE2): Likewise.
26602         (__ASSUME_EVENTFD2): Likewise.
26603         (__ASSUME_SIGNALFD4): Likewise.
26604         (__ASSUME_DUP3): Likewise.
26605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26606         (__ASSUME_UTIMES): Likewise.
26607         (__ASSUME_O_CLOEXEC): Likewise.
26608         (__ASSUME_SOCK_CLOEXEC): Likewise.
26609         (__ASSUME_IN_NONBLOCK): Likewise.
26610         (__ASSUME_PIPE2): Likewise.
26611         (__ASSUME_EVENTFD2): Likewise.
26612         (__ASSUME_SIGNALFD4): Likewise.
26613         (__ASSUME_DUP3): Likewise.
26614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26615         (__ASSUME_UTIMES): Likewise.
26616         (__ASSUME_O_CLOEXEC): Likewise.
26617         (__ASSUME_SOCK_CLOEXEC): Likewise.
26618         (__ASSUME_IN_NONBLOCK): Likewise.
26619         (__ASSUME_PIPE2): Likewise.
26620         (__ASSUME_EVENTFD2): Likewise.
26621         (__ASSUME_SIGNALFD4): Likewise.
26622         (__ASSUME_DUP3): Likewise.
26623         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26624         Likewise.
26625         (__ASSUME_UTIMES): Likewise.
26626         (__ASSUME_EVENTFD2): Likewise.
26627         (__ASSUME_SIGNALFD4): Likewise.
26628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26629         (__ASSUME_O_CLOEXEC): Likewise.
26630         (__ASSUME_SOCK_CLOEXEC): Likewise.
26631         (__ASSUME_IN_NONBLOCK): Likewise.
26632         (__ASSUME_PIPE2): Likewise.
26633         (__ASSUME_EVENTFD2): Likewise.
26634         (__ASSUME_SIGNALFD4): Likewise.
26635         (__ASSUME_DUP3): Likewise.
26636         (__ASSUME_UTIMES): Undefine.
26638         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26639         feclearexcept.  Remove symbol versioning code.
26640         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26641         symbol versioning code.
26642         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26643         symbol versioning code.
26644         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26645         feupdateenv.  Remove symbol versioning code.
26646         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26647         fegetexceptflag.  Remove symbol versioning code.
26648         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26649         fesetexceptflag.  Remove symbol versioning code.
26650         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26651         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26652         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26653         (__posix_fadvise64_l32): Remove prototype.
26654         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26655         code.
26657 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26659         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26660         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26661         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26662         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26664 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26666         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26667         current working directory
26669 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26671         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26672         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26673         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26674         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26675         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26676         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26677         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26678         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26680         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26682         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26684         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26685         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26686         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26687         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26688         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26689         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26690         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26691         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26692         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26693         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26694         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26695         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26696         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26697         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26698         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26699         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26700         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26701         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26702         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26703         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26704         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26705         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26706         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26707         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26708         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26709         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26710         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26711         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26712         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26714         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26715         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26717         * sysdeps/unix/sysv/linux/arm/Makefile
26718         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26719         Add rt-aeabi_unwind_cpp_pr1.
26720         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26721         Add nptl-aeabi_unwind_cpp_pr1.
26722         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26723         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26724         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26725         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26726         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26727         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26729         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26730         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26731         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26732         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26734         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26735         Deconditionalize the code that was previously under [RESET_PID].
26736         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26738         * sysdeps/generic/exit-thread.h: New file.
26739         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26740         * include/unistd.h (__exit_thread): Remove declaration.
26741         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26742         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26743         * csu/libc-start.c: Include <exit-thread.h>.
26744         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26745         * nptl/pthread_create.c: Include <exit-thread.h>.
26746         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26747         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26748         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26749         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26750         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26751         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26752         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26753         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26754         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26755         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26756         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26757         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26758         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26759         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26760         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26761         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26762         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26764 2014-05-13  Andreas Schwab  <schwab@suse.de>
26766         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26768 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26770         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26771         (__ASSUME_UTIMES): Do not condition on kernel version.
26772         (__ASSUME_PSELECT): Define unconditionally.
26773         (__ASSUME_PPOLL): Likewise.
26774         (__ASSUME_ATFCTS): Likewise.
26775         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26776         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26777         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26778         (__ASSUME_UTIMENSAT): Define unconditionally.
26779         (__ASSUME_PRIVATE_FUTEX): Likewise.
26780         (__ASSUME_FALLOCATE): Likewise.
26781         (__ASSUME_O_CLOEXEC): Likewise.
26782         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26783         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26784         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26785         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26786         (__ASSUME_IN_NONBLOCK): Likewise.
26787         (__ASSUME_PIPE2): Likewise.
26788         (__ASSUME_EVENTFD2): Likewise.
26789         (__ASSUME_SIGNALFD4): Likewise.
26790         (__ASSUME_DUP3): Likewise.
26791         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26792         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26793         (__ASSUME_AT_RANDOM): Likewise.
26794         (__ASSUME_PREADV): Likewise.
26795         (__ASSUME_PWRITEV): Likewise.
26796         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26797         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26798         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26799         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26800         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26801         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26802         (__ASSUME_O_CLOEXEC): Define unconditionally.
26803         (__ASSUME_PSELECT): Do not undefine conditionally.
26804         (__ASSUME_PPOLL): Likewise.
26805         (__ASSUME_ATFCTS): Likewise.
26806         (__ASSUME_SET_ROBUST_LIST): Likewise.
26807         (__ASSUME_UTIMENSAT): Likewise.
26808         (__ASSUME_FDATASYNC): Define unconditionally.
26809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26810         (__ASSUME_SIGFRAME_V2): Likewise.
26811         )__ASSUME_EVENTFD2): Likewise.
26812         (__ASSUME_SIGNALFD4): Likewise.
26813         (__ASSUME_PSELECT): Do not undefine conditionally.
26814         (__ASSUME_PPOLL): Likewise.
26815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26816         (__ASSUME_PSELECT): Define unconditionally.
26817         (__ASSUME_PPOLL): Likewise.
26818         (__ASSUME_O_CLOEXEC): Likewise.
26819         (__ASSUME_SOCK_CLOEXEC): Likewise.
26820         (__ASSUME_IN_NONBLOCK): Likewise.
26821         (__ASSUME_PIPE2): Likewise.
26822         (__ASSUME_EVENTFD2): Likewise.
26823         (__ASSUME_SIGNALFD4): Likewise.
26824         (__ASSUME_DUP3): Likewise.
26825         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26826         (__ASSUME_O_CLOEXEC): Likewise.
26827         (__ASSUME_SOCK_CLOEXEC): Likewise.
26828         (__ASSUME_IN_NONBLOCK): Likewise.
26829         (__ASSUME_PIPE2): Likewise.
26830         (__ASSUME_EVENTFD2): Likewise.
26831         (__ASSUME_SIGNALFD4): Likewise.
26832         (__ASSUME_DUP3): Likewise.
26833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26834         (__ASSUME_EVENTFD2): Likewise.
26835         (__ASSUME_SIGNALFD4): Likewise.
26836         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26838 2014-05-12  Andreas Schwab  <schwab@suse.de>
26840         [BZ #16932]
26841         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26842         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26843         than maximum RPC packet size.
26844         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26845         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26846         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26847         (_nss_nis_getservbyport_r): Likewise.
26849 2014-05-12  Will Newton  <will.newton@linaro.org>
26851         * malloc/Makefile (tests): Add tst-mallopt.
26852         * malloc/tst-mallopt.c: New file.
26854 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26856         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26857         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26859 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26861         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26862         (tst-tlsmod6.so): Likewise.
26864 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26866         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26868 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26870         [BZ #16064]
26871         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26872         and <dl-procinfo.h>.
26873         (__fegetenv): Save SSE state in envp->__eip if supported.
26874         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26875         envp->__eip if supported.
26876         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26877         and <dl-procinfo.h>.
26878         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26879         __data_offset and __data_selector in environment to 0.  Set SSE
26880         state if supported.
26881         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26882         test-fenv-sse.
26883         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26884         -mfpmath=sse.
26885         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26887 2014-05-09  Will Newton  <will.newton@linaro.org>
26889         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26890         and libc_relro_required for ARM.
26891         * sysdeps/arm/preconfigure: Regenerate.
26893 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26894             Stefan Liebler  <stli@linux.vnet.ibm.com>
26896         * config.make.in (enable-lock-elision): New Makefile variable.
26897         * configure.ac: Likewise.
26898         * configure: Regenerate.
26899         * sysdeps/s390/configure.ac:
26900         Add check for gcc transactions support.
26901         * sysdeps/s390/configure: Regenerate.
26902         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26903         Build elision files if enabled.
26904         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26905         Add lock elision support for s390.
26906         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26907         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26908         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26909         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26910         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26911         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26913         Likewise.
26914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26915         Likewise.
26916         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26917         Likewise.
26918         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26919         Likewise.
26920         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26921         (__lll_timedlock_elision, __lll_lock_elision)
26922         (__lll_unlock_elision, __lll_trylock_elision)
26923         (lll_timedlock_elision, lll_lock_elision)
26924         (lll_unlock_elision, lll_trylock_elision): Add.
26925         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26926         (pthread_mutex_t): Add lock elision support for s390.
26928 2014-05-14  Wilco  <wdijkstr@arm.com>
26930         * sysdeps/arm/fclrexcpt.c: Cleanup.
26931         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26932         * sysdeps/arm/feenablxcpt.c: Cleanup.
26933         * sysdeps/arm/fegetenv.c: Cleanup.
26934         * sysdeps/arm/fegetexcept.c: Cleanup.
26935         * sysdeps/arm/fegetround.c: Cleanup.
26936         * sysdeps/arm/feholdexcpt.c: Cleanup.
26937         * sysdeps/arm/fesetenv.c: Cleanup.
26938         * sysdeps/arm/fesetround.c: Cleanup.
26939         * sysdeps/arm/feupdateenv.c: Cleanup.
26940         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26941         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26942         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26943         * sysdeps/arm/ftestexcept.c: Cleanup.
26944         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26945         * sysdeps/arm/setfpucw.c: Cleanup.
26947 2014-05-09  Will Newton  <will.newton@linaro.org>
26949         * sysdeps/arm/armv7/strcmp.S: New file.
26950         * NEWS: Mention addition of ARMv7 optimized strcmp.
26952 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26954         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26955         look for %.ac rather than %.in.
26957         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26958         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26959         * sysdeps/mach/hurd/configure: Regenerated.
26960         * sysdeps/unix/sysv/linux/configure: Regenerated.
26962         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26964 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26966         [BZ# 16922]
26967         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26968         (LONG_SUB): Ditto.
26969         (PTR_SUB): Ditto.
26971 2014-05-07  Andreas Schwab  <schwab@suse.de>
26973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26974         when skipping over non-matching result from nscd.
26976 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26978         [BZ #16876]
26979         * nptl/sockperf.c (client): Check socket return value.
26981         [BZ #16877]
26982         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26983         nscd security class.
26985 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26987         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26988         * sysdeps/arm/unwind.h: ... here.
26990 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26992         [BZ# 16916]
26993         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26994         Define.
26996 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26998         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26999         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27000         multiarch strncpy for PPC64.
27001         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27002         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27004         multiarch optimizations.
27005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27006         (__libc_ifunc_impl_list): Likewise.
27007         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27009         multiarch stpncpy for PPC64.
27010         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27013 2014-05-06  Andreas Schwab  <schwab@suse.de>
27015         [BZ #16912]
27016         * gmon/mcount.c (_MCOUNT_DECL): Use
27017         atomic_compare_and_exchange_bool_acq instead of
27018         catomic_compare_and_exchange_bool_acq.
27020 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27022         * elf/Makefile (others, install-bin): Remove pldd.
27023         (pldd-modules): Variable removed.
27024         ($(objpfx)pldd): Target removed.
27025         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27026         (others, install-bin): Append pldd here.
27027         ($(objpfx)pldd): New target.
27029         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27030         to 0, so the first #if test emitted later doesn't see it undefined.
27031         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27032         * sysdeps/gnu/errlist.c: Regenerated.
27034 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27037         [libc_hidden_builtin_def]: Define to empty value.
27038         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27039         [libc_hidden_builtin_def]: Likewise.
27040         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27041         [libc_hidden_builtin_def]: Likewise.
27042         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27043         [libc_hidden_builtin_def]: Likewise.
27044         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27045         __redirect_memcpy and define ifunc as default hidden symbol.
27046         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27047         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27049 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27051         * locale/iso-4217.def: Reintroduce XDR currency.
27053 2014-05-04  Allan McRae  <allan@archlinux.org>
27055         * po/eo.po: Update Esperanto translation from translation project.
27057 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27059         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27060         and FEATURE_INDEX_MAX to 1.
27061         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27063 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27065         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27066         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27067         * iconvdata/big5.c (ONE_DIRECTION): Define.
27068         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27069         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27070         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27071         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27072         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27073         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27074         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27075         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27076         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27077         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27078         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27079         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27080         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27081         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27082         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27083         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27084         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27085         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27086         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27087         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27088         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27089         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27090         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27091         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27092         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27093         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27094         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27095         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27096         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27097         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27098         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27099         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27100         * iconvdata/johab.c (ONE_DIRECTION): Define.
27101         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27102         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27103         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27104         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27105         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27106         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27107         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27108         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27109         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27110         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27112 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27114         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27115         (_IO_JUMPS_OFFSET): Define to 0.
27117         * nptl/sysdeps/pthread/bits/libc-lock.h
27118         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27119         (__libc_lock_define_initialized_recursive): Always define using
27120         initializer.  Modern compilers treat uninitialized (implicit zero) and
27121         explicit zero initializers the same (i.e. put the datum in bss).
27123 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27125         * nscd/nscd-client.h: Include <string.h>.
27127 2014-05-01  David S. Miller  <davem@davemloft.net>
27129         [BZ #16885]
27130         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27131         multiple zero bytes exist at the end of a string.
27132         Reported by Aurelien Jarno <aurelien@aurel32.net>
27134         * string/test-strcmp.c (check): Add explicit test for situations where
27135         there are multiple zero bytes after the first.
27137 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27139         [BZ #16890]
27140         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27141         when compiling wprintf.
27142         * stdio-common/tstdiomisc.c (t3): New function.
27143         (main): Call it.
27145 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27147         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27148         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27149         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27150         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27152 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27154         * stdlib/longlong.h: Updated from GCC.
27156 2014-05-01  Will Newton  <will.newton@linaro.org>
27157             Bernard Ogden  <bernie.ogden@linaro.org>
27159         * NEWS: Update fixed bug list.
27161         [BZ #15119]
27162         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27164 2014-04-30  David S. Miller  <davem@davemloft.net>
27166         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27167         (libc_feholdexcept_setround_sparc_ctx): New function.
27168         (libc_fesetenv_sparc_ctx): Likewise.
27169         (libc_feupdateenv_sparc_ctx): Likewise.
27170         (libc_feholdsetround_sparc_ctx): Likewise.
27171         (libc_feholdexcept_setround_ctx): Define.
27172         (libc_feholdexcept_setroundf_ctx): Likewise.
27173         (libc_feholdexcept_setroundl_ctx): Likewise.
27174         (libc_fesetenv_ctx): Likewise.
27175         (libc_fesetenvf_ctx): Likewise.
27176         (libc_fesetenvl_ctx): Likewise.
27177         (libc_feupdateenv_ctx): Likewise.
27178         (libc_feupdateenvf_ctx): Likewise.
27179         (libc_feupdateenvl_ctx): Likewise.
27180         (libc_feresetround_ctx): Likewise.
27181         (libc_feresetroundf_ctx): Likewise.
27182         (libc_feresetroundl_ctx): Likewise.
27183         (libc_feholdsetround_ctx): Likewise.
27184         (libc_feholdsetroundf_ctx): Likewise.
27185         (libc_feholdsetroundl_ctx): Likewise.
27187         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27188         with __USE_GNU instead of XOPEN cpp guards.
27190         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27191         0.
27193         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27194         with XOPEN cpp guards.
27196 2014-04-30  Julian Brown  <julian@codesourcery.com>
27198         [BZ #16888]
27199         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27200         handling.
27202 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27204         [BZ #9894]
27205         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27206         Change to 2.6.32.
27207         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27208         * sysdeps/unix/sysv/linux/configure: Regenerated.
27209         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27210         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27211         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27212         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27213         * README: Update reference to required Linux kernel version.
27214         * manual/install.texi (Linux): Update reference to required Linux
27215         kernel headers version.
27216         * INSTALL: Regenerated.
27218         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27219         header inclusion.
27220         [POSIX] (limits.h): Likewise.
27221         [POSIX] (math.h): Likewise.
27222         [POSIX] (sys/wait.h): Likewise.
27223         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27224         function.
27225         [POSIX] (stddef.h): Do not allow header inclusion.
27227 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27229         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27231 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27233         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27234         Return immediately after lll_futex_wake.
27236 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27238         [BZ #16791]
27239         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27240         structure.
27241         (datahead_init_pos): Call datahead_init_common early.
27242         (datahead_init_neg): Likewise.
27244         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27245         datahead_init_neg): New functions.
27246         * nscd/aicache.c (addhstaiX): Use them.
27247         * nscd/grpcache.c (cache_addgr): Likewise.
27248         * nscd/hstcache.c (cache_addhst): Likewise.
27249         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27250         * nscd/netgroupcache.c (do_notfound): Likewise.
27251         (addgetnetgrentX): Likewise.
27252         (addinnetgrX): Likewise.
27253         * nscd/pwdcache.c (cache_addpw): Likewise.
27254         * nscd/servicescache.c (cache_addserv): Likewise.
27256 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27257             Atsushi Onoe  <atsushi@onoe.org>
27259         [BZ #14308]
27260         [BZ #12994]
27261         [BZ #13651]
27262         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27263         one response is valid.
27264         * resolv/res_send.c (send_dg): Check for validity of other
27265         response if the current response is a referral.
27267 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27269         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27271 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27273         [BZ #16823]
27274         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27275         Always divide by positive zero when computing -Inf result.
27276         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27277         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27279 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27281         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27282         FPSCR if value do not change.
27283         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27284         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27285         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27286         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27287         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27288         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27289         function.
27291 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27293         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27294         * sysdeps/unix/sysv/linux/hppa: Move directory from
27295         ports/systeps/unix/sysv/linux/hppa.
27296         * README: Update listing for hppa-*-linux-gnu.
27298 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27300         [BZ #16754]
27301         * manual/stdio.texi (Hook functions): Fix types of stream hook
27302         functions.
27303         [BZ #16854]
27304         * socket/sys/socket.h: Fix typo in comment.
27306 2014-04-28  Wilco  <wdijkstr@arm.com>
27308         * sysdeps/arm/fenv_private.h: New file.
27309         * sysdeps/arm/math_private.h: New file.
27310         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27312 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27314         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27315         with __int128_t.
27316         (La_x86_64_retval): Likewise.
27318 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27320         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27321         fpsr if value didn't change.
27322         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27323         to fpcr if value didn't change.
27324         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27325         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27326         fpsr or fpcr if value didn't change.
27327         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27328         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27329         fpcr if value didn't change.
27330         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27331         to fpsr if value didn't change.
27333 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27335         * nptl/tst-sem3.c: Use test-skeleton.c
27336         (main): Rename to do_test.  Use return instead of
27337         exit.
27338         * nptl/tst-sem4.c: Use test-skeleton.c
27339         (main): Rename to do_test.
27341 2014-04-22  David S. Miller  <davem@davemloft.net>
27343         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27344         (struct sigaction): New struct member __glibc_reserved0, change
27345         type of sa_flags to int.
27347 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27349         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27350         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27352 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27354         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27355         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27357 2014-04-22  Will Newton  <will.newton@linaro.org>
27358             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27360         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27361         (__longjmp): Add longjmp and longjmp_target SystemTap
27362         probes.
27363         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27364         (__sigsetjmp): Add setjmp SystemTap probe.
27366 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27368         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27369         match manual order.
27371 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27373         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27375         * sysdeps/powerpc/fpu/fenv_private.h
27376         (libc_feholdexcept_setroundl_ctx): Define to
27377         libc_feholdexcept_setround_ppc_ctx.
27378         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27379         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27380         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27381         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27383 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27385         * sysdeps/aarch64/math-tests.h: New file.
27387 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27389         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27390         New.
27391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27392         Check and set bit_AVX2_Usable.
27393         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27394         macro.
27395         (bit_AVX2): Likewise.
27396         (index_AVX2_Usable): Likewise.
27397         (CPUID_AVX2): Likewise.
27398         (HAS_AVX2): Likewise.
27400 2014-04-17  Will Newton  <will.newton@linaro.org>
27402         * manual/setjmp.texi (System V contexts): Add note that
27403         calling setcontext on a context created by a call to a
27404         signal handler is undefined.  Update text to note that
27405         setcontext from a signal handler is possible but not
27406         recommended.
27408         [BZ #16629]
27409         * stdlib/tst-setcontext.c: Include signal.h.
27410         (main): Check that the signal stack before and
27411         after swapcontext is the same.
27413         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27414         Re-implement to restore registers in user code and avoid
27415         rt_sigreturn system call.
27417 2014-04-17  Wilco  <wdijkstr@arm.com>
27419         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27420         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27421         * math/test-fenv.c: Skip exception trap tests on targets which only
27422         support non-stop mode.
27424 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27425             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27427         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27428         (libc_feholdsetround_aarch64_ctx)
27429         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27430         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27431         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27432         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27433         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27434         (libc_feresetround_noexl_ctx): Define.
27436 2014-04-16  Richard Henderson  <rth@redhat.com>
27438         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27440         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27441         unwind tables.
27443         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27444         const from the non-libc, non-ldso copy.
27446         * sysdeps/alpha/libm-test-ulps: Regenerate.
27448 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27449             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27451         * sysdeps/aarch64/fpu/math_private.h: New file.
27453 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27455         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27457 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27459         [BZ #16275]
27460         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27461         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27463         Intel MPX bound registers before _dl_profile_fixup.
27464         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27465         registers after _dl_profile_fixup.  Save and restore bound
27466         registers bnd0/bnd1 when calling _dl_call_pltexit.
27467         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27468         (LR_BND_OFFSET): Likewise.
27469         (LRV_BND0_OFFSET): Likewise.
27470         (LRV_BND1_OFFSET): Likewise.
27472 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27474         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27475         to...
27476         * sysdeps/mach/hurd/i386/tls.h: ... here.
27477         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27478         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27479         fields.
27481 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27483         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27485 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27487         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27489 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27491         [BZ #14770]
27492         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27493         * sysdeps/s390/configure: Regenerate.
27495         [BZ #16824]
27496         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27497         Set round-to-nearest internally to reduce error accumulation.
27499 2014-04-16  Alan Modra  <amodra@gmail.com>
27501         [BZ #16740]
27502         [BZ #16619]
27503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27504         * math/libm-test.inc (frexp_test_data): Add tests.
27505         * NEWS: Update fixed bug list.
27507 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27509         * benchtests/Makefile: Depend on libraries in build directory.
27510         (bench-math): Separate out math tests.
27511         (bench-pthread): Separate out pthread tests.
27512         (bench): Include math and pthread tests.
27514 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27516         [BZ #16831]
27517         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27518         _dl_debug_initialize.
27520         * configure.ac: Remove SELinux header check.
27521         * configure: Regenerate.
27522         * nscd/selinux.c (perms): Array of const char* to permission names.
27523         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27524         default policy. Call string_to_security_class and string_to_av_perm to
27525         translate strings. Enforce default policy and call avs_has_perm with
27526         results of translated strings.
27528 2014-04-13  David S. Miller  <davem@davemloft.net>
27530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27532 2014-04-12  Allan McRae  <allan@archlinux.org>
27534         [BZ #16838]
27535         * manual/string.texi (Collation Functions): Fix qsort argument
27536         order in example.
27537         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27539 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27541         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27542         Make the test a no-op if there are no exceptions defined.
27544 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27546         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27547         enable-hardcoded-path-in-tests
27549 2014-04-11  Will Newton  <will.newton@linaro.org>
27551         * benchtests/Makefile (extra-objs): Add json-lib.o.
27552         (bench-func): Tidy up JSON output.
27553         * benchtests/bench-skeleton.c: Include json-lib.h.
27554         (main): Use JSON library functions to do output of
27555         benchmark results.
27556         * benchtests/bench-timing-type.c (main): Output the
27557         timing type simply, leaving formatting to the user.
27558         * benchtests/json-lib.c: New file.
27559         * benchtests/json-lib.h: Likewise.
27561 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27563         [BZ #15215]
27564         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27565         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27566         memory barriers.  Add comments.
27567         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27568         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27569         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27570         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27571         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27572         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27574 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27576         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27577         * sysdeps/s390/s390-64/configure.ac: ... this ...
27578         * sysdeps/s390/configure.ac: ... to here.
27579         * sysdeps/s390/s390-32/configure: Delete file.
27580         * sysdeps/s390/s390-64/configure: Delete file.
27581         * sysdeps/s390/configure: Regenerate.
27583 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27585         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27587 2014-04-11  Will Newton  <will.newton@linaro.org>
27589         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27590         to zero if it is not defined elsewhere.  (mtrim): Test
27591         the value of MALLOC_DEBUG with #if rather than #ifdef.
27593 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27595         * benchtests/pthread_once-inputs: New file.
27596         * benchtests/pthread_once-source.c: New file.
27597         * benchtests/README: Update documentation.
27599 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27600             H.J. Lu  <hongjiu.lu@intel.com>
27602         [BZ #16275]
27603         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27604         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27605         * sysdeps/x86_64/configure: Regenerated.
27606         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27607         macro.
27608         (REGISTER_SAVE_RAX): Likewise.
27609         (REGISTER_SAVE_RCX): Likewise.
27610         (REGISTER_SAVE_RDX): Likewise.
27611         (REGISTER_SAVE_RSI): Likewise.
27612         (REGISTER_SAVE_RDI): Likewise.
27613         (REGISTER_SAVE_R8): Likewise.
27614         (REGISTER_SAVE_R9): Likewise.
27615         (REGISTER_SAVE_BND0): Likewise.
27616         (REGISTER_SAVE_BND1): Likewise.
27617         (REGISTER_SAVE_BND2): Likewise.
27618         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27619         bound registers when calling _dl_fixup.
27621 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27623         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27624         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27625         of its definition.
27626         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27627         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27628         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27629         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27630         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27631         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27632         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27634 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27636         [BZ #15514]
27637         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27638         pathconf(_PC_NAME_MAX).
27640 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27642         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27643         Remove macro usage.
27644         (__PTHREAD_SPINS): Move definition to ...
27645         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27646         (__PTHREAD_SPINS): ... here.
27647         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27648         (__PTHREAD_SPIN): Likewise.
27649         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27650         (__PTHREAD_SPIN): Likewise.
27651         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27652         (__PTHREAD_SPIN): Likewise.
27653         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27654         (__PTHREAD_SPIN): Likewise.
27655         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27656         (__PTHREAD_SPIN): Likewise.
27657         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27658         (__PTHREAD_SPIN): Likewise.
27659         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27660         (__PTHREAD_SPIN): Likewise.
27661         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27662         (__PTHREAD_SPIN): Likewise.
27663         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27664         (__PTHREAD_SPIN): Likewise.
27665         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27666         (__PTHREAD_SPIN): Likewise.
27667         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27668         (__PTHREAD_SPIN): Likewise.
27669         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27670         (__PTHREAD_SPIN): Likewise.
27672         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27673         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27674         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27675         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27676         imply folder.
27677         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27678         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27679         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27680         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27681         correct imply path.
27682         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27683         strlen symbol for non multi-arch builds.
27684         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27685         missing hidden_def and weak_alias.
27687 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27689         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27691 2014-04-07  Will Newton  <will.newton@linaro.org>
27693         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27694         and contents.  [!_LIBC] Remove #ifndef and contents.
27695         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27696         * string/memccpy.c (__memccpy): Use ANSI prototype.
27697         * string/memfrob.c (memfrob): Likewise.
27698         * string/strcoll.c (STRCOLL): Likewise.
27699         * string/strlen.c (strlen): Likewise.
27700         * string/strtok.c (STRTOK): Likewise.
27701         * string/strcat.c: Remove unused #include of memcopy.h.
27702         (strcat): Use ANSI prototype.
27703         * string/strchr.c: Remove unused #include of memcopy.h.
27704         (strchr): Use ANSI prototype.
27705         * string/strcmp.c: Remove unused #include of memcopy.h.
27706         (strcmp): Use ANSI prototype.
27707         * string/strcpy.c: Remove unused #include of memcopy.h.
27708         (strcpy): Use ANSI prototype.
27710 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27712         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27713         * config.make.in (config-extra-cppflags): Set it from
27714         libc_extra_cppflags.
27715         * configure.ac (libc_extra_cflags): Make it accumulate over
27716         configure fragments.
27717         (libc_extra_cppflags): New flag.
27718         * configure. Regenerate.
27719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27720         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27721         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27724         [BZ #16815]
27725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27726         result for FE_DOWNWARD rounding mode.
27727         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27728         Likewise.
27729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27731 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27733         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27734         in function argument name.
27736 2014-04-03  David Svoboda  <svoboda@cert.org>
27738         [BZ #5666]
27739         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27740         explicitly.
27742 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27744         * elf/dl-unmap-segments.h: New file.
27745         * sysdeps/generic/ldsodefs.h
27746         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27747         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27748         * elf/dl-fptr.c: Likewise.
27749         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27750         * sysdeps/aarch64/tlsdesc.c: Likewise.
27751         * sysdeps/arm/tlsdesc.c: Likewise.
27752         * sysdeps/i386/tlsdesc.c: Likewise.
27753         * sysdeps/tile/dl-runtime.c: Likewise.
27754         * sysdeps/x86_64/tlsdesc.c: Likewise.
27755         * elf/dl-load.h: New file.
27756         * elf/dl-load.c: Include it.
27757         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27758         Macros moved to dl-load.h.
27759         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27760         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27761         Use _dl_unmap_segments in place of __munmap.
27762         Break out segment-mapping loop into ...
27763         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27765 2014-04-03  Will Newton  <will.newton@linaro.org>
27767         * elf/dl-lookup.c (do_lookup_x): Remove comment
27768         referring to nested function and move variable
27769         declarations down to before first use.
27771 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27773         [BZ #16799]
27774         [BZ #16800]
27775         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27776         with 0 numerator.
27777         * math/s_catanf.c (__catanf): Likewise.
27778         * math/s_catanh.c (__catanh): Likewise.
27779         * math/s_catanhf.c (__catanhf): Likewise.
27780         * math/s_catanhl.c (__catanhl): Likewise.
27781         * math/s_catanl.c (__catanl): Likewise.
27782         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27783         by positive zero when computing -Inf result.
27784         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27785         (catanh_test): Likewise.
27786         * sysdeps/i386/fpu/libm-test-ulps: Update.
27787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27789         [BZ #16789]
27790         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27791         instead of using underflowing value in computing result.
27792         * math/s_clog10.c (__clog10): Likewise.
27793         * math/s_clog10f.c (__clog10f): Likewise.
27794         * math/s_clog10l.c (__clog10l): Likewise.
27795         * math/s_clogf.c (__clogf): Likewise.
27796         * math/s_clogl.c (__clogl): Likewise.
27797         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27798         (clog10_test): Likewise.
27799         * sysdeps/i386/fpu/libm-test-ulps: Update.
27800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27802 2014-04-02  Alan Modra  <amodra@gmail.com>
27804         [BZ #16739]
27805         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27806         output when value is near a power of two.  Use int64_t for lx and
27807         remove casts.  Use decimal rather than hex exponent constants.
27808         Don't use long double multiplication when double will suffice.
27809         * math/libm-test.inc (nextafter_test_data): Add tests.
27810         * NEWS: Add 16739 and 16786 to bug list.
27812         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27814         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27816 2014-04-01  Will Newton  <will.newton@linaro.org>
27818         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27819         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27821 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27823         [BZ #13347]
27824         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27825         * nptl/tst-setuid2.c: New file.
27826         * nptl/Makefile (xtests): Add tst-setuid2.
27828 2014-04-01  Alan Modra  <amodra@gmail.com>
27830         [BZ #16786]
27831         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27833 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27835         [BZ #6803]
27836         [BZ #6804]
27837         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27838         set errno as appropriate.
27839         * math/w_scalbf.c (__scalbf): Likewise.
27840         * math/w_scalbl.c (__scalbl): Likewise.
27841         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27842         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27843         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27844         Add more NaN tests.
27846         [BZ #16349]
27847         * math/w_atan2.c: Include <errno.h>.
27848         (__atan2): Set errno for result underflowing to zero.
27849         * math/w_atan2f.c: Include <errno.h>.
27850         (__atan2f): Set errno for result underflowing to zero.
27851         * math/w_atan2l.c: Include <errno.h>.
27852         (__atan2l): Set errno for result underflowing to zero.
27853         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27854         tests.
27855         * math/auto-libm-test-out: Regenerated.
27857 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27859         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27860         Encode instruction correctly in little endian.
27861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27862         Likewise.
27863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27864         Likewise.
27865         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27866         Likewise.
27867         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27868         Likewise.
27870 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27872         [BZ #9894]
27873         * sysdeps/unix/sysv/linux/kernel-features.h
27874         [__sparc__ && !__arch64__ && !__sparc_v9__]
27875         (__ASSUME_SET_ROBUST_LIST): Do not define.
27876         [__sparc__ && !__arch64__ && !__sparc_v9__]
27877         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27878         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27879         Likewise.
27880         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27881         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27882         (__ASSUME_REQUEUE_PI): Likewise.
27883         (__ASSUME_SET_ROBUST_LIST): Likewise.
27884         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27885         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27886         Undefine.
27887         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27888         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27889         Likewise.
27890         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27891         Likewise.
27892         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27893         Likewise.
27894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27895         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27896         Undefine.
27897         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27898         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27899         Likewise.
27901         [BZ #16648]
27902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27903         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27904         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27906 2014-03-31  Will Newton  <will.newton@linaro.org>
27908         * benchtests/Makefile (bench): Add ffs and ffsll to list
27909         of tests.
27910         * benchtests/ffs-inputs: New file.
27911         * benchtests/ffsll-inputs: Likewise.
27913 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27915         [BZ #16770]
27916         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27917         too large before casting to int.
27918         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27919         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27920         * math/libm-test.inc (scalb_test_data): Add more tests.
27922 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27924         * benchtests/Makefile (DETAILED_OPT): New make option.
27925         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27926         set.
27927         * benchtests/bench-skeleton.c: Include stdbool.h.
27928         (main): Store and print timings per input.
27929         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27930         member to each argument value.
27931         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27932         (_print_arg_data): Initialize per-input timing to 0.
27934         * benchtests/Makefile (timing-type): New binary.
27935         (bench-clean): Also remove bench-timing-type.
27936         (bench): New target for timing-type.
27937         (bench-func): Print output in JSON format.
27938         * benchtests/bench-skeleton.c (main): Print output in JSON
27939         format.
27940         * benchtests/bench-timing-type.c: New file.
27941         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27942         (TIMING_PRINT_STATS): Remove.
27943         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27944         name separately.
27946         * benchtests/bench-modf.c: Remove.
27947         * benchtests/modf-inputs: New inputs file.
27949 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27951         [BZ #16362]
27952         * math/s_clog10.c (M_PI_LOG10E): New macro.
27953         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27954         imaginary parts are 0.
27955         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27956         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27957         imaginary parts are 0.
27958         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27959         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27960         imaginary parts are 0.
27961         * math/libm-test.inc (clog10_test_data): Update expected results
27962         for when real and imaginary parts are 0.
27964 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27966         * elf/dl-load.c: Finish conversion of __builtin_expect into
27967         __glibc_{un}likely.
27969 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27971         [BZ #16348]
27972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27973         1+x for argument with exponent below -67.
27974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27975         Likewise.
27976         * math/auto-libm-test-in: Add more tests of exp.
27977         * math/auto-libm-test-out: Regenerated.
27979 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27981         [BZ #16759]
27982         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27983         (nscd_getnetgrent): Use it.
27985         [BZ #16760]
27986         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27987         of stpcpy.
27989 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27991         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27992         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27993         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27994         (lll_robust_unlock): Remove out of line section. Use cfi
27995         intrinsics.
27996         (LLL_STUB_UNWIND_INFO*): Remove.
27997         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27998         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27999         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28000         (lll_robust_unlock): Remove out of line section. Use cfi
28001         intrinsics.
28002         (LLL_STUB_UNWIND_INFO*): Remove.
28004 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28006         [BZ #16758]
28007         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28008         blank values.
28010 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28012         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28014 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28016         [BZ #16198]
28017         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28018         fnstenv.
28019         * math/test-fenv-preserve.c: New file.
28020         * math/Makefile (tests): Add test-fenv-preserve.
28022 2014-03-26  Will Newton <will.newton@linaro.org>
28024         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28026 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28028         * scripts/versionlist.awk: Partition the version sets and emit all
28029         GLIBC_* (sorted) before all others (sorted).
28031 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28033         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28034         GLIBC_2.2.5 version.
28036 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28038         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28039         calls.
28041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28042         previous change.
28044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28046 2014-03-25  Andreas Schwab  <schwab@suse.de>
28048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28049         label to be used after in6ailist is initialized.
28051 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28053         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28054         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28056 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28058         [BZ #16357]
28059         [BZ #16599]
28060         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28061         min_plus_half.
28062         (fp_formats): Update initializers.
28063         (init_fp_formats): Initialize new field.
28064         (output_for_one_input_case): Allow underflow for results up to
28065         min_plus_half.
28066         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28067         * math/auto-libm-test-in: Don't mark some underflows from asin and
28068         atanh as spurious.
28069         * math/auto-libm-test-out: Regenerated.
28070         * sysdeps/i386/fpu/libm-test-ulps: Update.
28071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28073 2014-03-25  Andreas Schwab  <schwab@suse.de>
28075         * libio/Makefile (tst-ftell-partial-wide-ENV)
28076         (tst-ftell-active-handler-ENV): Define.
28078 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28080         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28082 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28084         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28086 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28088         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28089         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28090         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28092 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28094         [BZ #16634]
28095         * elf/dl-load.c (open_verify): Add mode parameter.
28096         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28097         (open_path): Change from boolean 'secure' to complete flag 'mode'
28098         (_dl_map_object): Adjust.
28099         * elf/Makefile (tests): Add tst-dlopen-aout.
28100         * elf/tst-dlopen-aout.c: New test.
28102 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28104         [BZ #16714]
28105         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28106         (struct stat): Rename member pad0 to __glibc_reserved0.
28108         [BZ #16712]
28109         * sysdeps/s390/s390-32/bits/wordsize.h
28110         (__WORDSIZE32_SIZE_ULONG): New define.
28111         * sysdeps/s390/s390-64/bits/wordsize.h
28112         (__WORDSIZE32_SIZE_ULONG): Likewise.
28113         * sysdeps/generic/stdint.h (SIZE_MAX):
28114         Define as UL if __WORDSIZE32_SIZE_ULONG.
28116         [BZ #16713]
28117         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28118         (__glibc_reserved0): New variable.
28119         (sa_flags): Change type to int.
28121         * posix/Makefile (before-compile): Use += before-compile instead
28122         of a :=.
28124         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28125         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28127 2014-03-20  Andreas Schwab  <schwab@suse.de>
28129         [BZ #16743]
28130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28131         non-matching result from nscd.
28133 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28135         * scripts/bench.py: Moved to ...
28136         * benchtests/scripts/bench.py: ... here.
28137         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28139 2014-03-24  Andreas Schwab  <schwab@suse.de>
28141         [BZ #16002]
28142         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28143         alloca_account and account alloca use for struct in6ailist.
28145 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28147         [BZ #16284]
28148         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28149         rounding mode to recompute results that overflow to infinity or
28150         underflow to zero.
28151         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28152         bug 16284.
28153         * math/auto-libm-test-out: Regenerated.
28154         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28155         (ccosh_test): Likewise.
28156         (csin_test_data): Use plus_oflow.
28157         (csin_test): Use ALL_RM_TEST.
28158         (csinh_test_data): Use plus_oflow.
28159         (csinh_test): Use ALL_RM_TEST.
28160         * sysdeps/i386/fpu/libm-test-ulps: Update.
28161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28163 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28165         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28166         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28167         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28169         [BZ #16731]
28170         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28171         when x - 1 is zero.
28172         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28173         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28174         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28176         argument is 1.
28177         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28178         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28179         zero.
28180         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28181         * sysdeps/i386/fpu/libm-test-ulps: Update.
28182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28184 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28186         * scripts/bench.pl: Remove file.
28187         * scripts/bench.py: New benchmark script.
28188         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28189         * benchtests/README: Mention python dependency.
28190         * scripts/pylintrc: New file.
28191         * scripts/pylint: New file.
28193         * bits/mathdef.h: Use #ifdef instead of #if.
28194         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28195         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28196         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28197         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28198         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28199         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28201 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28202             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28204         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28206         and strpbrk-ppc64 objects.
28207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28208         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28210         multiarch strpbrk for POWER7.
28211         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28212         multiarch strpbrk for PPC64.
28213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28214         ifunc selector.
28215         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28216         strpbrk for POWER7.
28218 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28220         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28221         (atan_test): Likewise.
28222         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28223         (atanh_test): Use ALL_RM_TEST.
28224         (atan2_test_data): Likewise.
28225         (cabs_test): Likewise.
28226         (cacosh_test): Likewise.
28227         (carg_test): Likewise.
28228         (casin_test): Likewise.
28229         (casinh_test): Likewise.
28230         (cbrt_test): Likewise.
28231         (csqrt_test): Likewise.
28232         (erf_test): Likewise.
28233         (erfc_test): Likewise.
28234         (pow10_test): Likewise.
28235         (exp2_test): Likewise.
28236         (hypot_test): Likewise.
28237         (j0_test): Likewise.
28238         (j1_test): Likewise.
28239         (lgamma_test): Likewise.
28240         (gamma_test): Likewise.
28241         (sincos_test): Likewise.
28242         (tanh_test): Likewise.
28243         (y0_test): Likewise.
28244         (y1_test): Likewise.
28245         * sysdeps/i386/fpu/libm-test-ulps: Update.
28246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28248 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28250         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28252         and strcspn-ppc64 objects.
28253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28254         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28255         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28256         multiarch strcspn for POWER7.
28257         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28258         multiarch strcspn for PPC64.
28259         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28260         ifunc selector.
28261         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28262         strcspn for POWER7.
28264 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28266         * math/gen-libm-test.pl (generate_testfile): Expect only function
28267         name as argument to AUTO_TESTS_* and pass results for all rounding
28268         modes to parse_args.
28269         (parse_auto_input): Separate inputs of automatic tests from
28270         outputs before storing in %auto_tests.
28271         * math/libm-test.inc (acos_test_data): Update call to
28272         AUTO_TESTS_f_f.
28273         (acos_test): Use ALL_RM_TEST.
28274         (acos_tonearest_test_data): Remove.
28275         (acos_test_tonearest): Likewise.
28276         (acos_towardzero_test_data): Likewise.
28277         (acos_test_towardzero): Likewise.
28278         (acos_downward_test_data): Likewise.
28279         (acos_test_downward): Likewise.
28280         (acos_upward_test_data): Likewise.
28281         (acos_test_upward): Likewise.
28282         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28283         (asin_test_data): Likewise.
28284         (asin_test): Use ALL_RM_TEST.
28285         (asin_tonearest_test_data): Remove.
28286         (asin_test_tonearest): Likewise.
28287         (asin_towardzero_test_data): Likewise.
28288         (asin_test_towardzero): Likewise.
28289         (asin_downward_test_data): Likewise.
28290         (asin_test_downward): Likewise.
28291         (asin_upward_test_data): Likewise.
28292         (asin_test_upward): Likewise.
28293         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28294         (atan_test_data): Likewise.
28295         (atanh_test_data): Likewise.
28296         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28297         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28298         (carg_test_data): Likewise.
28299         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28300         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28301         (ccosh_test_data): Likewise.
28302         (cexp_test_data): Likewise.
28303         (clog_test_data): Likewise.
28304         (clog10_test_data): Likewise.
28305         (cos_test_data): Update call to AUTO_TESTS_f_f.
28306         (cos_test): Use ALL_RM_TEST.
28307         (cos_tonearest_test_data): Remove.
28308         (cos_test_tonearest): Likewise.
28309         (cos_towardzero_test_data): Likewise.
28310         (cos_test_towardzero): Likewise.
28311         (cos_downward_test_data): Likewise.
28312         (cos_test_downward): Likewise.
28313         (cos_upward_test_data): Likewise.
28314         (cos_test_upward): Likewise.
28315         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28316         (cosh_test): Use ALL_RM_TEST.
28317         (cosh_tonearest_test_data): Remove.
28318         (cosh_test_tonearest): Likewise.
28319         (cosh_towardzero_test_data): Likewise.
28320         (cosh_test_towardzero): Likewise.
28321         (cosh_downward_test_data): Likewise.
28322         (cosh_test_downward): Likewise.
28323         (cosh_upward_test_data): Likewise.
28324         (cosh_test_upward): Likewise.
28325         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28326         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28327         (ctan_test_data): Likewise.
28328         (ctan_test): Use ALL_RM_TEST.
28329         (ctan_tonearest_test_data): Remove.
28330         (ctan_test_tonearest): Likewise.
28331         (ctan_towardzero_test_data): Likewise.
28332         (ctan_test_towardzero): Likewise.
28333         (ctan_downward_test_data): Likewise.
28334         (ctan_test_downward): Likewise.
28335         (ctan_upward_test_data): Likewise.
28336         (ctan_test_upward): Likewise.
28337         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28338         (ctanh_test): Use ALL_RM_TEST.
28339         (ctanh_tonearest_test_data): Remove.
28340         (ctanh_test_tonearest): Likewise.
28341         (ctanh_towardzero_test_data): Likewise.
28342         (ctanh_test_towardzero): Likewise.
28343         (ctanh_downward_test_data): Likewise.
28344         (ctanh_test_downward): Likewise.
28345         (ctanh_upward_test_data): Likewise.
28346         (ctanh_test_upward): Likewise.
28347         (erf_test_data): Update call to AUTO_TESTS_f_f.
28348         (erfc_test_data): Likewise.
28349         (exp_test_data): Likewise.
28350         (exp_test): Use ALL_RM_TEST.
28351         (exp_tonearest_test_data): Remove.
28352         (exp_test_tonearest): Likewise.
28353         (exp_towardzero_test_data): Likewise.
28354         (exp_test_towardzero): Likewise.
28355         (exp_downward_test_data): Likewise.
28356         (exp_test_downward): Likewise.
28357         (exp_upward_test_data): Likewise.
28358         (exp_test_upward): Likewise.
28359         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28360         (exp10_test): Use ALL_RM_TEST.
28361         (exp10_tonearest_test_data): Remove.
28362         (exp10_test_tonearest): Likewise.
28363         (exp10_towardzero_test_data): Likewise.
28364         (exp10_test_towardzero): Likewise.
28365         (exp10_downward_test_data): Likewise.
28366         (exp10_test_downward): Likewise.
28367         (exp10_upward_test_data): Likewise.
28368         (exp10_test_upward): Likewise.
28369         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28370         (expm1_test_data): Likewise.
28371         (expm1_test): Use ALL_RM_TEST.
28372         (expm1_tonearest_test_data): Remove.
28373         (expm1_test_tonearest): Likewise.
28374         (expm1_towardzero_test_data): Likewise.
28375         (expm1_test_towardzero): Likewise.
28376         (expm1_downward_test_data): Likewise.
28377         (expm1_test_downward): Likewise.
28378         (expm1_upward_test_data): Likewise.
28379         (expm1_test_upward): Likewise.
28380         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28381         (fma_test): Use ALL_RM_TEST.
28382         (fma_towardzero_test_data): Remove.
28383         (fma_test_towardzero): Likewise.
28384         (fma_downward_test_data): Likewise.
28385         (fma_test_downward): Likewise.
28386         (fma_upward_test_data): Likewise.
28387         (fma_test_upward): Likewise.
28388         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28389         (j0_test_data): Update call to AUTO_TESTS_f_f.
28390         (j1_test_data): Likewise.
28391         (jn_test_data): Update call to AUTO_TESTS_if_f.
28392         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28393         (log_test_data): Update call to AUTO_TESTS_f_f.
28394         (log10_test_data): Likewise.
28395         (log1p_test_data): Likewise.
28396         (log2_test_data): Likewise.
28397         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28398         (pow_tonearest_test_data): Likewise.
28399         (sin_test_data): Update call to AUTO_TESTS_f_f.
28400         (sin_test): Use ALL_RM_TEST.
28401         (sin_tonearest_test_data): Remove.
28402         (sin_test_tonearest): Likewise.
28403         (sin_towardzero_test_data): Likewise.
28404         (sin_test_towardzero): Likewise.
28405         (sin_downward_test_data): Likewise.
28406         (sin_test_downward): Likewise.
28407         (sin_upward_test_data): Likewise.
28408         (sin_test_upward): Likewise.
28409         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28410         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28411         (sinh_test): Use ALL_RM_TEST.
28412         (sinh_tonearest_test_data): Remove.
28413         (sinh_test_tonearest): Likewise.
28414         (sinh_towardzero_test_data): Likewise.
28415         (sinh_test_towardzero): Likewise.
28416         (sinh_downward_test_data): Likewise.
28417         (sinh_test_downward): Likewise.
28418         (sinh_upward_test_data): Likewise.
28419         (sinh_test_upward): Likewise.
28420         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28421         (sqrt_test): Use ALL_RM_TEST.
28422         (sqrt_tonearest_test_data): Remove.
28423         (sqrt_test_tonearest): Likewise.
28424         (sqrt_towardzero_test_data): Likewise.
28425         (sqrt_test_towardzero): Likewise.
28426         (sqrt_downward_test_data): Likewise.
28427         (sqrt_test_downward): Likewise.
28428         (sqrt_upward_test_data): Likewise.
28429         (sqrt_test_upward): Likewise.
28430         (tan_test_data): Update call to AUTO_TESTS_f_f.
28431         (tan_test): Use ALL_RM_TEST.
28432         (tan_tonearest_test_data): Remove.
28433         (tan_test_tonearest): Likewise.
28434         (tan_towardzero_test_data): Likewise.
28435         (tan_test_towardzero): Likewise.
28436         (tan_downward_test_data): Likewise.
28437         (tan_test_downward): Likewise.
28438         (tan_upward_test_data): Likewise.
28439         (tan_test_upward): Likewise.
28440         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28441         (tgamma_test_data): Likewise.
28442         (y0_test_data): Likewise.
28443         (y1_test_data): Likewise.
28444         (yn_test_data): Update call to AUTO_TESTS_if_f.
28445         (main): Do not call removed functions.
28447 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28449         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28450         (ldexp_test_data): Remove.
28451         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28452         scalbn_test_data.
28453         (scalb_test): Use ALL_RM_TEST.
28455 2014-03-19  Andreas Schwab  <schwab@suse.de>
28457         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28459 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28461         [BZ #16649]
28462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28463         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28466         (__ASSUME_PREADV): Undefine.
28467         (__ASSUME_PWRITEV): Likewise.
28469 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28471         * bits/mman-linux.h: Add comment about non-Linux use.
28472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28473         bits/mman-linux.h resting place.
28475         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28476         * bits/mman-linux.h: ... here.
28478 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28480         * conform/conformtest.pl: Add standard definition when calling C
28481         preprocessor on data files.
28482         (checknamespace): Remove unused variable.
28484 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28486         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28487         minus_oflow, plus_uflow and minus_uflow in expected results.
28488         * math/libm-test.inc (scalbn_test_data): Add more tests of
28489         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28490         minus_uflow.
28491         (scalbn_test): Use ALL_RM_TEST.
28492         (scalbln_test_data): Add more tests of negative arguments.  Use
28493         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28494         (scalbln_test): Use ALL_RM_TEST.
28496 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28498         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28500 2014-03-18  Will Newton  <will.newton@linaro.org>
28502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28503         inaccurate comment.
28505 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28507         * Makerules [!subdir] (check-abi): Exit with error status if a
28508         test failed.
28510 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28512         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28513         for rint.  Include results for all rounding modes.
28514         (nearbyint_test): Use ALL_RM_TEST.
28515         (rint_test_data): Include all tests used for nearbyint.
28517 2014-03-17  Will Newton  <will.newton@linaro.org>
28519         * nptl/sysdeps/pthread/pthread.h: Revert previous
28520         change.
28522         * sysdeps/generic/ldsodefs.h: Revert previous
28523         change.
28525         * libio/genops.c: Revert previous change.
28526         * libio/libioP.h: Likewise.
28527         * stdio-common/vfprintf.c: Likewise.
28529         * sysdeps/generic/math_private.h: Revert previous
28530         change.
28532         * sysdeps/generic/math_private.h: Check whether
28533         HAVE_RM_CTX is defined with #ifdef rather
28534         than #if.
28536         * argp/argp-fmtstream.h: Check whether
28537         __STRICT_ANSI__ is defined with #ifdef rather
28538         than #if.
28539         * argp/argp.h: Likewise.
28541         * libio/genops.c: Check whether
28542         _IO_JUMPS_OFFSET is defined with #ifdef rather
28543         than #if.
28544         * libio/libioP.h: Likewise.
28545         * stdio-common/vfprintf.c: Likewise.
28547         * sysdeps/generic/ldsodefs.h: Check whether
28548         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28549         than #if.
28551         * nptl/sysdeps/pthread/pthread.h: Check
28552         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28553         its value.
28555 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28557         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28558         setting O_APPEND.
28559         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28560         test case.
28562         [BZ #16680]
28563         * libio/fileops.c (_IO_file_open): Seek to end of file but
28564         don't cache the offset.
28565         (get_file_offset): Remove function.
28566         (do_ftell): Use cached offset when available.
28567         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28568         don't cache the offset.
28569         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28570         case.
28571         (do_one_test): Call it.
28572         (do_ftell_test): Fix up expected old offset for a+ mode.
28573         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28574         available.
28576         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28577         up test status with function return status.
28578         (do_write_test): Likewise.
28579         (do_append_test): Likewise.
28581         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28582         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28583         Remove.
28585 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28587         * math/gen-libm-test.pl (parse_args): Handle results specified for
28588         each rounding mode separately.
28589         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28590         tests and results from lrint_tonearest_test_data,
28591         lrint_towardzero_test_data, lrint_downward_test_data and
28592         lrint_upward_test_data.
28593         (lrint_test): Use ALL_RM_TEST.
28594         (lrint_tonearest_test_data): Remove.
28595         (lrint_test_tonearest): Likewise.
28596         (lrint_towardzero_test_data): Likewise.
28597         (lrint_test_towardzero): Likewise.
28598         (lrint_downward_test_data): Likewise.
28599         (lrint_test_downward): Likewise.
28600         (lrint_upward_test_data): Likewise.
28601         (lrint_test_upward): Likewise.
28602         (llrint_test_data): Merge in per-rounding-mode tests and results
28603         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28604         llrint_downward_test_data and llrint_upward_test_data.
28605         (llrint_test): Use ALL_RM_TEST.
28606         (llrint_tonearest_test_data): Remove.
28607         (llrint_test_tonearest): Likewise.
28608         (llrint_towardzero_test_data): Likewise.
28609         (llrint_test_towardzero): Likewise.
28610         (llrint_downward_test_data): Likewise.
28611         (llrint_test_downward): Likewise.
28612         (llrint_upward_test_data): Likewise.
28613         (llrint_test_upward): Likewise.
28614         (rint_test_data): Merge in per-rounding-mode tests and results
28615         from rint_tonearest_test_data, rint_towardzero_test_data,
28616         rint_downward_test_data and rint_upward_test_data.  Add
28617         per-rounding-mode results for tests not in those arrays.
28618         (rint_test): Use ALL_RM_TEST.
28619         (rint_tonearest_test_data): Remove.
28620         (rint_test_tonearest): Likewise.
28621         (rint_towardzero_test_data): Likewise.
28622         (rint_test_towardzero): Likewise.
28623         (rint_downward_test_data): Likewise.
28624         (rint_test_downward): Likewise.
28625         (rint_upward_test_data): Likewise.
28626         (rint_test_upward): Likewise.
28627         (main): Don't call removed functions.
28629 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28631         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28632         "Compiled on ..." crapola.  It is anti-useful.
28634 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28636         * scripts/evaluate-test.sh: Handle fourth argument to determine
28637         whether test run should stop on failure.
28638         * Makeconfig (stop-on-test-failure): New variable.
28639         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28640         $(stop-on-test-failure).
28641         * Makefile (tests): Give a summary of results from testing and
28642         exit with failure status if they include an ERROR or FAIL.
28643         (xtests): Likewise.
28644         * manual/install.texi (Configuring and compiling): Mention
28645         stop-on-test-failure=y.
28646         * INSTALL: Regenerated.
28648 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28650         * scripts/versionlist.awk: New file.
28651         * Makerules [$(build-shared) = yes]
28652         (postclean-generated): Add Versions.def, not Versions.def.v and
28653         Versions.def.v.i.
28654         ($(common-objpfx)Versions.def.v.i): Target removed.
28655         ($(common-objpfx)Versions.def): New target.
28656         ($(common-objpfx)Versions.all): Depend on that rather that
28657         $(common-objpfx)Versions.def.v.
28658         * Versions.def: File removed.
28660         * Makeconfig (+gccwarn): Add -Wundef.
28661         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28662         a dl-sysdep.h breaking its contract.
28663         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28664         * include/stackinfo.h: New file.
28665         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28666         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28667         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28668         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28669         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28670         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28671         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28672         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28673         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28674         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28675         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28676         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28677         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28678         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28679         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28681 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28683         [BZ #16707]
28684         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28685         implementation.
28686         * math/libm-test.inc (round_test_data): Add more tests.
28688         [BZ #16706]
28689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28690         implementation.
28691         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28693         [BZ #16701]
28694         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28695         implementation.
28696         * math/libm-test.inc (ceil_test_data): Add more tests.
28698         * math/libm-test.inc (trunc_test_data): Add more tests related to
28699         BZ#16414.
28701 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28703         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28704         with #if rather than #ifdef.
28705         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28707 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28709         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28710         first.  Disable AVX-512 GCC support if assembler doesn't support
28711         it.
28712         * sysdeps/x86_64/configure: Regenerated.
28714 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28716         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28717         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28718         (__old_pthread_attr_setstack): Likewise.
28719         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28720         [!_STACK_GROWS_DOWN]: Likewise.
28722 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28724         * config.make.in (have-bash2): Delete.
28725         * configure.ac (libc_cv_have_bash2): Delete.
28726         * configure: Regenerate.
28727         * elf/Makefile (common-ldd-rewrite): Rename to ...
28728         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28729         (sh-ldd-rewrite): Delete.
28730         (bash-ldd-rewrite): Delete.
28731         (have-bash2): Delete checks.
28732         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28733         ldd-rewrite.
28735         * config.make.in (have-ksh): Delete.
28736         (KSH): Delete.
28737         * configure.ac (libc_cv_have_ksh): Delete.
28738         * configure: Regenerate.
28740         * elf/Makefile: Delete $(have-ksh) check.
28741         ($(objpfx)sotruss): Change KSH to BASH.
28742         * elf/sotruss.ksh: Rename to ...
28743         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28744         function style to match POSIX.  Drop ksh vim mode setting.
28746         * manual/time.texi (Specifying the Time Zone with TZ): Change
28747         Tuesday to Thursday.
28749         * debug/tst-longjmp_chk2.c: Update header comment.
28750         (stackoverflow_handler): Add comment.  Call assert on pass value.
28752 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28754         [BZ #16194]
28755         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28756         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28757         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28758         (La_x86_64_vector): Add zmm.
28759         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28760         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28761         ($(objpfx)tst-audit10): New target.
28762         ($(objpfx)tst-audit10.out): Likewise.
28763         (tst-audit10-ENV): New.
28764         (AVX512-CFLAGS): Likewise.
28765         (CFLAGS-tst-audit10.c): Likewise.
28766         (CFLAGS-tst-auditmod10a.c): Likewise.
28767         (CFLAGS-tst-auditmod10b.c): Likewise.
28768         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28769         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28770         * sysdeps/x86_64/configure: Regenerated.
28771         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28772         AVX-512 zmm register support.
28773         (_dl_x86_64_save_sse): Likewise.
28774         (_dl_x86_64_restore_sse): Likewise.
28775         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28776         size vector registers.
28777         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28778         (ZMM_SIZE): Likewise.
28779         * sysdeps/x86_64/tst-audit10.c: New file.
28780         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28781         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28783 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28785         * configure.ac (HAVE_EHDR_START): New check.
28786         * configure: Regenerated.
28787         * config.h.in (HAVE_EHDR_START): New #undef.
28788         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28789         assuming the lowest-addressed segment maps the start of the file.
28791 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28793         * INSTALL: Regenerated.
28795 2014-03-13  Will Newton  <will.newton@linaro.org>
28797         * manual/setjmp.texi (System V contexts): Improve
28798         clarity and grammar of documentation.
28800 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28802         [BZ #16381]
28803         * elf/Makefile (tests): Add tst-pie2.
28804         (tests-pie): Add tst-pie2.
28805         * elf/tst-pie2.c: New file.
28806         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28807         for ET_EXEC.
28808         * elf/rtld.c (map_doit): Load executable as lt_executable.
28809         (dl_main): Likewise.
28811 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28813         [BZ #16642]
28814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28815         (__ASSUME_PSELECT): Undefine.
28817 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28819         [BZ #16689]
28820         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28821         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28822         static build.
28823         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28824         selector for static builds.
28826 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28828         [BZ #16695]
28829         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28830         key in the buffer.
28832 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28834         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28835         IFUNC selector for static builds.
28837 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28839         * sysdeps/mips/math_private.h [__mips_hard_float]
28840         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28841         libc_feresetround_mips_ctx.
28842         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28843         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28844         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28846         [BZ #16677]
28847         * math/s_nextafter.c (__nextafter): Do not return value from
28848         overflowing computation.
28849         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28850         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28852         Likewise.
28853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28854         Likewise.
28855         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28856         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28858 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28860         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28861         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28862         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28863         the new mov targetting sp.
28865 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         [BZ #16683]
28868         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28869         Define it for static builds as well.
28870         (NO_BZERO_IMPL): Likewise.
28872 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28874         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28875         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28876         multiarch strspn for PPC64.
28877         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28878         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28880         (__libc_ifunc_impl_list): Likewise.
28881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28882         multiarch optimizations
28883         * string/strspn.c (strspn): Using macro to redefine symbol name.
28885 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28886             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28888         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28889         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28890         multiarch strncat for PPC64.
28891         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28892         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28894         (__libc_ifunc_impl_list): Likewise.
28895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28896         multiarch optimizations
28898 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28900         [BZ #16639]
28901         * nscd/nscd.service: Make service type forking.
28903 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28905         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28906         sign in non default rounding modes.
28907         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28909 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28911         * math/libm-test.inc (ALL_RM_TEST): New macro.
28912         (ceil_test): Use ALL_RM_TEST.
28913         (cimag_test): Likewise.
28914         (conj_test): Likewise.
28915         (copysign_test): Likewise.
28916         (cproj_test): Likewise.
28917         (creal_test): Likewise.
28918         (fabs_test): Likewise.
28919         (floor_test): Likewise.
28920         (fmax_test): Likewise.
28921         (fmin_test): Likewise.
28922         (fmod_test): Likewise.
28923         (fpclassify_test): Likewise.
28924         (frexp_test): Likewise.
28925         (ilogb_test): Likewise.
28926         (isfinite_test): Likewise.
28927         (finite_test): Likewise.
28928         (isgreater_test): Likewise.
28929         (isgreaterequal_test): Likewise.
28930         (isinf_test): Likewise.
28931         (isless_test): Likewise.
28932         (islessequal_test): Likewise.
28933         (islessgreater_test): Likewise.
28934         (isnan_test): Likewise.
28935         (isnormal_test): Likewise.
28936         (issignaling_test): Likewise.
28937         (isunordered_test): Likewise.
28938         (logb_test): Likewise.
28939         (logb_downward_test_data): Remove.
28940         (logb_test_downward): Likewise.
28941         (lround_test): Use ALL_RM_TEST.
28942         (llround_test): Likewise.
28943         (modf_test): Likewise.
28944         (nexttoward_test): Likewise.
28945         (remainder_test): Likewise.
28946         (drem_test): Likewise.
28947         (remainder_tonearest_test_data): Likewise.
28948         (remainder_test_tonearest): Likewise.
28949         (drem_test_tonearest): Likewise.
28950         (remainder_towardzero_test_data): Likewise.
28951         (remainder_test_towardzero): Likewise.
28952         (drem_test_towardzero): Likewise.
28953         (remainder_downward_test_data): Likewise.
28954         (remainder_test_downward): Likewise.
28955         (drem_test_downward): Likewise.
28956         (remainder_upward_test_data): Likewise.
28957         (remainder_test_upward): Likewise.
28958         (drem_test_upward): Likewise.
28959         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28960         (round_test): Use ALL_RM_TEST.
28961         (signbit_test): Likewise.
28962         (trunc_test): Likewise.
28963         (significand_test): Likewise.
28964         (main): Don't call removed functions.
28966 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28968         [BZ #16674]
28969         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28970         || __USE_XOPEN2K8].
28971         (ILL_ILLOPN): Likewise.
28972         (ILL_ILLADR): Likewise.
28973         (ILL_ILLTRP): Likewise.
28974         (ILL_PRVOPC): Likewise.
28975         (ILL_PRVREG): Likewise.
28976         (ILL_COPROC): Likewise.
28977         (ILL_BADSTK): Likewise.
28978         (FPE_INTDIV): Likewise.
28979         (FPE_INTOVF): Likewise.
28980         (FPE_FLTDIV): Likewise.
28981         (FPE_FLTOVF): Likewise.
28982         (FPE_FLTUND): Likewise.
28983         (FPE_FLTRES): Likewise.
28984         (FPE_FLTINV): Likewise.
28985         (FPE_FLTSUB): Likewise.
28986         (SEGV_MAPERR): Likewise.
28987         (SEGV_ACCERR): Likewise.
28988         (BUS_ADRALN): Likewise.
28989         (BUS_ADRERR): Likewise.
28990         (BUS_OBJERR): Likewise.
28991         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28992         (TRAP_TRACE): Likewise.
28993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28994         __USE_XOPEN2K8].
28995         (CLD_KILLED): Likewise.
28996         (CLD_DUMPED): Likewise.
28997         (CLD_TRAPPED): Likewise.
28998         (CLD_STOPPED): Likewise.
28999         (CLD_CONTINUED): Likewise.
29000         (POLL_IN): Likewise.
29001         (POLL_OUT): Likewise.
29002         (POLL_MSG): Likewise.
29003         (POLL_ERR): Likewise.
29004         (POLL_PRI): Likewise.
29005         (POLL_HUP): Likewise.
29006         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29007         Likewise.
29008         (ILL_ILLOPN): Likewise.
29009         (ILL_ILLADR): Likewise.
29010         (ILL_ILLTRP): Likewise.
29011         (ILL_PRVOPC): Likewise.
29012         (ILL_PRVREG): Likewise.
29013         (ILL_COPROC): Likewise.
29014         (ILL_BADSTK): Likewise.
29015         (FPE_INTDIV): Likewise.
29016         (FPE_INTOVF): Likewise.
29017         (FPE_FLTDIV): Likewise.
29018         (FPE_FLTOVF): Likewise.
29019         (FPE_FLTUND): Likewise.
29020         (FPE_FLTRES): Likewise.
29021         (FPE_FLTINV): Likewise.
29022         (FPE_FLTSUB): Likewise.
29023         (SEGV_MAPERR): Likewise.
29024         (SEGV_ACCERR): Likewise.
29025         (BUS_ADRALN): Likewise.
29026         (BUS_ADRERR): Likewise.
29027         (BUS_OBJERR): Likewise.
29028         (BUS_MCEERR_AR): Likewise.
29029         (BUS_MCEERR_AO): Likewise.
29030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29031         (TRAP_TRACE): Likewise.
29032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29033         __USE_XOPEN2K8].
29034         (CLD_KILLED): Likewise.
29035         (CLD_DUMPED): Likewise.
29036         (CLD_TRAPPED): Likewise.
29037         (CLD_STOPPED): Likewise.
29038         (CLD_CONTINUED): Likewise.
29039         (POLL_IN): Likewise.
29040         (POLL_OUT): Likewise.
29041         (POLL_MSG): Likewise.
29042         (POLL_ERR): Likewise.
29043         (POLL_PRI): Likewise.
29044         (POLL_HUP): Likewise.
29045         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29046         (ILL_ILLOPN): Likewise.
29047         (ILL_ILLADR): Likewise.
29048         (ILL_ILLTRP): Likewise.
29049         (ILL_PRVOPC): Likewise.
29050         (ILL_PRVREG): Likewise.
29051         (ILL_COPROC): Likewise.
29052         (ILL_BADSTK): Likewise.
29053         (FPE_INTDIV): Likewise.
29054         (FPE_INTOVF): Likewise.
29055         (FPE_FLTDIV): Likewise.
29056         (FPE_FLTOVF): Likewise.
29057         (FPE_FLTUND): Likewise.
29058         (FPE_FLTRES): Likewise.
29059         (FPE_FLTINV): Likewise.
29060         (FPE_FLTSUB): Likewise.
29061         (SEGV_MAPERR): Likewise.
29062         (SEGV_ACCERR): Likewise.
29063         (BUS_ADRALN): Likewise.
29064         (BUS_ADRERR): Likewise.
29065         (BUS_OBJERR): Likewise.
29066         (BUS_MCEERR_AR): Likewise.
29067         (BUS_MCEERR_AO): Likewise.
29068         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29069         (TRAP_TRACE): Likewise.
29070         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29071         __USE_XOPEN2K8].
29072         (CLD_KILLED): Likewise.
29073         (CLD_DUMPED): Likewise.
29074         (CLD_TRAPPED): Likewise.
29075         (CLD_STOPPED): Likewise.
29076         (CLD_CONTINUED): Likewise.
29077         (POLL_IN): Likewise.
29078         (POLL_OUT): Likewise.
29079         (POLL_MSG): Likewise.
29080         (POLL_ERR): Likewise.
29081         (POLL_PRI): Likewise.
29082         (POLL_HUP): Likewise.
29083         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29084         Likewise.
29085         (ILL_ILLOPN): Likewise.
29086         (ILL_ILLADR): Likewise.
29087         (ILL_ILLTRP): Likewise.
29088         (ILL_PRVOPC): Likewise.
29089         (ILL_PRVREG): Likewise.
29090         (ILL_COPROC): Likewise.
29091         (ILL_BADSTK): Likewise.
29092         (ILL_BADIADDR): Likewise.
29093         (ILL_BREAK): Likewise.
29094         (FPE_INTDIV): Likewise.
29095         (FPE_INTOVF): Likewise.
29096         (FPE_FLTDIV): Likewise.
29097         (FPE_FLTOVF): Likewise.
29098         (FPE_FLTUND): Likewise.
29099         (FPE_FLTRES): Likewise.
29100         (FPE_FLTINV): Likewise.
29101         (FPE_FLTSUB): Likewise.
29102         (FPE_DECOVF): Likewise.
29103         (FPE_DECDIV): Likewise.
29104         (FPE_DECERR): Likewise.
29105         (FPE_INVASC): Likewise.
29106         (FPE_INVDEC): Likewise.
29107         (SEGV_MAPERR): Likewise.
29108         (SEGV_ACCERR): Likewise.
29109         (SEGV_PSTKOVF): Likewise.
29110         (BUS_ADRALN): Likewise.
29111         (BUS_ADRERR): Likewise.
29112         (BUS_OBJERR): Likewise.
29113         (BUS_MCEERR_AR): Likewise.
29114         (BUS_MCEERR_AO): Likewise.
29115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29116         (TRAP_TRACE): Likewise.
29117         (TRAP_BRANCH): Likewise.
29118         (TRAP_HWBKPT): Likewise.
29119         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29120         __USE_XOPEN2K8].
29121         (CLD_KILLED): Likewise.
29122         (CLD_DUMPED): Likewise.
29123         (CLD_TRAPPED): Likewise.
29124         (CLD_STOPPED): Likewise.
29125         (CLD_CONTINUED): Likewise.
29126         (POLL_IN): Likewise.
29127         (POLL_OUT): Likewise.
29128         (POLL_MSG): Likewise.
29129         (POLL_ERR): Likewise.
29130         (POLL_PRI): Likewise.
29131         (POLL_HUP): Likewise.
29132         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29133         (ILL_ILLOPN): Likewise.
29134         (ILL_ILLADR): Likewise.
29135         (ILL_ILLTRP): Likewise.
29136         (ILL_PRVOPC): Likewise.
29137         (ILL_PRVREG): Likewise.
29138         (ILL_COPROC): Likewise.
29139         (ILL_BADSTK): Likewise.
29140         (FPE_INTDIV): Likewise.
29141         (FPE_INTOVF): Likewise.
29142         (FPE_FLTDIV): Likewise.
29143         (FPE_FLTOVF): Likewise.
29144         (FPE_FLTUND): Likewise.
29145         (FPE_FLTRES): Likewise.
29146         (FPE_FLTINV): Likewise.
29147         (FPE_FLTSUB): Likewise.
29148         (SEGV_MAPERR): Likewise.
29149         (SEGV_ACCERR): Likewise.
29150         (BUS_ADRALN): Likewise.
29151         (BUS_ADRERR): Likewise.
29152         (BUS_OBJERR): Likewise.
29153         (BUS_MCEERR_AR): Likewise.
29154         (BUS_MCEERR_AO): Likewise.
29155         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29156         (TRAP_TRACE): Likewise.
29157         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29158         __USE_XOPEN2K8].
29159         (CLD_KILLED): Likewise.
29160         (CLD_DUMPED): Likewise.
29161         (CLD_TRAPPED): Likewise.
29162         (CLD_STOPPED): Likewise.
29163         (CLD_CONTINUED): Likewise.
29164         (POLL_IN): Likewise.
29165         (POLL_OUT): Likewise.
29166         (POLL_MSG): Likewise.
29167         (POLL_ERR): Likewise.
29168         (POLL_PRI): Likewise.
29169         (POLL_HUP): Likewise.
29170         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29171         (ILL_ILLOPN): Likewise.
29172         (ILL_ILLADR): Likewise.
29173         (ILL_ILLTRP): Likewise.
29174         (ILL_PRVOPC): Likewise.
29175         (ILL_PRVREG): Likewise.
29176         (ILL_COPROC): Likewise.
29177         (ILL_BADSTK): Likewise.
29178         (FPE_INTDIV): Likewise.
29179         (FPE_INTOVF): Likewise.
29180         (FPE_FLTDIV): Likewise.
29181         (FPE_FLTOVF): Likewise.
29182         (FPE_FLTUND): Likewise.
29183         (FPE_FLTRES): Likewise.
29184         (FPE_FLTINV): Likewise.
29185         (FPE_FLTSUB): Likewise.
29186         (SEGV_MAPERR): Likewise.
29187         (SEGV_ACCERR): Likewise.
29188         (BUS_ADRALN): Likewise.
29189         (BUS_ADRERR): Likewise.
29190         (BUS_OBJERR): Likewise.
29191         (BUS_MCEERR_AR): Likewise.
29192         (BUS_MCEERR_AO): Likewise.
29193         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29194         (TRAP_TRACE): Likewise.
29195         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29196         __USE_XOPEN2K8].
29197         (CLD_KILLED): Likewise.
29198         (CLD_DUMPED): Likewise.
29199         (CLD_TRAPPED): Likewise.
29200         (CLD_STOPPED): Likewise.
29201         (CLD_CONTINUED): Likewise.
29202         (POLL_IN): Likewise.
29203         (POLL_OUT): Likewise.
29204         (POLL_MSG): Likewise.
29205         (POLL_ERR): Likewise.
29206         (POLL_PRI): Likewise.
29207         (POLL_HUP): Likewise.
29208         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29209         (ILL_ILLOPN): Likewise.
29210         (ILL_ILLADR): Likewise.
29211         (ILL_ILLTRP): Likewise.
29212         (ILL_PRVOPC): Likewise.
29213         (ILL_PRVREG): Likewise.
29214         (ILL_COPROC): Likewise.
29215         (ILL_BADSTK): Likewise.
29216         (FPE_INTDIV): Likewise.
29217         (FPE_INTOVF): Likewise.
29218         (FPE_FLTDIV): Likewise.
29219         (FPE_FLTOVF): Likewise.
29220         (FPE_FLTUND): Likewise.
29221         (FPE_FLTRES): Likewise.
29222         (FPE_FLTINV): Likewise.
29223         (FPE_FLTSUB): Likewise.
29224         (SEGV_MAPERR): Likewise.
29225         (SEGV_ACCERR): Likewise.
29226         (BUS_ADRALN): Likewise.
29227         (BUS_ADRERR): Likewise.
29228         (BUS_OBJERR): Likewise.
29229         (BUS_MCEERR_AR): Likewise.
29230         (BUS_MCEERR_AO): Likewise.
29231         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29232         (TRAP_TRACE): Likewise.
29233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29234         __USE_XOPEN2K8].
29235         (CLD_KILLED): Likewise.
29236         (CLD_DUMPED): Likewise.
29237         (CLD_TRAPPED): Likewise.
29238         (CLD_STOPPED): Likewise.
29239         (CLD_CONTINUED): Likewise.
29240         (POLL_IN): Likewise.
29241         (POLL_OUT): Likewise.
29242         (POLL_MSG): Likewise.
29243         (POLL_ERR): Likewise.
29244         (POLL_PRI): Likewise.
29245         (POLL_HUP): Likewise.
29246         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29247         (ILL_ILLOPN): Likewise.
29248         (ILL_ILLADR): Likewise.
29249         (ILL_ILLTRP): Likewise.
29250         (ILL_PRVOPC): Likewise.
29251         (ILL_PRVREG): Likewise.
29252         (ILL_COPROC): Likewise.
29253         (ILL_BADSTK): Likewise.
29254         (ILL_DBLFLT): Likewise.
29255         (ILL_HARDWALL): Likewise.
29256         (FPE_INTDIV): Likewise.
29257         (FPE_INTOVF): Likewise.
29258         (FPE_FLTDIV): Likewise.
29259         (FPE_FLTOVF): Likewise.
29260         (FPE_FLTUND): Likewise.
29261         (FPE_FLTRES): Likewise.
29262         (FPE_FLTINV): Likewise.
29263         (FPE_FLTSUB): Likewise.
29264         (SEGV_MAPERR): Likewise.
29265         (SEGV_ACCERR): Likewise.
29266         (BUS_ADRALN): Likewise.
29267         (BUS_ADRERR): Likewise.
29268         (BUS_OBJERR): Likewise.
29269         (BUS_MCEERR_AR): Likewise.
29270         (BUS_MCEERR_AO): Likewise.
29271         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29272         (TRAP_TRACE): Likewise.
29273         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29274         __USE_XOPEN2K8].
29275         (CLD_KILLED): Likewise.
29276         (CLD_DUMPED): Likewise.
29277         (CLD_TRAPPED): Likewise.
29278         (CLD_STOPPED): Likewise.
29279         (CLD_CONTINUED): Likewise.
29280         (POLL_IN): Likewise.
29281         (POLL_OUT): Likewise.
29282         (POLL_MSG): Likewise.
29283         (POLL_ERR): Likewise.
29284         (POLL_PRI): Likewise.
29285         (POLL_HUP): Likewise.
29286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29287         (ILL_ILLOPN): Likewise.
29288         (ILL_ILLADR): Likewise.
29289         (ILL_ILLTRP): Likewise.
29290         (ILL_PRVOPC): Likewise.
29291         (ILL_PRVREG): Likewise.
29292         (ILL_COPROC): Likewise.
29293         (ILL_BADSTK): Likewise.
29294         (FPE_INTDIV): Likewise.
29295         (FPE_INTOVF): Likewise.
29296         (FPE_FLTDIV): Likewise.
29297         (FPE_FLTOVF): Likewise.
29298         (FPE_FLTUND): Likewise.
29299         (FPE_FLTRES): Likewise.
29300         (FPE_FLTINV): Likewise.
29301         (FPE_FLTSUB): Likewise.
29302         (SEGV_MAPERR): Likewise.
29303         (SEGV_ACCERR): Likewise.
29304         (BUS_ADRALN): Likewise.
29305         (BUS_ADRERR): Likewise.
29306         (BUS_OBJERR): Likewise.
29307         (BUS_MCEERR_AR): Likewise.
29308         (BUS_MCEERR_AO): Likewise.
29309         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29310         (TRAP_TRACE): Likewise.
29311         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29312         __USE_XOPEN2K8].
29313         (CLD_KILLED): Likewise.
29314         (CLD_DUMPED): Likewise.
29315         (CLD_TRAPPED): Likewise.
29316         (CLD_STOPPED): Likewise.
29317         (CLD_CONTINUED): Likewise.
29318         (POLL_IN): Likewise.
29319         (POLL_OUT): Likewise.
29320         (POLL_MSG): Likewise.
29321         (POLL_ERR): Likewise.
29322         (POLL_PRI): Likewise.
29323         (POLL_HUP): Likewise.
29324         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29325         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29327         [BZ #16670]
29328         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29329         before #include of <time.h>.
29330         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29331         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29332         (test-xfail-UNIX98/sched.h/conform): Likewise.
29334 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29336         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29337         error absence of trapping exception support.
29338         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29340 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29342         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29343         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29344         * timezone/Makefile (testdata): Move definition above include of
29345         Rules.
29346         (test-zones): New variable.
29347         (tests-special): Add zone files.
29348         (build-testdata): Use $(evaluate-test).
29350         * elf/Makefile (tests-special): Rename tests to end with .out.
29351         ($(objpfx)noload-mem): Likewise.
29352         ($(objpfx)tst-leaks1-mem): Likewise.
29353         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29354         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29355         $(objpfx)test-iconvconfig.out.
29356         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29357         set -e inside subshell and redirect output to file.
29358         * iconvdata/Makefile (generated): Rename tests to end with .out.
29359         Correct type.
29360         (tests-special): Rename tests to end with .out.
29361         ($(objpfx)mtrace-tst-loading): Likewise.
29362         * intl/Makefile (generated): Likewise.
29363         (tests-special): Likewise.
29364         ($(objpfx)mtrace-tst-gettext): Likewise.
29365         * misc/Makefile (generated): Likewise.
29366         (tests-special): Likewise.
29367         ($(objpfx)tst-error1-mem): Likewise.
29368         * nptl/Makefile (tests-special): Likewise.
29369         ($(objpfx)tst-stack3-mem): Likewise.
29370         (generated): Likewise.
29371         * posix/Makefile (generated): Likewise.
29372         (tests-special): Likewise.
29373         (xtests-special): Likewise.
29374         ($(objpfx)tst-fnmatch-mem): Likewise.
29375         ($(objpfx)bug-regex2-mem): Likewise.
29376         ($(objpfx)bug-regex14-mem): Likewise.
29377         ($(objpfx)bug-regex21-mem): Likewise.
29378         ($(objpfx)bug-regex31-mem): Likewise.
29379         ($(objpfx)tst-vfork3-mem): Likewise.
29380         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29381         ($(objpfx)tst-pcre-mem): Likewise.
29382         ($(objpfx)tst-boost-mem): Likewise.
29383         ($(objpfx)bug-ga2-mem): Likewise.
29384         ($(objpfx)bug-glob2-mem): Likewise.
29385         * resolv/Makefile (generate): Likewise.
29386         (tests-special): Likewise.
29387         (xtests-special): Likewise.
29388         (generated): Likewise.
29389         ($(objpfx)mtrace-tst-leaks): Likewise.
29390         ($(objpfx)mtrace-tst-leaks2): Likewise.
29392         * scripts/merge-test-results.sh: New file.
29393         * Makefile (tests-special-notdir): New variable.
29394         (tests): Run merge-test-results.sh.
29395         (xtests): Likewise.
29396         * Rules (tests-special-notdir): New variable.
29397         (xtests-special-notdir): Likewise.
29398         (tests): Run merge-test-results.sh
29399         (xtests): Likewise.
29401         * Makeconfig (test-xfail-name): New variable.
29402         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29403         compute variable name for expected failures.
29404         * conform/Makefile (conformtest-headers-data): New variable.
29405         (conformtest-standards): Likewise.
29406         (conformtest-headers-ISO): Likewise.
29407         (conformtest-headers-ISO99): Likewise.
29408         (conformtest-headers-ISO11): Likewise.
29409         (conformtest-headers-POSIX): Likewise.
29410         (conformtest-headers-XPG3): Likewise.
29411         (conformtest-headers-XPG4): Likewise.
29412         (conformtest-headers-UNIX98): Likewise.
29413         (conformtest-headers-XOPEN2K): Likewise.
29414         (conformtest-headers-POSIX2008): Likewise.
29415         (conformtest-headers-XOPEN2K8): Likewise.
29416         (conformtest-header-list-base): Likewise.
29417         (conformtest-header-list-tests): Likewise.
29418         (conformtest-header-base): Likewise.
29419         (conformtest-header-tests): Likewise.
29420         (tests-special): Add $(conformtest-header-list-tests).  If
29421         [$(fast-check) && !$(cross-compiling)], add
29422         $(conformtest-header-tests) instead of
29423         $(objpfx)run-conformtest.out.
29424         (generated): Add $(conformtest-header-list-base).  If
29425         [$(fast-check) && !$(cross-compiling)], add
29426         $(conformtest-header-base).  Remove previous setting.
29427         ($(conformtest-header-list-tests)): New target.
29428         (test-xfail-run-conformtest): Remove variable.
29429         ($(objpfx)run-conformtest.out): Remove target.
29430         (test-xfail-ISO11/complex.h/conform): New variable.
29431         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29432         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29433         (test-xfail-XPG3/varargs.h/conform): Likewise.
29434         (test-xfail-XPG4/varargs.h/conform): Likewise.
29435         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29436         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29437         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29438         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29439         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29440         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29441         (test-xfail-XPG3/ftw.h/conform): Likewise.
29442         (test-xfail-XPG3/grp.h/conform): Likewise.
29443         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29444         (test-xfail-XPG3/limits.h/conform): Likewise.
29445         (test-xfail-XPG3/pwd.h/conform): Likewise.
29446         (test-xfail-XPG3/search.h/conform): Likewise.
29447         (test-xfail-XPG3/signal.h/conform): Likewise.
29448         (test-xfail-XPG3/stdio.h/conform): Likewise.
29449         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29450         (test-xfail-XPG3/string.h/conform): Likewise.
29451         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29452         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29453         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29454         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29455         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29456         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29457         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29458         (test-xfail-XPG3/termios.h/conform): Likewise.
29459         (test-xfail-XPG3/time.h/conform): Likewise.
29460         (test-xfail-XPG3/unistd.h/conform): Likewise.
29461         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29462         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29463         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29464         (test-xfail-XPG4/netdb.h/conform): Likewise.
29465         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29466         (test-xfail-XPG4/signal.h/conform): Likewise.
29467         (test-xfail-XPG4/stdio.h/conform): Likewise.
29468         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29469         (test-xfail-XPG4/stropts.h/conform): Likewise.
29470         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29471         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29472         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29473         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29474         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29475         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29476         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29477         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29478         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29479         (test-xfail-XPG4/termios.h/conform): Likewise.
29480         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29481         (test-xfail-XPG4/unistd.h/conform): Likewise.
29482         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29483         (test-xfail-POSIX/sched.h/conform): Likewise.
29484         (test-xfail-POSIX/signal.h/conform): Likewise.
29485         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29486         (test-xfail-POSIX/tar.h/conform): Likewise.
29487         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29488         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29489         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29490         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29491         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29492         (test-xfail-UNIX98/sched.h/conform): Likewise.
29493         (test-xfail-UNIX98/signal.h/conform): Likewise.
29494         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29495         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29496         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29497         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29498         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29499         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29500         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29501         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29502         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29503         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29504         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29505         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29506         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29507         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29508         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29509         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29510         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29511         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29512         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29513         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29514         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29515         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29516         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29517         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29518         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29519         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29520         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29521         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29522         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29523         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29524         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29525         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29526         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29527         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29528         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29529         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29530         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29531         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29532         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29533         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29534         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29535         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29536         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29537         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29538         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29539         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29540         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29541         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29542         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29543         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29544         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29545         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29546         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29547         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29548         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29549         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29550         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29551         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29552         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29553         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29554         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29555         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29556         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29557         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29558         (conformtest-cc-flags): Likewise.
29559         ($(conformtest-header-tests): New target.
29560         * conform/check-header-lists.sh: New file.
29561         * conform/run-conformtest.sh: Remove.
29563         * conform/conformtest.pl: Allow ' and \ in values given for
29564         constants.
29565         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29566         inclusion.
29567         [POSIX] (sys/types.h): Likewise.
29568         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29569         inclusion.
29570         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29571         inclusion.
29572         * conform/data/signal.h-data (SIGIO): Remove expectation.
29573         [XPG3] (SIGBUS): Do not expect.
29574         [POSIX || XPG3] (SIGPOLL): Likewise.
29575         [POSIX || XPG3] (SIGPROF): Likewise.
29576         [POSIX || XPG3] (SIGSYS): Likewise.
29577         [XPG3] (SIGTRAP): Likewise.
29578         [POSIX || XPG3] (SIGURG): Likewise.
29579         [POSIX || XPG3] (SIGVTALRM): Likewise.
29580         [POSIX || XPG3] (SIGXCPU): Likewise.
29581         [POSIX || XPG3] (SIGXFSZ): Likewise.
29582         [POSIX] (SA_SIGINFO): Expect.
29583         [XPG3] (siginfo_t): Do not expect type or contents.
29584         [POSIX] (si_pid): Do not expect element.
29585         [POSIX] (si_uid): Likewise.
29586         [POSIX] (si_addr): Likewise.
29587         [POSIX] (si_status): Likewise.
29588         [POSIX] (si_band): Likewise.
29589         [XPG4] (si_value): Likewise.
29590         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29591         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29592         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29593         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29594         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29595         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29596         [POSIX || XPG3] (ILL_COPROC): Likewise.
29597         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29598         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29599         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29600         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29601         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29602         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29603         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29604         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29605         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29606         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29607         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29608         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29609         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29610         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29611         [POSIX || XPG3] (CLD_EXITED): Likewise.
29612         [POSIX || XPG3] (CLD_KILLED): Likewise.
29613         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29614         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29615         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29616         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29617         [POSIX || XPG3] (POLL_IN): Likewise.
29618         [POSIX || XPG3] (POLL_OUT): Likewise.
29619         [POSIX || XPG3] (POLL_MSG): Likewise.
29620         [POSIX || XPG3] (POLL_ERR): Likewise.
29621         [POSIX || XPG3] (POLL_PRI): Likewise.
29622         [POSIX || XPG3] (POLL_HUP): Likewise.
29623         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29624         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29625         (SIG*): Do not allow.
29626         [XPG3] (si_*): Likewise.
29627         [XPG3] (SI_*): Likewise.
29628         [XPG3 || XPG4] (sigev_*): Likewise.
29629         [XPG3 || XPG4] (SIGEV_*): Likewise.
29630         [XPG3 || XPG4] (sival_*): Likewise.
29631         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29632         [POSIX || XPG3] (BUS_*): Likewise.
29633         [POSIX || XPG3] (CLD_*): Likewise.
29634         [POSIX || XPG3] (FPE_*): Likewise.
29635         [POSIX || XPG3] (ILL_*): Likewise.
29636         [POSIX || XPG3] (POLL_*): Likewise.
29637         [POSIX || XPG3] (SEGV_*): Likewise.
29638         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29639         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29640         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29641         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29642         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29643         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29644         Specify type and value.
29645         (TVERSLEN): Likewise.
29646         (REGTYPE): Likewise.
29647         (AREGTYPE): Likewise.
29648         (LNKTYPE): Likewise.
29649         (SYMTYPE): Likewise.
29650         (CHRTYPE): Likewise.
29651         (BLKTYPE): Likewise.
29652         (DIRTYPE): Likewise.
29653         (FIFOTYPE): Likewise.
29654         (CONTTYPE): Likewise.
29655         (TSUID): Likewise.
29656         (TSGID): Likewise.
29657         (TSVTX): Likewise.
29658         (TUREAD): Likewise.
29659         (TUWRITE): Likewise.
29660         (TUEXEC): Likewise.
29661         (TGREAD): Likewise.
29662         (TGWRITE): Likewise.
29663         (TGEXEC): Likewise.
29664         (TOREAD): Likewise.
29665         (TOWRITE): Likewise.
29666         (TOEXEC): Likewise.
29667         [POSIX] (TSVTX): Expect constant.
29669 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29671         * Makefile (tests): Change dependencies to ....
29672         (tests-special): ... additions to this variable.
29673         (tests): Depend on $(tests-special).
29674         * Makerules (check-abi-list): New variable.
29675         (check-abi): Depend on $(check-abi-list).
29676         [$(subdir) = elf] (tests-special): Add
29677         $(objpfx)check-abi-libc.out.
29678         [$(build-shared) = yes && subdir] (tests-special): Add
29679         $(check-abi-list).
29680         [$(build-shared) = yes && subdir] (tests): Do not depend on
29681         check-abi.
29682         * Rules (tests): Depend on $(tests-special).
29683         (xtests): Depend on $(xtests-special).
29684         * catgets/Makefile (tests): Change dependencies to ....
29685         (tests-special): ... additions to this variable.
29686         * conform/Makefile (tests): Change dependencies to ....
29687         (tests-special): ... additions to this variable.
29688         * elf/Makefile (tests): Change dependencies to ....
29689         (tests-special): ... additions to this variable.
29690         * grp/Makefile (tests): Change dependencies to ....
29691         (tests-special): ... additions to this variable.
29692         * iconv/Makefile (xtests): Change dependencies to ....
29693         (xtests-special): ... additions to this variable.
29694         * iconvdata/Makefile (tests): Change dependencies to ....
29695         (tests-special): ... additions to this variable.
29696         * intl/Makefile (tests): Change dependencies to ....
29697         (tests-special): ... additions to this variable.  Also add
29698         $(objpfx)tst-gettext.out.
29699         * io/Makefile (tests): Change dependencies to ....
29700         (tests-special): ... additions to this variable.
29701         * libio/Makefile (tests): Change dependencies to ....
29702         (tests-special): ... additions to this variable.
29703         * malloc/Makefile (tests): Change dependencies to ....
29704         (tests-special): ... additions to this variable.
29705         * misc/Makefile (tests): Change dependencies to ....
29706         (tests-special): ... additions to this variable.
29707         * nptl/Makefile (tests): Change dependencies to ....
29708         (tests-special): ... additions to this variable.
29709         * nptl_db/Makefile (tests): Change dependencies to ....
29710         (tests-special): ... additions to this variable.
29711         * posix/Makefile (tests): Change dependencies to ....
29712         (tests-special): ... additions to this variable.
29713         (xtests): Change dependencies to ....
29714         (xtests-special): ... additions to this variable.
29715         * resolv/Makefile (tests): Change dependencies to ....
29716         (tests-special): ... additions to this variable.
29717         (xtests): Change dependencies to ....
29718         (xtests-special): ... additions to this variable.
29719         * stdio-common/Makefile (tests): Change dependencies to ....
29720         (tests-special): ... additions to this variable.
29721         (do-tst-unbputc): Remove target.
29722         (do-tst-printf): Likewise.
29723         * stdlib/Makefile (tests): Change dependencies to ....
29724         (tests-special): ... additions to this variable.
29725         * string/Makefile (tests): Change dependencies to ....
29726         (tests-special): ... additions to this variable.
29727         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29728         (tests-special): ... additions to this variable.
29730         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29731         whole file.
29732         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29733         whole file.
29734         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29735         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29737         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29738         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29739         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29740         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29741         * conform/data/libgen.h-data [XPG3]: Likewise.
29742         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29743         * conform/data/ndbm.h-data [XPG3]: Likewise.
29744         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29745         * conform/data/netdb.h-data [XPG3]: Likewise.
29746         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29747         * conform/data/poll.h-data [XPG3]: Likewise.
29748         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29749         * conform/data/strings.h-data [XPG3]: Likewise.
29750         * conform/data/stropts.h-data [XPG3]: Likewise.
29751         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29752         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29753         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29754         Likewise.
29755         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29756         * conform/data/sys/time.h-data [XPG3]: Likewise.
29757         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29758         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29759         * conform/data/sys/un.h-data [XPG3]: Likewise.
29760         * conform/data/syslog.h-data [XPG3]: Likewise.
29761         * conform/data/ucontext.h-data [XPG3]: Likewise.
29762         * conform/data/utmpx.h-data [XPG3]: Likewise.
29763         * conform/data/varargs.h-data [UNIX98]: Enable file.
29765         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29767         * math/libm-test.inc (struct test_f_f_data): Move expected results
29768         into structure for each rounding mode.
29769         (struct test_ff_f_data): Likewise.
29770         (struct test_ff_f_data_nexttoward): Likewise.
29771         (struct test_fi_f_data): Likewise.
29772         (struct test_fl_f_data): Likewise.
29773         (struct test_if_f_data): Likewise.
29774         (struct test_fff_f_data): Likewise.
29775         (struct test_c_f_data): Likewise.
29776         (struct test_f_f1_data): Likewise.
29777         (struct test_fF_f1_data): Likewise.
29778         (struct test_ffI_f1_data): Likewise.
29779         (struct test_c_c_data): Likewise.
29780         (struct test_cc_c_data): Likewise.
29781         (struct test_f_i_data): Likewise.
29782         (struct test_ff_i_data): Likewise.
29783         (struct test_f_l_data): Likewise.
29784         (struct test_f_L_data): Likewise.
29785         (struct test_fFF_11_data): Likewise.
29786         (RM_): New macro.
29787         (RM_FE_DOWNWARD): Likewise.
29788         (RM_FE_TONEAREST): Likewise.
29789         (RM_FE_TOWARDZERO): Likewise.
29790         (RM_FE_UPWARD): Likewise.
29791         (RUN_TEST_LOOP_f_f): Update references to expected results.
29792         (RUN_TEST_LOOP_2_f): Likewise.
29793         (RUN_TEST_LOOP_fff_f): Likewise.
29794         (RUN_TEST_LOOP_c_f): Likewise.
29795         (RUN_TEST_LOOP_f_f1): Likewise.
29796         (RUN_TEST_LOOP_fF_f1): Likewise.
29797         (RUN_TEST_LOOP_fI_f1): Likewise.
29798         (RUN_TEST_LOOP_ffI_f1): Likewise.
29799         (RUN_TEST_LOOP_c_c): Likewise.
29800         (RUN_TEST_LOOP_cc_c): Likewise.
29801         (RUN_TEST_LOOP_f_i): Likewise.
29802         (RUN_TEST_LOOP_f_i_tg): Likewise.
29803         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29804         (RUN_TEST_LOOP_f_b): Likewise.
29805         (RUN_TEST_LOOP_f_b_tg): Likewise.
29806         (RUN_TEST_LOOP_f_l): Likewise.
29807         (RUN_TEST_LOOP_f_L): Likewise.
29808         (RUN_TEST_LOOP_fFF_11): Likewise.
29809         * math/gen-libm-test.pl (parse_args): Output four copies of
29810         expected results for each test.
29812         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29813         (__ASSUME_UTIMES): Remove.
29814         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29815         (__ASSUME_UTIMES): Likewise.
29817         * math/gen-auto-libm-tests.c: Update comment on output format.
29818         (output_for_one_input_case): Generate before-rounding and
29819         after-rounding information as conditions on output flags not
29820         floating-point format.
29821         * math/auto-libm-test-out: Regenerated.
29822         * math/gen-libm-test.pl (cond_value): New function.
29823         (or_cond_value): Use cond_value.
29824         (generate_testfile): Handle conditional exceptions.
29826 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29828         * math/libm-test.inc (max_valid_error): New variable.
29829         (init_max_error): Take new argument specifying whether function
29830         results are exactly determined.  Set max_valid_error and bound
29831         other variables for errors based on this argument.
29832         (set_max_error): Do not record results above max_valid_error.
29833         (check_float_internal): Only accept errors of up to 0.5ulps if
29834         also at most max_valid_error.
29835         (START): Take new argument EXACT and pass it to init_max_error.
29836         (acos_test): Update call to START.
29837         (acos_test_tonearest): Likewise.
29838         (acos_test_towardzero): Likewise.
29839         (acos_test_downward): Likewise.
29840         (acos_test_upward): Likewise.
29841         (acosh_test): Likewise.
29842         (asin_test): Likewise.
29843         (asin_test_tonearest): Likewise.
29844         (asin_test_towardzero): Likewise.
29845         (asin_test_downward): Likewise.
29846         (asin_test_upward): Likewise.
29847         (asinh_test): Likewise.
29848         (atan_test): Likewise.
29849         (atanh_test): Likewise.
29850         (atan2_test): Likewise.
29851         (cabs_test): Likewise.
29852         (cacos_test): Likewise.
29853         (cacosh_test): Likewise.
29854         (carg_test): Likewise.
29855         (casin_test): Likewise.
29856         (casinh_test): Likewise.
29857         (catan_test): Likewise.
29858         (catanh_test): Likewise.
29859         (cbrt_test): Likewise.
29860         (ccos_test): Likewise.
29861         (ccosh_test): Likewise.
29862         (ceil_test): Likewise.
29863         (cexp_test): Likewise.
29864         (cimag_test): Likewise.
29865         (clog_test): Likewise.
29866         (clog10_test): Likewise.
29867         (conj_test): Likewise.
29868         (copysign_test): Likewise.
29869         (cos_test): Likewise.
29870         (cos_test_tonearest): Likewise.
29871         (cos_test_towardzero): Likewise.
29872         (cos_test_downward): Likewise.
29873         (cos_test_upward): Likewise.
29874         (cosh_test): Likewise.
29875         (cosh_test_tonearest): Likewise.
29876         (cosh_test_towardzero): Likewise.
29877         (cosh_test_downward): Likewise.
29878         (cosh_test_upward): Likewise.
29879         (cpow_test): Likewise.
29880         (cproj_test): Likewise.
29881         (creal_test): Likewise.
29882         (csin_test): Likewise.
29883         (csinh_test): Likewise.
29884         (csqrt_test): Likewise.
29885         (ctan_test): Likewise.
29886         (ctan_test_tonearest): Likewise.
29887         (ctan_test_towardzero): Likewise.
29888         (ctan_test_downward): Likewise.
29889         (ctan_test_upward): Likewise.
29890         (ctanh_test): Likewise.
29891         (ctanh_test_tonearest): Likewise.
29892         (ctanh_test_towardzero): Likewise.
29893         (ctanh_test_downward): Likewise.
29894         (ctanh_test_upward): Likewise.
29895         (erf_test): Likewise.
29896         (erfc_test): Likewise.
29897         (exp_test): Likewise.
29898         (exp_test_tonearest): Likewise.
29899         (exp_test_towardzero): Likewise.
29900         (exp_test_downward): Likewise.
29901         (exp_test_upward): Likewise.
29902         (exp10_test): Likewise.
29903         (exp10_test_tonearest): Likewise.
29904         (exp10_test_towardzero): Likewise.
29905         (exp10_test_downward): Likewise.
29906         (exp10_test_upward): Likewise.
29907         (pow10_test): Likewise.
29908         (exp2_test): Likewise.
29909         (expm1_test): Likewise.
29910         (expm1_test_tonearest): Likewise.
29911         (expm1_test_towardzero): Likewise.
29912         (expm1_test_downward): Likewise.
29913         (expm1_test_upward): Likewise.
29914         (fabs_test): Likewise.
29915         (fdim_test): Likewise.
29916         (floor_test): Likewise.
29917         (fma_test): Likewise.
29918         (fma_test_towardzero): Likewise.
29919         (fma_test_downward): Likewise.
29920         (fma_test_upward): Likewise.
29921         (fmax_test): Likewise.
29922         (fmin_test): Likewise.
29923         (fmod_test): Likewise.
29924         (fpclassify_test): Likewise.
29925         (frexp_test): Likewise.
29926         (hypot_test): Likewise.
29927         (ilogb_test): Likewise.
29928         (isfinite_test): Likewise.
29929         (finite_test): Likewise.
29930         (isgreater_test): Likewise.
29931         (isgreaterequal_test): Likewise.
29932         (isinf_test): Likewise.
29933         (isless_test): Likewise.
29934         (islessequal_test): Likewise.
29935         (islessgreater_test): Likewise.
29936         (isnan_test): Likewise.
29937         (isnormal_test): Likewise.
29938         (issignaling_test): Likewise.
29939         (isunordered_test): Likewise.
29940         (j0_test): Likewise.
29941         (j1_test): Likewise.
29942         (jn_test): Likewise.
29943         (ldexp_test): Likewise.
29944         (lgamma_test): Likewise.
29945         (gamma_test): Likewise.
29946         (lrint_test): Likewise.
29947         (lrint_test_tonearest): Likewise.
29948         (lrint_test_towardzero): Likewise.
29949         (lrint_test_downward): Likewise.
29950         (lrint_test_upward): Likewise.
29951         (llrint_test): Likewise.
29952         (llrint_test_tonearest): Likewise.
29953         (llrint_test_towardzero): Likewise.
29954         (llrint_test_downward): Likewise.
29955         (llrint_test_upward): Likewise.
29956         (log_test): Likewise.
29957         (log10_test): Likewise.
29958         (log1p_test): Likewise.
29959         (log2_test): Likewise.
29960         (logb_test): Likewise.
29961         (logb_test_downward): Likewise.
29962         (lround_test): Likewise.
29963         (llround_test): Likewise.
29964         (modf_test): Likewise.
29965         (nearbyint_test): Likewise.
29966         (nextafter_test): Likewise.
29967         (nexttoward_test): Likewise.
29968         (pow_test): Likewise.
29969         (pow_test_tonearest): Likewise.
29970         (pow_test_towardzero): Likewise.
29971         (pow_test_downward): Likewise.
29972         (pow_test_upward): Likewise.
29973         (remainder_test): Likewise.
29974         (drem_test): Likewise.
29975         (remainder_test_tonearest): Likewise.
29976         (drem_test_tonearest): Likewise.
29977         (remainder_test_towardzero): Likewise.
29978         (drem_test_towardzero): Likewise.
29979         (remainder_test_downward): Likewise.
29980         (drem_test_downward): Likewise.
29981         (remainder_test_upward): Likewise.
29982         (drem_test_upward): Likewise.
29983         (remquo_test): Likewise.
29984         (rint_test): Likewise.
29985         (rint_test_tonearest): Likewise.
29986         (rint_test_towardzero): Likewise.
29987         (rint_test_downward): Likewise.
29988         (rint_test_upward): Likewise.
29989         (round_test): Likewise.
29990         (scalb_test): Likewise.
29991         (scalbn_test): Likewise.
29992         (scalbln_test): Likewise.
29993         (signbit_test): Likewise.
29994         (sin_test): Likewise.
29995         (sin_test_tonearest): Likewise.
29996         (sin_test_towardzero): Likewise.
29997         (sin_test_downward): Likewise.
29998         (sin_test_upward): Likewise.
29999         (sincos_test): Likewise.
30000         (sinh_test): Likewise.
30001         (sinh_test_tonearest): Likewise.
30002         (sinh_test_towardzero): Likewise.
30003         (sinh_test_downward): Likewise.
30004         (sinh_test_upward): Likewise.
30005         (sqrt_test): Likewise.
30006         (sqrt_test_tonearest): Likewise.
30007         (sqrt_test_towardzero): Likewise.
30008         (sqrt_test_downward): Likewise.
30009         (sqrt_test_upward): Likewise.
30010         (tan_test): Likewise.
30011         (tan_test_tonearest): Likewise.
30012         (tan_test_towardzero): Likewise.
30013         (tan_test_downward): Likewise.
30014         (tan_test_upward): Likewise.
30015         (tanh_test): Likewise.
30016         (tgamma_test): Likewise.
30017         (trunc_test): Likewise.
30018         (y0_test): Likewise.
30019         (y1_test): Likewise.
30020         (yn_test): Likewise.
30021         (significand_test): Likewise.
30023         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30024         individual tests in comment.
30025         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30026         (prev_max_error): New variable.
30027         (prev_real_max_error): Likewise.
30028         (prev_imag_max_error): Likewise.
30029         (compare_ulp_data): Don't refer to test names in comment.
30030         (find_test_ulps): Remove function.
30031         (find_function_ulps): Likewise.
30032         (find_complex_function_ulps): Likewise.
30033         (init_max_error): Take function name as argument.  Look up ulps
30034         for that function.
30035         (print_ulps): Remove function.
30036         (print_max_error): Use prev_max_error instead of calling
30037         find_function_ulps.
30038         (print_complex_max_error): Use prev_real_max_error and
30039         prev_imag_max_error instead of calling find_complex_function_ulps.
30040         (check_float_internal): Take max_ulp parameter instead of calling
30041         find_test_ulps.  Don't call print_ulps.
30042         (check_float): Update call to check_float_internal.
30043         (check_complex): Update calls to check_float_internal.
30044         (START): Pass argument to init_max_error.
30045         * math/gen-libm-test.pl (%results): Don't include "kind"
30046         information.
30047         (parse_ulps): Don't handle ulps of individual tests.
30048         (print_ulps_file): Likewise.
30049         (output_ulps): Likewise.
30050         * math/README.libm-test: Update.
30051         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30052         individual tests.
30053         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30054         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30055         * sysdeps/arm/libm-test-ulps: Likewise.
30056         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30057         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30058         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30059         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30060         * sysdeps/microblaze/libm-test-ulps: Likewise.
30061         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30062         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30064         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30065         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30066         * sysdeps/sh/libm-test-ulps: Likewise.
30067         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30068         * sysdeps/tile/libm-test-ulps: Likewise.
30069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30071 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30073         * math/libm-test.inc (print_complex_max_error): Check separately
30074         whether real and imaginary errors are within allowed range and
30075         pass 0 to print_complex_function_ulps instead of value within
30076         allowed range.
30078 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30080         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30081         formatting.
30082         (get_handles_fopen): Likewise.
30083         (do_write_test): Likewise.
30085         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30087         * libio/fileops.c (do_ftell): Use cached offset when
30088         available.
30089         * libio/iofwide.c (do_ftell_wide): Likewise.
30090         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30091         _IO_file_attach.
30092         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30094         [BZ #16532]
30095         * libio/libioP.h (get_file_offset): New function.
30096         * libio/fileops.c (get_file_offset): Likewise.
30097         (do_ftell): Likewise.
30098         (_IO_new_file_seekoff): Split out ftell logic.
30099         * libio/wfileops.c (do_ftell_wide): Likewise.
30100         (_IO_wfile_seekoff): Split out ftell logic.
30101         * libio/tst-ftell-active-handler.c: New test case.
30102         * libio/Makefile (tests): Add it.
30104 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30106         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30107         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30109 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30111         [BZ #16639]
30112         * nscd/connections.c (nscd_init): Call do_exit.
30113         (start_threads): Call do_exit and notify_parent.
30114         (begin_drop_privileges): Call do_exit.
30115         (finish_drop_privileges): Likewise.
30116         * nscd/selinux.c (preserve_capabilities): Likewise.
30117         (install_real_capabilities): Likewise.
30118         (nscd_selinux_enabled): Likewise.
30119         (avc_create_thread): Likewise.
30120         (avc_alloc_lock): Likewise.
30121         (nscd_avc_init): Likewise.
30122         * nscd/nscd.c (parent_fd): New static variable.
30123         (main): Create a pipe between parent and child processes.
30124         Skip closing parent_fd.
30125         (monitor_child): New function.
30126         (do_exit): Likewise.
30127         (notify_parent): Likewise.
30128         * nscd/nscd.h (notify_parent): Likewise.
30129         (do_exit): Likewise.
30131 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30133         * malloc/malloc.c (__libc_calloc): Revert last change.
30135 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30139 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30141         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30143         implementation.
30144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30145         (__libc_ifunc_impl_list): Likewise.
30146         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30147         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30148         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30149         * string/strrchr.c: Define STRRCHR.
30151 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30153         * benchtest/bench-strtok.c (simple_strtok): Delete.
30154         (strtok_string): Use as benchmark.
30155         * string/strtok (STRTOK): New macro.
30157 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30159         * manual/threads.texi: Add header and standard comments to all
30160         functions.
30162         * elf/dl-lookup.c (check_match): New function.
30163         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30164         (do_lookup_x): Remove nested function check_match. Use non-nested
30165         function check_match.
30167 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30169         * csu/Makefile (generated, before-compile): Use += rather than =.
30170         * catgets/Makefile (generated, generated-dirs): Likewise.
30171         * debug/Makefile (generated): Likewise.
30172         * dlfcn/Makefile (generated): Likewise.
30173         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30174         * iconvdata/Makefile (before-compile, generated): Likewise.
30175         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30176         * libio/Makefile (generated): Likewise.
30177         * malloc/Makefile (generated): Likewise.
30178         * manual/Makefile (generated, generated-dirs): Likewise.
30179         * misc/Makefile (generated): Likewise.
30180         * posix/Makefile (generated): Likewise.
30181         * resolv/Makefile (generated): Likewise.
30182         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30183         * timezone/Makefile (generated, generated-dirs): Likewise.
30185         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30187 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30190         power8 implementation.
30191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30192         file: POWER8 llround ifunc implementation.
30193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30194         (__lllround): Add POWER8 implementation.
30195         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30196         POWER8 llround implementation.
30198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30199         power8 implementation.
30200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30201         file: POWER8 llrint ifunc implementation.
30202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30203         Add POWER8 implementation.
30204         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30205         POWER8 llrint implementation.
30207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30208         power8 implementation.
30209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30210         file: POWER8 finite ifunc implementation.
30211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30212         Add POWER8 implementation.
30213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30214         Likewise.
30215         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30216         POWER8 finite implementation.
30217         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30220         power8 implementation.
30221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30222         file: POWER8 isinf ifunc implementation.
30223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30224         POWER8 implementation.
30225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30226         Likewise.
30227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30228         isinf implementation.
30229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30231         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30232         (INIT_ARCH): Add hwcap2 initialization.
30233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30234         power8 implementation.
30235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30236         file: POWER8 isnan ifunc implementation.
30237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30238         POWER8 implementation.
30239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30240         Likewise.
30241         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30242         isnan implementation.
30243         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30245 2014-02-27  Joey Ye  <joey.ye@arm.com>
30247         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30248         (_FP_NANFRAC_Q): Set to zero.
30250 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252         [BZ #16623]
30253         * math/auto-libm-test-in: New test inputs.
30254         * math/auto-libm-test-out: Regenerate.
30255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30256         and DA.
30257         (__cos): Likewise.
30258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30260 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30262         * scripts/evaluate-test.sh: Take new argument indicating whether
30263         failure is expected.
30264         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30265         indicating whether failure is expected.
30266         * conform/Makefile (test-xfail-run-conformtest): New variable.
30267         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30268         level.
30269         * posix/Makefile (test-xfail-annexc): New variable.
30270         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30272 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30274         * argp/Makefile: Include Makeconfig immediately after defining
30275         subdir.
30276         * assert/Makefile: Likewise.
30277         * benchtests/Makefile: Likewise.
30278         * catgets/Makefile: Likewise.
30279         * conform/Makefile: Likewise.
30280         * crypt/Makefile: Likewise.
30281         * csu/Makefile: Likewise.
30282         (all): Remove target.
30283         * ctype/Makefile: Include Makeconfig immediately after defining
30284         subdir.
30285         * debug/Makefile: Likewise.
30286         * dirent/Makefile: Likewise.
30287         * dlfcn/Makefile: Likewise.
30288         * gmon/Makefile: Likewise.
30289         * gnulib/Makefile: Likewise.
30290         * grp/Makefile: Likewise.
30291         * gshadow/Makefile: Likewise.
30292         * hesiod/Makefile: Likewise.
30293         * hurd/Makefile: Likewise.
30294         (all): Remove target.
30295         * iconvdata/Makefile: Include Makeconfig immediately after
30296         defining subdir.
30297         * inet/Makefile: Likewise.
30298         * intl/Makefile: Likewise.
30299         * io/Makefile: Likewise.
30300         * libio/Makefile: Likewise.
30301         (all): Remove target.
30302         * locale/Makefile: Include Makeconfig immediately after defining
30303         subdir.
30304         * login/Makefile: Likewise.
30305         * mach/Makefile: Likewise.
30306         (all): Remove target.
30307         * malloc/Makefile: Include Makeconfig immediately after defining
30308         subdir.
30309         (all): Remove target.
30310         * manual/Makefile: Include Makeconfig immediately after defining
30311         subdir.
30312         * math/Makefile: Likewise.
30313         * misc/Makefile: Likewise.
30314         * nis/Makefile: Likewise.
30315         * nss/Makefile: Likewise.
30316         * po/Makefile: Likewise.
30317         (all): Remove target.
30318         * posix/Makefile: Include Makeconfig immediately after defining
30319         subdir.
30320         * pwd/Makefile: Likewise.
30321         * resolv/Makefile: Likewise.
30322         * resource/Makefile: Likewise.
30323         * rt/Makefile: Likewise.
30324         * setjmp/Makefile: Likewise.
30325         * shadow/Makefile: Likewise.
30326         * signal/Makefile: Likewise.
30327         * socket/Makefile: Likewise.
30328         * soft-fp/Makefile: Likewise.
30329         * stdio-common/Makefile: Likewise.
30330         * stdlib/Makefile: Likewise.
30331         * streams/Makefile: Likewise.
30332         * string/Makefile: Likewise.
30333         * sunrpc/Makefile: Likewise.
30334         (all): Remove target.
30335         * sysvipc/Makefile: Include Makeconfig immediately after defining
30336         subdir.
30337         * termios/Makefile: Likewise.
30338         * time/Makefile: Likewise.
30339         * timezone/Makefile: Likewise.
30340         (all): Remove target.
30341         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30342         subdir.
30343         * wctype/Makefile: Likewise.
30345 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30347         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30348         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30349         (libc_feholdexcept_setround_mips): Ditto.
30350         (libc_feholdsetround): New.
30351         (libc_feholdsetroundf): New.
30352         (libc_feholdsetroundl): New.
30353         (libc_feupdateenv_test_mips): New.
30354         (libc_feupdateenv_test): New.
30355         (libc_feupdateenv_testf): New.
30356         (libc_feupdateenv_testl): New.
30357         (libc_feresetround): New.
30358         (libc_feresetroundf): New.
30359         (libc_feresetroundl): New.
30360         (libc_fetestexcept_mips): New.
30361         (libc_fetestexcept): New.
30362         (libc_fetestexceptf): New.
30363         (libc_fetestexceptl): New.
30364         (HAVE_RM_CTX): New.
30365         (libc_feholdexcept_setround_mips_ctx): New.
30366         (libc_feholdexcept_setround_ctx): New.
30367         (libc_feholdexcept_setroundf_ctx): New.
30368         (libc_feholdexcept_setroundl_ctx): New.
30369         (libc_fesetenv_mips_ctx): New.
30370         (libc_fesetenv_ctx): New.
30371         (libc_fesetenv_ctxf): New.
30372         (libc_fesetenv_ctxl): New.
30373         (libc_feupdateenv_mips_ctx): New.
30374         (libc_feupdateenv_ctx): New.
30375         (libc_feupdateenvf_ctx): New.
30376         (libc_feupdateenvl_ctx): New.
30377         (libc_feholdsetround_mips_ctx): New.
30378         (libc_feholdsetround_ctx): New.
30379         (libc_feholdsetroundf_ctx): New.
30380         (libc_feholdsetroundl_ctx): New.
30381         (libc_feresetround_mips_ctx): New.
30382         (libc_feresetround_ctx): New.
30383         (libc_feresetroundf_ctx): New.
30384         (libc_feresetroundl_ctx): New.
30386 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30388         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30390         * manual/ipc.texi: New file.
30391         * manual/Makefile (chapters): Add ipc.
30392         * manual/job.texi: Add "Inter-Process Communication" to next.
30393         * manual/process.texi: Add "Inter-Process Communication" to prev.
30395 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30399 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30401         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30403         * manual/arith.texi: Fix spaces after sentences.
30404         * manual/charset.texi: Likewise.
30405         * manual/errno.texi: Likewise.
30406         * manual/install.texi: Likewise.
30407         * manual/llio.texi: Likewise.
30408         * manual/locale.texi: Likewise.
30409         * manual/maint.texi: Likewise.
30410         * manual/math.texi: Likewise.
30411         * manual/memory.texi: Likewise.
30412         * manual/message.texi: Likewise.
30413         * manual/probes.texi: Likewise.
30414         * manual/resource.texi: Likewise.
30415         * manual/signal.texi: Likewise.
30416         * manual/socket.texi: Likewise.
30417         * manual/stdio.texi: Likewise.
30418         * manual/string.texi: Likewise.
30419         * manual/time.texi: Likewise.
30420         * manual/users.texi: Likewise.
30422 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30424         [BZ #16632]
30425         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30426         _DEFAULT_SOURCE is defined.
30428 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30429             Carlos O'Donell  <carlos@redhat.com>
30431         [BZ #16613]
30432         * elf/dl-tls.c (_dl_count_modids): New function.
30433         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30434         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30435         audit library and increment generation counter.
30436         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30437         * elf/tst-audit9.c: New file.
30438         * elf/tst-auditmod9a.c: New file.
30439         * elf/tst-auditmod9b.c: New file.
30440         * elf/Makefile: Add rules to build and run tst-audit9.
30442 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30444         [BZ #15347]
30445         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30447 2014-02-25  Will Newton  <will.newton@linaro.org>
30449         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30450         (__longjmp): Restore sp and lr before restoring callee
30451         saved registers.  Add longjmp and longjmp_target
30452         SystemTap probe point.
30453         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30454         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30455         Define to zero to match jmpbuf layout.
30456         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30457         (__sigsetjmp): Save sp and lr before saving callee
30458         saved registers.  Add setjmp SystemTap probe point.
30460 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30462         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30464 2014-02-24  Andreas Schwab  <schwab@suse.de>
30466         [BZ #15804]
30467         * elf/pldd.c (wait_for_ptrace_stop): New function.
30468         (main): Call it after attaching.
30470 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30472         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30473         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30474         Versions files is now verboten.
30475         * hurd/Versions (libc: GLIBC_2.0):
30476         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30477         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30478         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30479         * mach/Versions: Likewise.
30481         * csu/Versions: Remove unused %include.
30482         * resolv/Versions: Likewise.
30484 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30486         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30487         ($(objpfx)check-local-headers.out): Likewise.
30488         ($(objpfx)begin-end-check.out): Likewise.
30489         * Makerules (check-abi-%.out): Likewise.
30490         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30491         ($(objpfx)test2.cat): Likewise.
30492         ($(objpfx)de/libc.cat): Likewise.
30493         ($(objpfx)test-gencat.out): Likewise.
30494         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30495         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30496         ($(objpfx)noload-mem): Likewise.
30497         ($(objpfx)tst-pathopt.out): Likewise.
30498         ($(objpfx)tst-rtld-load-self.out): Likewise.
30499         ($(objpfx)tst-array1-cmp.out): Likewise.
30500         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30501         ($(objpfx)tst-array2-cmp.out): Likewise.
30502         ($(objpfx)tst-array3-cmp.out): Likewise.
30503         ($(objpfx)tst-array4-cmp.out): Likewise.
30504         ($(objpfx)tst-array5-cmp.out): Likewise.
30505         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30506         ($(objpfx)check-textrel.out): Likewise.
30507         ($(objpfx)check-execstack.out): Likewise.
30508         ($(objpfx)check-localplt.out): Likewise.
30509         ($(objpfx)order2-cmp.out): Likewise.
30510         ($(objpfx)tst-leaks1-mem): Likewise.
30511         ($(objpfx)tst-leaks1-static-mem): Likewise.
30512         ($(objpfx)tst-initorder-cmp.out): Likewise.
30513         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30514         ($(objpfx)tst-unused-dep.out): Likewise.
30515         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30516         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30517         * iconv/Makefile (test-iconvconfig): Likewise.
30518         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30519         ($(objpfx)iconv-test.out): Likewise.
30520         ($(objpfx)tst-tables.out): Likewise.
30521         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30522         ($(objpfx)tst-gettext.out): Likewise.
30523         ($(objpfx)tst-translit.out): Likewise.
30524         ($(objpfx)tst-gettext2.out): Likewise.
30525         ($(objpfx)tst-gettext4.out): Likewise.
30526         ($(objpfx)tst-gettext6.out): Likewise.
30527         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30528         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30529         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30530         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30531         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30532         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30533         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30534         ($(objpfx)wordexp-tst.out): Likewise.
30535         ($(objpfx)annexc.out): Likewise.
30536         ($(objpfx)tst-fnmatch-mem): Likewise.
30537         ($(objpfx)bug-regex2-mem): Likewise.
30538         ($(objpfx)bug-regex14-mem): Likewise.
30539         ($(objpfx)bug-regex21-mem): Likewise.
30540         ($(objpfx)bug-regex31-mem): Likewise.
30541         ($(objpfx)tst-vfork3-mem): Likewise.
30542         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30543         ($(objpfx)tst-pcre-mem): Likewise.
30544         ($(objpfx)tst-boost-mem): Likewise.
30545         ($(objpfx)tst-getconf.out): Likewise.
30546         ($(objpfx)bug-ga2-mem): Likewise.
30547         ($(objpfx)bug-glob2-mem): Likewise.
30548         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30549         ($(objpfx)mtrace-tst-leaks2): Likewise.
30550         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30551         ($(objpfx)tst-printf.out): Likewise.
30552         ($(objpfx)tst-setvbuf1.out): Likewise.
30553         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30554         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30555         ($(objpfx)tst-fmtmsg.out): Likewise.
30556         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30557         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30559         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30560         * bits/sigaction.h [__USE_MISC]: Likewise.
30561         * bits/waitstatus.h: Update #endif comments.
30562         * ctype/ctype.h: Likewise.
30563         * dirent/dirent.h: Likewise.
30564         [__USE_MISC]: Remove redundant conditionals.
30565         * grp/grp.h: Update #endif comments.
30566         [__USE_GNU]: Remove redundant conditionals.
30567         [__USE_MISC]: Likewise.
30568         * inet/netinet/in.h [__USE_GNU]: Likewise.
30569         * io/sys/stat.h [__USE_MISC]: Likewise.
30570         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30571         * libio/bits/stdio.h: Update #endif comments.
30572         [__USE_MISC]: Remove redundant conditionals.
30573         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30574         * libio/stdio.h: Update #endif comments.
30575         [__USE_MISC]: Remove redundant conditionals.
30576         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30577         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30578         * math/math.h: Update #else and #endif comments.
30579         [__USE_MISC]: Remove redundant conditionals.
30580         * misc/sys/uio.h: Update #endif comments.
30581         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30582         * posix/glob.h [__USE_MISC]: Likewise.
30583         * posix/sys/types.h: Update #endif comments.
30584         [__USE_MISC]: Remove redundant conditionals.
30585         * posix/sys/wait.h: Update #endif comments.
30586         [__USE_MISC]: Remove redundant conditionals.
30587         * posix/unistd.h: Update #endif comments.
30588         [__USE_MISC]: Remove redundant conditionals.
30589         * pwd/pwd.h [__USE_GNU]: Likewise.
30590         [__USE_MISC]: Likewise.
30591         * resolv/netdb.h [__USE_GNU]: Likewise.
30592         * signal/signal.h: Update #endif comments.
30593         [__USE_MISC]: Remove redundant conditionals.
30594         * stdlib/stdlib.h: Update #else and #endif comments.
30595         [__USE_MISC]: Remove redundant conditionals.
30596         [__USE_GNU]: Likewise.
30597         * string/bits/string2.h [__USE_MISC]: Likewise.
30598         * string/string.h: Update #endif comments.
30599         [__USE_MISC]: Remove redundant conditionals.
30600         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30601         Likewise.
30602         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30603         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30604         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30605         Likewise.
30606         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30607         Likewise.
30608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30609         comments.
30610         [__USE_MISC]: Remove redundant conditionals.
30611         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30612         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30613         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30614         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30615         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30616         Likewise.
30617         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30618         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30621         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30622         Likewise.
30623         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30624         Likewise.
30625         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30626         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30627         Likewise.
30628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30629         Likewise.
30630         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30631         * sysdeps/x86/bits/string.h: Update #endif comments.
30632         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30633         conditionals.
30634         * time/sys/time.h: Update #endif comments.
30635         * time/time.h: Likewise.
30636         [__USE_MISC]: Remove redundant conditionals.
30638 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30640         [BZ #16600]
30641         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30643 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30645         * Versions.def (librt): Add GLIBC_2.17.
30647 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30649         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30650         synonym for _SYS_AUXV_H to allow direct inclusion.
30651         * sysdeps/sparc/bits/hwcap.h: Likewise.
30652         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30653         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30654         * sysdeps/sparc/sysdep.h: Likewise.
30656 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30658         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30660 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30662         * benchtests/bench-strrchr.c: Print length instead of position.
30664 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30666         [BZ #16611]
30667         * sysdeps/unix/sysv/linux/kernel-features.h
30668         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30669         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30670         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30671         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30672         Likewise.
30673         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30674         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30675         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30676         (__ASSUME_SENDMMSG): Define instead of using previous
30677         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30678         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30679         (__ASSUME_SENDMMSG_SYSCALL): Define.
30680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30681         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30682         Likewise.
30683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30684         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30685         Likewise.
30686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30688         Likewise.
30689         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30690         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30691         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30692         [__ASSUME_SENDMMSG]: Change conditionals to
30693         [__ASSUME_SENDMMSG_SOCKETCALL].
30694         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30695         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30696         Define.
30697         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30698         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30699         Likewise.
30700         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30701         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30702         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30703         [!__ASSUME_SENDMMSG]: Change conditional to
30704         [!__ASSUME_SENDMMSG_SOCKETCALL].
30705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30706         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30707         Define.
30709         [BZ #16610]
30710         * sysdeps/unix/sysv/linux/kernel-features.h
30711         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30712         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30713         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30714         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30715         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30716         [__i386__ || __sparc__]
30717         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30718         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30719         (__ASSUME_RECVMMSG): Define instead of using previous
30720         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30722         (__ASSUME_RECVMMSG_SYSCALL): Define.
30723         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30725         Likewise.
30726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30728         Likewise.
30729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30731         Likewise.
30732         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30733         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30734         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30735         [__ASSUME_RECVMMSG]: Change condition to
30736         [__ASSUME_RECVMMSG_SOCKETCALL].
30737         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30738         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30739         Define.
30740         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30741         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30743         Likewise.
30744         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30745         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30746         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30747         [!__ASSUME_RECVMMSG]: Change condition to
30748         [!__ASSUME_RECVMMSG_SOCKETCALL].
30749         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30750         (__ASSUME_RECVMMSG_SYSCALL): Define.
30752         [BZ #16609]
30753         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30754         __powerpc__ || __s390__ || __sh__ || __sparc__]
30755         (__ASSUME_SOCKETCALL): Define.
30756         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30757         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30758         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30759         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30760         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30761         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30762         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30763         (__ASSUME_ACCEPT4): Define instead of using previous
30764         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30765         __powerpc__ || __sparc__ || __s390__)] condition.
30766         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30767         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30768         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30769         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30770         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30771         [!__ASSUME_ACCEPT4]: Change condition to
30772         [!__ASSUME_ACCEPT4_SOCKETCALL].
30773         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30774         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30775         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30777         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30778         __ASSUME_ACCEPT4_SYSCALL.
30779         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30780         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30782         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30783         __ASSUME_ACCEPT4_SYSCALL.
30784         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30785         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30786         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30787         [__ASSUME_ACCEPT4]: Change condition to
30788         [__ASSUME_ACCEPT4_SOCKETCALL].
30789         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30790         (__ASSUME_SOCKETCALL): Define.
30791         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30793         (__ASSUME_SOCKETCALL): Define.
30794         (__ASSUME_ACCEPT4): Remove.
30795         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30796         Define.
30797         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30798         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30799         Likewise.
30800         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30801         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30803         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30804         macro.
30805         (HWCAP_ARM_LPAE): Likewise.
30806         (HWCAP_ARM_EVTSTRM): Likewise.
30807         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30808         Add vpfd32, lpae and evtstrm.
30809         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30810         Increase to 22.
30812 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30814         * math/auto-libm-test-in: Add tests of clog10.
30815         * math/auto-libm-test-out: Regenerated.
30816         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30817         * sysdeps/i386/fpu/libm-test-ulps: Update.
30818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30820 2014-02-18  Andreas Schwab  <schwab@suse.de>
30822         [BZ #16574]
30823         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30824         Store non-zero if the second buffer was newly allocated.
30825         (send_dg): Likewise.
30826         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30827         to send_vc and send_dg.
30828         (res_nsend): Pass NULL for ansp2_malloced.
30829         * resolv/res_query.c (__libc_res_nquery): Add parameter
30830         answerp2_malloced and pass it down to __libc_res_nsend.
30831         (res_nquery): Pass additional NULL to __libc_res_nquery.
30832         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30833         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30834         second answer buffer if answerp2_malloced was set.
30835         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30836         (__libc_res_nquerydomain): Add parameter
30837         answerp2_malloced and pass it down to __libc_res_nquery.
30838         (res_nquerydomain): Pass additional NULL to
30839         __libc_res_nquerydomain.
30840         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30841         additional NULL to __libc_res_nsend and __libc_res_nquery.
30842         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30843         additional NULL to __libc_res_nsearch.
30844         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30845         parameter of __libc_res_nsearch to check for separately allocated
30846         second buffer.
30847         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30848         __libc_res_nquery.
30849         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30850         additional NULL to __libc_res_nquery.
30851         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30852         __libc_res_nsearch.
30853         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30854         * include/resolv.h: Update prototypes of __libc_res_nquery,
30855         __libc_res_nsearch, __libc_res_nsend.
30857 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30859         * math/auto-libm-test-in: Add tests of fma.
30860         * math/auto-libm-test-out: Regenerated.
30861         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30862         (fma_towardzero_test_data): Likewise.
30863         (fma_downward_test_data): Likewise.
30864         (fma_upward_test_data): Likewise.
30865         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30866         mpc_mode.
30867         (rounding_modes): Add values for new field.
30868         (func_calc_method): Add value mpfr_fff_f.
30869         (func_calc_desc): Add mpfr_fff_f union field.
30870         (test_function): Add field exact_args.
30871         (FUNC): Add macro argument EXACT_ARGS.
30872         (FUNC_mpfr_f_f): Update call to FUNC.
30873         (FUNC_mpfr_f_f): Likewise.
30874         (FUNC_mpfr_ff_f): Likewise.
30875         (FUNC_mpfr_if_f): Likewise.
30876         (FUNC_mpc_c_f): Likewise.
30877         (FUNC_mpc_c_c): Likewise.
30878         (test_functions): Add fma.  Update calls to FUNC.
30879         (handle_input_arg): Add argument exact_args.
30880         (add_test): Update call to handle_input_arg.
30881         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30882         (output_for_one_input_case): Update call to calc_generic_results.
30883         Recalculate exact zero results in each rounding mode.
30885         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30886         non-negative before setting low bit.
30887         * math/auto-libm-test-in: Mark one asin test possibly having
30888         spurious underflow.
30889         * math/auto-libm-test-out: Regenerated.
30890         * sysdeps/i386/fpu/libm-test-ulps: Update.
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30895         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30896         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30897         ports/sysdeps/unix/sysv/linux/microblaze.
30898         * README: Add missing listing for microblaze*-*-linux-gnu.
30900 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30902         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30903         duplicate code
30905 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30907         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30908         * sysdeps/unix/sysv/linux/ia64: Move directory from
30909         ports/sysdeps/unix/sysv/linux/ia64.
30910         * README: Update listing for ia64-*-linux-gnu.
30912 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30913             Joseph Myers  <joseph@codesourcery.com>
30915         * Makeconfig (test-name): New variable.
30916         (evaluate-test): Likewise.
30917         * Makerules (do-test-clean): Remove .test-result files.
30918         (common-mostlyclean): Likewise.
30919         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30920         * scripts/evaluate-test.sh: New file.
30922 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30924         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30925         separate $(objpfx)tst-fopenloc-cmp.out and
30926         $(objpfx)tst-fopenloc-mem.out targets.
30927         (tests): Update dependencies.
30928         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30929         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30930         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30931         (tst-rxspencer-no-utf8-ARGS): New variable.
30932         (tst-rxspencer-no-utf8-ENV): Likewise.
30933         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30934         instead of $(objpfx)tst-rxspencer-mem.
30935         ($(objpfx)tst-rxspencer-mem): Change target to
30936         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30937         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30938         * posix/tst-rxspencer-no-utf8.c: New file.
30940         * elf/Makefile ($(objpfx)order.out): Remove rule.
30941         [$(run-built-tests) = yes] (tests): Depend on
30942         $(objpfx)order-cmp.out.
30943         ($(objpfx)order-cmp.out): New rule.
30944         [$(run-built-tests) = yes] (tests): Depend on
30945         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30946         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30947         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30948         $(objpfx)tst-array5-static-cmp.out.
30949         ($(objpfx)tst-array1.out): Remove rule.
30950         ($(objpfx)tst-array1-cmp.out): New rule.
30951         ($(objpfx)tst-array1-static.out): Remove rule.
30952         ($(objpfx)tst-array1-static-cmp.out): New rule.
30953         ($(objpfx)tst-array2.out): Remove rule.
30954         ($(objpfx)tst-array2-cmp.out): New rule.
30955         ($(objpfx)tst-array3.out): Remove rule.
30956         ($(objpfx)tst-array3-cmp.out): New rule.
30957         ($(objpfx)tst-array4.out): Remove rule.
30958         ($(objpfx)tst-array4-cmp.out): New rule.
30959         ($(objpfx)tst-array5.out): Remove rule.
30960         ($(objpfx)tst-array5-cmp.out): New rule.
30961         ($(objpfx)tst-array5-static.out): Remove rule.
30962         ($(objpfx)tst-array5-static-cmp.out): New rule.
30963         [$(run-built-tests) = yes] (tests): Depend on
30964         $(objpfx)order2-cmp.out.
30965         ($(objpfx)order2.out): Remove rule.
30966         ($(objpfx)order2-cmp.out): New rule.
30967         ($(objpfx)tst-initorder.out): Remove rule.
30968         [$(run-built-tests) = yes] (tests): Depend on
30969         $(objpfx)tst-initorder-cmp.out.
30970         ($(objpfx)tst-initorder-cmp.out): New rule.
30971         ($(objpfx)tst-initorder2.out): Remove rule.
30972         [$(run-built-tests) = yes] (tests): Depend on
30973         $(objpfx)tst-initorder2-cmp.out.
30974         ($(objpfx)tst-initorder2-cmp.out): New rule.
30975         [$(run-built-tests) = yes] (tests): Depend on
30976         $(objpfx)tst-unused-dep-cmp.out.
30977         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30978         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30979         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30980         on $(objpfx)tst-setvbuf1-cmp.out.
30981         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30982         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30983         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30984         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30985         ($(objpfx)tst-svc.out): Remove rule.
30986         ($(objpfx)tst-svc-cmp.out): New rule.
30988 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30990         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30991         * ctype/ctype.h [__USE_MISC]: Likewise.
30992         * dirent/dirent.h [__USE_MISC]: Likewise.
30993         * grp/grp.h [__USE_MISC]: Likewise.
30994         * io/fcntl.h [__USE_MISC]: Likewise.
30995         * io/sys/stat.h [__USE_MISC]: Likewise.
30996         * libio/stdio.h [__USE_MISC]: Likewise.
30997         * posix/unistd.h [__USE_MISC]: Likewise.
30998         * pwd/pwd.h [__USE_MISC]: Likewise.
30999         * stdlib.h [__USE_MISC]: Likewise.
31000         * string/bits/string2.h [__USE_MISC]: Likewise.
31001         * string/string.h [__USE_MISC]: Likewise.
31002         * time/time.h [__USE_MISC]: Likewise.
31004 2014-02-13  Andreas Schwab  <schwab@suse.de>
31006         [BZ #16574]
31007         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31008         second answer buffer if it was separately allocated.
31010 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31012         * sysdeps/mips/math-tests.h: Include <features.h>.
31013         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31014         (ROUNDING_TESTS_long_double): Do not define.
31015         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31016         (EXCEPTION_TESTS_long_double): Likewise.
31017         * sysdeps/mips/mips64/libm-test-ulps: Update.
31019         * include/features.h (__USE_BSD): Remove macro definitions.
31020         (__USE_SVID): Likewise.
31021         (_BSD_SOURCE): Likewise.
31022         (_SVID_SOURCE): Likewise.
31023         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31024         from definition of _DEFAULT_SOURCE.
31025         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31026         [_DEFAULT_SOURCE].
31027         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31028         * bits/mman.h [__USE_BSD]: Likewise.
31029         * bits/termios.h [__USE_BSD]: Likewise.
31030         * bits/waitstatus.h [__USE_BSD]: Likewise.
31031         * ctype/ctype.h [__USE_SVID]: Likewise.
31032         * dirent/dirent.h [__USE_BSD]: Likewise.
31033         * grp/grp.h [__USE_SVID]: Likewise.
31034         [__USE_BSD]: Likewise.
31035         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31036         * io/fcntl.h [__USE_BSD]: Likewise.
31037         * io/ftw.h [__USE_BSD]: Likewise.
31038         * io/sys/stat.h [__USE_BSD]: Likewise.
31039         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31040         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31041         * libio/stdio.h [__USE_SVID]: Likewise.
31042         [__USE_BSD]: Likewise.
31043         * math/math.h [__USE_SVID]: Likewise.
31044         [__USE_BSD]: Likewise.
31045         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31046         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31047         * misc/search.h [__USE_SVID]: Likewise.
31048         * misc/sys/mman.h [__USE_BSD]: Likewise.
31049         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31050         * misc/sys/uio.h [__USE_BSD]: Likewise.
31051         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31052         * posix/glob.h [__USE_BSD]: Likewise.
31053         * posix/regex.h [__USE_BSD]: Likewise.
31054         * posix/sys/types.h [__USE_BSD]: Likewise.
31055         [__USE_SVID]: Likewise.
31056         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31057         * posix/sys/wait.h [__USE_BSD]: Likewise.
31058         [__USE_SVID]: Likewise.
31059         * posix/unistd.h [__USE_BSD]: Likewise.
31060         [__USE_SVID]: Likewise.
31061         * pwd/pwd.h [__USE_SVID]: Likewise.
31062         * resolv/netdb.h [__USE_BSD]: Likewise.
31063         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31064         * signal/signal.h [__USE_BSD]: Likewise.
31065         [__USE_SVID]: Likewise.
31066         * socket/sys/socket.h [__USE_BSD]: Likewise.
31067         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31068         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31069         [__USE_SVID]: Likewise.
31070         * string/bits/string2.h [__USE_BSD]: Likewise.
31071         [__USE_SVID]: Likewise.
31072         * string/bits/string3.h [__USE_BSD]: Likewise.
31073         * string/endian.h [__USE_BSD]: Likewise.
31074         * string/string.h [__USE_SVID]: Likewise.
31075         [__USE_BSD]: Likewise.
31076         * string/strings.h [__USE_BSD]: Likewise.
31077         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31078         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31079         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31080         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31081         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31082         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31083         Likewise.
31084         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31085         Likewise.
31086         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31087         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31088         Likewise.
31089         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31090         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31091         Likewise.
31092         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31095         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31096         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31097         Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31099         Likewise.
31100         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31101         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31102         * termios/termios.h [__USE_BSD]: Likewise.
31103         * time/sys/time.h [__USE_BSD]: Likewise.
31104         * time/time.h [__USE_BSD]: Likewise.
31105         [__USE_SVID]: Likewise.
31107         * Makefile (subdir_targets): Remove subdir_lint.out.
31109         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31110         (do-tst-printf): Likewise.
31111         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31112         $(objpfx)tst-printf.out.
31114         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31116         * Makerules (check-abi-%): Change target to
31117         $(objpfx)check-abi-%.out.
31118         (check-abi target): Update dependencies.
31119         (check-abi-pattern variable): Redirect output of diff to $@.
31120         (check-abi variable): Likewise.
31121         * elf/Makefile (check-abi): Update dependencies.
31123         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31124         unused.
31125         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31126         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31127         subnormal range.
31128         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31129         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31130         value has largest subnormal exponent.
31131         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31132         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31133         * sysdeps/aarch64/soft-fp/sfp-machine.h
31134         (_FP_TININESS_AFTER_ROUNDING): New macro.
31135         * sysdeps/alpha/soft-fp/sfp-machine.h
31136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31137         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31138         Likewise.
31139         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31140         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31141         * sysdeps/mips/soft-fp/sfp-machine.h
31142         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31143         * sysdeps/powerpc/soft-fp/sfp-machine.h
31144         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31145         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31146         Likewise.
31147         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31148         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31150         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31151         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31152         Likewise.
31154 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31156         [BZ #16545]
31157         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31158         model 1.
31160 2014-02-12  Richard Henderson  <rth@redhat.com>
31162         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31163         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31164         * sysdeps/unix/sysv/linux/alpha: Move directory from
31165         ports/sysdeps/unix/sysv/linux/alpha.
31166         * README: Update listing for alpha-*-linux-gnu.
31168 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31170         * include/features.h: Update comment documenting feature test
31171         macros.
31172         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31173         _DEFAULT_SOURCE.
31174         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31175         (_SVID_SOURCE): Likewise.
31176         (_DEFAULT_SOURCE): Update description of default features.
31177         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31178         with _GNU_SOURCE.
31179         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31180         (S_ISVTX): Likewise.
31181         * manual/math.texi (Mathematical Constants): Likewise.
31182         * manual/signal.texi (Interrupted Primitives): Likewise.
31183         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31184         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31185         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31186         Don't refer to _SVID_SOURCE in warning text.
31188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31190         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31191         already defined.
31192         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31193         * sysdeps/mips/dl-lookup.c: Remove.
31194         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31196 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31198         [BZ #16447]
31199         * math/auto-libm-test-in: Add testcase for expl.
31200         * math/auto-libm-test-out: Regenerate.
31201         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31202         calculation of unsafe.
31203         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31205 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31207         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31208         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31209         ports/sysdeps/unix/sysv/linux/aarch64.
31210         * README: Update listing for aarch64*-*-linux-gnu.
31212 2014-02-11  Will Newton  <will.newton@linaro.org>
31214         * manual/probes.texi (Mathematical Function Probes): Use
31215         "triggered" instead of "hit".
31217         * manual/probes.texi (Internal Probes): Add documentation
31218         of setjmp, longjmp and longjmp_target probes.
31220         * include/stap-probe.h: Add comment about probe argument
31221         format.
31223         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31224         definition.  (tr_where, tr_freehook, tr_mallochook,
31225         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31227 2014-02-11  David S. Miller  <davem@davemloft.net>
31229         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31230         processing int_tests.
31232 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31234         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31235         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31236         * sysdeps/unix/sysv/linux/mips: Move directory from
31237         ports/sysdeps/unix/sysv/linux/mips.
31238         * README: Update listing for mips-*-linux-gnu and
31239         mips64-*-linux-gnu.
31241 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31243         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31244         * sysdeps/unix/sysv/linux/m68k: Move directory from
31245         ports/sysdeps/unix/sysv/linux/m68k.
31246         * README: Update listing for m68k-*-linux-gnu.
31248 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31250         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31251         * sysdeps/unix/sysv/linux/generic: Move directory from
31252         ports/sysdeps/unix/sysv/linux/generic.
31253         * sysdeps/unix/sysv/linux/tile: Move directory from
31254         ports/sysdeps/unix/sysv/linux/tile.
31255         * README: Update listing for tile*-*-linux-gnu.
31257 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31259         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31260         __builtin_expect.
31261         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31262         * catgets/open_catalog.c (__open_catalog): Likewise.
31263         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31264         * debug/confstr_chk.c: Likewise.
31265         * debug/fread_chk.c (__fread_chk): Likewise.
31266         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31267         * debug/getgroups_chk.c: Likewise.
31268         * debug/mbsnrtowcs_chk.c: Likewise.
31269         * debug/mbsrtowcs_chk.c: Likewise.
31270         * debug/mbstowcs_chk.c: Likewise.
31271         * debug/memcpy_chk.c: Likewise.
31272         * debug/memmove_chk.c: Likewise.
31273         * debug/mempcpy_chk.c: Likewise.
31274         * debug/memset_chk.c: Likewise.
31275         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31276         * debug/strcat_chk.c (__strcat_chk): Likewise.
31277         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31278         * debug/strncat_chk.c (__strncat_chk): Likewise.
31279         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31280         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31281         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31282         * debug/wcpncpy_chk.c: Likewise.
31283         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31284         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31285         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31286         * debug/wcsncpy_chk.c: Likewise.
31287         * debug/wcsnrtombs_chk.c: Likewise.
31288         * debug/wcsrtombs_chk.c: Likewise.
31289         * debug/wcstombs_chk.c: Likewise.
31290         * debug/wmemcpy_chk.c: Likewise.
31291         * debug/wmemmove_chk.c: Likewise.
31292         * debug/wmempcpy_chk.c: Likewise.
31293         * debug/wmemset_chk.c: Likewise.
31294         * dirent/scandirat.c (SCANDIRAT): Likewise.
31295         * dlfcn/dladdr1.c (dladdr1): Likewise.
31296         * dlfcn/dladdr.c (dladdr): Likewise.
31297         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31298         * dlfcn/dlerror.c (__dlerror): Likewise.
31299         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31300         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31301         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31302         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31303         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31304         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31305         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31306         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31307         Likewise.
31308         * elf/dl-conflict.c: Likewise.
31309         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31310         * elf/dl-dst.h: Likewise.
31311         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31312         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31313         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31314         * elf/dl-init.c (call_init, _dl_init): Likewise.
31315         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31316         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31317         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31318         Likewise.
31319         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31320         Likewise.
31321         * elf/dl-minimal.c (__libc_memalign): Likewise.
31322         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31323         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31324         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31325         * elf/dl-sym.c (do_sym): Likewise.
31326         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31327         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31328         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31329         * elf/dl-writev.h (_dl_writev): Likewise.
31330         * elf/ldconfig.c (search_dir): Likewise.
31331         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31332         (dl_main): Likewise.
31333         * elf/setup-vdso.h (setup_vdso): Likewise.
31334         * grp/compat-initgroups.c (compat_call): Likewise.
31335         * grp/fgetgrent.c (fgetgrent): Likewise.
31336         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31337         * grp/putgrent.c (putgrent): Likewise.
31338         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31339         Likewise.
31340         * hurd/hurdinit.c: Likewise.
31341         * iconvdata/8bit-gap.c (struct): Likewise.
31342         * iconvdata/ansi_x3.110.c : Likewise.
31343         * iconvdata/big5.c : Likewise.
31344         * iconvdata/big5hkscs.c : Likewise.
31345         * iconvdata/cp1255.c: Likewise.
31346         * iconvdata/cp1258.c : Likewise.
31347         * iconvdata/cp932.c : Likewise.
31348         * iconvdata/euc-cn.c: Likewise.
31349         * iconvdata/euc-jisx0213.c : Likewise.
31350         * iconvdata/euc-jp.c: Likewise.
31351         * iconvdata/euc-jp-ms.c : Likewise.
31352         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31353         * iconvdata/gb18030.c : Likewise.
31354         * iconvdata/gbbig5.c (const): Likewise.
31355         * iconvdata/gbgbk.c: Likewise.
31356         * iconvdata/gbk.c : Likewise.
31357         * iconvdata/ibm1364.c : Likewise.
31358         * iconvdata/ibm930.c : Likewise.
31359         * iconvdata/ibm932.c: Likewise.
31360         * iconvdata/ibm933.c : Likewise.
31361         * iconvdata/ibm935.c : Likewise.
31362         * iconvdata/ibm937.c : Likewise.
31363         * iconvdata/ibm939.c : Likewise.
31364         * iconvdata/ibm943.c: Likewise.
31365         * iconvdata/iso_11548-1.c: Likewise.
31366         * iconvdata/iso-2022-cn.c : Likewise.
31367         * iconvdata/iso-2022-cn-ext.c : Likewise.
31368         * iconvdata/iso-2022-jp-3.c: Likewise.
31369         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31370         * iconvdata/iso-2022-kr.c : Likewise.
31371         * iconvdata/iso646.c (gconv_end): Likewise.
31372         * iconvdata/iso_6937-2.c : Likewise.
31373         * iconvdata/iso_6937.c : Likewise.
31374         * iconvdata/iso8859-1.c: Likewise.
31375         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31376         * iconvdata/shift_jisx0213.c : Likewise.
31377         * iconvdata/sjis.c : Likewise.
31378         * iconvdata/t.61.c : Likewise.
31379         * iconvdata/tcvn5712-1.c : Likewise.
31380         * iconvdata/tscii.c: Likewise.
31381         * iconvdata/uhc.c : Likewise.
31382         * iconvdata/unicode.c (gconv_end): Likewise.
31383         * iconvdata/utf-16.c (gconv_end): Likewise.
31384         * iconvdata/utf-32.c (gconv_end): Likewise.
31385         * iconvdata/utf-7.c (base64): Likewise.
31386         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31387         * iconv/gconv_close.c (__gconv_close): Likewise.
31388         * iconv/gconv_open.c (__gconv_open): Likewise.
31389         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31390         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31391         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31392         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31393         (ucs4le_internal_loop_single): Likewise.
31394         * iconv/iconv.c (iconv): Likewise.
31395         * iconv/iconv_close.c: Likewise.
31396         * iconv/loop.c (SINGLE): Likewise.
31397         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31398         * include/atomic.h: Likewise.
31399         * inet/inet6_option.c (option_alloc): Likewise.
31400         * intl/bindtextdom.c (set_binding_values): Likewise.
31401         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31402         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31403         * intl/localealias.c (read_alias_file): Likewise.
31404         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31405         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31406         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31407         * libio/fmemopen.c (fmemopen): Likewise.
31408         * libio/iofgets.c (_IO_fgets): Likewise.
31409         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31410         * libio/iofgetws.c (fgetws): Likewise.
31411         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31412         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31413         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31414         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31415         * locale/findlocale.c (_nl_find_locale): Likewise.
31416         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31417         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31418         Likewise.
31419         * locale/setlocale.c (setlocale): Likewise.
31420         * login/programs/pt_chown.c (main): Likewise.
31421         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31422         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31423         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31424         (mmap, mmap64, mremap, munmap): Likewise.
31425         * math/e_exp2l.c: Likewise.
31426         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31427         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31428         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31429         * math/s_catan.c (__catan): Likewise.
31430         * math/s_catanf.c (__catanf): Likewise.
31431         * math/s_catanh.c (__catanh): Likewise.
31432         * math/s_catanhf.c (__catanhf): Likewise.
31433         * math/s_catanhl.c (__catanhl): Likewise.
31434         * math/s_catanl.c (__catanl): Likewise.
31435         * math/s_ccosh.c (__ccosh): Likewise.
31436         * math/s_ccoshf.c (__ccoshf): Likewise.
31437         * math/s_ccoshl.c (__ccoshl): Likewise.
31438         * math/s_cexp.c (__cexp): Likewise.
31439         * math/s_cexpf.c (__cexpf): Likewise.
31440         * math/s_cexpl.c (__cexpl): Likewise.
31441         * math/s_clog10.c (__clog10): Likewise.
31442         * math/s_clog10f.c (__clog10f): Likewise.
31443         * math/s_clog10l.c (__clog10l): Likewise.
31444         * math/s_clog.c (__clog): Likewise.
31445         * math/s_clogf.c (__clogf): Likewise.
31446         * math/s_clogl.c (__clogl): Likewise.
31447         * math/s_csin.c (__csin): Likewise.
31448         * math/s_csinf.c (__csinf): Likewise.
31449         * math/s_csinh.c (__csinh): Likewise.
31450         * math/s_csinhf.c (__csinhf): Likewise.
31451         * math/s_csinhl.c (__csinhl): Likewise.
31452         * math/s_csinl.c (__csinl): Likewise.
31453         * math/s_csqrt.c (__csqrt): Likewise.
31454         * math/s_csqrtf.c (__csqrtf): Likewise.
31455         * math/s_csqrtl.c (__csqrtl): Likewise.
31456         * math/s_ctan.c (__ctan): Likewise.
31457         * math/s_ctanf.c (__ctanf): Likewise.
31458         * math/s_ctanh.c (__ctanh): Likewise.
31459         * math/s_ctanhf.c (__ctanhf): Likewise.
31460         * math/s_ctanhl.c (__ctanhl): Likewise.
31461         * math/s_ctanl.c (__ctanl): Likewise.
31462         * math/w_pow.c: Likewise.
31463         * math/w_powf.c: Likewise.
31464         * math/w_powl.c: Likewise.
31465         * math/w_scalb.c (sysv_scalb): Likewise.
31466         * math/w_scalbf.c (sysv_scalbf): Likewise.
31467         * math/w_scalbl.c (sysv_scalbl): Likewise.
31468         * misc/error.c (error_tail): Likewise.
31469         * misc/pselect.c (__pselect): Likewise.
31470         * nis/nis_callback.c (__nis_create_callback): Likewise.
31471         * nis/nis_call.c (__nisfind_server): Likewise.
31472         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31473         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31474         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31475         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31476         * nis/nis_lookup.c (nis_lookup): Likewise.
31477         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31478         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31479         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31480         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31481         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31482         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31483         * nis/nss_compat/compat-initgroups.c (add_group)
31484         (internal_getgrent_r): Likewise.
31485         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31486         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31487         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31488         (internal_getspnam_r): Likewise.
31489         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31490         (_nss_nis_getaliasbyname_r): Likewise.
31491         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31492         (_nss_nis_getntohost_r): Likewise.
31493         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31494         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31495         (_nss_nis_getgrgid_r): Likewise.
31496         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31497         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31498         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31499         (_nss_nis_gethostbyname4_r): Likewise.
31500         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31501         (initgroups_netid): Likewise.
31502         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31503         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31504         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31505         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31506         (_nss_nis_getprotobynumber_r): Likewise.
31507         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31508         (_nss_nis_getsecretkey): Likewise.
31509         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31510         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31511         (_nss_nis_getpwuid_r): Likewise.
31512         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31513         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31514         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31515         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31516         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31517         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31518         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31519         Likewise.
31520         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31521         (_nss_nisplus_getntohost_r): Likewise.
31522         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31523         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31524         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31525         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31526         Likewise.
31527         * nis/nss_nisplus/nisplus-initgroups.c
31528         (_nss_nisplus_initgroups_dyn): Likewise.
31529         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31530         (_nss_nisplus_getnetbyaddr_r): Likewise.
31531         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31532         (_nss_nisplus_getprotobynumber_r): Likewise.
31533         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31534         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31535         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31536         Likewise.
31537         * nis/nss_nisplus/nisplus-service.c
31538         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31539         (_nss_nisplus_getservbyport_r): Likewise.
31540         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31541         (_nss_nisplus_getspnam_r): Likewise.
31542         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31543         Likewise.
31544         * nscd/aicache.c (addhstaiX): Likewise.
31545         * nscd/cache.c (cache_search, prune_cache): Likewise.
31546         * nscd/connections.c (register_traced_file, send_ro_fd)
31547         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31548         (main_loop_epoll): Likewise.
31549         * nscd/grpcache.c (addgrbyX): Likewise.
31550         * nscd/hstcache.c (addhstbyX): Likewise.
31551         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31552         * nscd/mem.c (gc, mempool_alloc): Likewise.
31553         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31554         (addinnetgrX): Likewise.
31555         * nscd/nscd-client.h (__nscd_acquire_maplock)
31556         (__nscd_drop_map_ref): Likewise.
31557         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31558         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31559         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31560         Likewise.
31561         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31562         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31563         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31564         (__nscd_get_map_ref): Likewise.
31565         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31566         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31567         Likewise.
31568         * nscd/pwdcache.c (addpwbyX): Likewise.
31569         * nscd/selinux.c (preserve_capabilities): Likewise.
31570         * nscd/servicescache.c (addservbyX): Likewise.
31571         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31572         * posix/fnmatch.c (fnmatch): Likewise.
31573         * posix/getopt.c (_getopt_internal_r): Likewise.
31574         * posix/glob.c (glob, glob_in_dir): Likewise.
31575         * posix/wordexp.c (exec_comm_child): Likewise.
31576         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31577         (getanswer_r, gaih_getanswer_slice): Likewise.
31578         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31579         * resolv/res_init.c: Likewise.
31580         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31581         * resolv/res_query.c (__libc_res_nquery): Likewise.
31582         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31583         Likewise.
31584         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31585         * stdio-common/perror.c (perror): Likewise.
31586         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31587         * stdio-common/tmpnam.c (tmpnam): Likewise.
31588         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31589         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31590         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31591         Likewise.
31592         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31593         * stdlib/putenv.c (putenv): Likewise.
31594         * stdlib/setenv.c (__add_to_environ): Likewise.
31595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31596         * stdlib/strtol_l.c (INTERNAL): Likewise.
31597         * string/memmem.c (memmem): Likewise.
31598         * string/strerror.c (strerror): Likewise.
31599         * string/strnlen.c (__strnlen): Likewise.
31600         * string/test-memmem.c (simple_memmem): Likewise.
31601         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31602         * sunrpc/pm_getport.c (__get_socket): Likewise.
31603         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31604         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31605         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31606         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31607         Likewise.
31608         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31610         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31611         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31612         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31613         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31614         Likewise.
31615         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31616         Likewise.
31617         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31618         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31620         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31621         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31623         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31624         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31625         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31626         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31627         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31628         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31629         Likewise.
31630         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31631         Likewise.
31632         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31633         Likewise.
31634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31636         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31637         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31638         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31639         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31640         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31643         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31644         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31646         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31647         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31649         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31650         Likewise.
31651         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31652         Likewise.
31653         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31654         Likewise.
31655         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31656         Likewise.
31657         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31659         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31660         Likewise.
31661         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31662         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31663         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31664         * sysdeps/posix/sleep.c: Likewise.
31665         * sysdeps/posix/tempname.c: Likewise.
31666         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31667         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31668         Likewise.
31669         * sysdeps/powerpc/powerpc32/dl-machine.h
31670         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31671         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31673         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31674         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31675         Likewise.
31676         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31678         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31680         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31681         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31682         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31683         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31684         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31685         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31687         (elf_machine_lazy_rel): Likewise.
31688         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31690         (elf_machine_lazy_rel): Likewise.
31691         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31692         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31693         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31694         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31695         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31696         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31697         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31698         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31699         Likewise.
31700         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31701         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31702         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31703         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31704         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31705         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31706         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31707         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31708         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31709         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31710         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31711         Likewise.
31712         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31713         (__posix_fallocate64_l64): Likewise.
31714         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31715         (posix_fallocate): Likewise.
31716         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31717         Likewise.
31718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31719         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31720         (getifaddrs_internal): Likewise.
31721         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31722         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31723         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31724         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31725         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31726         (__posix_fallocate64_l64): Likewise.
31727         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31728         Likewise.
31729         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31731         (__get_clockfreq): Likewise.
31732         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31733         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31734         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31736         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31737         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31738         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31739         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31740         Likewise.
31741         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31742         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31743         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31744         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31745         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31746         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31747         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31748         Likewise.
31749         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31750         (posix_fallocate): Likewise.
31751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31752         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31753         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31754         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31755         (elf_machine_rela, elf_machine_rela_relative)
31756         (elf_machine_lazy_rel): Likewise.
31757         * time/asctime.c (asctime_internal): Likewise.
31758         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31759         * time/tzset.c (__tzset_parse_tz): Likewise.
31760         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31761         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31762         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31763         * wcsmbs/wcsmbsload.h: Likewise.
31765         [BZ #15894]
31766         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31768         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31769         (arena_get2): Remove THREAD_STATS conditionals.
31770         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31771         (__malloc_stats, int): Likewise.
31773 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31775         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31776         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31778         * manual/setjmp.texi: Fix typos/grammar errors.
31780         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31781         Only return early when n is <= 0.  Delete unused return statement.
31783         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31784         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31785         * debug/tst-longjmp_chk3.c: New file.
31787         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31788         (test_main): Replace code with set_fortify_handler call.
31789         * debug/test-strcpy_chk.c: Likewise.
31790         * debug/tst-chk1.c: Likewise.
31791         * debug/tst-longjmp_chk.c: Likewise.
31792         * test-skeleton.c: Include fcntl.h & paths.h
31793         (set_fortify_handler): Define.
31795         * debug/tst-longjmp_chk.c: Add header comment and include
31796         ../test-skeleton.c.
31797         (do_test): Mark static.
31798         (TEST_FUNCTION): Define.
31800         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31801         (IP_PMTUDISC_INTERFACE): Likewise.
31802         (IP_MULTICAST_IF): Likewise.
31803         (IP_MULTICAST_TTL): Likewise.
31804         (IP_MULTICAST_LOOP): Likewise.
31805         (IP_ADD_MEMBERSHIP): Likewise.
31806         (IP_DROP_MEMBERSHIP): Likewise.
31807         (IP_UNBLOCK_SOURCE): Likewise.
31808         (IP_BLOCK_SOURCE): Likewise.
31809         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31810         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31811         (IP_MSFILTER): Likewise.
31812         (MCAST_JOIN_GROUP): Likewise.
31813         (MCAST_BLOCK_SOURCE): Likewise.
31814         (MCAST_UNBLOCK_SOURCE): Likewise.
31815         (MCAST_LEAVE_GROUP): Likewise.
31816         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31817         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31818         (MCAST_MSFILTER): Likewise.
31819         (IP_MULTICAST_ALL): Likewise.
31820         (IP_UNICAST_IF): Likewise.
31822         * timezone/Makefile: Delete $(have-ksh) check.
31823         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31824         * timezone/tzselect.ksh: Add +x mode bits.
31826         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31827         (ANON_INODE_FS_MAGIC): Likewise.
31828         (BDEVFS_MAGIC): Likewise.
31829         (BINFMTFS_MAGIC): Likewise.
31830         (BTRFS_TEST_MAGIC): Likewise.
31831         (CRAMFS_MAGIC_WEND): Likewise.
31832         (DEBUGFS_MAGIC): Likewise.
31833         (ECRYPTFS_SUPER_MAGIC): Likewise.
31834         (EXT3_SUPER_MAGIC): Likewise.
31835         (EXT4_SUPER_MAGIC): Likewise.
31836         (FUTEXFS_SUPER_MAGIC): Likewise.
31837         (HOSTFS_SUPER_MAGIC): Likewise.
31838         (HUGETLBFS_MAGIC): Likewise.
31839         (MINIX3_SUPER_MAGIC): Likewise.
31840         (MTD_INODE_FS_MAGIC): Likewise.
31841         (NILFS_SUPER_MAGIC): Likewise.
31842         (OPENPROM_SUPER_MAGIC): Likewise.
31843         (PIPEFS_MAGIC): Likewise.
31844         (PSTOREFS_MAGIC): Likewise.
31845         (QNX6_SUPER_MAGIC): Likewise.
31846         (RAMFS_MAGIC): Likewise.
31847         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31848         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31849         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31850         (SECURITYFS_MAGIC): Likewise.
31851         (SELINUX_MAGIC): Likewise.
31852         (SMACK_MAGIC): Likewise.
31853         (SOCKFS_MAGIC): Likewise.
31854         (SQUASHFS_MAGIC): Likewise.
31855         (STACK_END_MAGIC): Likewise.
31856         (TMPFS_MAGIC): Likewise.
31857         (USBDEVICE_SUPER_MAGIC): Likewise.
31858         (V9FS_MAGIC): Likewise.
31859         (XENFS_SUPER_MAGIC): Likewise.
31860         (CRAMFS_MAGIC): Fix typo in comment.
31861         (EXT2_SUPER_MAGIC): Update comment.
31862         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31864 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31866         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31867         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31868         * sysdeps/unix/sysv/linux/arm: Move directory from
31869         ports/sysdeps/unix/sysv/linux/arm.
31870         * README: Update listing for arm-*-linux-gnueabi.
31872         * README: Remove mention of am33.
31874 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31876         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31877         than the comma operator, to avoid "rhs of comma has no effect"
31878         compiler warnings.
31879         (__sigfillset, __sigandset, __sigorset): Likewise.
31880         * include/signal.h (__sigemptyset): Likewise.
31881         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31883 2014-02-07  Allan McRae  <allan@archlinux.org>
31885         * version.h (RELEASE): Set to "development".
31886         (VERSION): Set to "2.19.90"
31887         * NEWS: Add 2.20 section.
31889 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31891         [BZ #16529]
31892         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31894 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31896         * manual/contrib.texi: Update entry for Carlos O'Donell,
31897         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31899 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31901         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31903         * sysdeps/unix/sysv/linux/kernel-features.h
31904         [__LINUX_KERNEL_VERSION >= 0x020621]
31905         (__ASSUME_PROC_PID_TASK_COMM): Define.
31907 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31909         [BZ #16398]
31910         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31911         conversion when destination buffer does not have enough space.
31912         * libio/tst-ftell-partial-wide.c: New test case.
31913         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31915         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31916         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31917         Leonard and Allan McRae.
31919 2014-02-04  David S. Miller  <davem@davemloft.net>
31921         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31922         32-bit.
31924 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31927         New file
31928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31929         New file
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31931         New file.
31932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31933         New file.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31935         New file.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31937         New file.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31939         New file.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31941         New file.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31943         New file.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31945         New file.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31947         New file.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31949         New file.
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31951         New file.
31953 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31955         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31956         * shlib-versions: Likewise.
31958 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31959             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31961         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31962         (abilist-pattern): New variable, set to %-le.abilist.
31964         * Makerules (abilist-pattern): New variable.
31965         (vpath): Use $(abilist-pattern) in place of %.abilist.
31966         (check-abi-% pattern rule): Likewise.
31967         (check-abi, update-abi): Likewise.
31969 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31973 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31975         * manual/startup.texi: Add next, previous, and top entries for
31976         the `Program Arguments' and `Environment Variables' nodes.
31978 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31980         * manual/macros.texi: Add comments before MTASC-safety macros.
31982         * manual/users.texi: Document MTASC-safety properties.
31984         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31985         (pthread_getspecific, pthread_setspecific): Format with
31986         @deftypefun, and add @safety note.
31987         * manual/signal.texi: Move comments that analyze the above
31988         functions to their home place.
31990 2014-02-03  Allan McRae  <allan@archlinux.org>
31992         * po/sl.po: Update Slovenian translation from translation project.
31994 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31996         * manual/time.texi (timegm): Add missing blank after @c.
31997         Reported by Joseph Myers <joseph@codesourcery.com>.
31999 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32001         * manual/check-safety.sh: New.
32002         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32004         * manual/terminal.texi: Document MTASC-safety properties.
32006         * manual/filesys.texi: Document MTASC-safety properties.
32008         * manual/errno.texi: Document MTASC-safety properties.
32010         * manual/intro.texi: Document safety identifiers and
32011         conditionals.
32013         * manual/string.texi (wcstok): Fix prototype.
32014         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32016         * manual/time.texi: Document MTASC-safety properties.
32018         * manual/string.texi: Document MTASC-safety properties.
32020         * manual/threads.texi: Document MTASC-safety properties.
32022         * manual/stdio.texi: Document MTASC-safety properties.
32024         * manual/syslog.texi: Document MTASC-safety properties.
32026         * manual/sysinfo.texi: Document MTASC-safety properties.
32028         * manual/startup.texi: Document MTASC-safety properties.
32030         * manual/socket.texi: Document MTASC-safety properties.
32032         * manual/signal.texi: Document MTASC-safety properties.
32034 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32036         * manual/setjmp.texi: Document MTASC-safety properties.
32038         * manual/search.texi: Document MTASC-safety properties.
32040         * manual/resource.texi: Document MTASC-safety properties.
32042         * manual/process.texi: Document MTASC-safety properties.
32044         * manual/platform.texi: Document MTASC-safety properties.
32046         * manual/pipe.texi: Document MTASC-safety properties.
32048         * manual/pattern.texi: Document MTASC-safety properties.
32050         * manual/message.texi: Document MTASC-safety properties.
32052         [BZ #12751]
32053         * manual/memory.texi: Document MTASC-safety properties.
32055         * manual/math.texi: Document MTASC-safety properties.
32057         * manual/locale.texi: Document MTASC-safety properties.
32059         * manual/llio.texi: Document MTASC-safety properties.
32061         * manual/libdl.texi: New.
32063         * manual/lang.texi: Document MTASC-safety properties.
32065         * manual/job.texi: Document MTASC-safety properties.
32067         * manual/getopt.texi: Document MTASC-safety properties.
32069         * manual/ctype.texi: Document MTASC-safety properties.
32071 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32073         [BZ #16046]
32074         * csu/libc-tls.c (static_map): Remove variable.
32075         (__libc_setup_tls): Use main executable's link map for TLS data.
32076         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32077         casing for LM_ID_BASE and GL(dl_nns).
32078         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32079         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32080         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32081         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32082         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32083         member.
32084         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32085         l_phnum members.
32087 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32089         * manual/debug.texi: Document MTASC-safety properties.
32091 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32093         [BZ #16510]
32094         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32095         of __x86_64__ when disabling x87 inline functions.
32097 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32099         * manual/charset.texi: Document MTASC-safety properties.
32101         * manual/crypt.texi: Document MTASC-safety properties.
32103         * manual/conf.texi: Document MTASC-safety properties.
32105         * manual/arith.texi: Document MTASC-safety properties.
32107         * manual/argp.texi: Document MTASC-safety properties.
32109         * manual/macros.texi: Introduce macros to document multi
32110         thread, asynchronous signal and asynchronous cancellation
32111         safety properties.
32112         * manual/intro.texi: Introduce the properties themselves.
32114 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32116         * sysdeps/sh/sh4/Makefile: New file.
32118 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32120         * math/gen-libm-test.pl ($srcdir): New variable.
32121         ($auto_input): Use it.
32123 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32125         [BZ #16506]
32126         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32127         access beyond array bounds when parsing netgroups file.
32129         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32130         the old buffer before realloc.
32132 2014-01-27  Allan McRae  <allan@archlinux.org>
32134         * po/fr.po: Update French translation from translation project.
32136 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32138         * sysdeps/sh/libm-test-ulps: Regenerate.
32140 2014-01-24  David S. Miller  <davem@davemloft.net>
32142         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32144 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32147         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32149 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32151         [BZ #16474]
32152         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32153         string pointers after reallocation.
32155 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32157         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32158         __SH4A__ instead of __SH_FPU_ANY__.
32160 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32162         * sysdeps/sh/fpu_control.h: New file.
32163         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32164         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32165         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32166         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32167         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32168         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32169         * sysdeps/sh/sys/ucontext.h: Remove.
32170         * sysdeps/sh/sys: Remove directory.
32172 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32174         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32175         s390/sys/ucontext.h.
32176         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32179 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32181         [BZ #15605]
32182         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32184 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32186         [BZ#16431]
32187         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32188         Adjust the vDSO correctly for internal calls.
32189         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32191 2014-01-20  Allan McRae  <allan@archlinux.org>
32193         * po/ca.po: Update Catalan translation from translation project.
32195 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32197         * sysdeps/s390/sotruss-lib.c: New file.
32199 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32201         [BZ#16430]
32202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32203         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32204         local calls issues by not having a PLT stub required for IFUNC calls.
32205         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32207 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32209         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32210         * math/test-fpucw-static.c: Likewise.
32212 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32214         [BZ #16453]
32215         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32217 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32219         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32220         implementation for powerpc.
32222 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32224         [BZ #14782]
32225         * sysdeps/posix/system.c (__libc_system): Do not enable
32226         asynchronous cancellation.
32228 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32230         [BZ #16427]
32231         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32232         handling only for numbers special also in the IEEE case.
32234 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32236         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32238 2014-01-11  Allan McRae  <allan@archlinux.org>
32240         * po/bg.po: Update Bulgarian translation from translation project.
32242         * po/de.po: Update German translation from translation project.
32244 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32246         * sysdeps/generic/gcc-compat.h: New file.
32248 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32250         * benchtests/asin-inputs: Correct slow inputs.
32251         * benchtests/acos-inputs: Likewise.
32253 2014-01-10  Allan McRae  <allan@archlinux.org>
32255         * po:sv.po: Update Swedish translation from translation project.
32257         * po/vi.po: Update Vietnamese translation from translation project.
32259         * po/eo.po: Update Esperanto translation from translation project.
32261         * po/cs.po: Update Czech translation from translation project.
32263         * po/nl.po: Update Dutch translation from translation project.
32265         * po/pl.po: Update Polish translation from translation project.
32267         * po/ru.po: Update Russian translation from translation project.
32269         * po/uk.po: Update Ukrainian translation from translation project.
32271 2014-01-08  Brooks Moses  <bmoses@google.com>
32273         * elf/dl-load.c: Fix comment typo.
32275 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32277         * po/header.pot: Rename to...
32278         * po/pot.header: ... this.
32279         * po/Makefile: Use pot.header.
32281 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32282             Maxim Kuvyrkov  <maxim@kugelworks.com>
32284         [BZ #16394]
32285         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32286         SRC and DEST against LEN.
32288 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32290         [BZ #16414]
32291         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32292         implementation.
32293         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32295 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32299 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32301         [BZ #16408]
32302         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32303         for large positive arguments.
32305 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32307         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32309         * math/auto-libm-test-in: Mark various tests with
32310         xfail-rounding:ldbl-128ibm.
32311         * math/auto-libm-test-out: Regenerated.
32313         [BZ #16407]
32314         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32315         Increase overflow threshold.
32317 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32319         [BZ #14286]
32320         * stdio-common/vfprintf.c: Check for integer overflow.
32322 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32324         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32325         the first argument and return value of __tls_get_addr_internal.
32327 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32329         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32330         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32332 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32334         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32335         * sysdeps/s390/rtld-global-offsets.sym: New file.
32336         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32337         GLIBC_2.19 symbol.
32338         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32339         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32340         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32341         ... this.
32342         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32343         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32344         ... this.
32345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32346         Regenerate.
32347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32348         Regenerate.
32349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32350         halfs of GPRs for high_gprs contexts.
32351         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32352         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32353         field.
32354         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32355         uc_flags field.
32356         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32357         64 bit versions:
32358         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32359         for high GPRs (uc_high_gprs) and for future extensions
32360         (__reserved).
32361         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32362         for future extensions (__reserved).
32363         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32364         64 bit versions:
32365         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32366         SC_HIGHGPRS offset definition.
32367         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32368         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32370         * Versions.def: Add GLIBC_2.19 for libpthread.
32371         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32372         siglongjmp for libpthread with GLIBC_2.19 symver.
32373         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32374         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32375         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32376         * sysdeps/s390/__longjmp.c: New file.
32377         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32378         * sysdeps/s390/longjmp.c: New file.
32379         * sysdeps/s390/setjmp.S: New file.
32380         * sysdeps/s390/sigjmp.S: New file.
32381         * sysdeps/s390/v1-longjmp.c: New file.
32382         * sysdeps/s390/v1-setjmp.h: New file.
32383         * sysdeps/s390/v1-sigjmp.c: New file.
32384         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32385         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32386         GLIBC_2.19 version.
32387         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32388         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32389         versioned symbols for ____longjmp_chk.
32390         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32391         Likewise.
32392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32393         Regenerate.
32394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32395         Regenerate.
32396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32397         Regenerate.
32398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32399         Regenerate.
32400         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32401         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32402         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32403         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32404         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32405         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32406         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32407         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32408         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32409         * sysdeps/s390/rtld-__longjmp.c: New file.
32410         * sysdeps/s390/rtld-setjmp.S: New file.
32412 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32414         [BZ #16400]
32415         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32416         Return -__logl (x) for small positive arguments without evaluating
32417         a polynomial.
32419 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32421         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32422         Rename to ...
32423         (__ptrace_peeksiginfo_args): ... this.
32424         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32425         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32428 2014-01-06  Allan McRae  <allan@archlinux.org>
32430         * inet/netinet/in.h: Fix typo in comment.
32432 2014-01-05  Andreas Jaeger  <aj@suse.de>
32434         * sysdeps/i386/fpu/libm-test-ulps: Update.
32436 2014-01-05  Allan McRae  <allan@archlinux.org>
32438         * po/libc.pot: Regenerated.
32440         * malloc/memusagestat.c: Fix gettext call formatting.
32442 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32444         * nscd/nscd.c: Improve usage() output.
32446 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32448         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32449         * sysdeps/unix/sysv/linux/configure: Regenerated.
32450         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32451         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32453 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32455         [BZ #16390]
32456         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32457         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32459 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32462         extra tokens at end of #undef directive.
32463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32464         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32465         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32467 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32469         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32471         * math/auto-libm-test-in: Mark various tests with
32472         xfail-rounding:ldbl-128ibm.
32473         * math/auto-libm-test-out: Regenerated.
32475 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32477         [BZ #16386]
32478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32479         numbers with subnormal high part when calculating exponent.
32481         [BZ #16385]
32482         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32483         fabs.
32485         [BZ #16384]
32486         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32487         M_LN2l.
32488         (__ieee754_acoshl): Use __log1pl not __log1p.
32490 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32492         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32493         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32494         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32495         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32496         (reused_arena, arena_get2): Convert to GNU style.
32497         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32498         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32499         (memalign_check, __malloc_set_state): Likewise.
32500         * malloc/mallocbug.c (main): Likewise.
32501         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32502         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32503         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32504         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32505         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32506         (__posix_memalign, malloc_info): Likewise.
32507         * malloc/malloc.h: Likewise.
32508         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32509         (mallochook, memalignhook, reallochook, mabort): Likewise.
32510         * malloc/mcheck.h: Likewise.
32511         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32512         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32513         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32514         * malloc/morecore.c (__default_morecore): Likewise.
32515         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32516         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32517         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32518         (print_and_abort): Likewise.
32519         * malloc/obstack.h: Likewise.
32520         * malloc/set-freeres.c (__libc_freeres): Likewise.
32521         * malloc/tst-mallocstate.c (main): Likewise.
32522         * malloc/tst-mtrace.c (main): Likewise.
32523         * malloc/tst-realloc.c (do_test): Likewise.
32525 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32527         [BZ #16366]
32528         * nscd/netgroupcache.c (do_notfound): New function.
32529         (addgetnetgrentX): Use it.
32531         [BZ # 16365]
32532         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32533         NSS_STATUS_NOTFOUND.
32535 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32537         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32540 2014-01-01  Allan McRae  <allan@archlinux.org>
32542         * scripts/update-copyrights: Update configure input file suffix.
32544         * NEWS: Update copyright year.
32545         * catgets/gencat.c: Likewise.
32546         * csu/version.c: Likewise.
32547         * debug/catchsegv.sh: Likewise.
32548         * debug/pcprofiledump.c: Likewise.
32549         * debug/xtrace.sh: Likewise.
32550         * elf/ldconfig.c: Likewise.
32551         * elf/ldd.bash.in: Likewise.
32552         * elf/pldd.c: Likewise.
32553         * elf/sotruss.ksh: Likewise.
32554         * elf/sprof.c: Likewise.
32555         * iconv/iconv_prog.c: Likewise.
32556         * iconv/iconvconfig.c: Likewise.
32557         * locale/programs/locale.c: Likewise.
32558         * locale/programs/localedef.c: Likewise.
32559         * login/programs/pt_chown.c: Likewise.
32560         * malloc/memusage.sh: Likewise.
32561         * malloc/memusagestat.c: Likewise.
32562         * malloc/mtrace.pl: Likewise.
32563         * manual/libc.texinfo: Likewise.
32564         * nscd/nscd.c: Likewise.
32565         * nss/getent.c: Likewise.
32566         * nss/makedb.c: Likewise.
32567         * posix/getconf.c: Likewise.
32568         * scripts/test-installation.pl: Likewise.
32570         * All files with FSF copyright notices: Update copyright dates
32571         using scripts/update-copyrights.
32572         * intl/plural.c: Regenerated.
32573         * locale/programs/charmap-kw.h: Likewise.
32574         * locale/programs/locfile-kw.h: Likewise.
32576 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32578         * sysdeps/unix/sysv/linux/configure: Regenerated.
32579         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32580         the linux/fanotify.h header.
32581         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32582         HAVE_LINUX_FANOTIFY_H is defined.
32584 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32586         * benchtests/cos-inputs: New inputs.
32587         * benchtests/sin-inputs: Likewise.
32589         * benchtests/atan-inputs: New inputs. Fix name of multiple
32590         precision fallback inputs.
32592         * benchtests/atanh-inputs: New inputs.
32593         * benchtests/tanh-inputs: Likewise.
32595         * benchtests/acosh-inputs: New inputs.
32596         * benchtests/asinh-inputs: Likewise.
32598         * benchtests/cosh-inputs: New inputs.
32599         * benchtests/sinh-inputs: Likewise.
32601         * benchtests/acos-inputs: Add more inputs.
32602         * benchtests/asin-inputs: Likewise.
32604 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32606         [BZ #16375]
32607         * manual/arith.texi: Fix spelling.
32608         * manual/charset.texi: Likewise.
32609         * manual/errno.texi: Likewise.
32610         * manual/filesys.texi: Likewise.
32611         * manual/lang.texi: Likewise.
32612         * manual/llio.texi: Likewise.
32613         * manual/locale.texi: Likewise.
32614         * manual/message.texi: Likewise.
32615         * manual/resource.texi: Likewise.
32616         * manual/search.texi: Likewise.
32617         * manual/setjmp.texi: Likewise.
32618         * manual/stdio.texi: Likewise.
32619         * manual/string.texi: Likewise.
32620         * manual/sysinfo.texi: Likewise.
32621         * manual/time.texi: Likewise.
32623 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32625         * po/sl.po: New file.
32627 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32629         * .gitignore: Add core/.gdbinit/.gdb_history.
32631 2013-12-27  Allan McRae  <allan@archlinux.org>
32633         [BZ #16369]
32634         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32635         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32637 2013-12-24  Brooks Moses  <bmoses@google.com>
32639         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32640         all compilers that claim C++98 compliance, not just GCC.
32641         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32642         Likewise.
32644 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32646         * NEWS: Restore accidentally deleted bug-fix entries.
32648 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32649             Ondřej Bílka  <neleai@seznam.cz>
32651         [BZ #15073]
32652         * malloc/malloc.c (_int_free): Perform sanity check only if we
32653         have_lock.
32655 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32657         [BZ #12986]
32658         * manual/stdio.texi (String Input Conversions): Clarify that character
32659         classes are not supported.
32661 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32665 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32667         [BZ #16337]
32668         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32669         Calculate results for small negative arguments directly rather
32670         than using reflection formula with special underflow handling.
32672         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32673         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32674         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32675         (fchflags): Likewise.
32676         (revoke): Likewise.
32677         (setlogin): Likewise.
32678         (sigaltstack): Likewise.
32679         (wait4): Likewise.
32680         (sigblock): Remove.
32681         (sigsetmask): Likewise.
32682         (wait3): Likewise.
32683         (waitpid): Likewise.
32684         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32685         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32686         file.
32687         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32688         * sysdeps/unix/bsd/Makefile: ... here.
32689         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32690         * sysdeps/unix/bsd/Versions: ... here.
32691         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32692         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32693         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32694         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32695         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32696         * sysdeps/unix/bsd/sigblock.c: ... here.
32697         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32698         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32699         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32700         * sysdeps/unix/bsd/sigvec.c: ... here.
32701         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32702         * sysdeps/unix/bsd/tcdrain.c: ... here.
32703         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32704         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32705         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32706         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32707         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32708         * sysdeps/unix/bsd/wait.c: ... here.
32709         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32710         * sysdeps/unix/bsd/wait3.c: ... here.
32711         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32712         * sysdeps/unix/bsd/waitpid.c: ... here.
32714 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32716         [BZ #16356]
32717         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32718         round-to-nearest for [!USE_AS_EXPM1L].
32719         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32720         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32721         more tests of exp and exp10.  Expect some exp10 tests to miss
32722         exceptions or fail in directed rounding modes.
32723         * math/auto-libm-test-out: Regenerated.
32724         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32725         (exp10_test_tonearest): New function.
32726         (exp10_towardzero_test_data): New array.
32727         (exp10_test_towardzero): New function.
32728         (exp10_downward_test_data): New array.
32729         (exp10_test_downward): New function.
32730         (exp10_upward_test_data): New array.
32731         (exp10_test_upward): New function.
32732         (main): Call the new functions.
32733         * sysdeps/i386/fpu/libm-test-ulps: Update.
32734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32736 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32738         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32739         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32740         * math/auto-libm-test-out: Regenerated.
32741         * math/libm-test.inc (acosh_test_data): Add more tests.
32742         (atanh_test_data): Likewise.
32743         (ceil_test_data): Likewise.
32744         (copysign_test_data): Likewise.
32745         * sysdeps/i386/fpu/libm-test-ulps: Update.
32746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32748         * timezone/checktab.awk: Update from tzcode 2013i.
32749         * timezone/private.h: Likewise.
32750         * timezone/scheck.c: Likewise.
32751         * timezone/tzfile.h: Likewise.
32752         * timezone/tzselect.ksh: Likewise.
32753         * timezone/zdump.c: Likewise.
32754         * timezone/zic.c: Likewise.
32756         * math/auto-libm-test-in: Add tests of cpow.
32757         * math/auto-libm-test-out: Regenerated.
32758         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32759         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32760         mpc_cc_c.
32761         (func_calc_desc): Add mpc_cc_c union field.
32762         (test_functions): Add cpow.
32763         (special_fill_2pi): New function.
32764         (special_real_inputs): Add 2pi.
32765         (calc_generic_results): Handle mpc_cc_c.
32766         * sysdeps/i386/fpu/libm-test-ulps: Update.
32767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32769         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32770         csqrt, ctan and ctanh.
32771         * math/auto-libm-test-out: Regenerated.
32772         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32773         (TEST_COND_x86): Likewise.
32774         (ccos_test_data): Use AUTO_TESTS_c_c.
32775         (ccosh_test_data): Likewise.
32776         (cexp_test_data): Likewise.
32777         (clog_test_data): Likewise.
32778         (csqrt_test_data): Likewise.
32779         (ctan_test_data): Likewise.
32780         (ctan_tonearest_test_data): Likewise.
32781         (ctan_towardzero_test_data): Likewise.
32782         (ctan_downward_test_data): Likewise.
32783         (ctan_upward_test_data): Likewise.
32784         (ctanh_test_data): Likewise.
32785         (ctanh_tonearest_test_data): Likewise.
32786         (ctanh_towardzero_test_data): Likewise.
32787         (ctanh_downward_test_data): Likewise.
32788         (ctanh_upward_test_data): Likewise.
32789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32790         mpc_c_c.
32791         (func_calc_desc): Add mpc_c_c union field.
32792         (FUNC_mpc_c_c): New macro.
32793         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32794         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32795         ctanh.
32796         (special_fill_min_subnorm_p120): New function.
32797         (special_real_inputs): Add min_subnorm_p120.
32798         (calc_generic_results): Handle mpc_c_c.
32799         * sysdeps/i386/fpu/libm-test-ulps: Update.
32800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32802 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32804         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32805         (do_sin_slow): New functions.
32806         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32807         (cslow2, csloww1, csloww2): Use the new functions.
32809         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32810         Use M to change sign of result instead of X.  Assume X is
32811         positive.
32812         (csloww1): Likewise.
32813         (__sin): Adjust.
32814         (__cos): Adjust.
32816         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32817         arguments A and DA.
32818         (__sin): Adjust.
32819         (__cos): Likewise.
32821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32822         (__cos): Likewise.
32823         (sloww1): Don't adjust sign of DX.
32824         (csloww1): Likewise.
32825         (sloww2): Use X directly and don't adjust sign of DX.
32826         (csloww2): Likewise.
32828 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32830         * math/auto-libm-test-in: Add tests of cabs and carg.
32831         * math/auto-libm-test-out: Regenerated.
32832         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32833         (carg_test_data): Likewise.
32834         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32835         mpc_c_f.
32836         (func_calc_desc): Add mpc_c_f union field.
32837         (test_functions): Add cabs and carg.
32838         (calc_generic_results): Handle mpc_c_f.
32840         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32841         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32842         as a macro and a compat symbol.
32843         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32844         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32845         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32846         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32847         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32849         not use .hidden.
32850         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32851         Likewise.
32852         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32853         Likewise.
32854         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32855         Likewise.
32856         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32857         Likewise.
32858         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32859         Likewise.
32860         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32861         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32862         from GLIBC_2.3.2.
32864 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32868 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32870         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32871         trailing whitespace removed.
32872         * scripts/config.guess: Update to version 2013-11-29.
32873         * scripts/config.sub: Update to version 2013-10-01.
32875         * math/auto-libm-test-in: Add tests of sincos.
32876         * math/auto-libm-test-out: Regenerated.
32877         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32878         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32879         mpfr_f_11.
32880         (func_calc_desc): Add mpfr_f_11 union field.
32881         (test_functions): Add sincos.
32882         (calc_generic_results): Handle mpfr_f_11.
32883         * sysdeps/i386/fpu/libm-test-ulps: Update.
32884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32886 2013-12-19  Andreas Schwab  <schwab@suse.de>
32888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32889         CALL_MCOUNT.
32890         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32892         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32894 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32896         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32897         * sysdeps/i386/fpu/libm-test-ulps: Update.
32898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32900         [BZ #16293]
32901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32902         round-to-nearest mode when using frndint.
32903         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32904         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32906         Likewise.
32907         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32908         sinh test to fail.
32909         * math/auto-libm-test-out: Regenerated.
32910         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32911         (TEST_COND_x86): Likewise.
32912         (expm1_tonearest_test_data): New array.
32913         (expm1_test_tonearest): New function.
32914         (expm1_towardzero_test_data): New array.
32915         (expm1_test_towardzero): New function.
32916         (expm1_downward_test_data): New array.
32917         (expm1_test_downward): New function.
32918         (expm1_upward_test_data): New array.
32919         (expm1_test_upward): New function.
32920         (main): Run the new test functions.
32921         * sysdeps/i386/fpu/libm-test-ulps: Update.
32922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32924         * include/features.h: Update comment documenting feature test
32925         macros.  Mention _DEFAULT_SOURCE in comment.
32926         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32927         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32928         _BSD_SOURCE and _SVID_SOURCE.
32929         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32930         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32931         !_SVID_SOURCE]: Likewise.
32932         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32933         (__USE_POSIX_IMPLICITLY): Define.
32934         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32935         (_POSIX_SOURCE): Undefine and redefine.
32936         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32937         (_POSIX_C_SOURCE): Likewise.
32938         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32939         (Feature Test Macros): Update documentation of default features.
32941 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32943         * benchtests/Makefile: Add bench-strtok.
32944         * benchtests/bench-strtok.c: New file: strtok benchtest.
32946 2013-12-19  Allan McRae  <allan@archlinux.org>
32948         * manual/install.texi: Suppress menu for plain text output.
32949         * INSTALL: Regenerated.
32951 2013-12-18  Brooks Moses  <bmoses@google.com>
32953         [BZ #15846]
32954         * misc/getauxval.c: Include errno.h.
32955         (__getauxval): Set errno to ENOENT if the requested type is not
32956         found.
32957         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32958         don't declare with __attribute_const__.
32959         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32960         * manual/startup.texi: Document that getauxval sets errno.
32962 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32964         * math/auto-libm-test-in: Add tests of jn and yn.
32965         * math/auto-libm-test-out: Regenerated.
32966         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32967         (yn_test_data): Likewise.
32968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32969         mpfr_if_f.
32970         (func_calc_desc): Add mpfr_if_f union field.
32971         (FUNC_mpfr_if_f): New macro.
32972         (test_functions): Add jn and yn.
32973         (calc_generic_results): Assert type of second input for
32974         mpfr_ff_f.  Handle mpfr_if_f.
32975         (output_for_one_input_case): Disable all checking for arguments
32976         fitting floating-point types in case of an integer argument.
32977         * sysdeps/i386/fpu/libm-test-ulps: Update.
32978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32981         Don't expect fegetround reference in libm.so.
32983 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32985         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32986         $(config-cflags-nofma).
32988 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32990         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32991         * math/auto-libm-test-out: Regenerated.
32993         [BZ #16338]
32994         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32995         to determine exponent and adjust argument to have exponent of -1.
32996         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32997         log2.
32998         * math/auto-libm-test-out: Regenerated.
32999         * sysdeps/i386/fpu/libm-test-ulps: Update.
33000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33002 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33004         * manual/probes.texi: Remove cases when per-thread arenas are
33005         disabled.
33007 2013-12-18  Andreas Schwab  <schwab@suse.de>
33009         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33010         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33011         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33012         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33013         * sysdeps/i386/i686/multiarch/Makefile: Update.
33014         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33016 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33018         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33019         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33021 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33023         [BZ #15968]
33024         Support TZ transition times < 00:00:00.
33025         This is needed for version-3 tz-format files; it supports time
33026         stamps past 2037 for America/Godthab (the only entry in the tz
33027         database for which this change is relevant).
33028         * manual/time.texi (TZ Variable): Document transition times
33029         from -167:59:59 through -00:00:01.
33030         * time/tzset.c (tz_rule): Time of day is now signed.
33031         (__tzset_parse_tz): Parse negative time of day.
33033         Document TZ transition times >= 25:00:00.
33034         * manual/time.texi (TZ Variable): Document transition times from
33035         25:00:00 through 167:59:59.  These are already supported, and this
33036         support will help with version-3 tz-format files.
33038         * manual/time.texi (TZ Variable): Modernize North America example
33039         to reflect current (i.e., 2007-and-later) daylight saving rules.
33041         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33043 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33045         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33046         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33047         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33049         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33050         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33051         * sysdeps/unix/bsd/clock.c: Likewise.
33052         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33053         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33054         * sysdeps/unix/bsd/init-posix.c: Likewise.
33055         * sysdeps/unix/bsd/poll.c: Likewise.
33056         * sysdeps/unix/bsd/ptsname.c: Likewise.
33057         * sysdeps/unix/bsd/seekdir.c: Likewise.
33058         * sysdeps/unix/bsd/setegid.c: Likewise.
33059         * sysdeps/unix/bsd/seteuid.c: Likewise.
33060         * sysdeps/unix/bsd/setgid.c: Likewise.
33061         * sysdeps/unix/bsd/setrgid.c: Likewise.
33062         * sysdeps/unix/bsd/setruid.c: Likewise.
33063         * sysdeps/unix/bsd/setsid.c: Likewise.
33064         * sysdeps/unix/bsd/setuid.c: Likewise.
33065         * sysdeps/unix/bsd/sigaction.c: Likewise.
33066         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33067         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33068         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33069         * sysdeps/unix/bsd/telldir.c: Likewise.
33070         * sysdeps/unix/bsd/times.c: Likewise.
33071         * sysdeps/unix/bsd/usleep.c: Likewise.
33073         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33074         ($(objpfx)libbsd-compat.a): Remove rule.
33076         * include/features.h (__FAVOR_BSD): Do not define.
33077         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33078         features conflicting with POSIX.
33079         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33080         (_BSD_SOURCE): Remove description of not being a subset of other
33081         feature test macros.
33082         * manual/job.texi (getpgrp): Do not document BSD version.
33083         (getpgid): Do not document by reference to BSD getpgrp.
33084         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33085         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33086         * signal/signal.h [__FAVOR_BSD]: Likewise.
33087         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33088         instead of making contents conditional on [__FAVOR_BSD].
33089         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33091 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33095 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33097         [BZ #16314]
33098         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33099         values below 2**-450, not 2**-500.
33100         * math/auto-libm-test-in: Don't allow spurious underflow from
33101         hypot.
33102         * math/auto-libm-test-out: Regenerated.
33104         [BZ #16316]
33105         [BZ #16330]
33106         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33107         values of ha and hb and sort them after adjusting subnormal
33108         arguments.
33109         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33110         Likewise.
33111         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33112         values of ea and eb and sort them after adjusting subnormal
33113         arguments.
33114         * math/auto-libm-test-in: Do not expect some hypot tests of
33115         subnormals to fail.  Add more hypot tests.
33116         * math/auto-libm-test-out: Regenerated.
33118 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33120         [BZ #13304]
33121         * sysdeps/sh/s_fma.c: New file.
33122         * sysdeps/sh/s_fmaf.c: New file.
33123         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33124         version.
33125         * sysdeps/sh/Implies: Add sh/soft-fp.
33127 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33129         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33130         level of indirection to members `objname', `errstring', `malloced'.
33131         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33132         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33133         it as the __longjmp argument (just pass 1 instead).
33134         (_dl_catch_error): Initialize C with argument pointers and address of
33135         volatile local ERRCODE rather than copying values out of C at return.
33137 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33139         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33140         * math/auto-libm-test-out: Regenerated.
33141         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33142         (hypot_test_data): Likewise.
33143         (pow_test_data): Likewise.
33144         (pow_tonearest_test_data): Likewise.
33145         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33146         mpfr_ff_f.
33147         (func_calc_desc): Add mpfr_ff_f union field.
33148         (FUNC_mpfr_ff_f): New macro.
33149         (test_functions): Add atan2, hypot and pow.
33150         (special_fill_min): New function.
33151         (special_fill_minus_min): Likewise.
33152         (special_fill_min_subnorm): Likewise.
33153         (special_fill_minus_min_subnorm): Likewise.
33154         (special_real_inputs): Add min, -min, min_subnorm and
33155         -min_subnorm.
33156         (calc_generic_results): Handle mpfr_ff_f.
33157         * sysdeps/i386/fpu/libm-test-ulps: Update.
33158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33160 2013-12-16  Will Newton  <will.newton@linaro.org>
33162         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33163         (Aligned Memory Blocks): Add documentation for aligned_alloc
33164         and suggest it as an alternative to posix_memalign.
33165         (Hooks for Malloc): Document __memalign_hook is also called
33166         for aligned_alloc.  (Summary of Malloc): Add summary for
33167         aligned alloc.  Document __memalign_hook is also called
33168         for aligned_alloc.
33170 2013-12-16  Will Newton  <will.newton@linaro.org>
33172         * manual/memory.texi (Malloc Examples): Clarify default
33173         alignment documentation.  Suggest posix_memalign rather
33174         than memalign or valloc.
33175         (Aligned Memory Blocks): Remove suggestion to use memalign
33176         or valloc.  Remove obsolete comment about BSD.
33177         Document memalign errno values and mark the function obsolete.
33178         Document posix_memalign returned error codes.  Mark valloc
33179         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33180         called for posix_memalign and valloc.
33181         (Summary of Malloc): Add posix_memalign to function summary.
33182         __memalign_hook is also called for posix_memalign and valloc.
33184 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33186         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33187         TAYLOR_SIN.
33188         (__sin): Adjust.
33189         (__cos): Likewise.
33190         (sloww): Use mynumber union.  Expand ternary operator into
33191         if-else statements.
33192         (cslow): use mynumber union.
33194 2013-12-16  Allan McRae  <allan@archlinux.org>
33196         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33197         * configure: Regenerated.
33199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33201         [BZ #14120]
33202         * configure.ac: Added --enable-maintainer-mode. Check for
33203         autoconf when enabled.
33204         * configure: Regenerated.
33206         * nscd/nscd.service: New file.
33207         * nscd/nscd.tmpfiles: New file.
33209 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33211         [BZ #12100]
33212         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33213         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33214         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33215         (strstr): Add __strstr_sse2_unaligned ifunc.
33216         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33217         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33218         (strcasestr): Remove __strcasestr_sse42 ifunc.
33219         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33223 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33225         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33226         * sysdeps/sh/bits/fenv.h: ... here.
33227         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33229 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33231         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33234         hypotf multiarch implementations.
33235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33238         multiarch hypot for PPC64.
33239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33240         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33241         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33242         multiarch hypotf for PPC64.
33244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33245         modff multiarch implementations.
33246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33249         multiarch modf for PPC64.
33250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33253         multiarch modff for PPC64.
33255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33256         and logl multiarch implementations.
33257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33260         multiarch logb for PPC64.
33261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33264         multiarch logb for PPC64.
33265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33268         multiarch logb for PPC64.
33270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33271         isinff multiarch implementation.
33272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33273         file.
33274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33276         multiarch isinf for PPC64.
33277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33278         file.
33279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33280         multiarch isinff for PPC64.
33282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33283         finitef multiarch implementation.
33284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33285         file.
33286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33288         multiarch finite for PPC64.
33289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33290         file.
33291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33292         multiarch finitef for PPC64.
33294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33295         lrint multiarch implementation.
33296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33297         file.
33298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33300         multiarch llrint for PPC64.
33301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33302         multiarch lrint for PPC64.
33304         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33305         copysignf multiarch implementation.
33306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33307         file.
33308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33309         file.
33310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33311         multiarch copysign for PPC64.
33312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33313         multiarch copysignf for PPC64.
33315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33316         multiarch implementation.
33317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33318         file.
33319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33320         file.
33321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33322         file.
33323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33324         file.
33325         multiarch llround for PPC64.
33326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33327         multiarch trunc for PPC64.
33328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33329         multiarch truncf for PPC64.
33331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33332         multiarch implementation.
33333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33334         file.
33335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33336         file.
33337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33338         file.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33340         file.
33341         multiarch llround for PPC64.
33342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33343         multiarch round for PPC64.
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33345         multiarch roundf for PPC64.
33347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33348         multiarch implementation.
33349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33350         file.
33351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33352         file.
33353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33354         file.
33355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33356         file.
33357         multiarch llround for PPC64.
33358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33359         multiarch floor for PPC64.
33360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33361         multiarch floorf for PPC64.
33363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33364         multiarch implementation.
33365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33366         file.
33367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33368         file.
33369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33370         file.
33371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33372         file.
33373         multiarch llround for PPC64.
33374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33375         multiarch ceil for PPC64.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33377         multiarch ceilf for PPC64.
33379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33380         multiarch implementation.
33381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33382         file.
33383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33384         file.
33385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33386         file.
33387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33388         multiarch llround for PPC64.
33389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33390         multiarch lround for PPC64.
33392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33393         multiarch implementation.
33394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33397         file.
33398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33401         multiarch isnan for PPC64.
33402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33403         multiarch isnanf for PPC64.
33405         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33406         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33407         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33408         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33409         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33412         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33413         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33414         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33418         multiarch implementations.
33419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33420         (__libc_ifunc_impl_list): Likewise.
33421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33422         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33423         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33424         multiarch stpcpy for PPC64.
33426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33427         multiarch implementations.
33428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33429         (__libc_ifunc_impl_list): Likewise.
33430         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33431         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33432         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33433         multiarch strcpy for PPC64.
33435         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33436         redefine function name.
33437         (_wordcopy_fwd_dest_aligned): Likewise.
33438         (_wordcopy_bwd_aligned): Likewise.
33439         (_wordcopy_bwd_dest_aligned): Likewise.
33440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33441         multiarch implementations.
33442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33443         (__libc_ifunc_impl_list): Likewise.
33444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33446         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33448         multiarch wcscpy for PPC64.
33450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33451         multiarch implementations.
33452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33453         (__libc_ifunc_impl_list): Likewise.
33454         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33456         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33457         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33458         multiarch wcscpy for PPC64.
33460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33461         multiarch implementations.
33462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33463         (__libc_ifunc_impl_list): Likewise.
33464         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33465         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33466         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33467         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33468         multiarch wcsrchr for PPC64.
33470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33471         multiarch implementations.
33472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33473         (__libc_ifunc_impl_list): Likewise.
33474         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33475         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33476         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33477         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33478         multiarch wcschr for PPC64.
33480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33481         multiarch implementations.
33482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33483         (__libc_ifunc_impl_list): Likewise.
33484         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33485         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33486         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33487         multiarch strchrnul for PPC64.
33489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33490         implementations.
33491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33492         (__libc_ifunc_impl_list): Likewise.
33493         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33494         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33495         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33496         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33497         strchr for PPC64.
33499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33500         implementations.
33501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33502         (__libc_ifunc_impl_list): Likewise.
33503         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33504         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33505         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33506         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33507         strncmp for PPC64.
33509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33510         multiarch implementations.
33511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33512         (__libc_ifunc_impl_list): Likewise.
33513         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33514         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33515         strncasecmp for PPC64.
33516         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33517         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33518         multiarch strncasecmp_l for PPC64.
33520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33521         multiarch implementations.
33522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33523         (__libc_ifunc_impl_list): Likewise.
33524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33526         multiarch strcasecmp for PPC64.
33527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33528         file.
33529         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33530         multiarch strcasecmp_l for PPC64.
33532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33533         implementations.
33534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33535         (__libc_ifunc_impl_list): Likewise.
33536         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33537         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33538         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33539         strnlen for PPC64.
33541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33542         implementations.
33543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33544         (__libc_ifunc_impl_list): Likewise.
33545         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33546         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33547         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33548         strlen for PPC64.
33550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33551         implementations.
33552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33553         (__libc_ifunc_impl_list): Likewise.
33554         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33555         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33556         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33557         rawmemrchr for PPC64.
33559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33560         implementation.
33561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33562         (__libc_ifunc_impl_list): Likewise.
33563         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33564         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33565         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33566         memrchr for PPC64.
33568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33569         implementation.
33570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33571         (__libc_ifunc_impl_list): Likewise.
33572         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33573         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33574         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33575         memchr for PPC64.
33577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33578         implementation.
33579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33580         (__libc_ifunc_impl_list): Likewise.
33581         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33582         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33583         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33584         mempcpy for PPC64.
33586         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33587         avoid cretion of __bzero symbol.
33588         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33589         Likewise.
33590         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33591         Likewise.
33592         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33593         Likewise.
33594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33595         multiarch implementations.
33596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33597         (__libc_ifunc_impl_list): Likewise.
33598         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33599         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33600         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33601         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33602         bzero for PPC32.
33603         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33604         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33605         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33606         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33607         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33608         memset for PPC64.
33609         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33611         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33613         implementations.
33614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33615         (__libc_ifunc_impl_list): Likewise.
33616         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33617         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33618         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33619         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33620         memcmp for PPC64.
33622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33623         multiarch for POWER/PPC64.
33624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33625         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33631         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33632         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33633         memcpy for PPC64.
33635         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33636         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33637         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33638         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33639         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33640         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33641         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33642         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33643         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33644         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33645         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33646         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33647         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33648         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33649         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33658 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33660         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33662 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33664         * benchtests/Makefile (bench): Add exp2 and log2.
33665         (LDLIBS-bench-exp2): Add -lm.
33666         (LDLIBS-bench-log2): Likewise.
33667         * benchtests/exp2-inputs: New inputs file.
33668         * benchtests/log2-inputs: New inputs file.
33669         * benchtests/log-inputs: Add new inputs.
33670         * benchtests/tan-inputs: Likewise.
33672 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33674         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33675         definition...
33676         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33677         (csloww2): ... from here.
33679         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33680         instead of structures.
33681         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33682         (POLYNOMIAL): Likewise.
33683         (TAYLOR_SLOW): Likewise.
33684         (__sin): Likewise.
33685         (__cos): Likewise.
33686         (slow1): Likewise.
33687         (slow2): Likewise.
33688         (sloww): Likewise.
33689         (sloww1); Likewise.
33690         (sloww2): Likewise.
33691         (bsloww1): Likewise.
33692         (bsloww2): Likewise.
33693         (cslow2): Likewise.
33694         (csloww): Likewise.
33695         (csloww1): Likewise.
33696         (csloww2): Likewise.
33698 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33700         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33701         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33702         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33703         * malloc/hooks.c (realloc_check): Likewise.
33705         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33706         * malloc/arena.c: Remove PER_THREAD conditional.
33707         [!PER_THREAD]: Remove code.
33708         (ptmalloc_unlock_all2): Likewise.
33709         (ptmalloc_init): Likewise.
33710         (_int_new_arena): Likewise.
33711         (arena_get2): Likewise.
33712         * malloc/hooks.c (__malloc_get_state): Likewise.
33713         (__malloc_set_state): Likewise.
33714         * malloc/malloc.c: Likewise.
33715         (struct malloc_state): Likewise.
33716         (struct malloc_par): Likewise.
33717         (__libc_realloc): Likewise.
33718         (__libc_mallopt): Likewise.
33720 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33722         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33724 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33726         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33727         macro to a function.  Check for zero perturb_byte.
33728         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33730         * malloc/malloc.c: (force_reg): Remove.
33731         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33732         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33733         force_reg by atomic_forced_read.
33734         * malloc/arena.c (ptmalloc_init): Likewise.
33735         * malloc/hooks.c (top_check): Likewise.
33737 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33741 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33745 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33747         * math/auto-libm-test-in: Add tests of lgamma.
33748         * math/auto-libm-test-out: Regenerated.
33749         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33750         (M_LOG_2_SQRT_PIl): Likewise.
33751         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33752         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33753         mpfr_f_f1.
33754         (func_calc_desc): Add mpfr_f_f1 union field.
33755         (ARGS1): New macro.
33756         (ARGS2): Likewise.
33757         (ARGS3): Likewise.
33758         (ARGS4): Likewise.
33759         (RET1): Likewise.
33760         (RET2): Likewise.
33761         (CALC): Likewise.
33762         (FUNC): Likewise.
33763         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33764         (test_functions): Add lgamma.
33765         (calc_generic_results): Handle mpfr_f_f1.
33766         * sysdeps/i386/fpu/libm-test-ulps: Update.
33767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33771         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33772         __mpn_add_n for PowerPC64/POWER7.
33773         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33774         __mpn_sub_n for PowerPC64/POWER7.
33776         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33777         __mpn_addmul_1 for PowerPC64.
33778         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33779         __mpn_submul_1 for PowerPC64.
33780         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33781         for PowerPC64.
33782         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33783         for PowerPC64.
33785 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33787         [BZ #15089]
33788         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33790 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33792         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33794         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33795         add multiarch folders.
33796         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33797         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33798         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33799         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33800         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33801         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33802         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33803         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33804         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33805         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33806         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33815         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33817         New file.
33818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33819         New file.
33820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33821         multiarch __ieee754_hypot for PowerPC32.
33822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33823         New file.
33824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33825         New file.
33826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33827         multiarch __ieee754_hypotf for PowerPC32.
33829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33830         long_double_symbol only if __logbl is defined.
33831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33832         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33834         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33835         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33836         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33838         path for implementation.
33839         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33842         logb, and logbl multiarch implementations for PowerPC32.
33843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33844         file.
33845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33846         file.
33847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33848         multiarch logb for PowerPC32.
33849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33850         file.
33851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33852         file.
33853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33854         multiarch logbf for PowerPC32.
33855         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33857         file.
33858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33859         multiarch logbl implementation for PowerPC32.
33861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33862         and modff multiarch implementations.
33863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33864         New file.
33865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33866         New file.
33867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33868         multiarch modf for PowerPC32.
33869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33870         New file.
33871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33872         New file.
33873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33874         multiarch modff for PowerPC32.
33876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33877         and lrintf multiarch implementations.
33878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33879         New file.
33880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33881         New file.
33882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33883         multiarch lrint for PowerPC32.
33884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33885         file: multiarch lrintf for PowerPC32.
33887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33888         and lroundf multiarch implementations.
33889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33890         New file.
33891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33892         New file.
33893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33894         New file.
33895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33896         multiarch lround for PowerPC32.
33897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33898         file: multiarch lroundf for PowerPC32.
33900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33901         copysign and copysignf multiarch implementations.
33902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33903         New file.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33905         New file.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33907         file: multiarch copysign for PowerPC32.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33909         file: multiarch copysignf for PowerPC32.
33911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33912         and truncf multiarch implementations.
33913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33914         New file.
33915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33916         file.
33917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33918         multiarch trunc for PowerPC32.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33920         New file.
33921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33922         New file.
33923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33924         multiarch truncf for PowerPC32.
33926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33927         and roundf multiarch implementations.
33928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33929         New file.
33930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33931         file.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33933         multiarch round for PowerPC32.
33934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33935         New file.
33936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33937         New file.
33938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33939         multiarch roundf for PowerPC32.
33941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33942         and floorf multiarch implementations.
33943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33944         New file.
33945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33946         file.
33947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33948         multiarch floor for PowerPC32.
33949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33950         New file.
33951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33952         New file.
33953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33954         multiarch floorf for PowerPC32.
33956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33957         and ceilf multiarch implementations.
33958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33959         New file.
33960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33961         file.
33962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33963         multiarch ceil for PowerPC32.
33964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33965         New file.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33967         file.
33968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33969         multiarch ceilf for PowerPC32.
33971         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33972         is defined.
33973         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33974         FINITEF is defined.
33975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33976         and finitef multiarch implementations.
33977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33978         New file.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33980         file.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33982         multiarch finite for PowerPC32.
33983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33984         New file.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33986         file: multiarch finitef for PowerPC32.
33988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33989         and isinff multiarch implementations.
33990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33991         file.
33992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33993         file.
33994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33995         multiarch isinf for PowerPC32.
33996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33997         New file.
33998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33999         multiarch isinff for PowerPC32.
34001         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34002         alias when __isnan is defined.
34003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34004         and isnanf multiarch implementations.
34005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34006         file.
34007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34008         file.
34009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34010         file.
34011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34012         file.
34013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34014         multiarch isnan for PowerPC32.
34015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34016         New file.
34017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34018         New file.
34019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34020         multiarch isnanf for PowerPC32.
34022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34023         and sqrtf multiarch implementations.
34024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34025         file.
34026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34027         file.
34028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34029         multiarch sqrt for PowerPC32.
34030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34031         file.
34032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34033         file.
34034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34035         multiarch sqrtf for PowerPC32.
34037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34038         and llroundf multiarch implementations.
34039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34040         New file.
34041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34042         New file.
34043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34044         New file.
34045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34046         file: multiarch llround for PowerPC32.
34047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34048         file: multiarch llroundf for PowerPC32.
34050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34051         multiarch PowerPC32 fpu implementations.
34052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34053         New file.
34054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34055         New file.
34056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34057         multiarch llrint for PowerPC32.
34058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34059         New file.
34060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34061         New file.
34062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34063         file.
34065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34068         file.
34069         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34070         file.
34071         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34072         file.
34073         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34074         multiarch wordcopy for PPC32.
34075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34076         wordcopy objects.
34077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34078         (__libc_ifunc_impl_list): Likewise.
34079         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34080         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34081         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34082         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34083         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34084         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34086         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34088         file.
34089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34090         file.
34091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34092         file.
34093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34094         multiarch wcscpy for PPC32.
34095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34096         multiarch objects.
34097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34098         (__libc_ifunc_impl_list): Likewise.
34099         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34100         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34101         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34102         sysdeps/powerpc/power6/wcscpy.c.
34104         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34106         file.
34107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34108         file.
34109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34110         file.
34111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34112         multiarch wcsrchr for PPC32.
34113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34114         multiarch objects.
34115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34116         (__libc_ifunc_impl_list): Likewise.
34117         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34118         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34119         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34120         sysdeps/powerpc/power6/wcsrchr.c.
34122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34123         file.
34124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34125         file.
34126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34128         multiarch wcschr for PPc32.
34129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34130         multiarch objects.
34131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34132         (__libc_ifunc_impl_list): Likewise.
34133         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34134         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34135         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34136         sysdeps/powerpc/power6/wcschr.c.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34140         file.
34141         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34142         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34143         file: multiarch strchr for PPC32.
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34145         multiarch objects.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34147         (__libc_ifunc_impl_list): Likewise.
34149         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34150         name.
34151         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34152         file.
34153         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34154         file.
34155         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34156         multiarch strchrnul for PPC32.
34157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34158         multiarch objects.
34159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34160         (__libc_ifunc_impl_list): Likewise.
34162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34163         file.
34164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34165         multiarch strncasecmp for PPC32.
34166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34167         file.
34168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34169         multiarch strncasecmp_l for PPC32.
34170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34171         strncasecmp multiarch objects.
34172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34173         (__libc_ifunc_impl_list): Likewise.
34175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34176         file.
34177         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34178         multiarch strncasecmp for PPC32.
34179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34180         New file.
34181         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34182         multiarch strcasecmp_l for PPC32.
34183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34184         multiarch objects.
34185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34186         (__libc_ifunc_impl_list): Likewise.
34188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34189         file.
34190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34191         file.
34192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34193         multiarch strncmp for PPC32.
34194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34195         multiarch objects.
34196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34197         (__libc_ifunc_impl_list): Likewise.
34199         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34200         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34201         file.
34202         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34203         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34205         multiarch objects.
34206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34207         (__libc_ifunc_impl_list): Likewise.
34209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34210         file.
34211         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34212         file.
34213         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34215         multiarch objects.
34216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34217         (__libc_ifunc_impl_list): Likewise.
34219         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34220         file.
34221         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34222         file.
34223         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34224         multiarch rawmemchr for PPC32.
34225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34226         multiarch objects.
34227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34228         (__libc_ifunc_impl_list): Likewise.
34230         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34231         file.
34232         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34233         file.
34234         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34235         file: memrchr multiarch for PPC32.
34236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34237         multiarch objects.
34238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34239         (__libc_ifunc_impl_list): Likewise.
34241         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34243         file.
34244         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34246         multiarch memchr for PPC32.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34248         multiarch objects.
34249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34250         (__libc_ifunc_impl_list): Likewise.
34252         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34253         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34254         file.
34255         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34256         file.
34257         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34258         file: multiarch mempcpy for PPC32.
34259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34260         multiarch objects.
34261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34262         (__libc_ifunc_impl_list): Likewise.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34266         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34268         multiarch bzero for PPC32.
34269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34270         file.
34271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34272         file.
34273         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34274         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34275         file: multiarch memset for PPC32.
34276         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34278         memset multiarch objects.
34279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34280         (__libc_ifunc_impl_list): Likewise.
34282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34283         file.
34284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34286         memcmp for PPC32.
34287         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34289         multiarch objects.
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34291         (__libc_ifunc_impl_list): Likewise.
34293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34296         file.
34297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34298         file.
34299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34300         file.
34301         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34302         multiarch memcpy for PPC32.
34303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34304         multiarch objects.
34305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34306         (__libc_ifunc_impl_list): Likewise.
34308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34309         support multiarch for POWER/PPC32.
34310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34311         Likewise.
34312         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34314         Implies file to make multiarch folder appers before the fpu and
34315         default folder for power4 configuration.
34317 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34319         * scripts/bench.pl: Append volatile keyword to type.
34321 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34323         * sysdeps/sh/sotruss-lib.c: New file.
34324         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34326 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34330 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34332         [BZ #6810]
34333         * math/w_tgamma.c: Include <errno.h>.
34334         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34335         * math/w_tgammaf.c: Include <errno.h>.
34336         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34337         * math/w_tgammal.c: Include <errno.h>.
34338         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34339         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34340         underflow.  Add more tgamma tests.
34341         * math/auto-libm-test-out: Regenerated.
34342         * sysdeps/i386/fpu/libm-test-ulps: Update.
34343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34345         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34346         sin, sinh, tan, tanh, tgamma, y0 and y1.
34347         * math/auto-libm-test-out: Regenerated.
34348         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34349         (TEST_COND_x86): Likewise.
34350         (M_E2l): Remove macro.
34351         (M_E3l): Likewise.
34352         (M_2_SQRT_PIl): Likewise.
34353         (M_SQRT_PIl): Likewise.
34354         (M_1_DIV_El): Likewise.
34355         (log_test_data): Use AUTO_TESTS_f_f.
34356         (log10_test_data): Likewise.
34357         (log1p_test_data): Likewise.
34358         (log2_test_data): Likewise.
34359         (sin_test_data): Likewise.
34360         (sin_tonearest_test_data): Likewise.
34361         (sin_towardzero_test_data): Likewise.
34362         (sin_downward_test_data): Likewise.
34363         (sin_upward_test_data): Likewise.
34364         (sinh_test_data): Likewise.
34365         (sinh_tonearest_test_data): Likewise.
34366         (sinh_towardzero_test_data): Likewise.
34367         (sinh_downward_test_data): Likewise.
34368         (sinh_upward_test_data): Likewise.
34369         (tan_test_data): Likewise.
34370         (tan_tonearest_test_data): Likewise.
34371         (tan_towardzero_test_data): Likewise.
34372         (tan_downward_test_data): Likewise.
34373         (tan_upward_test_data): Likewise.
34374         (tanh_test_data): Likewise.
34375         (tgamma_test_data): Likewise.
34376         (y0_test_data): Likewise.
34377         (y1_test_data): Likewise.
34378         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34379         (special_real_inputs): Add pi/4.
34380         * sysdeps/i386/fpu/libm-test-ulps: Update.
34381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34383 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34385         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34386         "longjmp_target" static probes.
34387         (__longjmp): Rename to __longjmp_symbol.
34388         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34389         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34390         on which longjmp to generate.
34391         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34392         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34393         probe.
34394         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34395         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34396         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34397         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34398         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34399         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34401         __longjmp_symbol based on which __longjmp to generate.
34402         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34403         probe.
34404         (setjmp): Rename to setjmp_symbol.
34405         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34406         (_setjmp): Rename to _setjmp_symbol.
34407         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34408         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34409         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34410         which setjmp to generate.
34411         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34412         "longjmp_target" static probes.
34414 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34416         * benchtests/README: Add note about output arguments.
34417         * benchtests/bench-sincos.c: Remove file.
34418         * benchtests/sincos-inputs: New file.
34419         * scripts/bench.pl: Identify output arguments and define
34420         static variables for them.
34422         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34424         [BZ #15941]
34425         * Makefile (INSTALL): Add install-plain.texi as the primary
34426         dependency.
34427         * manual/install-plain.texi: New file.
34428         * manual/install.texi: Include node directive only for
34429         non-plaintext output.
34431 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34433         * stdlib/longlong.h: Update from GCC.
34435         [BZ #6807]
34436         [BZ #15901]
34437         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34438         * math/w_j0f.c (y0f): Likewise.
34439         * math/w_j0l.c (__y0l): Likewise.
34440         * math/w_j1.c (y1): Likewise.
34441         * math/w_j1f.c (y1f): Likewise.
34442         * math/w_j1l.c (__y1l): Likewise
34443         * math/w_jn.c (yn): Likewise.
34444         * math/w_jnf.c (ynf): Likewise.
34445         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34446         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34447         value for Bessel function domain errors outside _SVID_ mode.
34448         Adjust sign of return value for yn (negative integer, 0).
34449         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34450         by zero in return for negative x and set sign appropriately for
34451         negative n.
34452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34453         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34454         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34455         expectations in error cases.
34456         (y1_test_data): Likewise.
34457         (yn_test_data): Likewise.
34458         * sysdeps/i386/fpu/libm-test-ulps: Update.
34459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34461 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34463         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34464         "64" to "64-v1".  Add "64-v2".
34465         (abi-64-options): Rename to ...
34466         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34467         (abi-64-condition): Rename to ...
34468         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34469         (abi-64-ld-soname): Rename to ...
34470         (abi-64-v1-ld-soname): ... this.
34471         (abi-64-v2-options): Define.
34472         (abi-64-v2-condition): Likewise.
34473         (abi-64-v2-ld-soname): Likewise.
34474         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34475         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34480 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34481             Alan Modra  <amodra@gmail.com>
34483         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34484         New versions for use with the ELFv2 ABI.
34485         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34486         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34487         declaration.
34488         (struct La_ppc64v2_retval): Likewise.
34489         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34490         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34491         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34492         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34493         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34494         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34495         Do not save or restore CR.
34496         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34497         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34498         return values for ELFv2 ABI.  Fix location of FPR return registers.
34499         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34500         updated values for _CALL_ELF == 2.
34501         (La_regs, La_retval, int_retval): Likewise.
34503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34505         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34506         (FRAME_MIN_SIZE_PARM): Likewise.
34507         (FRAME_BACKCHAIN): Likewise.
34508         (FRAME_CR_SAVE): Likewise.
34509         (FRAME_LR_SAVE): Likewise.
34510         (FRAME_TOC_SAVE): Likewise.
34511         (FRAME_PARM_SAVE): Likewise.
34512         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34513         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34514         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34515         (call_mcount_parm_offset): New macro.
34516         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34517         (PROF): Use symbolic stack frame offsets.
34518         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34519         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34520         Redefine in terms of FRAME_MIN_SIZE.
34521         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34522         (_dl_profile_resolve): Likewise.  Update comment.
34523         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34524         symbols stack frame offsets.
34525         (__sigsetjmp): Likewise.
34526         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34527         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34528         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34529         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34532         (FRAME_BACKCHAIN): Remove.
34533         (FRAME_CR_SAVE): Likewise.
34534         (FRAME_LR_SAVE): Likewise.
34535         (FRAME_COMPILER_DW): Likewise.
34536         (FRAME_LINKER_DW): Likewise.
34537         (FRAME_TOC_SAVE): Likewise.
34538         (FRAME_PARM_SAVE): Likewise.
34539         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34540         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34541         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34543         (CHECK_SP): Use symbolic stack frame offsets.
34544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34545         zone" instead of caller's parameter save area for temp storage.
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34547         Likewise.  Also, use symbolic stack frame offsets.
34548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34549         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34550         our own stack frame instead of the caller's.
34551         (__socket): Use symbolic stack frame offsets.
34553 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34554             Alan Modra  <amodra@gmail.com>
34556         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34557         Define.
34558         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34559         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34560         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34561         New function.
34562         (elf_machine_fixup_plt): Call it.
34563         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34564         reloc arguments.
34565         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34566         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34567         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34568         r2 before calling target.
34570 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34571             Alan Modra  <amodra@gmail.com>
34573         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34574         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34575         versions of macros to support ELFv2 ABI.
34576         (LOCALENTRY): New macro.
34577         (ENTRY, EALIGN): Use it.
34578         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34579         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34580         fall through into ENTRY entry point.
34581         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34582         Only define if _CALL_ELF != 2.
34584         (elf_machine_matches_host): Verify ABI version matches.
34585         (RTLD_START): Use LOCALENTRY.
34586         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34587         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34588         (PLT_ENTRY_WORDS): New macro.
34589         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34590         (elf_machine_runtime_setup): Support ELFv2 ABI.
34591         (elf_machine_fixup_plt): Likewise.
34592         (elf_machine_plt_conflict): Likewise.
34593         (resolve_ifunc): Likewise.
34594         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34595         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34596         Likewise.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34598         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34600         (makecontext): Support ELFv2 ABI.
34601         * elf/elf.h (EF_PPC64_ABI): Define.
34603 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34605         * sysdeps/powerpc/powerpc64/sysdep.h
34606         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34607         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34608         (ENTRY) [ASSEMBLER]: ... but instead here ...
34609         (EALIGN) [ASSEMBLER]: ... and here.
34610         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34611         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34612         (ENTRY_2) [!ASSEMBLER]: Use it.
34613         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34614         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34615         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34616         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34617         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34619         Use PPC64_LOAD_FUNCPTR.
34621         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34623 2013-12-04  Alan Modra  <amodra@gmail.com>
34625         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34626         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34627         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34628         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34631         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34632         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34633         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34634         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34635         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34637 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34640         (__makecontext): Fix incorrect CFI when backtracing out of
34641         context created via makecontext.
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34643         (__setcontext): Fix incorrect CFI during switch to new context.
34644         (__novec_setcontext): Likewise.
34646 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34648         [BZ #4772]
34649         * time/strptime_l.c (__strptime_internal): Allow modifiers
34650         in strptime.
34651         * time/tst-strptime.c (day_tests): Add testcase.
34653 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34655         * scripts/bench.pl: Skip over blank lines.
34657 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34659         [BZ #926]
34660         * manual/time.texi (Calendar Time): Clarify what timezone functions
34661         use.
34663 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34667 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34669         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34670         implementation.
34671         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34672         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34673         * debug/memset_chk.c (__memset_chk): Likewise.
34674         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34675         * debug/strncpy_chk.c: Likewise.
34677 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34679         [BZ #15268]
34680         [BZ #15425]
34681         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34682         (__ieee754_exp): For possibly underflowing results, check size of
34683         result and force underflow exception if required.
34684         * math/auto-libm-test-in: Add more tests of exp.
34685         * math/auto-libm-test-out: Regenerated.
34686         * sysdeps/i386/fpu/libm-test-ulps: Update.
34687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34689         [BZ #16283]
34690         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34691         * math/w_exp2f.c (__exp2f): Likewise.
34692         * math/w_exp2l.c (__exp2l): Likewise.
34693         * math/auto-libm-test-in: Do not allow missing errno on exp2
34694         underflow.
34695         * math/auto-libm-test-out: Regenerated.
34697 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34699         [BZ #16274]
34700         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34701         handle filename validation.
34702         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34703         (do_open): Delete.
34705 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34707         [BZ #6786]
34708         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34709         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34710         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34711         <float.h>.
34712         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34713         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34714         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34715         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34716         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34717         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34718         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34719         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34720         Add more erfc tests.
34721         * math/auto-libm-test-out: Regenerated.
34722         * sysdeps/i386/fpu/libm-test-ulps: Update.
34723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34725         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34726         exp2, expm1, j0 and j1.
34727         * math/auto-libm-test-out: Regenerated.
34728         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34729         (erfc_test_data): Likewise.
34730         (exp_test_data): Likewise.
34731         (exp_tonearest_test_data): Likewise.
34732         (exp_towardzero_test_data): Likewise.
34733         (exp_downward_test_data): Likewise.
34734         (exp_upward_test_data): Likewise.
34735         (exp10_test_data): Likewise.
34736         (exp2_test_data): Likewise.
34737         (expm1_test_data): Likewise.
34738         (j0_test_data): Likewise.
34739         (j1_test_data): Likewise.
34740         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34741         (input_flag_type): Add flag_xfail_rounding.
34742         (input_flags): Add xfail-rounding.
34743         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34744         (output_for_one_input_case): Handle flag_xfail_rounding.
34745         * sysdeps/i386/fpu/libm-test-ulps: Update.
34746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34748 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34750         [BZ #16289]
34751         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34752         division by 0.
34754 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34756         [BZ #16195]
34757         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34758         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34759         (STAP_PROBE0): New macro.
34760         (STAP_PROBE1): Likewise.
34761         (STAP_PROBE2): Likewise.
34762         (STAP_PROBE3): Likewise.
34763         (STAP_PROBE4): Likewise.
34765 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34767         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34769 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34771         * benchtests/Makefile (bench): Add sqrt.
34772         (LDLIBS-bench-sqrt): New.
34773         * benchtests/sqrt-input: New.
34775 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34777         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34778         (GAIH_EAI): Likewise.
34779         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34780         (gaih_inet): Likewise.
34781         (getaddrinfo): Don't use GAIH_EAI.
34783         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34784         (struct gaih): Remove definition.
34786 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34788         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34789         Use HERRNOP directly.
34791 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34795 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34797         * math/gen-auto-libm-tests.c (test_functions): Add more
34798         single-argument functions.
34799         (special_fill_pi_2): New function.
34800         (special_fill_minus_pi_2): Likewise.
34801         (special_fill_pi_6): Likewise.
34802         (special_fill_minus_pi_6): Likewise.
34803         (special_fill_pi_3): Likewise.
34804         (special_fill_2pi_3): Likewise.
34805         (special_fill_e): Likewise.
34806         (special_fill_1_e): Likewise.
34807         (special_fill_e_minus_1): Likewise.
34808         (special_real_inputs): Add more special inputs.
34809         (output_for_one_input_case): Do not require ERANGE on underflow to
34810         zero if round-to-nearest result does not underflow to zero, unless
34811         exact results required.
34812         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34813         atan, atanh, cbrt, cos and cosh.
34814         * math/auto-libm-test-out: Regenerated.
34815         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34816         (acos_tonearest_test_data): Likewise.
34817         (acos_towardzero_test_data): Likewise.
34818         (acos_downward_test_data): Likewise.
34819         (acos_upward_test_data): Likewise.
34820         (acosh_test_data): Likewise.
34821         (asin_test_data): Likewise.
34822         (asin_tonearest_test_data): Likewise.
34823         (asin_towardzero_test_data): Likewise.
34824         (asin_upward_test_data): Likewise.
34825         (asinh_test_data): Likewise.
34826         (atan_test_data): Likewise.
34827         (atanh_test_data): Likewise.
34828         (cbrt_test_data): Likewise.
34829         (cos_test_data): Likewise.
34830         (cos_tonearest_test_data): Likewise.
34831         (cos_towardzero_test_data): Likewise.
34832         (cos_downward_test_data): Likewise.
34833         (cos_upward_test_data): Likewise.
34834         (cosh_test_data): Likewise.
34835         (cosh_tonearest_test_data): Likewise.
34836         (cosh_towardzero_test_data): Likewise.
34837         (cosh_downward_test_data): Likewise.
34838         (cosh_upward_test_data): Likewise.
34839         * sysdeps/i386/fpu/libm-test-ulps: Update.
34840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34842 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34844         [BZ #6787]
34845         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34846         * math/w_exp10f.c (__exp10f): Likewise.
34847         * math/w_exp10l.c (__exp10l): Likewise.
34848         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34849         errno settings in existing tests.
34851         [BZ #14032]
34852         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34853         precision control set to double precision.
34854         * sysdeps/i386/fpu/w_sqrt.c: New file.
34855         * math/auto-libm-test-in: Add more tests.
34856         * math/auto-libm-test-out: Update.
34858         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34859         (sqrt_test_tonearest): New function.
34860         (sqrt_towardzero_test_data): New variable.
34861         (sqrt_test_towardzero): New function.
34862         (sqrt_downward_test_data): New variable.
34863         (sqrt_test_downward): New function.
34864         (sqrt_upward_test_data): New variable.
34865         (sqrt_test_upward): New function.
34866         (main): Call the new functions.
34868         * math/gen-auto-libm-tests.c: New file.
34869         * math/auto-libm-test-in: Likewise.
34870         * math/auto-libm-test-out: New generated file.
34871         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34872         variables.
34873         (%beautify): Add generated representations of zero.
34874         (top level): Set $auto_input and call parse_auto_input.
34875         (beautify): Remove trailing "f" from hex float constants.
34876         (parse_args): Handle XFAIL_TEST.
34877         (convert_condition): New function.
34878         (or_value): Likewise.
34879         (or_cond_value): Likewise.
34880         (generate_testfile): Handle AUTO_TESTS_* lines.
34881         (parse_auto_input): New function.
34882         * math/libm-test.inc (XFAIL_TEST): New macro.
34883         (ERRNO_UNCHANGED): Update value.
34884         (ERRNO_EDOM): Likewise.
34885         (ERRNO_ERANGE): Likewise.
34886         (IGNORE_RESULT): Likewise.
34887         (TEST_COND_flt_32): New macro.
34888         (TEST_COND_dbl_64): Likewise.
34889         (TEST_COND_ldbl_96_intel): Likewise.
34890         (TEST_COND_ldbl_96_m68k): Likewise.
34891         (TEST_COND_ldbl_128): Likewise.
34892         (TEST_COND_ldbl_128ibm): Likewise.
34893         (TEST_COND_long32): Likewise.
34894         (TEST_COND_long64): Likewise.
34895         (TEST_COND_before_rounding): Likewise.
34896         (TEST_COND_after_rounding): Likewise.
34897         (enable_test): Handle XFAIL_TEST flag.
34898         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34899         with finite results.
34900         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34901         auto-libm-test-out.
34903 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34904             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34906         [BZ #16214]
34907         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34908         __tls_get_addr_internal instead of __tls_get_offset in order to
34909         avoid GOT pointer dependency.  Make rtld export
34910         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34911         __tls_get_addr since we are a __tls_get_offset platform.
34912         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34913         GOT pointer being set up before.
34914         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34916 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34918         * manual/math.texi (Errors in Math Functions): Document accuracy
34919         goals.
34921         [BZ #15004]
34922         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34923         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34924         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34925         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34926         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34927         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34928         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34929         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34930         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34931         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34932         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34933         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34934         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34935         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34936         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34937         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34939         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34940         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34941         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34942         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34943         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34944         Likewise.
34945         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34946         Likewise.
34947         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34948         Likewise.
34949         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34950         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34951         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34952         atomic-feupdateenv and flt-rounds.
34953         * sysdeps/powerpc/nofpu/Versions (libc): Add
34954         __atomic_feholdexcept, __atomic_feclearexcept,
34955         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34956         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34957         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34958         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34959         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34960         here.
34961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34962         Update.
34964         * manual/arith.texi (FP Exceptions): Document that exceptions may
34965         not be raised when matherr is used.
34966         (Math Error Reporting): Document overflow in directed rounding
34967         modes.  Document that errno may not be set when finite values are
34968         returned on overflow.  Document intent to set errno on underflow
34969         only for underflow to zero.
34971         [BZ #16271]
34972         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34973         round-to-nearest then adjust result for other rounding modes.
34974         * include/fenv.h (fegetround): Use libm_hidden_proto.
34975         * math/fegetround.c (fegetround): Use libm_hidden_def.
34976         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34977         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34978         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34979         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34980         Likewise.
34981         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34982         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34983         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34984         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34986 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34988         [BZ #16077]
34989         * nss/Versions (libnss_files): Add
34990         _nss_files_gethostbyname3_r.
34991         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34992         New function.
34993         (HOST_DB_LOOKUP): Remove macro.
34994         (_nss_files_gethostbyname_r): Implement function without the
34995         HOST_DB_LOOKUP macro.
34996         (_nss_files_gethostbyname2_r): Likewise.
34998 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35000         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35002 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35004         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35005         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35006         warning.
35008 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35010         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35011         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35012         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35013         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35014         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35015         __fe_nomask_env_priv and attribute_hidden.
35016         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35017         (libc_feupdateenv_test_ppc): Likewise.
35018         (libc_feresetround_ppc): Likewise.
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35020         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35021         compat_symbol macro.
35022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35023         (__fe_nomask_env): Likewise.
35024         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35026 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35028         * string/Makefile: Remove ifunc tests.
35029         * string/test-string.h: Define TEST_IFUNC.
35030         * string/test-bcopy-ifunc.c: Remove.
35031         * string/test-bzero-ifunc.c: Likewise.
35032         * string/test-memccpy-ifunc.c: Likewise.
35033         * string/test-memchr-ifunc.c: Likewise.
35034         * string/test-memcmp-ifunc.c: Likewise.
35035         * string/test-memcpy-ifunc.c: Likewise.
35036         * string/test-memmem-ifunc.c: Likewise.
35037         * string/test-memmove-ifunc.c: Likewise.
35038         * string/test-mempcpy-ifunc.c: Likewise.
35039         * string/test-memrchr-ifunc.c: Likewise.
35040         * string/test-memset-ifunc.c: Likewise.
35041         * string/test-rawmemchr-ifunc.c: Likewise.
35042         * string/test-stpcpy-ifunc.c: Likewise.
35043         * string/test-stpncpy-ifunc.c: Likewise.
35044         * string/test-strcasecmp-ifunc.c: Likewise.
35045         * string/test-strcasestr-ifunc.c: Likewise.
35046         * string/test-strcat-ifunc.c: Likewise.
35047         * string/test-strchr-ifunc.c: Likewise.
35048         * string/test-strchrnul-ifunc.c: Likewise.
35049         * string/test-strcmp-ifunc.c: Likewise.
35050         * string/test-strcpy-ifunc.c: Likewise.
35051         * string/test-strcspn-ifunc.c: Likewise.
35052         * string/test-strlen-ifunc.c: Likewise.
35053         * string/test-strncasecmp-ifunc.c: Likewise.
35054         * string/test-strncat-ifunc.c: Likewise.
35055         * string/test-strncmp-ifunc.c: Likewise.
35056         * string/test-strncpy-ifunc.c: Likewise.
35057         * string/test-strnlen-ifunc.c: Likewise.
35058         * string/test-strpbrk-ifunc.c: Likewise.
35059         * string/test-strrchr-ifunc.c: Likewise.
35060         * string/test-strspn-ifunc.c: Likewise.
35061         * string/test-strstr-ifunc.c: Likewise.
35063 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35065         * benchtests/Makefile: Remove ifunc tests.
35066         * benchtests/bench-string.h: Define TEST_IFUNC.
35067         * benchtests/bench-bcopy-ifunc.c: Remove.
35068         * benchtests/bench-bzero-ifunc.c: Likewise.
35069         * benchtests/bench-memccpy-ifunc.c: Likewise.
35070         * benchtests/bench-memchr-ifunc.c: Likewise.
35071         * benchtests/bench-memcmp-ifunc.c: Likewise.
35072         * benchtests/bench-memcpy-ifunc.c: Likewise.
35073         * benchtests/bench-memmem-ifunc.c: Likewise.
35074         * benchtests/bench-memmove-ifunc.c: Likewise.
35075         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35076         * benchtests/bench-memrchr-ifunc.c: Likewise.
35077         * benchtests/bench-memset-ifunc.c: Likewise.
35078         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35079         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35080         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35081         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35082         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35083         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35084         * benchtests/bench-strcat-ifunc.c: Likewise.
35085         * benchtests/bench-strchr-ifunc.c: Likewise.
35086         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35087         * benchtests/bench-strcmp-ifunc.c: Likewise.
35088         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35089         * benchtests/bench-strcpy-ifunc.c: Likewise.
35090         * benchtests/bench-strcspn-ifunc.c: Likewise.
35091         * benchtests/bench-strlen-ifunc.c: Likewise.
35092         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35093         * benchtests/bench-strncat-ifunc.c: Likewise.
35094         * benchtests/bench-strncmp-ifunc.c: Likewise.
35095         * benchtests/bench-strncpy-ifunc.c: Likewise.
35096         * benchtests/bench-strnlen-ifunc.c: Likewise.
35097         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35098         * benchtests/bench-strrchr-ifunc.c: Likewise.
35099         * benchtests/bench-strsep-ifunc.c: Likewise.
35100         * benchtests/bench-strspn-ifunc.c: Likewise.
35101         * benchtests/bench-strstr-ifunc.c: Likewise.
35103 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35105         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35107 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35109         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35110         * rt/aio.h: Likewise.
35111         * sysdeps/gnu/bits/utmp.h: Likewise.
35112         * sysdeps/gnu/bits/utmpx.h: Likewise.
35113         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35114         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35115         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35116         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35117         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35118         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35119         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35120         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35121         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35122         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35123         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35124         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35125         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35127         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35128         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35129         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35130         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35131         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35132         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35133         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35134         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35135         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35136         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35137         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35139         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35140         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35141         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35142         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35143         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35144         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35145         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35146         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35147         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35148         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35149         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35150         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35151         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35152         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35153         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35154         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35156 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35158         [BZ #16245]
35159         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35160         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35162 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35164         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35165         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35166         Likewise.
35168 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35171         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35172         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35173         (__fesetround): Remove define.
35174         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35175         rounding and exceptions handling.
35176         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35177         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35178         (__fe_nomask_env): Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35180         __fegetround instead of fegetround.
35181         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35182         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35184 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35186         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35187         it's there.
35189         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35191 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35193         [BZ #11157]
35194         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35195         (encrypt_r): Likewise.
35196         * malloc/obstack.h (obstack_free): Likewise.
35197         * posix/unistd.h (encrypt): Likewise.
35199 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35201         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35202         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35203         DL_CALL_DT_FINI() that call the functions directly.
35204         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35205         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35206         * elf/dl-fini.c: Likewise.
35208 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35210         * malloc/hooks.c (memalign_check): Add alignment rounding.
35211         * malloc/malloc.c (_mid_memalign): New function.
35212         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35213         Implement by calling _mid_memalign.
35214         * manual/probes.texi (Memory Allocation Probes): Remove
35215         memory_valloc_retry and memory_pvalloc_retry.
35217 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35219         * locale/programs/locarchive.c (open_archive): Add const
35220         qualifier to ARCHIVEFNAME and copy default fname to
35221         DEFAULT_FNAME.
35223         [BZ #15601]
35224         * libio/tst-widetext.input: Rename Oriya to Odia.
35225         * locale/iso-639.def: Likewise.
35227         * manual/probes.texi (Mathematical Function Probes): Add
35228         documentation for sin, cos, asin and acos probes.
35229         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35230         (__sin32): Add slowasin probe.
35231         (__cos32): Add slowacos probe.
35232         (__mpsin): Add slowsin probe.
35233         (__mpcos): Add slowcos probe.
35235 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35237         [BZ #15483]
35238         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35239         thread-local __sim_exceptions_thread and global
35240         __sim_exceptions_global.
35241         (__sim_disabled_exceptions): Change to thread-local
35242         __sim_disabled_exceptions_thread and global
35243         __sim_disabled_exceptions_global.
35244         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35245         and global __sim_round_mode_global.
35246         (__simulate_exceptions): Use thread-local floating-point state and
35247         set global state from it as needed.
35248         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35249         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35250         __sim_round_mode_thread.
35251         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35252         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35253         and global __sim_exceptions_global.
35254         (__sim_disabled_exceptions): Change to thread-local
35255         __sim_disabled_exceptions_thread and global
35256         __sim_disabled_exceptions_global.
35257         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35258         and global __sim_round_mode_global.
35259         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35260         (SIM_SET_GLOBAL): Likewise.
35261         * sysdeps/powerpc/soft-fp/sfp-machine.h
35262         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35263         __sim_round_mode_thread.
35264         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35265         __sim_disabled_exceptions_thread.
35266         (__sim_exceptions): Change to __sim_exceptions_thread.
35267         (__sim_disabled_exceptions): Change to
35268         __sim_disabled_exceptions_thread.
35269         (__sim_round_mode): Change to __sim_round_mode_thread.
35270         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35271         thread-local floating-point state and set global state from it as
35272         needed.
35273         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35274         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35275         (__sim_disabled_exceptions): Remove extern declaration.
35276         (feenableexcept): Use thread-local floating-point state and set
35277         global state from it as needed.
35278         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35279         extern declaration.
35280         (__sim_disabled_exceptions): Likewise.
35281         (__sim_round_mode): Likewise.
35282         (__fegetenv): Use thread-local floating-point state.
35283         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35284         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35285         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35286         floating-point state and set global state from it as needed.
35287         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35288         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35289         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35290         Likewise.
35291         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35292         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35293         Likewise.
35294         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35295         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35296         Use __sim_round_mode_thread.
35297         * math/test-fenv-tls.c: New file.
35298         * math/Makefile (tests): Add test-fenv-tls.
35299         ($(objpfx)test-fenv-tls): Depend on
35300         $(common-objpfx)nptl/libpthread.so.
35302 2013-11-19  Andreas Schwab  <schwab@suse.de>
35304         * locale/programs/locale.c (show_info): Decode wordarray elements.
35305         * locale/categories.def (LC_MONETARY): Add element for
35306         _NL_MONETARY_CRNCYSTR.
35307         * locale/C-monetary.c (conversion_rate): New variable.
35308         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35309         element.
35311 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35313         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35314         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35316 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35318         * elf/Makefile (tst-auxv): New test.
35319         * elf/tst-auxv.c: New
35320         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35322 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35324         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35325         (hidden_proto): Caller changed.
35326         (hidden_tls_proto): New macro.
35327         (libc_hidden_tls_proto): Likewise.
35328         (rtld_hidden_tls_proto): Likewise.
35329         (libm_hidden_tls_proto): Likewise.
35330         (libresolv_hidden_tls_proto): Likewise.
35331         (librt_hidden_tls_proto): Likewise.
35332         (libdl_hidden_tls_proto): Likewise.
35333         (libnss_files_hidden_tls_proto): Likewise.
35334         (libnsl_hidden_tls_proto): Likewise.
35335         (libnss_nisplus_hidden_tls_proto): Likewise.
35336         (libutil_hidden_tls_proto): Likewise.
35338 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35340         [BZ #10253]
35341         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35342         (decompose_rpath): Defer expansion to fillin_rpath.
35343         (_dl_init_paths): Pass linkmap to fillin_rpath.
35345 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35347         * benchtests/Makefile: Add strsep.
35348         * benchtests/bench-strsep.c: New file: strsep benchtest.
35349         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35351 2013-11-18  Andreas Schwab  <schwab@suse.de>
35353         * locale/programs/locale.c (show_info) [case byte]: Check for
35354         '\377' instead of '\177'.
35355         * locale/C-monetary.c (not_available): Always use "\377".
35356         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35357         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35358         detect unavailable sign_posn locale elements.
35359         * locale/localeconv.c (__localeconv): For grouping and
35360         mon_grouping handle "\177" and "\377" like no grouping.
35361         (INT_ELEM): New macro.  Use it to set all numeric members.
35362         * locale/programs/ld-monetary.c (monetary_read)
35363         <tok_mon_grouping>: Normalize single -1 to the empty string.
35364         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35365         Likewise.
35367 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35369         [BZ #16055]
35370         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35371         when we match (nil).
35372         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35374 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35376         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35377         (NO_TEST_INLINE): Update value.
35378         (ERRNO_UNCHANGED): Likewise.
35379         (ERRNO_EDOM): Likewise.
35380         (ERRNO_ERANGE): Likewise.
35381         (IGNORE_RESULT): Likewise.
35382         (check_float_internal): Check signs of NaN results if
35383         TEST_NAN_SIGN used.
35384         (check_complex): Pass TEST_NAN_SIGN flag through to second
35385         check_float_internal call.
35386         (copysign_test_data): Add tests with quiet NaNs as second
35387         argument.  Use TEST_NAN_SIGN.
35388         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35389         TEST_NAN_SIGN.
35390         (signbit_test_data): Add tests of quiet NaN argument.
35391         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35393         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35394         $ignore_result.
35395         (parse_args): Handle function results specified as IGNORE.
35396         * math/libm-test.inc (IGNORE_RESULT): New macro.
35397         (check_float_internal): Do not check numerical result if flag
35398         IGNORE_RESULT set.
35399         (check_complex): Pass through IGNORE_RESULT to second
35400         check_float_internal call.
35401         (check_int): Do not check numerical result if flag IGNORE_RESULT
35402         set.
35403         (check_long): Likewise.
35404         (check_bool): Likewise.
35405         (check_longlong): Likewise.
35406         (lrint_test_data): Add tests of infinite and NaN arguments.
35407         (lrint_tonearest_test_data): Likewise.
35408         (lrint_towardzero_test_data): Likewise.
35409         (lrint_downward_test_data): Likewise.
35410         (lrint_upward_test_data): Likewise.
35411         (llrint_test_data): Likewise.
35412         (llrint_tonearest_test_data): Likewise.
35413         (llrint_towardzero_test_data): Likewise.
35414         (llrint_downward_test_data): Likewise.
35415         (llrint_upward_test_data): Likewise.
35416         (lround_test_data): Likewise.
35417         (llround_test_data): Likewise.
35419         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35420         (ERRNO_UNCHANGED): Update value.
35421         (ERRNO_EDOM): Likewise.
35422         (ERRNO_ERANGE): Likewise.
35423         (NO_TEST_INLINE_FLOAT): New macro.
35424         (NO_TEST_INLINE_DOUBLE): Likewise.
35425         (enable_test): New function.
35426         (RUN_TEST_f_f): Check enable_test before running test.
35427         (RUN_TEST_2_f): Likewise.
35428         (RUN_TEST_fff_f): Likewise.
35429         (RUN_TEST_c_f): Likewise.
35430         (RUN_TEST_f_f1): Likewise.
35431         (RUN_TEST_fF_f1): Likewise.
35432         (RUN_TEST_fI_f1): Likewise.
35433         (RUN_TEST_ffI_f1): Likewise.
35434         (RUN_TEST_c_c): Likewise.
35435         (RUN_TEST_cc_c): Likewise.
35436         (RUN_TEST_f_i): Likewise.
35437         (RUN_TEST_f_i_tg): Likewise.
35438         (RUN_TEST_ff_i_tg): Likewise.
35439         (RUN_TEST_f_b): Likewise.
35440         (RUN_TEST_f_b_tg): Likewise.
35441         (RUN_TEST_f_l): Likewise.
35442         (RUN_TEST_f_L): Likewise.
35443         (RUN_TEST_fFF_11): Likewise.
35444         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35445         conditionals.
35446         (cosh_test_data): Likewise.
35447         (exp_test_data): Likewise.
35448         (expm1_test_data): Likewise.
35449         (hypot_test_data): Likewise.
35450         (pow_test_data): Likewise.
35451         (sinh_test_data): Likewise.
35452         (tanh_test_data): Likewise.
35453         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35454         flags argument.
35456         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35457         tests with quiet NaN input and output.
35458         (acosh_test_data): Likewise.
35459         (asin_test_data): Likewise.
35460         (asinh_test_data): Likewise.
35461         (atan_test_data): Likewise.
35462         (atanh_test_data): Likewise.
35463         (atan2_test_data): Likewise.
35464         (cbrt_test_data): Likewise.
35465         (cos_test_data): Likewise.
35466         (cosh_test_data): Likewise.
35467         (erf_test_data): Likewise.
35468         (erfc_test_data): Likewise.
35469         (exp_test_data): Likewise.
35470         (exp10_test_data): Likewise.
35471         (exp2_test_data): Likewise.
35472         (expm1_test_data): Likewise.
35473         (hypot_test_data): Likewise.
35474         (j0_test_data): Likewise.
35475         (j1_test_data): Likewise.
35476         (jn_test_data): Likewise.
35477         (lgamma_test_data): Likewise.
35478         (log_test_data): Likewise.
35479         (log10_test_data): Likewise.
35480         (log1p_test_data): Likewise.
35481         (log2_test_data): Likewise.
35482         (pow_test_data): Likewise.
35483         (scalb_test_data): Likewise.
35484         (sin_test_data): Likewise.
35485         (sincos_test_data): Likewise.
35486         (sinh_test_data): Likewise.
35487         (tan_test_data): Likewise.
35488         (tanh_test_data): Likewise.
35489         (tgamma_test_data): Likewise.
35490         (y0_test_data): Likewise.
35491         (y1_test_data): Likewise.
35492         (yn_test_data): Likewise.
35494         [BZ #16167]
35495         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35496         argument being NaN and avoid computations with second argument in
35497         that case.
35498         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35499         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35500         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35502 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35504         * locale/iso-639.def: Add Chitwani Tharu (the).
35506 2013-11-14  Andreas Schwab  <schwab@suse.de>
35508         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35509         word instead of empty string.
35511 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35514         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35516         (__fe_nomask_env): Likewise.
35518 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35520         * benchtests/bench-timing.h: Include time.h.
35522 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35524         [BZ #15997]
35525         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35526         to 3.4.0 for x32.
35527         * sysdeps/unix/sysv/linux/configure: Regenerated.
35529 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35531         [BZ #16151]
35532         * stdlib/strtod_l.c (round_and_return): Do not consider
35533         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35534         exponent one less than half the least subnormal exponent.
35535         * stdlib/test-strtod-round-data: Add more tests.
35536         * stdlib/tst-strtod-round.c (tests): Regenerated.
35538 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35540         [BZ #14143]
35541         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35542         (__fe_mask_env): Likewise.
35543         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35544         libm_hidden_proto and add function prototype.
35545         (__fe_mask_env): Add function prototype.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35547         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35549         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35551         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35553 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35555         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35556         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35558 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35560         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35561         of htab_find_slot().
35563 2013-11-11  David S. Miller  <davem@davemloft.net>
35565         [BZ #16150]
35566         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35567         symbol in the non-vis3 case in static builds.
35568         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35569         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35570         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35571         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35573 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35575         [BZ #387]
35576         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35577         it is empty.
35579 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35581         * benchtests/Makefile: Add bench-strtod.
35582         * benchtests/bench-strtod.c: New file: strtod benchtest
35584 2013-11-11  Andreas Schwab  <schwab@suse.de>
35586         [BZ #16153]
35587         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35588         terminating NUL in key length.
35590 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35593         Add artificial ODP entry for vDSO symbol for PPC64.
35594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35595         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35597 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35599         [BZ #15374]
35600         * nss/getent.c (services_keys): Recognize services starting with digit.
35602 2013-11-06  David S. Miller  <davem@davemloft.net>
35604         [BZ #15985]
35605         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35606         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35608 2013-11-06  Will Newton  <will.newton@linaro.org>
35610         * manual/memory.texi (Malloc Examples): Remove register
35611         keyword from examples.
35613 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35615         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35617 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35619         [BZ #6981]
35620         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35621         depending on [__GCC_IEC_559 > 0].
35622         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35623         depending on [__GCC_IEC_559_COMPLEX > 0].
35625 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35627         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35628         to iso-639.def.
35630 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35632         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35634 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35636         [BZ #16112]
35637         * malloc/malloc (malloc_info): Do not handle first bin as
35638         special case.
35640 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35642         * locale/iso-639.def: Add Central Nahuatl (nhn).
35644 2013-11-01  Bruno Haible  <bruno@clisp.org>
35646         [BZ #7003]
35647         * manual/math.texi (BSD Random): Specify range upper bound as
35648         in POSIX.
35650 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35652         * locale/iso-639.def: Add Meadow Mari (mhr).
35654 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35656         [BZ #14752], [BZ #15763]
35657         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35658         Validate name.
35659         * rt/tst_shm.c: Add test for escaping directory.
35661 2013-10-31  Andreas Schwab  <schwab@suse.de>
35663         [BZ #15917]
35664         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35665         followed by 'x' as part of digit sequence.
35666         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35668 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35670         [BZ #16037]
35671         * configure.ac: allow GNU Make 4.0 and greater.
35672         * configure: Regenerated.
35674 2013-10-30  Will Newton  <will.newton@linaro.org>
35676         [BZ #16038]
35677         * malloc/hooks.c (memalign_check): Limit alignment to the
35678         maximum representable power of two.
35679         * malloc/malloc.c (__libc_memalign): Likewise.
35680         * malloc/tst-memalign.c (do_test): Add test for very
35681         large alignment values.
35682         * malloc/tst-posix_memalign.c (do_test): Likewise.
35684 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35686         [BZ #11087]
35687         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35688         (munmap_chunk): Likewise.
35689         (mremap_chunk): Likewise.
35691 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35693         [BZ #15799]
35694         * stdlib/div.c (div): Remove obsolete code.
35695         * stdlib/ldiv.c (ldiv): Likewise.
35696         * stdlib/lldiv.c (lldiv): Likewise.
35698 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35700         [BZ #16071]
35701         * nss/nss_files/files-XXX.c (get_contents_ret): New
35702         enumerator.
35703         (get_contents): New function.
35704         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35706 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35708         * configure.in: Moved to ...
35709         * configure.ac: ... here. Change reference to configure.in
35710         to configure.ac.
35711         * sysdeps/arm/preconfigure.ac: ... here.
35712         configure.in to configure.ac.
35713         * sysdeps/gnu/configure.in: Moved to ...
35714         * sysdeps/gnu/configure.ac: ... here.
35715         * sysdeps/i386/configure.in: Moved to ...
35716         * sysdeps/i386/configure.ac: ... here.
35717         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35718         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35719         * sysdeps/mach/configure.in: Moved to ...
35720         * sysdeps/mach/configure.ac: ... here.
35721         * sysdeps/mach/hurd/configure.in: Moved to ...
35722         * sysdeps/mach/hurd/configure.ac: ... here.
35723         * sysdeps/powerpc/configure.in: Moved to ...
35724         * sysdeps/powerpc/configure.ac: ... here.
35725         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35726         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35727         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35728         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35729         * sysdeps/s390/s390-32/configure.in: Moved to ...
35730         * sysdeps/s390/s390-32/configure.ac: ... here.
35731         * sysdeps/s390/s390-64/configure.in: Moved to ...
35732         * sysdeps/s390/s390-64/configure.ac: ... here.
35733         * sysdeps/sh/configure.in: Moved to ...
35734         * sysdeps/sh/configure.ac: ... here.
35735         * sysdeps/sparc/configure.in: Moved to ...
35736         * sysdeps/sparc/configure.ac: ... here.
35737         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35738         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35739         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35740         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35741         * sysdeps/x86_64/configure.in: Moved to ...
35742         * sysdeps/x86_64/configure.ac: ... here.
35743         * sysdeps/x86_64/preconfigure.in: Moved to ...
35744         * sysdeps/x86_64/preconfigure.ac: ... here.
35745         * aclocal.m4: Change reference to configure.in to configure.ac.
35746         * config.h.in: Likewise.
35747         * manual/install.texi: Likewise.
35748         * manual/maint.texi: Likewise.
35749         * Makefile: Likewise.
35750         * malloc/Makefile: Likewise.
35751         * nscd/Makefile: Likewise.
35752         * Makeconfig: Change reference to configure.in and
35753         preconfigure.in to configure.ac and preconfigure.ac
35754         respectively.
35755         * INSTALL: Regenerated.
35756         * configure: Likewise.
35757         * sysdeps/gnu/configure: Likewise.
35758         * sysdeps/i386/configure: Likewise.
35759         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35760         * sysdeps/mach/configure: Likewise.
35761         * sysdeps/mach/hurd/configure: Likewise.
35762         * sysdeps/powerpc/configure: Likewise.
35763         * sysdeps/powerpc/powerpc32/configure: Likewise.
35764         * sysdeps/powerpc/powerpc64/configure: Likewise.
35765         * sysdeps/s390/s390-32/configure: Likewise.
35766         * sysdeps/s390/s390-64/configure: Likewise.
35767         * sysdeps/sh/configure: Likewise.
35768         * sysdeps/sparc/configure: Likewise.
35769         * sysdeps/unix/sysv/linux/configure: Likewise.
35770         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35771         * sysdeps/x86_64/configure: Likewise.
35772         * sysdeps/x86_64/preconfigure: Likewise.
35774 2013-10-29  Andreas Schwab  <schwab@suse.de>
35776         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35778 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35780         * benchtests/pow-inputs: Add new inputs.
35782         * benchtests/exp-inputs: Add new inputs.
35784         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35785         conditional check for return value.
35786         (__cos32): Likewise.
35788 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35790         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35791         to provide a boost for large inputs with word alignment.
35792         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35793         implementation based on optimized PPC64 strcpy.
35794         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35795         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35796         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35797         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35799 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35801         [BZ #2801]
35802         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35804 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35806         [BZ #14876]
35807         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35808         * time/tst-strptime.c (day_tests): Add testcase.
35810 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35812         [BZ #14029]
35813         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35815 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35817         [BZ #16074]
35818         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35819         MAP_FAILED on error.
35821 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35823         [BZ #16072]
35824         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35825         heap for large requests.
35827 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35829         [BZ #9954]
35830         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35831         result if the result has no associated interface.
35832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35833         interface for all 127.X.Y.Z addresses.
35835 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35837         * locale/iso-639.def: Add Ligurian (lij)
35839 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35841         [BZ #15825]
35842         * sunrpc/rpc_main.c: Document rpcgen -5.
35844 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35846         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35848 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35850         [BZ #10278]
35851         * posix/glob.c: Match only directories when trailing slash is present.
35852         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35853         (main): Add testcase.
35855 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35857         [BZ #15670]
35858         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35860 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35862         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35863         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35864         AUTH_DES and cindex for FIPS 140-2.
35865         (DES Encryption): Add cindex FIPS 46-3.
35867         * locale/locarchive.h (struct locarhandle): Add fname.
35868         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35869         if an optional argument was specified to --list-archive,
35870         otherwise NULL.
35871         * locale/programs/locarchive.c (show_archive_content): Take new
35872         argument fname and pass it via ah.fname to open_archive.
35873         * locale/programs/localedef.h: Update decl.
35874         (open_archive): If AH->fname is non-null, open that file
35875         rather than the default file name, and don't ignore ENOENT.
35876         (create_archive): Set AH.fname to NULL.
35877         (delete_locales_from_archive): Likewise.
35878         (add_locales_to_archive): Likewise.
35879         * locale/programs/locfile.c (write_all_categories): Likewise.
35881 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35882             Aldy Hernandez  <aldyh@redhat.com>
35884         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35885         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35886         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35887         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35888         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35890         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35891         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35892         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35893         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35895         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35896         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35897         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35898         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35899         Likewise.
35900         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35901         Likewise.
35902         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35903         Likewise.
35904         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35905         Likewise.
35906         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35907         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35908         Likewise.
35909         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35910         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35911         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35912         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35913         Likewise.
35914         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35915         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35916         * sysdeps/powerpc/preconfigure: Likewise.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35918         Likewise.
35919         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35920         Replace contents of file by #include of <fenv_libc.h>.
35921         * sysdeps/powerpc/soft-fp/sfp-machine.h
35922         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35923         and <sys/prctl.h>.
35924         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35937         Allow copysignl PLT reference to be missing.
35939 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35940             Joseph Myers  <joseph@codesourcery.com
35942         [BZ #15948]
35943         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35944         single character.
35945         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35947 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35949         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35950         * elf/tst-tls1.c: Likewise.
35951         * elf/tst-tls10.h: Likewise.
35952         * elf/tst-tls14.c: Likewise.
35953         * elf/tst-tls2.c: Likewise.
35954         * elf/tst-tls3.c: Likewise.
35955         * elf/tst-tls4.c: Likewise.
35956         * elf/tst-tls5.c: Likewise.
35957         * elf/tst-tls6.c: Likewise.
35958         * elf/tst-tls7.c: Likewise.
35959         * elf/tst-tls8.c: Likewise.
35960         * elf/tst-tls9.c: Likewise.
35961         * elf/tst-tlsmod1.c: Likewise.
35962         * elf/tst-tlsmod13.c: Likewise.
35963         * elf/tst-tlsmod13a.c: Likewise.
35964         * elf/tst-tlsmod14a.c: Likewise.
35965         * elf/tst-tlsmod16a.c: Likewise.
35966         * elf/tst-tlsmod16b.c: Likewise.
35967         * elf/tst-tlsmod2.c: Likewise.
35968         * elf/tst-tlsmod3.c: Likewise.
35969         * elf/tst-tlsmod4.c: Likewise.
35970         * elf/tst-tlsmod5.c: Likewise.
35971         * elf/tst-tlsmod6.c: Likewise.
35973 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35975         [BZ #12486]
35976         * malloc/malloc.c: remove checks for statistics.
35978 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35980         [BZ #15277]
35981         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35982         * inet/tst-network.c: Add testcase.
35984 2013-10-17  Andreas Schwab  <schwab@suse.de>
35986         [BZ #15218]
35987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35988         to determine canonical name.
35990 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35992         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35993         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35995         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35997         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35998         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35999         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36000         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36001         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36002         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36003         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36004         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36005         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36006         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36007         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36009         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36010         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36011         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36012         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36013         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36014         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36015         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36016         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36017         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36018         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36019         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36020         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36021         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36022         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36023         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36024         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36025         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36026         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36027         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36028         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36029         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36030         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36031         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36032         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36033         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36034         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36035         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36036         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36037         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36038         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36039         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36040         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36041         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36042         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36043         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36044         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36045         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36046         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36047         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36049         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36051 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36053         [BZ #16041]
36054         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36055         make result into a quiet NaN.
36057 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36059         * soft-fp/adddf3.c: Fix horizontal whitespace.
36060         * soft-fp/addsf3.c: Likewise.
36061         * soft-fp/addtf3.c: Likewise.
36062         * soft-fp/divdf3.c: Likewise.
36063         * soft-fp/divsf3.c: Likewise.
36064         * soft-fp/divtf3.c: Likewise.
36065         * soft-fp/double.h: Likewise.
36066         * soft-fp/eqdf2.c: Likewise.
36067         * soft-fp/eqsf2.c: Likewise.
36068         * soft-fp/eqtf2.c: Likewise.
36069         * soft-fp/extenddftf2.c: Likewise.
36070         * soft-fp/extended.h: Likewise.
36071         * soft-fp/extendsfdf2.c: Likewise.
36072         * soft-fp/extendsftf2.c: Likewise.
36073         * soft-fp/extendxftf2.c: Likewise.
36074         * soft-fp/fixdfdi.c: Likewise.
36075         * soft-fp/fixdfsi.c: Likewise.
36076         * soft-fp/fixdfti.c: Likewise.
36077         * soft-fp/fixsfdi.c: Likewise.
36078         * soft-fp/fixsfsi.c: Likewise.
36079         * soft-fp/fixsfti.c: Likewise.
36080         * soft-fp/fixtfdi.c: Likewise.
36081         * soft-fp/fixtfsi.c: Likewise.
36082         * soft-fp/fixtfti.c: Likewise.
36083         * soft-fp/fixunsdfdi.c: Likewise.
36084         * soft-fp/fixunsdfsi.c: Likewise.
36085         * soft-fp/fixunsdfti.c: Likewise.
36086         * soft-fp/fixunssfdi.c: Likewise.
36087         * soft-fp/fixunssfsi.c: Likewise.
36088         * soft-fp/fixunssfti.c: Likewise.
36089         * soft-fp/fixunstfdi.c: Likewise.
36090         * soft-fp/fixunstfsi.c: Likewise.
36091         * soft-fp/fixunstfti.c: Likewise.
36092         * soft-fp/floatdidf.c: Likewise.
36093         * soft-fp/floatdisf.c: Likewise.
36094         * soft-fp/floatditf.c: Likewise.
36095         * soft-fp/floatsidf.c: Likewise.
36096         * soft-fp/floatsisf.c: Likewise.
36097         * soft-fp/floatsitf.c: Likewise.
36098         * soft-fp/floattidf.c: Likewise.
36099         * soft-fp/floattisf.c: Likewise.
36100         * soft-fp/floattitf.c: Likewise.
36101         * soft-fp/floatundidf.c: Likewise.
36102         * soft-fp/floatundisf.c: Likewise.
36103         * soft-fp/floatunditf.c: Likewise.
36104         * soft-fp/floatunsidf.c: Likewise.
36105         * soft-fp/floatunsisf.c: Likewise.
36106         * soft-fp/floatunsitf.c: Likewise.
36107         * soft-fp/floatuntidf.c: Likewise.
36108         * soft-fp/floatuntisf.c: Likewise.
36109         * soft-fp/floatuntitf.c: Likewise.
36110         * soft-fp/fmadf4.c: Likewise.
36111         * soft-fp/fmasf4.c: Likewise.
36112         * soft-fp/fmatf4.c: Likewise.
36113         * soft-fp/gedf2.c: Likewise.
36114         * soft-fp/gesf2.c: Likewise.
36115         * soft-fp/getf2.c: Likewise.
36116         * soft-fp/ledf2.c: Likewise.
36117         * soft-fp/lesf2.c: Likewise.
36118         * soft-fp/letf2.c: Likewise.
36119         * soft-fp/muldf3.c: Likewise.
36120         * soft-fp/mulsf3.c: Likewise.
36121         * soft-fp/multf3.c: Likewise.
36122         * soft-fp/negdf2.c: Likewise.
36123         * soft-fp/negsf2.c: Likewise.
36124         * soft-fp/negtf2.c: Likewise.
36125         * soft-fp/op-1.h: Likewise.
36126         * soft-fp/op-2.h: Likewise.
36127         * soft-fp/op-4.h: Likewise.
36128         * soft-fp/op-8.h: Likewise.
36129         * soft-fp/op-common.h: Likewise.
36130         * soft-fp/quad.h: Likewise.
36131         * soft-fp/single.h: Likewise.
36132         * soft-fp/soft-fp.h: Likewise.
36133         * soft-fp/sqrtdf2.c: Likewise.
36134         * soft-fp/sqrtsf2.c: Likewise.
36135         * soft-fp/sqrttf2.c: Likewise.
36136         * soft-fp/subdf3.c: Likewise.
36137         * soft-fp/subsf3.c: Likewise.
36138         * soft-fp/subtf3.c: Likewise.
36139         * soft-fp/truncdfsf2.c: Likewise.
36140         * soft-fp/trunctfdf2.c: Likewise.
36141         * soft-fp/trunctfsf2.c: Likewise.
36142         * soft-fp/trunctfxf2.c: Likewise.
36143         * soft-fp/unorddf2.c: Likewise.
36144         * soft-fp/unordsf2.c: Likewise.
36145         * soft-fp/unordtf2.c: Likewise.
36147 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36149         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36150         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36152 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36154         * elf/dl-libc.c: Clear initfini list after freeing.
36156 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36158         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36159         * soft-fp/addsf3.c: Likewise.
36160         * soft-fp/addtf3.c: Likewise.
36161         * soft-fp/divdf3.c: Likewise.
36162         * soft-fp/divsf3.c: Likewise.
36163         * soft-fp/divtf3.c: Likewise.
36164         * soft-fp/double.h: Likewise.
36165         * soft-fp/eqdf2.c: Likewise.
36166         * soft-fp/eqsf2.c: Likewise.
36167         * soft-fp/eqtf2.c: Likewise.
36168         * soft-fp/extenddftf2.c: Likewise.
36169         * soft-fp/extended.h: Likewise.
36170         * soft-fp/extendsfdf2.c: Likewise.
36171         * soft-fp/extendsftf2.c: Likewise.
36172         * soft-fp/extendxftf2.c: Likewise.
36173         * soft-fp/fixdfdi.c: Likewise.
36174         * soft-fp/fixdfsi.c: Likewise.
36175         * soft-fp/fixdfti.c: Likewise.
36176         * soft-fp/fixsfdi.c: Likewise.
36177         * soft-fp/fixsfsi.c: Likewise.
36178         * soft-fp/fixsfti.c: Likewise.
36179         * soft-fp/fixtfdi.c: Likewise.
36180         * soft-fp/fixtfsi.c: Likewise.
36181         * soft-fp/fixtfti.c: Likewise.
36182         * soft-fp/fixunsdfdi.c: Likewise.
36183         * soft-fp/fixunsdfsi.c: Likewise.
36184         * soft-fp/fixunsdfti.c: Likewise.
36185         * soft-fp/fixunssfdi.c: Likewise.
36186         * soft-fp/fixunssfsi.c: Likewise.
36187         * soft-fp/fixunssfti.c: Likewise.
36188         * soft-fp/fixunstfdi.c: Likewise.
36189         * soft-fp/fixunstfsi.c: Likewise.
36190         * soft-fp/fixunstfti.c: Likewise.
36191         * soft-fp/floatdidf.c: Likewise.
36192         * soft-fp/floatdisf.c: Likewise.
36193         * soft-fp/floatditf.c: Likewise.
36194         * soft-fp/floatsidf.c: Likewise.
36195         * soft-fp/floatsisf.c: Likewise.
36196         * soft-fp/floatsitf.c: Likewise.
36197         * soft-fp/floattidf.c: Likewise.
36198         * soft-fp/floattisf.c: Likewise.
36199         * soft-fp/floattitf.c: Likewise.
36200         * soft-fp/floatundidf.c: Likewise.
36201         * soft-fp/floatundisf.c: Likewise.
36202         * soft-fp/floatunsidf.c: Likewise.
36203         * soft-fp/floatunsisf.c: Likewise.
36204         * soft-fp/floatuntidf.c: Likewise.
36205         * soft-fp/floatuntisf.c: Likewise.
36206         * soft-fp/floatuntitf.c: Likewise.
36207         * soft-fp/fmadf4.c: Likewise.
36208         * soft-fp/fmasf4.c: Likewise.
36209         * soft-fp/fmatf4.c: Likewise.
36210         * soft-fp/gedf2.c: Likewise.
36211         * soft-fp/gesf2.c: Likewise.
36212         * soft-fp/getf2.c: Likewise.
36213         * soft-fp/ledf2.c: Likewise.
36214         * soft-fp/lesf2.c: Likewise.
36215         * soft-fp/letf2.c: Likewise.
36216         * soft-fp/muldf3.c: Likewise.
36217         * soft-fp/mulsf3.c: Likewise.
36218         * soft-fp/multf3.c: Likewise.
36219         * soft-fp/negdf2.c: Likewise.
36220         * soft-fp/negsf2.c: Likewise.
36221         * soft-fp/negtf2.c: Likewise.
36222         * soft-fp/op-1.h: Likewise.
36223         * soft-fp/op-2.h: Likewise.
36224         * soft-fp/op-4.h: Likewise.
36225         * soft-fp/op-8.h: Likewise.
36226         * soft-fp/op-common.h: Likewise.
36227         * soft-fp/quad.h: Likewise.
36228         * soft-fp/single.h: Likewise.
36229         * soft-fp/soft-fp.h: Likewise.
36230         * soft-fp/sqrtdf2.c: Likewise.
36231         * soft-fp/sqrtsf2.c: Likewise.
36232         * soft-fp/sqrttf2.c: Likewise.
36233         * soft-fp/subdf3.c: Likewise.
36234         * soft-fp/subsf3.c: Likewise.
36235         * soft-fp/subtf3.c: Likewise.
36236         * soft-fp/truncdfsf2.c: Likewise.
36237         * soft-fp/trunctfdf2.c: Likewise.
36238         * soft-fp/trunctfsf2.c: Likewise.
36239         * soft-fp/trunctfxf2.c: Likewise.
36240         * soft-fp/unorddf2.c: Likewise.
36241         * soft-fp/unordsf2.c: Likewise.
36242         * soft-fp/unordtf2.c: Likewise.
36244 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36246         [BZ #15672]
36247         * misc/error.c (error_tail): Fix possible buffer overflow.
36249 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36251         [BZ #13028]
36252         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36253         address.
36255 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36257         [BZ #832]
36258         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36259         testing pipefail option.
36261 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36263         * soft-fp/double.h: Indent preprocessor directives inside #if.
36264         * soft-fp/extended.h: Likewise.
36265         * soft-fp/op-2.h: Likewise.
36266         * soft-fp/op-4.h: Likewise.
36267         * soft-fp/op-common.h: Likewise.
36268         * soft-fp/quad.h: Likewise.
36269         * soft-fp/single.h: Likewise.
36270         * soft-fp/soft-fp.h: Likewise.
36272 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36274         * iconv/iconv_prog.c: Fix typos.
36275         * stdio-common/psiginfo-data.h: Likewise.
36277 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36279         [BZ #15764]
36280         * locale/setlocale.c: Fix typo.
36282 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36284         [BZ #16036]
36285         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36286         signaling NaN arguments.
36287         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36288         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36290         [BZ #14910]
36291         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36292         unordered operands.
36293         * soft-fp/gesf2.c (__gesf2): Likewise.
36294         * soft-fp/getf2.c (__getf2): Likewise.
36295         * soft-fp/ledf2.c (__ledf2): Likewise.
36296         * soft-fp/lesf2.c (__lesf2): Likewise.
36297         * soft-fp/letf2.c (__letf2): Likewise.
36299         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36300         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36301         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36302         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36303         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36304         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36305         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36306         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36307         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36308         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36309         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36310         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36311         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36312         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36313         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36314         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36315         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36316         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36317         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36318         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36319         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36320         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36321         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36322         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36323         * soft-fp/floattidf.c (__floattidf): Likewise.
36324         * soft-fp/floattisf.c (__floattisf): Likewise.
36325         * soft-fp/floattitf.c (__floattitf): Likewise.
36326         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36327         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36328         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36329         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36330         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36331         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36332         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36333         * soft-fp/gesf2.c (__gesf2): Likewise.
36334         * soft-fp/getf2.c (__getf2): Likewise.
36335         * soft-fp/ledf2.c (__ledf2): Likewise.
36336         * soft-fp/lesf2.c (__lesf2): Likewise.
36337         * soft-fp/letf2.c (__letf2): Likewise.
36339         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36340         Undefine and redefine.
36341         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36342         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36343         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36344         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36345         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36346         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36347         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36348         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36349         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36350         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36351         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36352         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36353         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36354         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36355         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36357         [BZ #16032]
36358         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36359         without decrementing exponent if mantissa >= that for the
36360         denominator, not >.
36361         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36362         denominator, not >.  Decrement exponent in < case instead of
36363         incrementing in >= case.
36364         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36365         without decrementing exponent if mantissa >= that for the
36366         denominator, not >.
36368         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36369         computing saturated result for unsigned overflow.
36371 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36372             Jeff Law  <law@redhat.com>
36374         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36375         (atan2Mp): Add systemtap probe marker.
36376         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36377         (__ieee754_log): Add systemtap probe marker.
36378         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36379         (atanMp): Add systemtap probe marker.
36380         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36381         (tanMp): Add systemtap probe marker.
36382         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36383         (__slowexp): Add systemtap probe marker.
36384         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36385         (__slowpow): Add systemtap probe marker.
36386         * manual/probes.texi: Document probes.
36388 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36390         [BZ #15362]
36391         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36392         written.
36393         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36394         written.
36395         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36396         written to buffer but not flushed.
36397         * libio/iofwrite_u.c:  Likewise.
36398         * libio/iopadn.c:  Return bytes returned even if EOF was
36399         encountered.
36400         * libio/iowpadn.c:  Likewise.
36401         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36402         if _IO_padn does not write the whole buffer.
36403         [!COMPILE_WPRINTF] (PAD): Likewise.
36405 2013-10-10  David S. Miller  <davem@davemloft.net>
36407         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36408         directory block.
36410 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36412         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36413         instead of FSF address.
36414         * soft-fp/fixdfti.c: Likewise.
36415         * soft-fp/fixsfti.c: Likewise.
36416         * soft-fp/fixtfti.c: Likewise.
36417         * soft-fp/fixunsdfti.c: Likewise.
36418         * soft-fp/fixunssfti.c: Likewise.
36419         * soft-fp/fixunstfti.c: Likewise.
36420         * soft-fp/floattidf.c: Likewise.
36421         * soft-fp/floattisf.c: Likewise.
36422         * soft-fp/floattitf.c: Likewise.
36423         * soft-fp/floatuntidf.c: Likewise.
36424         * soft-fp/floatuntisf.c: Likewise.
36425         * soft-fp/floatuntitf.c: Likewise.
36426         * soft-fp/trunctfxf2.c: Likewise.
36428         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36429         * soft-fp/fixdfti.c: Likewise.
36430         * soft-fp/fixsfti.c: Likewise.
36431         * soft-fp/fixtfti.c: Likewise.
36432         * soft-fp/fixunsdfti.c: Likewise.
36433         * soft-fp/fixunssfti.c: Likewise.
36434         * soft-fp/fixunstfti.c: Likewise.
36435         * soft-fp/floattidf.c: Likewise.
36436         * soft-fp/floattisf.c: Likewise.
36437         * soft-fp/floattitf.c: Likewise.
36438         * soft-fp/floatuntidf.c: Likewise.
36439         * soft-fp/floatuntisf.c: Likewise.
36440         * soft-fp/floatuntitf.c: Likewise.
36441         * soft-fp/trunctfxf2.c: Likewise.
36443 2013-10-10  David S. Miller  <davem@davemloft.net>
36445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36447 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36449         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36450         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36451         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36452         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36453         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36454         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36455         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36458         for NaNs before doing comparisons on argument.
36459         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36460         Likewise.
36462 2013-10-10  Will Newton  <will.newton@linaro.org>
36464         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36465         passed to _int_memalign does not overflow.
36467 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36469         * scripts/bench.pl: Add include-sources directive.
36470         * benchtests/README: Update documentation.
36472 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36474         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36475         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36476         instead of FP_INIT_ROUNDMODE.
36477         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36478         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36480         [BZ #16034]
36481         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36482         copy class of input value.
36483         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36484         not handle exceptions.
36485         * soft-fp/negsf2.c (__negsf2): Likewise.
36486         * soft-fp/negtf2.c (__negtf2): Likewise.
36487         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36489 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36491         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36492         semicolon.  From Linux kernel.
36494 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36496         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36498 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36500         [BZ #156]
36501         * manual/socket.texi: Added statement about buffer
36502         for gethostbyname2_r.
36504 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36506         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36507         Use .p2align directive instead, throughout.
36508         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36509         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36510         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36511         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36512         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36513         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36514         * sysdeps/x86_64/strchr.S: Likewise.
36515         * sysdeps/x86_64/strrchr.S: Likewise.
36517 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36519         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36521         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36523         * sysdeps/generic/math_private.h (__mpsin1): Remove
36524         declaration.
36525         (__mpcos1): Likewise.
36526         (__mpsin): New argument __range_reduce.
36527         (__mpcos): Likewise.
36528         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36529         (slow): Use __mpsin and __mpcos.
36530         (slow1): Likewise.
36531         (slow2): Likewise.
36532         (sloww): Likewise.
36533         (sloww1): Likewise.
36534         (sloww2): Likewise.
36535         (bsloww): Likewise.
36536         (bsloww1): Likewise.
36537         (bsloww2): Likewise.
36538         (cslow2): Likewise.
36539         (csloww): Likewise.
36540         (csloww1): Likewise.
36541         (csloww2): Likewise.
36542         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36543         range_reduce.  Merge in __mpsin1.
36544         (__mpcos): Likewise.
36545         (__mpsin1): Remove.
36546         (__mpcos1): Likewise.
36548 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36550         * locale/loadlocale.c (_nl_intern_locale_data): Use
36551         LOCFILE_ALIGNED_P.
36552         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36553         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36554         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36555         obstack data is appropriately aligned.
36556         (obstack_int32_grow_fast): Likewise.
36557         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36558         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36559         (add_locale_uint32_array): Likewise.
36561 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36563         * benchtests/Makefile: Remove ARGLIST and RET variables.
36564         ($(objpfx)bench-%.c): Pass only function name to the script.
36565         * benchtests/README: Update documentation.
36566         * benchtests/acos-inputs: Add new directives.
36567         * benchtests/acosh-inputs: Likewise.
36568         * benchtests/asin-inputs: Likewise.
36569         * benchtests/asinh-inputs: Likewise.
36570         * benchtests/atan-inputs: Likewise.
36571         * benchtests/atanh-inputs: Likewise.
36572         * benchtests/cos-inputs: Likewise.
36573         * benchtests/cosh-inputs: Likewise.
36574         * benchtests/exp-inputs: Likewise.
36575         * benchtests/log-inputs: Likewise.
36576         * benchtests/pow-inputs: Likewise.
36577         * benchtests/rint-inputs: Likewise.
36578         * benchtests/sin-inputs: Likewise.
36579         * benchtests/sinh-inputs: Likewise.
36580         * benchtests/tan-inputs: Likewise.
36581         * benchtests/tanh-inputs: Likewise.
36582         * scripts/bench.pl: Add support for new directives.
36584 2013-10-07  Alan Modra  <amodra@gmail.com>
36586         * README: Fix careless merge.
36588 2013-10-05  Alan Modra  <amodra@gmail.com>
36590         * NEWS: Mention powerpc64le support and bugs fixed.
36591         * README: Both big-endian and little-endian powerpc64 supported.
36593 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36595         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36596         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36597         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36598         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36600 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36602         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36603         match prototype.
36605 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36607         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36608         Move -mhard-float appending from
36609         ports/sysdeps/powerpc/powerpc32/Makefile.
36610         [$(with-fp) = yes] (ASFLAGS): Likewise.
36611         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36612         * sysdeps/powerpc/nofpu: Move directory from
36613         ports/sysdeps/powerpc/nofpu.
36614         * sysdeps/powerpc/soft-fp: Move directory from
36615         ports/sysdeps/powerpc/soft-fp.
36616         * sysdeps/powerpc/powerpc32/405: Move directory from
36617         ports/sysdeps/powerpc/powerpc32/405.
36618         * sysdeps/powerpc/powerpc32/440: Move directory from
36619         ports/sysdeps/powerpc/powerpc32/440.
36620         * sysdeps/powerpc/powerpc32/464: Move directory from
36621         ports/sysdeps/powerpc/powerpc32/464.
36622         * sysdeps/powerpc/powerpc32/476: Move directory from
36623         ports/sysdeps/powerpc/powerpc32/476.
36624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36625         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36627         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36629         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36631         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36633         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36634         * README: Update for powerpc-*-linux-gnu software floating point
36635         support in libc.
36637         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36638         case to powerpc/powerpc32*.
36639         * sysdeps/unix/sysv/linux/configure: Regenerated.
36641         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36642         (_FPU_MASK_OM): Define as 0x04.
36643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36645         0x00c10080.
36646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36647         0x0000003c.
36648         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36651         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36652         getcontext_e500.
36653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36654         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36655         setcontext_e500.
36656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36657         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36658         and setcontext_e500.
36660 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36662         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36664 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36666         * manual/threads.texi (Default Thread Attributes): Fix typo.
36668 2013-10-04  Will Newton  <will.newton@linaro.org>
36670         * malloc/Makefile: Add tst-memalign.
36671         * malloc/tst-memalign.c: New file.
36673         * malloc/tst-posix_memalign.c: Add comments.
36674         (do_test): Add comments and call free on all potentially
36675         allocated pointers. Add space after cast.
36677         * malloc/tst-pvalloc.c: Add comments.
36678         (do_test): Add comments and call free on all potentially
36679         allocated pointers. Remove duplicate check for NULL pointer.
36680         Add space after cast.
36682         * malloc/tst-valloc.c: Add comments.
36683         (do_test): Add comments and call free on all potentially
36684         allocated pointers. Remove duplicate check for NULL pointer.
36685         Add space after cast.
36687 2013-10-04  Alan Modra  <amodra@gmail.com>
36689         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36690         Use stdint types in rather than __attribute__((mode())).
36691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36693 2013-10-04  Alan Modra  <amodra@gmail.com>
36695         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36696         Correct handling of unaligned relocs for little-endian.
36697         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36699 2013-10-04  Alan Modra  <amodra@gmail.com>
36701         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36702         * configure: Regenerate.
36703         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36704         * shlib-versions: Likewise.
36706 2013-10-04  Alan Modra  <amodra@gmail.com>
36708         * string/tester.c (test_memrchr): Increment reported test cycle.
36710 2013-10-04  Alan Modra  <amodra@gmail.com>
36712         * string/test-memcpy.c (do_one_test): When reporting errors, print
36713         string address and don't overrun end of string.
36715 2013-10-04  Alan Modra  <amodra@gmail.com>
36717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36718         insrdi.  Make better use of reg selection to speed exit slightly.
36719         Schedule entry path a little better.  Remove useless "are we done"
36720         checks on entry to main loop.  Handle wrapping around zero address.
36721         Correct main loop count.  Handle single left-over word from main
36722         loop inline rather than by using loop_small.  Remove extra word
36723         case in loop_small caused by wrong loop count.  Add little-endian
36724         support.
36725         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36726         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36727         cache hint.
36728         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36729         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36730         support.  Avoid rlwimi.
36731         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36733 2013-10-04  Alan Modra  <amodra@gmail.com>
36735         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36736         insrdi.  Formatting.
36737         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36738         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36739         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36740         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36741         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36742         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36744 2013-10-04  Alan Modra  <amodra@gmail.com>
36746         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36747         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36748         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36749         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36750         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36751         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36752         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36753         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36754         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36755         use of regs.  Use power7 mtocrf.  Tidy function tails.
36757 2013-10-04  Alan Modra  <amodra@gmail.com>
36759         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36760         Formatting.  Consistently use rXXX register defines or rN defines.
36761         Use early exit labels that avoid restoring unused non-volatile regs.
36762         Make cr field use more consistent with rWORDn compares.  Rename
36763         regs used as shift registers for unaligned loop, using rN defines
36764         for short lifetime/multiple use regs.
36765         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36766         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36767         addi 1,1,64 to pop stack frame.  Simplify return value code.
36768         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36770 2013-10-04  Alan Modra  <amodra@gmail.com>
36772         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36773         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36774         rather than rlwimi.
36775         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36776         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36777         little-endian support.  Correct typos.
36778         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36779         rather than rlwimi.
36780         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36781         in loop and entry code to keep "and." results.
36782         (strchr): Add little-endian support.  Comment.  Move cntlzd
36783         earlier in tail.
36784         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36786 2013-10-04  Alan Modra  <amodra@gmail.com>
36788         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36789         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36790         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36791         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36793 2013-10-04  Alan Modra  <amodra@gmail.com>
36795         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36796         (rTMP): Define as r11.
36797         (strcmp): Add little-endian support.  Optimise tail.
36798         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36799         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36800         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36806 2013-10-04  Alan Modra  <amodra@gmail.com>
36808         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36809         little-endian support.  Remove unnecessary "are we done" tests.
36810         Handle "s" wrapping around zero and extremely large "size".
36811         Correct main loop count.  Handle single left-over word from main
36812         loop inline rather than by using small_loop.  Correct comments.
36813         Delete "zero" tail, use "end_max" instead.
36814         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36816 2013-10-04  Alan Modra  <amodra@gmail.com>
36818         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36819         support.  Don't branch over align.
36820         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36821         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36822         support.  Rearrange tmp reg use to suit.  Comment.
36823         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36825 2013-10-04  Alan Modra  <amodra@gmail.com>
36827         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36829 2013-10-04  Alan Modra  <amodra@gmail.com>
36831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36832         conditional form of branch and link when obtaining pc.
36833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36835 2013-10-04  Alan Modra  <amodra@gmail.com>
36837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36838         HIWORD/LOWORD.
36839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36842 2013-10-04  Alan Modra  <amodra@gmail.com>
36844         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36845         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36846         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36847         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36848         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36849         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36850         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36851         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36852         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36853         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36855 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36856             Alistair Popple <alistair@ozlabs.au.ibm.com>
36857             Alan Modra <amodra@gmail.com>
36859         [BZ #15723]
36860         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36861         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36862         _dl_hwcap access for little-endian.
36863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36864         destroy vmx regs when saving unaligned.
36865         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36866         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36867         destroy vmx regs when saving unaligned.
36869 2013-10-04  Alan Modra  <amodra@gmail.com>
36871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36872         Don't use a union to pack hi/low value.
36874 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36876         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36877         for little-endian.
36878         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36880         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36881         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36882         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36884 2013-10-04  Alan Modra  <amodra@gmail.com>
36886         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36887         constants to usual value for .cst8 section, and remove redundant
36888         high address load.
36889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36890         constant for 0x1p52.  Load little-endian words of double from
36891         correct stack offsets.
36893 2013-10-04  Alan Modra  <amodra@gmail.com>
36895         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36896         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36897         words of double from correct stack offsets.
36898         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36899         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36900         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36901         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36903         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36904         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36905         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36906         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36907         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36908         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36909         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36910         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36911         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36912         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36913         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36914         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36916 2013-10-04  Alan Modra  <amodra@gmail.com>
36918         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36919         64-bit int/double union.
36920         (_FPU_SETCW): Likewise.
36921         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36922         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36924 2013-10-04  Alan Modra  <amodra@gmail.com>
36926         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36927         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36929 2013-10-04  Alan Modra  <amodra@gmail.com>
36931         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36932         use vector int constants.
36933         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36935 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36937         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36938         array with long long.
36939         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36940         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36941         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36942         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36943         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36944         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36945         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36946         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36947         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36948         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36949         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36950         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36951         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36953 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36955         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36956         (__signbit): Likewise.  Correct for little-endian.
36957         (__signbitl): Call __signbit.
36958         (lrint): Correct for little-endian.
36959         (lrintf): Call lrint.
36961 2013-10-04  Alan Modra  <amodra@gmail.com>
36963         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36964         union 32-bit int array member with 64-bit int array.
36965         (t515, tm256): Double rather than long double.
36966         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36968 2013-10-04  Alan Modra  <amodra@gmail.com>
36970         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36971         Delete.
36972         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36974         version of math_ldbl.h.
36976 2013-10-04  Alan Modra  <amodra@gmail.com>
36978         [BZ #15734], [BZ #15735]
36979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36980         all uses of ieee875 long double macros and unions.  Simplify test
36981         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36982         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36983         normalize after ldbl_extract_mantissa, and don't add hidden bit
36984         already handled.  Don't treat low word of ieee854 mantissa like
36985         low word of IBM long double and mask off bit when testing for
36986         zero.
36987         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36988         all uses of ieee875 long double macros and unions.  Simplify tests
36989         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36990         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36991         two1022, instead use their values.  Recognise that tests for large
36992         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36993         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36994         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36995         test for 0.0L and nan.  Correct negation.
36996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36997         ieee875 long double macros and unions.  Correct output for large
36998         magnitude x.  Correct absolute value calculation.
36999         (__erfcl): Likewise.
37000         * math/libm-test.inc: Add tests for errors discovered in IBM long
37001         double versions of fmodl, remainderl, erfl and erfcl.
37003 2013-10-04  Alan Modra  <amodra@gmail.com>
37005         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37006         all uses of ieee854 long double macros and unions.  Simplify tests
37007         for long doubles that are fully specified by the high double.
37008         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37009         Likewise.
37010         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37011         Remove dead code too.
37012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37013         (__ieee754_ynl): Likewise.
37014         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37015         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37016         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37017         Remove dead code too.
37018         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37019         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37020         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37021         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37022         Simplify.
37023         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37024         Simplify.
37025         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37026         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37028         Comment on variable precision.
37029         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37030         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37031         Likewise.
37032         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37033         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37034         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37035         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37036         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37038 2013-10-04  Alan Modra  <amodra@gmail.com>
37040         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37041         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37042         all uses of ieee854 long double macros and unions.
37043         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37045         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37047         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37048         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37049         Likewise.
37050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37051         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37052         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37053         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37054         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37055         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37056         Simplify sign and nan test too.
37057         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37058         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37059         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37060         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37061         Likewise.
37062         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37063         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37064         Likewise.
37065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37066         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37067         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37068         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37072 2013-10-04  Alan Modra  <amodra@gmail.com>
37074         * stdio-common/printf_size.c (__printf_size): Don't use
37075         union ieee854_long_double in fpnum union.
37076         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37077         signbit macro to retrieve sign from long double.
37078         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37079         retrieve sign from long double.
37080         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37081         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37082         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37083         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37084         * math/test-misc.c (main): Don't use union ieee854_long_double.
37086 2013-10-04  Alan Modra  <amodra@gmail.com>
37088         [BZ #15680]
37089         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37090         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37091         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37092         calculation.  Remove unnecessary test for denormal exponent.
37093         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37094         Correct handling of denormals.  Avoid undefined shift behaviour.
37095         Correct normalisation of low mantissa when low double is denormal.
37096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37097         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37098         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37099         Correct normalisation of low mantissa.  Test for overflow of high
37100         mantissa and normalise.
37101         (ldbl_nearbyint): Use more readable constant for two52.
37102         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37103         (__mpn_construct_long_double): Fix test for overflow of high
37104         mantissa and correct normalisation.  Avoid undefined shift.
37106 2013-10-04  Alan Modra  <amodra@gmail.com>
37108         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37109         (union ibm_extended_long_double): Define as an array of ieee754_double.
37110         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37111         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37112         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37113         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37114         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37115         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37116         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37117         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37119         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37120         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37122 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37124         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37125         page size instead of calling getpagesize.
37127         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37128         (LOCFILE_ALIGN_MASK): Likewise.
37129         (LOCFILE_ALIGN_UP): Likewise.
37130         (LOCFILE_ALIGNED_P): Likewise.
37131         * locale/programs/ld-collate.c (collate_output): Use the new
37132         macros instead of __alignof__ (int32_t).
37133         * locale/weight.h (findidx): Likewise.
37135 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37137         [BZ #431]
37138         * manual/string.texi: Fix strncat and wcsncat.
37140 2013-10-03  Brooks Moses  <bmoses@google.com>
37142         [BZ #15915]
37143         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37144         * Makerules: ...here, and adjust associated comments.
37146 2013-10-02  Will Newton  <will.newton@linaro.org>
37148         * malloc/Makefile: Add tst-pvalloc.
37149         * malloc/tst-pvalloc.c: New file.
37151 2013-10-02  Will Newton  <will.newton@linaro.org>
37153         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37154         improve test coverage.
37156 2013-10-02  Will Newton  <will.newton@linaro.org>
37158         * malloc/Makefile: Add tst-posix_memalign.
37159         * malloc/tst-posix_memalign.c: New file.
37161 2013-10-01  Eric Blake  <eblake@redhat.com>
37163         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37164         Use __THROWNL rather than __THROW on static functions.
37166 2013-09-30  Petr Machata  <pmachata@redhat.com>
37168         * elf/elf.h (R_AARCH64_ABS16): New macro.
37169         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37170         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37171         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37172         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37173         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37174         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37175         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37176         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37177         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37178         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37179         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37180         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37181         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37182         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37183         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37184         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37185         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37186         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37187         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37188         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37189         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37190         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37191         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37192         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37193         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37194         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37195         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37196         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37197         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37198         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37199         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37200         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37201         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37202         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37203         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37204         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37205         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37206         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37207         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37208         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37209         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37210         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37211         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37212         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37213         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37214         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37215         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37216         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37217         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37218         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37219         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37220         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37221         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37222         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37223         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37224         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37225         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37226         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37227         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37228         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37229         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37230         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37231         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37232         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37233         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37234         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37235         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37236         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37237         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37238         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37239         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37240         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37241         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37242         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37243         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37244         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37245         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37246         (R_AARCH64_TLSDESC_LDR): Likewise.
37247         (R_AARCH64_TLSDESC_ADD): Likewise.
37248         (R_AARCH64_TLSDESC_CALL): Likewise.
37250 2013-09-30  Andreas Schwab  <schwab@suse.de>
37252         [BZ #15048]
37253         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37254         the nss database lookup.
37255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37258 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37260         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37262 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37264         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37265         ${Bash-specific parameter/pattern/string} parameter expansion.
37266         * sysdeps/unix/make-syscalls.sh: Likewise.
37268 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37270         * sysdeps/sh/stackguard-macros.h: New file.
37272 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37276         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37277         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37278         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37279         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37281 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37283         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37284         Fix thread ID register.
37286 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37288         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37289         [POSIX || UNIX98]: Require rather than permitting all symbols from
37290         <time.h>.
37291         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37292         element of struct sched_param.
37293         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37294         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37295         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37296         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37297         constant.
37299 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37301         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37302         argument calculation.
37304 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37306         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37307         Expect macro.
37308         [POSIX] (pthread_attr_t): Do not require type.
37309         [POSIX] (pthread_cond_t): Likewise.
37310         [POSIX] (pthread_condattr_t): Likewise.
37311         [POSIX] (pthread_key_t): Likewise.
37312         [POSIX] (pthread_mutex_t): Likewise.
37313         [POSIX] (pthread_mutexattr_t): Likewise.
37314         [POSIX] (pthread_once_t): Likewise.
37315         [POSIX] (pthread_t): Likewise.
37316         [POSIX-based standards] (pthread_atfork): Expect function.
37318 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37319             Richard Sandiford  <richard@codesourcery.com>
37321         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37322         (swap_endianness_p): New extern variable.
37323         (set_big_endian): New inline function.
37324         (maybe_swap_uint32): Likewise.
37325         (maybe_swap_uint32_array): Likewise.
37326         (maybe_swap_uint32_obstack): Likewise.
37327         * locale/programs/locfile.c: Include <stdbool.h>.
37328         (swap_endianness_p): New variable.
37329         (add_locale_uint32): Call maybe_swap_uint32.
37330         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37331         (write_locale_data): Call maybe_swap_uint32_array.
37332         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37333         maybe_swap_uint32.
37334         (obstack_int32_grow_fast): Likewise.
37335         (output_weightwc): Call maybe_swap_uint32_obstack.
37336         (collate_output): Likewise.
37337         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37338         (OPT_LITTLE_ENDIAN): Likewise.
37339         (options): Add --little-endian and --big-endian options.
37340         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37341         * locale/programs/locarchive.c: Include "locfile.h".
37342         (GET): New macro.
37343         (SET): Likewise.
37344         (INC): Likewise.
37345         (create_archive): Use the new macros to access fields of
37346         structures directly mapped from or written to locale archives.
37347         (oldlocrecentcmp): Likewise.
37348         (enlarge_archive): Likewise.
37349         (insert_name): Likewise.
37350         (add_alias): Likewise.
37351         (add_locale): Likewise.
37352         (delete_locales_from_archive): Likewise.
37353         (show_archive_content): Likewise.
37354         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37355         locale data.
37357 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37359         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37360         http://www.gnu.org/doc/freemanuals.texi.
37361         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37363 2013-09-24  Will Newton  <will.newton@linaro.org>
37365         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37366         macro.
37368 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37370         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37371         unsigned char.
37373 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37375         * manual/threads.texi (POSIX Threads): Fix a typo.
37377 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37379         [BZ #14547]
37380         * string/tst-strcoll-overflow.c: New test case.
37381         * string/Makefile (xtests): Add tst-strcoll-overflow.
37382         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37383         cache if string sizes may cause integer overflow.
37385         [BZ #14547]
37386         * string/strcoll_l.c (coll_seq): New members rule, idx,
37387         save_idx and back_us.
37388         (get_next_seq_nocache): New function.
37389         (do_compare_nocache): New function.
37390         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37391         when malloc fails.
37393 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37395         [BZ #15754]
37396         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37397         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37398         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37400         [BZ #15754]
37401         * elf/Makefile (tests): Add tst-ptrguard1.
37402         (tests-static): Add tst-ptrguard1-static.
37403         (tst-ptrguard1-ARGS): Define.
37404         (tst-ptrguard1-static-ARGS): Define.
37405         * elf/tst-ptrguard1.c: New file.
37406         * elf/tst-ptrguard1-static.c: New file.
37407         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37408         * sysdeps/i386/stackguard-macros.h: Likewise.
37409         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37410         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37411         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37412         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37413         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37414         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37416 2013-09-23  Hector Marco  <hecmargi@upv.es>
37417             Ismael Ripoll  <iripoll@disca.upv.es>
37418             Carlos O'Donell  <carlos@redhat.com>
37420         [BZ #15754]
37421         * sysdeps/generic/stackguard-macros.h: Define
37422         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37423         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37424         Define __pointer_chk_guard_local.
37425         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37426         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37428 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37430         [BZ #15859]
37431         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37433 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37435         * include/string.h (__ffs): Declare as hidden.
37436         * string/ffs.c (__ffs): Define as hidden.
37437         * sysdeps/i386/ffs.c (__ffs): Likewise.
37438         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37439         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37440         * sysdeps/s390/ffs.c (__ffs): Likewise.
37441         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37443 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37445         * NEWS: Mention malloc probes.
37447         * malloc/arena.c (new_heap): New memory_heap_new probe.
37448         (grow_heap): New memory_heap_more probe.
37449         (shrink_heap): New memory_heap_less probe.
37450         (heap_trim): New memory_heap_free probe.
37451         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37452         (systrim): New memory_sbrk_less probe.
37453         * manual/probes.texi: Document them.
37455         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37456         * manual/probes.texi: Document it.
37458         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37459         (__libc_realloc): Add memory_realloc_retry probe.
37460         (__libc_memalign): Add memory_memalign_retry probe.
37461         (__libc_valloc): Add memory_valloc_retry probe.
37462         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37463         (__libc_calloc): Add memory_calloc_retry probe.
37464         * manual/probes.texi: Document them.
37466         * malloc/arena.c (get_free_list): Add probe
37467         memory_arena_reuse_free_list.
37468         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37469         and memory_arena_reuse.
37470         (arena_get2) [!PER_THREAD]: Likewise.
37471         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37472         memory_arena_reuse_realloc.
37473         * manual/probes.texi: Document them.
37475         * malloc/malloc.c (__libc_free): Add
37476         memory_mallopt_free_dyn_thresholds probe.
37477         (__libc_mallopt): Add multiple memory_mallopt probes.
37478         * manual/probes.texi: Document them.
37480         * malloc/malloc.c: Include stap-probe.h.
37481         (__libc_mallopt): Add memory_mallopt probe.
37482         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37483         * manual/probes.texi: New.
37484         * manual/Makefile (chapters): Add probes.
37485         * manual/threads.texi: Set next node.
37487 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37489         [BZ #15963, #13985]
37490         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37491         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37492         Add `Chinese' to `nan' entry name.
37494 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37496         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37497         (POLYNOMIAL): Likewise.
37498         (TAYLOR_SINCOS): Likewise.
37499         (TAYLOR_SLOW): Likewise.
37500         (__sin): Use TAYLOR_SINCOS.
37501         (__cos): Likewise.
37502         (slow): Use TAYLOR_SLOW.
37503         (sloww): Likewise.
37504         (bsloww): Likewise.
37505         (csloww): Likewise.
37507 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37509         * stdlib/strtod_l.c: Fix buffer overrun.
37511 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37513         * benchtests/Makefile (bench): Add sincos.
37514         * benchtests/bench-sincos.c: New file.
37516         * math/libm-test.inc (cos_test_data): New test inputs.
37517         (sin_test_data): Likewise.
37519         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37520         macro.
37521         (__sin): Use it.
37522         (__cos): Likewise.
37523         (slow1): Likewise.
37524         (slow2): Likewise.
37525         (sloww1): Likewise.
37526         (sloww2): Likewise.
37527         (bsloww1): Likewise.
37528         (bsloww2): Likewise.
37529         (cslow2): Likewise.
37530         (csloww1): Likewise.
37531         (csloww2): Likewise.
37533         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37534         function.
37535         (__sin): Use it.
37536         (__cos): Likewise.
37538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37539         gotos.
37540         (__cos): Likewise.
37542 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37544         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37545         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37546         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37547         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37548         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37549         * elf/cache.c (print_entry): Handle the new cache flags.
37551 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37552             Aldy Hernandez  <aldyh@redhat.com>
37554         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37555         Change condition to [_SOFT_FLOAT].
37556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37568         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37571         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37572         declaration.
37574 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37576         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37577         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37578         (__longjmp): Use LOAD_GP to load saved GPRs.
37579         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37580         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37581         (__sigsetjmp): Use SAVE_GP to save GPRs.
37583         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37584         Do not append -msoft-float.
37585         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37587 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37589         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37591 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37593         [BZ #15966]
37594         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37595         (_FPU_GETCW): Use initial "__" on variable and field names but not
37596         on macro parameter name.
37597         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37598         parentheses around reference to macro parameter.
37600 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37602         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37603         prototype.
37604         (ctype_startup): Use uint32_t in cast and sizeof for
37605         ctype->charnames.
37607 2013-09-11  Jia Liu  <proljc@gmail.com>
37609         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37610         __daddr_t_defined.
37611         [__FreeBSD__]: Likewise.
37613 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37616         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37617         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37618         (strchr): Remove __strchr_sse42 ifunc selection.
37619         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37620         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37622 2013-09-11  Will Newton  <will.newton@linaro.org>
37624         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37625         parameter to RES. Remove hardcoded 1000 value.
37626         * benchtests/bench-skeleton.c (main): Pass RES parameter
37627         to TIMING_INIT and multiply result by 1000.
37629 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37633 2013-09-11  Andreas Schwab  <schwab@suse.de>
37635         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37636         if not defined.
37637         (O_TMPFILE) [__USE_GNU]: Define.
37638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37639         Define.
37641 2013-09-11  Will Newton  <will.newton@linaro.org>
37643         [BZ #15857]
37644         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37645         does not overflow.
37647 2013-09-11  Will Newton  <will.newton@linaro.org>
37649         [BZ #15856]
37650         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37651         does not overflow.
37653 2013-09-11  Will Newton  <will.newton@linaro.org>
37655         [BZ #15855]
37656         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37657         does not overflow.
37659 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37661         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37662         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37663         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37664         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37665         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37667 2013-09-10  Allan McRae  <allan@archlinux.org>
37669         [BZ #15748]
37670         * manual/arith.texi (Parsing of Floats): Clarify
37671         cross-reference.
37673         [BZ #15849]
37674         * manual/install.texi (Running make install): Mention
37675         --enable-pt-chown.
37676         * INSTALL: Regenerated.
37678 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37680         * csu/init-first.c (_init): Remove the !SHARED condition around
37681         FPU control word initialization.
37682         * elf/dl-support.c (_dl_fpu_control): New variable.
37683         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37684         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37685         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37686         * math/test-fpucw-static.c: New file.
37687         * math/test-fpucw-ieee.c: New file.
37688         * math/test-fpucw-ieee-static.c: New file.
37689         * math/Makefile (tests): Add `test-fpucw-ieee' and
37690         `$(tests-static)'.
37691         (tests-static): New variable.
37692         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37693         dependency to...
37694         [($(build-shared),yes)]
37695         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37696         ... this.
37697         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37698         New dependency.
37700 2013-09-09  Allan McRae  <allan@archlinux.org>
37702         [BZ #15939]
37703         * manual/string.texi (Collation Functions): Fix typo in
37704         strcoll example.
37705         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37707         [BZ #15893]
37708         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37710         [BZ #15892]
37711         * libio/memstream.c (open_memstream): Fix memory leak.
37712         * libio/wmemstream.c (open_wmemstream): Likewise.
37714         [BZ #15895]
37715         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37717 2013-09-09  Will Newton  <will.newton@linaro.org>
37719         * malloc/Makefile: Add tst-realloc to tests.
37720         * malloc/tst-realloc.c: New file.
37722 2013-09-09  Allan McRae  <allan@archlinux.org>
37724         [BZ #15844]
37725         * COPYING: Update from GNU website to fix FSF address.
37726         * COPYING.LIB: Likewise.
37728 2013-09-06  David S. Miller  <davem@davemloft.net>
37730         * po/zh_TW.po: Update Chinese (traditional) translation from
37731         translation project.
37733 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37734             Joseph Myers  <joseph@codesourcery.com>
37736         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37737         "localeinfo.h".
37738         (obstack_chunk_alloc): New macro.
37739         (obstack_chunk_free): Likewise.
37740         (record_offset): New function.
37741         (init_locale_data): Likewise.
37742         (align_locale_data): Likewise.
37743         (add_locale_empty): Likewise.
37744         (add_locale_raw_data): Likewise.
37745         (add_locale_raw_obstack): Likewise.
37746         (add_locale_string): Likewise.
37747         (add_locale_wstring): Likewise.
37748         (add_locale_uint32): Likewise.
37749         (add_locale_uint32_array): Likewise.
37750         (add_locale_char): Likewise.
37751         (start_locale_structure): Likewise.
37752         (end_locale_structure): Likewise.
37753         (start_locale_prelude): Likewise.
37754         (end_locale_prelude): Likewise.
37755         (write_locale_data): Take locale_file structure rather than an
37756         iovec.
37757         * locale/programs/locfile.h: Include "obstack.h".
37758         (struct locale_file): Change to store locale file contents instead
37759         of header.
37760         (init_locale_data): New prototype.
37761         (align_locale_data): Likewise.
37762         (add_locale_empty): Likewise.
37763         (add_locale_raw_data): Likewise.
37764         (add_locale_raw_obstack): Likewise.
37765         (add_locale_string): Likewise.
37766         (add_locale_wstring): Likewise.
37767         (add_locale_uint32): Likewise.
37768         (add_locale_uint32_array): Likewise.
37769         (add_locale_char): Likewise.
37770         (start_locale_structure): Likewise.
37771         (end_locale_structure): Likewise.
37772         (start_locale_prelude): Likewise.
37773         (end_locale_prelude): Likewise.
37774         (write_locale_data): Update prototype.
37775         * locale/programs/3level.h (struct TABLE): Remove result field.
37776         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37777         Use new locale_file interface.
37778         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37779         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37780         * locale/programs/ld-address.c (address_output): Use new
37781         locale_file interface.
37782         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37783         NO_ADD_LOCALE.
37784         (collate_finish): Don't call collseq_table_finalize.
37785         (collate_output): Use new locale_file interface.
37786         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37787         in file.
37788         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37789         (TABLE): Move defines earlier in file.
37790         (ELEMENT): Likewise.
37791         (DEFAULT): Likewise.
37792         (wctrans_table_add): Move macro and inline function earlier in
37793         file.
37794         (struct wctype_table): Move type earlier in file.
37795         (add_locale_wctype_table): New static prototype.
37796         (struct locale_ctype_t): Use logical types instead of struct iovec
37797         pointers for members.
37798         (ctype_output): Use new locale_file interface.
37799         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37800         new locale_file interface.
37801         (allocate_arrays): Update for use of new locale_file interface.
37802         * locale/programs/ld-identification.c (identification_output): Use
37803         new locale_file interface.
37804         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37805         * locale/programs/ld-messages.c (messages_output): Likewise.
37806         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37807         * locale/programs/ld-name.c (name_output): Likewise.
37808         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37809         * locale/programs/ld-paper.c (paper_output): Likewise.
37810         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37811         * locale/programs/ld-time.c (time_output): Likewise.
37813 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37815         * benchtests/Makefile: Add memrchr benchmark.
37816         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37817         benchmark as memrchr.
37818         * benchtests/bench-memrchr-ifunc.c: New file.
37819         * benchtests/bench-memrchr.c: New file.
37821 2013-09-06   Will Newton  <will.newton@linaro.org>
37823         * benchtests/Makefile (string-bench): Add memcpy.
37825 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37826             Cong Wang  <amwang@redhat.com>
37828         [BZ #15850]
37829         * sysdeps/unix/sysv/linux/bits/in.h
37830         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37831         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37832         before __USE_KERNEL_IPV6_DEFS uses.
37833         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37834         IPPROTO_BEETPH.
37835         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37836         sockaddr_in6, or ipv6_mreq.
37838 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37840         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37841         memory access for final bytes in some large inputs.
37842         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37844 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37846         * string/test-memrchr.c: New file.
37847         * string/test-memrchr-ifunc.c: New file.
37848         * string/Makefile: Add new memrchr testcase.
37850 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37852         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37853         fanotify_init returns EPERM.
37855 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37857         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37858         errors.
37859         (top level): Treat second token from macro or constant entries for
37860         allowed headers as allowed.
37861         * include/complex.h: Condition internal declarations on
37862         [!_ISOMAC].
37863         * include/fenv.h: Condition include of <stdbool.h> and internal
37864         declarations on [!_ISOMAC].
37866 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37868         [BZ #15923]
37869         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37871 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37873         * configure.in (--enable-versioning): Remove configure option.
37874         (libc_cv_asm_symver_directive): Remove configure test.
37875         (libc_cv_ld_version_script_option): Likewise.
37876         (VERSIONING): Remove variable and AC_SUBST.
37877         (DO_VERSIONING): Remove AC_DEFINE.
37878         * configure: Regenerated.
37879         * config.h.in (DO_VERSIONING): Remove macro.
37880         * Makerules [$(versioning) = yes]: Change conditionals to
37881         [$(build-shared) = yes].
37882         * config.make.in (versioning): Remove variable.
37883         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37884         [$(build-shared) = yes].
37885         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37886         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37887         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37888         [$(build-shared) = yes].
37889         * extra-lib.mk [$(versioning) = yes]: Likewise.
37890         * hurd/Makefile [$(versioning) = yes]: Likewise.
37891         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37892         [SHARED].
37893         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37894         [SHARED].
37895         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37896         [SHARED && !NO_HIDDEN].
37897         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37898         [SHARED].
37899         [SHARED && DO_VERSIONING]: Likewise..
37900         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37901         [$(build-shared) = yes].
37902         * manual/install.texi (--disable-versioning): Remove
37903         documentation.
37904         * INSTALL: Regenerated.
37905         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37906         to [SHARED].
37907         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37908         [$(build-shared) = yes].
37909         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37910         * sysdeps/i386/i686/multiarch/strstr-c.c
37911         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37912         [SHARED && !NO_HIDDEN].
37913         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37914         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37915         * sysdeps/powerpc/powerpc32/dl-machine.c
37916         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37917         * sysdeps/powerpc/powerpc32/sysdep.h
37918         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37919         to [SHARED && PIC && !NO_HIDDEN].
37920         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37921         conditional to [SHARED].
37923 2013-09-04   Will Newton  <will.newton@linaro.org>
37925         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37926         * benchtests/bench-string.h: Include bench-timing.h instead
37927         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37928         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37929         call to HP_TIMING_DIFF_INIT.
37930         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37931         instead of hp-timing.h macros.
37932         * benchtests/bench-memchr.c: Likewise.
37933         * benchtests/bench-memcmp.c: Likewise.
37934         * benchtests/bench-memcpy.c: Likewise.
37935         * benchtests/bench-memmem.c: Likewise.
37936         * benchtests/bench-memmove.c: Likewise.
37937         * benchtests/bench-memset.c: Likewise.
37938         * benchtests/bench-rawmemchr.c: Likewise.
37939         * benchtests/bench-strcasecmp.c: Likewise.
37940         * benchtests/bench-strcasestr.c: Likewise.
37941         * benchtests/bench-strcat.c: Likewise.
37942         * benchtests/bench-strchr.c: Likewise.
37943         * benchtests/bench-strcmp.c: Likewise.
37944         * benchtests/bench-strcpy.c: Likewise.
37945         * benchtests/bench-strcpy_chk.c: Likewise.
37946         * benchtests/bench-strlen.c: Likewise.
37947         * benchtests/bench-strncasecmp.c: Likewise.
37948         * benchtests/bench-strncat.c: Likewise.
37949         * benchtests/bench-strncmp.c: Likewise.
37950         * benchtests/bench-strncpy.c: Likewise.
37951         * benchtests/bench-strnlen.c: Likewise.
37952         * benchtests/bench-strpbrk.c: Likewise.
37953         * benchtests/bench-strrchr.c: Likewise.
37954         * benchtests/bench-strspn.c: Likewise.
37955         * benchtests/bench-strstr.c: Likewise.
37957 2013-09-04  Will Newton  <will.newton@linaro.org>
37959         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37961 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37963         [BZ #15427]
37964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37965         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37966         * math/libm-test.inc (lgamma_test_data): Add more tests.
37967         * sysdeps/i386/fpu/libm-test-ulps: Update.
37968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37970 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37972         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37974         Add ifunc.
37975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37976         Add strcmp-sse2-unaligned
37977         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37979 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37981         * Versions.def (libc): Add GLIBC_2.19.
37983 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37985         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37986         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37988 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37990         [BZ #14155]
37991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37992         intermediate calculations in recurrence.
37993         (__ieee754_ynf): Likewise.
37994         * math/libm-test.inc (jn_test_data): Do not allow spurious
37995         underflow exception.  Add more tests.
37996         (yn_test_data): Add more tests.
37997         * sysdeps/i386/fpu/libm-test-ulps: Update.
37998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38000 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38002         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38004 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38006         * csu/init-first.c: Fix then/than typos.
38007         * locale/programs/ld-collate.c: Likewise.
38008         * locale/programs/linereader.h: Likewise.
38009         * manual/charset.texi: Likewise.
38010         * manual/filesys.texi: Likewise.
38011         * manual/stdio.texi: Likewise.
38012         * manual/string.texi: Likewise.
38013         * stdlib/fmtmsg.c: Likewise.
38014         * sysdeps/i386/stpncpy.S: Likewise.
38015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38016         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38017         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38018         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38020 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38022         * elf/dl-open.c: Fix typos.
38023         * iconvdata/gbbig5.c: Likewise.
38024         * iconvdata/iso-2022-jp.c: Likewise.
38025         * iconv/gconv_int.h: Likewise.
38026         * iconv/loop.c: Likewise.
38027         * nis/rpcsvc/nis.h: Likewise.
38028         * resolv/ns_name.c: Likewise.
38029         * stdio-common/vfscanf.c: Likewise.
38030         * streams/stropts.h: Likewise.
38031         * sunrpc/rpc_thread.c: Likewise.
38032         * sysdeps/i386/strpbrk.S: Likewise.
38033         * sysdeps/ieee754/k_standard.c: Likewise.
38034         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38035         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38036         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38037         * sysdeps/mach/hurd/profil.c: Likewise.
38038         * sysdeps/s390/dl-procinfo.h: Likewise.
38039         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38040         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38041         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38042         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38043         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38045 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38047         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38050 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38053         aix specific files.
38054         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38055         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38056         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38057         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38058         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38059         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38060         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38061         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38063 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38064             Roland McGrath  <roland@hack.frob.com>
38066         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38067         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38069 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38071         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38072         __executable_start symbol instead of _start.
38074 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38076         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38077         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38078         Move macros to...
38079         * sysdeps/gnu/ldsodefs.h: ... this new file.
38081         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38082         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38083         instead of ELFOSABI_LINUX.
38085         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38086         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38087         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38088         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38089         Likewise.
38090         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38091         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38092         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38093         Likewise.
38094         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38095         (ibm_extended_long_double): Add ieee_nan member.
38096         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38097         (do_test): New function.
38099         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38100         TEST_TRUNC.
38101         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38102         functions, renamed from truncdfsf_test, trunctfsf_test,
38103         trunctfdf_test.
38104         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38105         functions.
38106         (do_test): Run all these.
38108 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38110         * argp/argp-help.c: Fix typos.
38111         * argp/argp-parse.c: Likewise.
38112         * debug/backtracesyms.c: Likewise.
38113         * elf/elf.h: Likewise.
38114         * malloc/malloc.c: Likewise.
38115         * nis/nis_print.c: Likewise.
38116         * resolv/res_comp.c: Likewise.
38117         * stdlib/stdlib.h: Likewise.
38118         * sunrpc/clnt_tcp.c: Likewise.
38119         * sunrpc/clnt_udp.c: Likewise.
38120         * sunrpc/clnt_unix.c: Likewise.
38121         * sysdeps/unix/bsd/ptsname.c: Likewise.
38122         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38123         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38125         Likewise.
38126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38127         Likewise.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38129         Likewise.
38130         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38132 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38134         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38137 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38139         [BZ #15897]
38140         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38141         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38142         ($(objpfx)bug-dl-leaf): New rule.
38143         ($(objpfx)bug-dl-leaf.so): Likewise.
38144         ($(objpfx)bug-dl-leaf.out): Likewise.
38145         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38146         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38147         * dlfcn/bug-dl-leaf.c: New test.
38148         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38149         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38150         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38151         (dlclose): Likewise.
38152         (dlmopen): Likewise.
38154 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38156         * include/netdb.h [!_ISOMAC]:
38157         Don't include <tls.h>.
38158         (h_errno, __libc_h_errno): Move declaration and macros out of
38159         [_LIBC_REENTRANT].
38161         * include/resolv.h [_RESOLV_H_]:
38162         Don't include <tls.h>.
38163         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38164         * resolv/res_libc.c: Don't include <tls.h>.
38165         (_res): Use __attribute__ ((nocommon)) in place of
38166         __attribute__ ((section (".bss"))).
38168         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38169         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38171         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38173         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38174         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38176         * resolv/res_mkquery.c: Include <sys/time.h>.
38178         * inet/ifreq.c: Moved to ...
38179         * sysdeps/unix/ifreq.c: ... here.
38180         * inet/ifreq.c: New file, true stub version.
38182         * socket/sa_len.c: New file.
38183         * socket/Makefile (aux): Add it.
38184         * sysdeps/unix/sysv/linux/Makefile
38185         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38186         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38187         and #include <socket/sa_len.c>.
38188         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38189         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38191         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38192         * bits/socket.h: ... here.
38194         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38195         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38196         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38198 2013-08-27  Andreas Schwab  <schwab@suse.de>
38200         [BZ #15736]
38201         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38202         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38203         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38204         * string/test-strcasecmp.c (test_main): Run tests in several
38205         locales.
38206         * string/test-strncasecmp.c (test_main): Likewise.
38208         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38209         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38210         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38211         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38212         (__strncasecmp_ssse3) [PIC]: Likewise.
38214 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38216         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38218         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38219         instead of explicitly declaring xdecrypt.
38220         * nis/nss_nis/nis-publickey.c: Likewise.
38222 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38224         [BZ #15890]
38225         * nscd/aicache.c: Include res_hconf.h.
38226         (addhstaiX): Initialize res_hconf.
38228 2013-08-26  Andreas Schwab  <schwab@suse.de>
38230         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38231         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38233 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38235         * nscd/aicache.c (addhstaiX): Fix indentation.
38237 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38239         * configure.ac: Quote $build_pt_chown test.
38240         * configure: Regenerated.
38242 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38244         [BZ #15532]
38245         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38246         * math/s_cexpf.c (__cexpf): Likewise.
38247         * math/s_cexpl.c (__cexpl): Likewise.
38248         * math/libm-test.inc (cexp_test_data): Correct expected return
38249         value for NaN + i0.  Add another test.
38251 2013-08-22  David S. Miller  <davem@davemloft.net>
38253         * po/ca.po: Update Catalan translation from translation project.
38254         * po/uk.po: Add Ukrainian translations from translation project.
38256 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38258         [BZ #15797]
38259         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38260         is infinite, not alongside NaN test.
38261         * math/s_fdimf.c (__fdimf): Likewise.
38262         * math/s_fdiml.c (__fdiml): Likewise.
38263         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38264         errno is unchanged.
38266 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38268         * argp/argp-help.c: Fix typos.
38269         * crypt/speeds.c: Likewise.
38270         * csu/check_fds.c: Likewise.
38271         * elf/dl-load.c: Likewise.
38272         * elf/dl-open.c: Likewise.
38273         * elf/reldep3.c: Likewise.
38274         * elf/reldep.c: Likewise.
38275         * elf/sprof.c: Likewise.
38276         * iconv/iconv_charmap.c: Likewise.
38277         * iconv/skeleton.c: Likewise.
38278         * iconv/strtab.c: Likewise.
38279         * io/lockf64.c: Likewise.
38280         * libio/libioP.h: Likewise.
38281         * resolv/gai_notify.c: Likewise.
38282         * resolv/ns_name.c: Likewise.
38283         * resolv/ns_samedomain.c: Likewise.
38284         * resolv/res_send.c: Likewise.
38285         * stdlib/random.c: Likewise.
38286         * sunrpc/rpc/xdr.h: Likewise.
38287         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38288         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38289         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38290         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38291         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38292         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38294         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38295         * sysdeps/mach/hurd/check_fds.c: Likewise.
38296         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38297         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38298         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38299         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38300         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38301         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38302         * sysdeps/pthread/aio_notify.c: Likewise.
38303         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38304         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38305         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38306         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38307         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38309 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38311         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38312         version if bit_Slow_SSE4_2 is set.
38313         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38314         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38316 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38318         [BZ #15867]
38319         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38320         trampoline stack frame information.
38321         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38322         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38323         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38324         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38325         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38326         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38327         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38328         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38329         sa_flags value.
38330         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38331         interrupting a syscall and set with option SA_SIGINFO.
38333 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38335         [BZ #15531]
38336         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38337         argument is infinite.
38338         * math/s_cprojf.c (__cprojf): Likewise.
38339         * math/s_cprojl.c (__cprojl): Likewise.
38340         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38341         * math/libm-test.inc (cproj_test_data): Add more tests.
38343         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38345         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38346         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38347         size.  Use __ffs to determine corresponding shift.
38349 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38350             Roland McGrath  <roland@hack.frob.com>
38352         * Makefile (INSTALL): Remove trailing blank lines from output of
38353         makeinfo.
38355 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38357         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38358         Align 32 bit compat elf_greg to 8 bytes.
38360 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38362         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38364 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38366         * string/strcoll_l.c (coll_seq): New structure.
38367         (get_next_seq_cached): New function.
38368         (get_next_seq): New function.
38369         (do_compare): New function.
38370         (STRCOLL): Use GNU style definition.  Simplify implementation
38371         by using get_next_seq, get_next_seq_cached and do_compare.
38373 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38375         [BZ #14699]
38376         CVE-2013-4237
38377         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38378         member.
38379         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38380         member.
38381         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38382         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38383         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38384         conditional.
38385         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38386         GETDENTS_64BIT_ALIGNED.
38387         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38388         * manual/filesys.texi (Reading/Closing Directory): Document
38389         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38390         strongly.
38391         * manual/conf.texi (Limits for Files): Add portability note to
38392         NAME_MAX, PATH_MAX.
38393         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38395 2013-08-13  Andreas Schwab  <schwab@suse.de>
38397         [BZ #15749]
38398         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38399         of fabs.
38400         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38401         LDBL_MAX_EXP >= 16384]: Add tests for it.
38403 2013-08-12  David S. Miller  <davem@davemloft.net>
38405         * version.h (RELEASE): Set to "development".
38406         (VERSION): Set to "2.18.90".
38407         * NEWS: Add 2.19 section.
38409 2013-08-03  David S. Miller  <davem@davemloft.net>
38411         * po/ko.po: Update Korean translation from translation project.
38413 2013-08-01  David S. Miller  <davem@davemloft.net>
38415         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38416         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38417         Bilka.
38419 2013-07-30  David S. Miller  <davem@davemloft.net>
38421         * po/fr.po: Update French translation from translation project.
38423 2013-07-28  David S. Miller  <davem@davemloft.net>
38425         * po/cs.po: Update Czech translation from translation project.
38427         * po/sv.po: Update Swedish translation from translation project.
38429 2013-07-27  David S. Miller  <davem@davemloft.net>
38431         * po/eo.po: Update Esperanto translation from translation project.
38433         * po/vi.po: Update Vietnamese translation from translation project.
38435         * po/de.po: Update German translation from translation project.
38437 2013-07-26  David S. Miller  <davem@davemloft.net>
38439         * po/bg.po: Update Bulgarian translation from translation project.
38441         * po/nl.po: Update Dutch translation from translation project.
38442         * po/pl.po: Update Polish translation from translation project.
38443         * po/ru.po: Update Russian translation from translation project.
38445 2013-07-24  David S. Miller  <davem@davemloft.net>
38447         * po/libc.pot: Update.
38449 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38451         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38452         variable page size.
38453         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38454         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38455         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38457 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38459         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38461 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38462             Andreas Schwab  <schwab@suse.de>
38463             Roland McGrath  <roland@hack.frob.com>
38464             Joseph Myers  <joseph@codesourcery.com>
38465             Carlos O'Donell  <carlos@redhat.com>
38467         [BZ #15755]
38468         * config.h.in: Define HAVE_PT_CHOWN.
38469         * config.make.in (build-pt-chown): New variable.
38470         * configure.in (--enable-pt_chown): New configure option.
38471         * configure: Regenerate.
38472         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38473         build-pt-chown is enabled.
38474         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38475         pt_chown to fix pty ownership.
38476         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38477         CLOSE_ALL_FDS.
38478         * manual/install.texi (Configuring and compiling): Mention
38479         --enable-pt_chown. Add @findex for grantpt.
38480         * INSTALL: Regenerate.
38482 2013-07-20  David S. Miller  <davem@davemloft.net>
38484         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38485         difference between 32-bit and 64-bit.
38487 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38489         [BZ #15711]
38490         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38491         Avoid system header dependency with -ffreestanding.
38492         ($(objpfx)bits/syscall%d): Likewise.
38494 2013-07-13  David S. Miller  <davem@davemloft.net>
38496         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38497         underflows from atanl/atan2l due to bug 15319.
38498         (casinh_test_data): Likewise.
38500 2013-07-07  David S. Miller  <davem@davemloft.net>
38502         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38504 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38506         * sysdeps/i386/fpu/libm-test-ulps: Update.
38507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38509 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38511         * configure.in (--enable-lock-elision): Fix message text.
38512         * INSTALL: Regenerate.
38513         * configure: Regenerate.
38515 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38519 2013-07-03  Andreas Jaeger  <aj@suse.de>
38521         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38522         define.
38523         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38524         (ptrace_peeksiginfo_args): Add.
38525         (__ptrace_peeksiginfo_flags): Add.
38526         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38528         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38530 2013-07-03  Allan McRae  <allan@archlinux.org>
38532         * sysdeps/i386/fpu/libm-test-ulps: Update.
38534 2013-07-02  David S. Miller  <davem@davemloft.net>
38536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38538 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38542 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38544         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38547 2013-07-02  Andi Kleen <ak@linux.intel.com>
38549         * config.h.in (ENABLE_LOCK_ELISION): Add.
38550         * configure.in (--enable-lock-elision): Add option.
38551         * manual/install.texi: Document --enable lock elision.
38552         * configure: Regenerate
38553         * INSTALL: Regenerate.
38555 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38557         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38558         SSE4.2 strcasecmp for libc.a.
38559         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38561 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38563         [BZ #13304]
38564         * soft-fp/op-common.h (_FP_FMA): New macro.
38565         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38566         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38567         (_FP_MUL_MEAT_1_imm): ... here.
38568         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38569         (_FP_MUL_MEAT_1_wide): ... here.
38570         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38571         (_FP_MUL_MEAT_1_hard): ... here.
38572         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38573         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38574         (_FP_MUL_MEAT_2_wide): ... here.
38575         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38576         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38577         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38578         (_FP_MUL_MEAT_2_gmp): ... here.
38579         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38580         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38581         (_FP_MUL_MEAT_4_wide): ... here.
38582         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38583         (_FP_MUL_MEAT_4_gmp): ... here.
38584         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38585         (_FP_WFRACBITS_DW_S): Likewise.
38586         (_FP_WFRACXBITS_DW_S): Likewise.
38587         (_FP_HIGHBIT_DW_S): Likewise.
38588         (FP_FMA_S): Likewise.
38589         (_FP_FRAC_HIGH_DW_S): Likewise.
38590         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38591         (_FP_WFRACBITS_DW_D): Likewise.
38592         (_FP_WFRACXBITS_DW_D): Likewise.
38593         (_FP_HIGHBIT_DW_D): Likewise.
38594         (FP_FMA_D): Likewise.
38595         (_FP_FRAC_HIGH_DW_D): Likewise.
38596         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38597         (_FP_WFRACBITS_DW_E): Likewise.
38598         (_FP_WFRACXBITS_DW_E): Likewise.
38599         (_FP_HIGHBIT_DW_E): Likewise.
38600         (FP_FMA_E): Likewise.
38601         (_FP_FRAC_HIGH_DW_E): Likewise.
38602         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38603         (_FP_WFRACBITS_DW_Q): Likewise.
38604         (_FP_WFRACXBITS_DW_Q): Likewise.
38605         (_FP_HIGHBIT_DW_Q): Likewise.
38606         (FP_FMA_Q): Likewise.
38607         (_FP_FRAC_HIGH_DW_Q): Likewise.
38608         * soft-fp/fmasf4.c: New file.
38609         * soft-fp/fmadf4.c: Likewise.
38610         * soft-fp/fmatf4.c: Likewise.
38612 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38615         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38616         Silvermont.
38617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38618         macro.
38619         (index_Slow_SSE4_2): Likewise.
38620         (index_Prefer_PMINUB_for_stringop): Likewise.
38621         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38622         bit_Slow_SSE4_2 is set.
38623         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38624         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38626 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38628         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38629         rtld_global._dl_hwcap2.
38630         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38631         POWER8.
38632         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38633         POWER8 feature descriptions defined in _dl_hwcap2.
38634         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38635         string handling for POWER8 feature bits.
38636         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38637         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38638         _dl_powerpc_cap_flags.
38639         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38640         * sysdeps/powerpc/rtld-global-offsets.sym
38641         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38642         _dl_hwcap2 in the rtld_global_ro structure.
38644 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38646         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38647         hardware capabilities in support of AT_HWCAP2.
38648         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38649         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38650         GLRO(dl_hwcap2).
38651         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38652         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38653         explicitly the unknown a_type display mechanism is used.
38654         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38655         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38656         struct member.
38657         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38658         to macro prototype for AT_HWCAP2 support.
38659         * sysdeps/i386/dl-procinfo.h: Likewise.
38660         * sysdeps/s390/dl-procinfo.h: Likewise.
38661         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38662         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38663         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38664         return -1 for unknown a_type display fallback.
38665         * sysdeps/sparc/dl-procinfo.h: Likewise.
38666         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38667         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38669 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38671         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38672         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38674 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38676         [BZ #12492]
38677         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38678         mprotect making __stack_prot writable.
38680 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38681             Joseph Myers  <joseph@codesourcery.com>
38683         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38684         as being properly aligned.
38686 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38688         * dlfcn/modstatic5.c: New file.
38689         * dlfcn/tststatic5.c: New file.
38690         * dlfcn/Makefile (tests): Add tststatic5.
38691         (tests-static): Likewise.
38692         (modules-names): Add modstatic5.
38693         (tststatic5-ENV): New variable.
38694         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38696         [BZ #15022]
38697         * elf/dl-support.c (_dl_main_map): New variable.
38698         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38699         (_dl_nns, _dl_load_adds): Set to 1.
38700         (_dl_initial_searchlist): Refer to _dl_main_map.
38701         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38702         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38703         call to _dl_get_origin.
38704         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38705         around call_map.
38706         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38707         * dlfcn/modstatic3.c: New file.
38708         * dlfcn/tststatic3.c: New file.
38709         * dlfcn/tststatic4.c: New file.
38710         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38711         (tests-static): Likewise.
38712         (modules-names): Add modstatic3.
38713         (tststatic3-ENV, tststatic4-ENV): New variables.
38714         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38715         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38717 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38719         * configure.in (CC): Require GCC version 4.4 or later.
38720         * configure: Regenerated.
38721         * manual/install.texi (Tools for Compilation): Update GCC version
38722         requirement.
38723         * INSTALL: Regenerated.
38725 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38727         [BZ #15674]
38728         * string/test-memcmp.c (check2): New.
38729         (main): Call check2.
38731         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38733 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38735         [BZ #15022]
38736         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38737         over to...
38738         (dl_open_worker) [!SHARED]: ... here.
38740 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38742         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38744 2013-06-25  Richard Henderson  <rth@redhat.com>
38746         * locale/programs/locarchive.c: Include <libc-internal.h>
38748 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38750         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38751         trailing whitespace removed.
38753 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38755         [BZ #10283]
38756         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38757         * locale/programs/locarchive.c: Include libc-mmap.h.
38758         (prepare_address_space): Take two new outputs (the mmap base and len).
38759         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38760         values.
38761         (create_archive): Declare new mmap base and len values for
38762         prepare_address_space, and store the result in ah.
38763         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38764         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38765         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38766         Declare new mmap base and len values for
38767         prepare_address_space, and store the result in new_ah.
38768         (open_archive): Declare new mmap base and len values for
38769         prepare_address_space, and store the result in ah.
38770         (close_archive): If ah->mmap_base is not NULL, use that and
38771         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38772         * sysdeps/generic/libc-mmap.h: New file.
38774 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38776         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38777         (ALIGN_UP): Likewise.
38778         (PTR_ALIGN_DOWN): Likewise.
38779         (PTR_ALIGN_UP): Likewise.
38781 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38783         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38784         entry mapped to PPC_PLATFORM_POWER8.
38785         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38786         POWER8.
38787         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38788         (_dl_string_platform): Add case for exporting platform position for
38789         POWER8.
38790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38791         search path to sysdeps/powerpc/powerpc32/power8 directory.
38792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38793         search path to sysdeps/powerpc/powerpc64/power8 directory.
38794         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38795         power7 directories.
38796         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38797         power7 directories.
38799 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38801         * INSTALL: Regenerate.
38803         * nscd/connections.c (nscd_init): Fix comment.
38805 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38807         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38809         [BZ #15667]
38810         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38811         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38813 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38815         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38816         DL_DST_REQ_STATIC.
38817         (DL_DST_REQ_STATIC): Remove macro.
38819 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38821         [BZ #7006]
38822         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38823         with a shift of 0 bits.
38825 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38827         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38828         $(tststatic-ENV).
38830 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38832         [BZ #15655]
38833         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38835 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38837         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38838         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38839         accepts -fno-tree-loop-distribute-patterns.
38840         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38841         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38842         recursive call.
38843         * string/memset.c (memset): Likewise.
38844         * string/test-memmove.c (simple_memmove): Disable loop transformation
38845         to library calls.
38846         * string/test-memset.c (simple_memset): Likewise.
38847         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38848         * benchtests/bench-memset.c (simple_memset): Likewise.
38849         * configure: Regenerated.
38851 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38853         * math/test-misc.c (main): Ignore fesetround failure when failures
38854         of subsequent rounding tests would be ignored.
38856         [BZ #15654]
38857         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38858         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38859         * math/fegetenv.c (__fegetenv): Return 0.
38860         * math/fegetexcept.c (fegetexcept): Return 0.
38861         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38862         FE_TONEAREST.
38863         * math/feholdexcpt.c (feholdexcept): Return 0.
38864         * math/fesetenv.c (__fesetenv): Return 0.
38865         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38866         argument FE_TONEAREST.
38867         * math/feupdateenv.c (__feupdateenv): Return 0.
38868         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38870 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38872         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38873         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38874         ($(objpfx)rtld-%.os rules): Use them.
38876 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38878         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38879         fields.
38881 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38883         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38884         length of target pattern, then descending length of dependency pattern.
38885         * configure.in (AWK): Require gawk 3.1.2 or newer.
38886         * manual/install.texi (Tools for Compilation): Say that we do.
38887         * configure: Regenerated.
38889         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38890         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38891         * scripts/sysd-rules.awk: ... this new script.
38892         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38893         than a glob-style pattern.
38895 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38897         * math/test-misc.c (main): Do not treat incorrectly rounded
38898         conversions as failure unless ROUNDING_TESTS passes.
38900 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38902         [BZ #15631]
38903         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38904         restore exception state around main square root computation, then
38905         check for inexactness explicitly.
38907         * math/libm-test.inc (fma_test_data): Add another test.
38909 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38911         * manual/threads.texi (Non-POSIX Extensions): New document
38912         node.  Document pthread_getattr_default_np and
38913         pthread_setattr_default_np.
38915         * Versions.def (libpthread): Add GLIBC_2.18.
38916         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38918         Likewise.
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38920         Likewise.
38921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38922         Likewise.
38923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38924         Likewise.
38925         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38926         Likewise.
38927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38928         Likewise.
38929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38930         Likewise.
38931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38932         Likewise.
38933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38934         Likewise.
38936 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38939         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38941 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38942             H.J. Lu  <hjl.tools@gmail.com>
38944         [BZ #15627]
38945         * sysdeps/x86_64/rtld-memset.c: Remove file.
38946         * sysdeps/x86_64/rtld-memset.S: New file.
38948 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38950         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38951         (test_in_one_mode): Take arguments for whether the rounding mode
38952         is supported for each floating-point type.
38953         (do_test): Pass new arguments to test_in_one_mode using
38954         ROUNDING_TESTS.
38956 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38958         * posix/tst-waitid.c (do_test): Distinguish different instances of
38959         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38960         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38961         before entering the kernel for waitpid.
38963 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38965         * NEWS: Fix note on clock function precision.  Text by Roland
38966         McGrath.
38968 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38970         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38971         it into place only when and if the sanity check passes.
38973 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38975         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38976         output for whether conversion result is exact.  Take argument
38977         indicating whether type is IBM long double.
38978         (round_for_all): Change need_exact field to ibm_ld.
38979         * stdlib/tst-strtod-round.c (struct exactness): New type.
38980         (struct test): Change bool ld_ok field to struct exactness exact.
38981         (TEST): Update all definitions for change to field.
38982         (tests): Regenerate array contents.
38983         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38984         field value.  Check for IBM long double here.
38985         (do_test): Update calls to test_in_one_mode.
38987 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38989         [BZ #12515]
38990         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38991         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38993 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38995         [BZ #15605]
38996         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38997         generated by the compiler on loop optimizations.
38998         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38999         general definitions.
39001 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39003         * math/bug-nextafter.c: Include <math-tests.h>.
39004         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39005         the relevant type.
39006         * math/bug-nexttoward.c: Include <math-tests.h>.
39007         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39008         the relevant type.
39009         * math/test-misc.c: Include <math-tests.h>.
39010         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39011         the relevant type.
39013 2013-06-12  Andreas Jaeger  <aj@suse.de>
39015         * po/ia.po: Update Interlingua translation from translation
39016         project.
39018 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39020         * include/fenv.h: Include stdbool.h.
39021         (struct rm_ctx): New structure.
39022         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39023         Define macro.
39024         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39025         (SET_RESTORE_ROUNDF): Likewise.
39026         (SET_RESTORE_ROUNDL): Likewise.
39027         (SET_RESTORE_ROUND_NOEX): Likewise.
39028         (SET_RESTORE_ROUND_NOEXF): Likewise.
39029         (SET_RESTORE_ROUND_NOEXL): Likewise.
39030         (SET_RESTORE_ROUND_53BIT): Likewise.
39031         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39032         (libc_feresetround_noexf_ctx): Likewise.
39033         (libc_feresetround_noexl_ctx): Likewise.
39034         (libc_feholdsetround_53bit_ctx): Likewise.
39035         (libc_feresetround_53bit_ctx): Likewise.
39036         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39037         (libc_feholdexcept_setround_sse_ctx): New function.
39038         (libc_fesetenv_sse_ctx): Likewise.
39039         (libc_feupdateenv_sse_ctx): Likewise.
39040         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39041         (libc_feholdexcept_setround_387_ctx): Likewise.
39042         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39043         (libc_feholdsetround_387_prec_ctx): Likewise.
39044         (libc_feholdsetround_387_ctx): Likewise.
39045         (libc_feholdsetround_387_53bit_ctx): Likewise.
39046         (libc_feholdsetround_sse_ctx): Likewise.
39047         (libc_feresetround_sse_ctx): Likewise.
39048         (libc_feresetround_387_ctx): Likewise.
39049         (libc_feupdateenv_387_ctx): Likewise.
39050         (libc_feholdexcept_setroundf_ctx): Define macro.
39051         (libc_fesetenvf_ctx): Likewise.
39052         (libc_feupdateenvf_ctx): Likewise.
39053         (libc_feholdsetroundf_ctx): Likewise.
39054         (libc_feresetroundf_ctx): Likewise.
39055         (libc_feholdexcept_setround_ctx): Likewise.
39056         (libc_fesetenv_ctx): Likewise.
39057         (libc_feupdateenv_ctx): Likewise.
39058         (libc_feholdsetround_ctx): Likewise.
39059         (libc_feresetround_ctx): Likewise.
39060         (libc_feholdexcept_setroundl_ctx): Likewise.
39061         (libc_feupdateenvl_ctx): Likewise.
39062         (libc_feholdsetroundl_ctx): Likewise.
39063         (libc_feresetroundl_ctx): Likewise.
39064         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39065         (libc_feresetround_53bit_ctx): Likewise.
39067 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39069         * locale/iso-639.def: Convert to UTF-8.
39071 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39073         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39074         (EXCEPTION_TESTS_double): Likewise.
39075         (EXCEPTION_TESTS_long_double): Likewise.
39076         (EXCEPTION_TESTS): Likewise.
39077         * math/libm-test.inc (test_exceptions): Only test exceptions if
39078         EXCEPTION_TESTS (FLOAT).
39080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39082         * benchtests/Makefile (string-bench): Add strcpy_chk and
39083         stpcpy_chk.
39084         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39085         * benchtests/bench-stpcpy_chk.c: New file.
39086         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39087         * benchtests/bench-strcpy_chk.c: New file.
39088         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39089         code.
39090         (do_test): Likewise.
39092 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39094         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39095         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39096         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39097         with tabs where appropriate.
39098         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39099         dl-procinfo.h.
39100         [PPC_PLATFORM_PPC440]: Likewise.
39101         [PPC_PLATFORM_PPC464]: Likewise.
39102         [PPC_PLATFORM_PPC476]: Likewise.
39103         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39104         ppc464, and ppc476 platform strings merging from ports/
39105         dl-procinfo.h.
39107 2013-06-11  Andreas Schwab  <schwab@suse.de>
39109         [BZ #14991]
39110         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39111         (from_ucs4_idx): Regenerate.
39112         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39113         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39114         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39115         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39116         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39117         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39118         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39119         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39120         from FROM_LOOP and TO_LOOP specific macros.
39121         (BODY): Handle combining characters.
39122         * iconvdata/BIG5HKSCS.irreversible: Update.
39123         * iconvdata/BIG5HKSCS.precomposed: New file.
39124         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39125         characters.
39126         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39128 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39130         * include/sys/time.h: Fix indentation and add copyright header.
39132         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39133         (do_test): Likewise.
39134         * string/test-memchr.c (do_one_test): Likewise.
39135         (do_test): Likewise.
39136         * string/test-memcmp.c (do_one_test): Likewise.
39137         (do_test): Likewise.
39138         * string/test-memcpy.c (do_one_test): Likewise.
39139         (do_test): Likewise.
39140         * string/test-memmem.c (do_one_test): Likewise.
39141         (do_test): Likewise.
39142         (do_random_tests): Likewise.
39143         * string/test-memmove.c (do_one_test): Likewise.
39144         (do_test): Likewise.
39145         * string/test-memset.c (do_one_test): Likewise.
39146         (do_test): Likewise.
39147         * string/test-rawmemchr.c (do_one_test): Likewise.
39148         (do_test): Likewise.
39149         * string/test-strcasecmp.c (do_one_test): Likewise.
39150         (do_test): Likewise.
39151         * string/test-strcasestr.c (do_one_test): Likewise.
39152         (do_test): Likewise.
39153         * string/test-strcat.c (do_one_test): Likewise.
39154         (do_test): Likewise.
39155         * string/test-strchr.c (do_one_test): Likewise.
39156         (do_test): Likewise.
39157         * string/test-strcmp.c (do_one_test): Likewise.
39158         (do_test): Likewise.
39159         * string/test-strcpy.c (do_one_test): Likewise.
39160         (do_test): Likewise.
39161         * string/test-string.h: Likewise.
39162         (test_init): Likewise.
39163         * string/test-strlen.c (do_one_test): Likewise.
39164         (do_test): Likewise.
39165         * string/test-strncasecmp.c (do_one_test): Likewise.
39166         (do_test): Likewise.
39167         * string/test-strncat.c (do_one_test): Likewise.
39168         (do_test): Likewise.
39169         * string/test-strncmp.c (do_one_test): Likewise.
39170         (do_test_limit): Likewise.
39171         (do_test): Likewise.
39172         * string/test-strncpy.c (do_one_test): Likewise.
39173         (do_test): Likewise.
39174         * string/test-strnlen.c (do_one_test): Likewise.
39175         (do_test): Likewise.
39176         * string/test-strpbrk.c (do_one_test): Likewise.
39177         (do_test): Likewise.
39178         * string/test-strrchr.c (do_one_test): Likewise.
39179         (do_test): Likewise.
39180         * string/test-strspn.c (do_one_test): Likewise.
39181         (do_test): Likewise.
39182         * string/test-strstr.c (do_one_test): Likewise.
39183         (do_test): Likewise.
39185         * benchtests/Makefile (string-bench): Add string benchmarks.
39186         * benchtests/bench-bcopy-ifunc.c: New file.
39187         * benchtests/bench-bcopy.c: New file.
39188         * benchtests/bench-bzero-ifunc.c: New file.
39189         * benchtests/bench-bzero.c: New file.
39190         * benchtests/bench-memccpy-ifunc.c: New file.
39191         * benchtests/bench-memccpy.c: New file.
39192         * benchtests/bench-memchr-ifunc.c: New file.
39193         * benchtests/bench-memchr.c: New file.
39194         * benchtests/bench-memcmp-ifunc.c: New file.
39195         * benchtests/bench-memcmp.c: New file.
39196         * benchtests/bench-memmem-ifunc.c: New file.
39197         * benchtests/bench-memmem.c: New file.
39198         * benchtests/bench-memmove-ifunc.c: New file.
39199         * benchtests/bench-memmove.c: New file.
39200         * benchtests/bench-mempcpy-ifunc.c: New file.
39201         * benchtests/bench-mempcpy.c: New file.
39202         * benchtests/bench-memset-ifunc.c: New file.
39203         * benchtests/bench-memset.c: New file.
39204         * benchtests/bench-rawmemchr-ifunc.c: New file.
39205         * benchtests/bench-rawmemchr.c: New file.
39206         * benchtests/bench-stpcpy-ifunc.c: New file.
39207         * benchtests/bench-stpcpy.c: New file.
39208         * benchtests/bench-stpncpy-ifunc.c: New file.
39209         * benchtests/bench-stpncpy.c: New file.
39210         * benchtests/bench-strcasecmp-ifunc.c: New file.
39211         * benchtests/bench-strcasecmp.c: New file.
39212         * benchtests/bench-strcasestr-ifunc.c: New file.
39213         * benchtests/bench-strcasestr.c: New file.
39214         * benchtests/bench-strcat-ifunc.c: New file.
39215         * benchtests/bench-strcat.c: New file.
39216         * benchtests/bench-strchr-ifunc.c: New file.
39217         * benchtests/bench-strchr.c: New file.
39218         * benchtests/bench-strchrnul-ifunc.c: New file.
39219         * benchtests/bench-strchrnul.c: New file.
39220         * benchtests/bench-strcmp-ifunc.c: New file.
39221         * benchtests/bench-strcmp.c: New file.
39222         * benchtests/bench-strcpy-ifunc.c: New file.
39223         * benchtests/bench-strcpy.c: New file.
39224         * benchtests/bench-strcspn-ifunc.c: New file.
39225         * benchtests/bench-strcspn.c: New file.
39226         * benchtests/bench-strlen-ifunc.c: New file.
39227         * benchtests/bench-strlen.c: New file.
39228         * benchtests/bench-strncasecmp-ifunc.c: New file.
39229         * benchtests/bench-strncasecmp.c: New file.
39230         * benchtests/bench-strncat-ifunc.c: New file.
39231         * benchtests/bench-strncat.c: New file.
39232         * benchtests/bench-strncmp-ifunc.c: New file.
39233         * benchtests/bench-strncmp.c: New file.
39234         * benchtests/bench-strncpy-ifunc.c: New file.
39235         * benchtests/bench-strncpy.c: New file.
39236         * benchtests/bench-strnlen-ifunc.c: New file.
39237         * benchtests/bench-strnlen.c: New file.
39238         * benchtests/bench-strpbrk-ifunc.c: New file.
39239         * benchtests/bench-strpbrk.c: New file.
39240         * benchtests/bench-strrchr-ifunc.c: New file.
39241         * benchtests/bench-strrchr.c: New file.
39242         * benchtests/bench-strspn-ifunc.c: New file.
39243         * benchtests/bench-strspn.c: New file.
39244         * benchtests/bench-strstr-ifunc.c: New file.
39245         * benchtests/bench-strstr.c: New file.
39247         * benchtests/Makefile: Disable parallel execution of targets.
39248         (string-bench): Add memcpy.
39249         (benchset): New variable to store a list of benchmark sets.
39250         (bench-func): Renamed from bench.
39251         (bench-set): New target.
39252         (bench): Depend on bench-func and bench-set.
39253         * benchtests/README: Add section on benchmark sets.
39254         * benchtests/bench-memcpy-ifunc.c: New file.
39255         * benchtests/bench-memcpy.c: New file.
39256         * benchtests/bench-string.h: New file.
39258 2013-06-11  Andreas Schwab  <schwab@suse.de>
39260         [BZ #15577]
39261         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39262         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39263         values in the triple.
39264         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39265         terminator in the group key.
39267 2013-06-11  Andreas Jaeger  <aj@suse.de>
39269         * po/zh_TW.po: Update Chinese (traditional) translation from
39270         translation project.
39272 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39274         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39275         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39276         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39278         (clock_getcpuclockid): Likewise.
39279         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39280         Add weak_alias and libc_hidden_def.
39281         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39282         * rt/clock_gettime.c (clock_gettime): Rename to
39283         __clock_gettime.  Add weak_alias and libc_hidden_def.
39284         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39285         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39286         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39287         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39288         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39289         Likewise.
39290         * rt/clock_settime.c (clock_settime): Rename to
39291         __clock_settime.  Add weak_alias and libc_hidden_def.
39292         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39294 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39296         * mach/err_boot.sub: Remove trailing whitespace.
39297         * mach/err_ipc.sub: Likewise.
39298         * mach/err_mach.sub: Likewise.
39300         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39301         (ROUNDING_TESTS_double): Likewise.
39302         (ROUNDING_TESTS_long_double): Likewise.
39303         (ROUNDING_TESTS): Likewise.
39304         * math/libm-test.inc: Include <math-tests.h>.
39305         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39306         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39307         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39308         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39310 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39312         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39313         of assigning.
39315 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39317         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39318         otherwise empty TRANS lines.
39319         * sysdeps/gnu/errlist.c: Regenerated.
39321         * catgets/gencat.c (error_print): Use (void) in function
39322         definition.
39323         * crypt/crypt_util.c (__init_des): Likewise.
39324         * crypt/speeds.c (Stop): Likewise.
39325         (main): Likewise.
39326         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39327         * inet/ruserpass.c (token): Likewise.
39328         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39329         * intl/localealias.c (extend_alias_table): Likewise.
39330         * intl/plural-exp.c (init_germanic_plural): Likewise.
39331         * libio/fcloseall.c (__fcloseall): Likewise.
39332         * libio/genops.c (_IO_flush_all): Likewise.
39333         (_IO_flush_all_linebuffered): Likewise.
39334         (_IO_cleanup): Likewise.
39335         (_IO_iter_begin): Likewise.
39336         (_IO_iter_end): Likewise.
39337         (_IO_list_lock): Likewise.
39338         (_IO_list_unlock): Likewise.
39339         (_IO_list_resetlock): Likewise.
39340         * libio/getchar.c (getchar): Likewise.
39341         * libio/getchar_u.c (getchar_unlocked): Likewise.
39342         * libio/getwchar.c (getwchar): Likewise.
39343         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39344         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39345         * login/getpt.c (__getpt): Likewise.
39346         * login/tst-utmp.c (main): Likewise.
39347         * malloc/hooks.c (__malloc_check_init): Likewise.
39348         * malloc/malloc.c (__malloc_stats): Likewise.
39349         * malloc/mtrace.c (tr_break): Likewise.
39350         (mtrace): Likewise.
39351         (muntrace): Likewise.
39352         * misc/fstab.c (endfsent): Likewise.
39353         * misc/getclktck.c (__getclktck): Likewise.
39354         * misc/getdtsz.c (__getdtablesize): Likewise.
39355         * misc/gethostid.c (gethostid): Likewise.
39356         * misc/getpagesize.c (__getpagesize): Likewise.
39357         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39358         (__get_nprocs): Likewise.
39359         (__get_phys_pages): Likewise.
39360         (__get_avphys_pages): Likewise.
39361         * misc/getttyent.c (getttyent): Likewise.
39362         (setttyent): Likewise.
39363         (endttyent): Likewise.
39364         * misc/getusershell.c (getusershell): Likewise.
39365         (endusershell): Likewise.
39366         (setusershell): Likewise.
39367         (initshells): Likewise.
39368         * misc/hsearch.c (__hdestroy): Likewise.
39369         * misc/sync.c (sync): Likewise.
39370         * misc/syslog.c (closelog_internal): Likewise.
39371         (closelog): Likewise.
39372         * misc/ttyslot.c (ttyslot): Likewise.
39373         * misc/vhangup.c (vhangup): Likewise.
39374         * posix/fork.c (__fork): Likewise.
39375         * posix/getegid.c (__getegid): Likewise.
39376         * posix/geteuid.c (__geteuid): Likewise.
39377         * posix/getgid.c (__getgid): Likewise.
39378         * posix/getpid.c (__getpid): Likewise.
39379         * posix/getppid.c (__getppid): Likewise.
39380         * posix/getuid.c (__getuid): Likewise.
39381         * posix/pause.c (pause): Likewise.
39382         * posix/setpgrp.c (setpgrp): Likewise.
39383         * posix/setsid.c (__setsid): Likewise.
39384         * posix/test-vfork.c (noop): Likewise.
39385         * resolv/gethnamaddr.c (_endhtent): Likewise.
39386         (_gethtent): Likewise.
39387         (ht_endhostent): Likewise.
39388         (gethostent): Likewise.
39389         (dns_service): Likewise.
39390         * stdlib/drand48.c (drand48): Likewise.
39391         * stdlib/lrand48.c (lrand48): Likewise.
39392         * stdlib/mrand48.c (mrand48): Likewise.
39393         * stdlib/rand.c (rand): Likewise.
39394         * stdlib/random.c (__random): Likewise.
39395         * stdlib/setenv.c (clearenv): Likewise.
39396         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39397         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39398         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39399         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39400         (__get_nprocs): Likewise.
39401         (__get_phys_pages): Likewise.
39402         (__get_avphys_pages): Likewise.
39403         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39404         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39405         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39406         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39407         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39408         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39409         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39410         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39411         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39412         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39413         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39414         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39415         * sysdeps/posix/clock.c (clock): Likewise.
39416         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39417         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39418         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39419         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39420         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39422         (__get_nprocs_conf): Likewise.
39423         (__get_phys_pages): Likewise.
39424         (__get_avphys_pages): Likewise.
39425         * time/clock.c (clock): Likewise.
39426         * time/tzset.c (__tzname_max): Likewise.
39428 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39430         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39431         (__bswap_32): Do not use "register".
39432         * crypt/crypt.c (_ufc_doit_r): Likewise.
39433         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39434         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39435         * gmon/gmon.c (__monstartup): Likewise.
39436         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39437         * hurd/hurdmalloc.c (more_memory): Likewise.
39438         (malloc): Likewise.
39439         (free): Likewise.
39440         (realloc): Likewise.
39441         (malloc_fork_prepare): Likewise.
39442         (malloc_fork_parent): Likewise.
39443         (malloc_fork_child): Likewise.
39444         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39445         (_svcauth_des): Likewise.
39446         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39447         * inet/inet_net.c (inet_network): Likewise.
39448         * inet/inet_netof.c (inet_netof): Likewise.
39449         * inet/rcmd.c (__validuser2_sa): Likewise.
39450         * io/fts.c (fts_open): Likewise.
39451         (fts_load): Likewise.
39452         (fts_close): Likewise.
39453         (fts_read): Likewise.
39454         (fts_children): Likewise.
39455         (fts_build): Likewise.
39456         (fts_stat): Likewise.
39457         (fts_sort): Likewise.
39458         (fts_alloc): Likewise.
39459         (fts_lfree): Likewise.
39460         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39461         (_IO_file_xsgetn): Likewise.
39462         (_IO_file_xsgetn_mmap): Likewise.
39463         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39464         (_IO_cookie_write): Likewise.
39465         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39466         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39467         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39468         * malloc/obstack.c (_obstack_begin): Likewise.
39469         (_obstack_begin_1): Likewise.
39470         (_obstack_newchunk): Likewise.
39471         (_obstack_allocated_p): Likewise.
39472         (obstack_free): Likewise.
39473         (_obstack_memory_used): Likewise.
39474         * misc/getttyent.c (getttynam): Likewise.
39475         (getttyent): Likewise.
39476         (skip): Likewise.
39477         (value): Likewise.
39478         * misc/getusershell.c (initshells): Likewise.
39479         * misc/syslog.c (__vsyslog_chk): Likewise.
39480         * misc/ttyslot.c (ttyslot): Likewise.
39481         * nis/nis_hash.c (__nis_hash): Likewise.
39482         * posix/fnmatch_loop.c (FCT): Likewise.
39483         * posix/getconf.c (print_all): Likewise.
39484         (main): Likewise.
39485         * posix/getopt.c (exchange): Likewise.
39486         * posix/glob.c (globfree): Likewise.
39487         (prefix_array): Likewise.
39488         (__glob_pattern_type): Likewise.
39489         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39490         (NS_GET32): Likewise.
39491         (NS_PUT16): Likewise.
39492         (NS_PUT32): Likewise.
39493         * resolv/gethnamaddr.c (getanswer): Likewise.
39494         (gethostbyname2): Likewise.
39495         (gethostbyaddr): Likewise.
39496         (_gethtent): Likewise.
39497         (_gethtbyname2): Likewise.
39498         (_gethtbyaddr): Likewise.
39499         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39500         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39501         * resolv/res_init.c (__res_vinit): Likewise.
39502         (net_mask): Likewise.
39503         * resolv/res_mkquery.c (outchar): Likewise.
39504         (PRINT): Likewise.
39505         * stdio-common/printf_fp.c (outchar): Likewise.
39506         (PRINT): Likewise.
39507         * stdio-common/printf_fphex.c (outchar): Likewise.
39508         (PRINT): Likewise.
39509         * stdio-common/printf_size.c (outchar): Likewise.
39510         (PRINT): Likewise.
39511         * stdio-common/test_rdwr.c (main): Likewise.
39512         * stdio-common/tfformat.c (matches): Likewise.
39513         * stdio-common/vfprintf.c (outchar): Likewise.
39514         (printf_unknown): Likewise.
39515         (buffered_vfprintf): Likewise.
39516         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39517         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39518         (ReadFile): Likewise.
39519         * stdlib/qsort.c (SWAP): Likewise.
39520         (_quicksort): Likewise.
39521         * stdlib/setenv.c (__add_to_environ): Likewise.
39522         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39523         * stdlib/strtol_l.c (__strtol_l): Likewise.
39524         * stdlib/tst-strtod.c (main): Likewise.
39525         * stdlib/tst-strtol.c (main): Likewise.
39526         * stdlib/tst-strtoll.c (main): Likewise.
39527         * string/bits/string2.h (__strcmp_cc): Likewise.
39528         (__strcmp_cg): Likewise.
39529         (__strcspn_c1): Likewise.
39530         (__strcspn_c2): Likewise.
39531         (__strcspn_c3): Likewise.
39532         (__strspn_c1): Likewise.
39533         (__strspn_c2): Likewise.
39534         (__strspn_c3): Likewise.
39535         (__strsep_1c): Likewise.
39536         (__strsep_2c): Likewise.
39537         (__strsep_3c): Likewise.
39538         * string/memccpy.c (__memccpy): Likewise.
39539         * string/stpcpy.c (__stpcpy): Likewise.
39540         * string/strcmp.c (strcmp): Likewise.
39541         * string/strrchr.c (strrchr): Likewise.
39542         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39543         Likewise.
39544         * sysdeps/mach/hurd/getcwd.c
39545         (_hurd_canonicalize_directory_name_internal): Likewise.
39546         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39547         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39548         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39549         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39550         Likewise, in both definitions.
39551         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39552         definitions.
39553         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39554         64] (__bswap_64): Likewise.
39555         * time/test_time.c (main): Likewise.
39556         * time/tzfile.c (__tzfile_read): Likewise.
39557         (__tzfile_compute): Likewise.
39558         * time/tzset.c (__tzset_parse_tz): Likewise.
39559         (tzset_internal): Likewise.
39560         (compute_change): Likewise.
39561         * wcsmbs/wcscat.c (__wcscat): Likewise.
39562         * wcsmbs/wcschr.c (wcschr): Likewise.
39563         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39564         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39565         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39566         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39567         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39568         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39569         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39570         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39571         * wcsmbs/wmemset.c (wmemset): Likewise.
39573 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39575         * scripts/config.guess: Update to version 2013-05-16.
39576         * scripts/config.sub: Update to version 2013-04-24.
39577         * scripts/install-sh: Update to version 2011-11-20.07.
39578         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39579         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39581 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39583         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39584         * elf/sln.c: Likewise.
39585         * hurd/hurd/ioctl.h: Likewise.
39586         * hurd/hurdmalloc.c: Likewise.
39587         * hurd/xattr.c: Likewise.
39588         * include/shlib-compat.h: Likewise.
39589         * inet/ruserpass.c: Likewise.
39590         * libio/iofgets_u.c: Likewise.
39591         * libio/iofgetws_u.c: Likewise.
39592         * locale/programs/ld-identification.c: Likewise.
39593         * locale/programs/ld-time.c: Likewise.
39594         * mach/msg-destroy.c: Likewise.
39595         * nss/nss_files/files-netgrp.c: Likewise.
39596         * resolv/res_data.c: Likewise.
39597         * soft-fp/op-1.h: Likewise.
39598         * soft-fp/op-2.h: Likewise.
39599         * soft-fp/op-4.h: Likewise.
39600         * soft-fp/op-common.h: Likewise.
39601         * stdio-common/printf_fphex.c: Likewise.
39602         * stdlib/strtod_l.c: Likewise.
39603         * sunrpc/rpc/clnt.h: Likewise.
39604         * sysdeps/generic/framestate.c: Likewise.
39605         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39606         * sysdeps/i386/bsd-setjmp.S: Likewise.
39607         * sysdeps/i386/__longjmp.S: Likewise.
39608         * sysdeps/i386/setjmp.S: Likewise.
39609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39610         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39611         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39612         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39613         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39614         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39616         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39618         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39619         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39620         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39621         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39622         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39623         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39625         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39626         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39627         * sysdeps/ieee754/support.c: Likewise.
39628         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39629         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39630         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39631         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39632         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39633         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39634         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39635         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39636         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39637         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39638         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39639         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39640         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39641         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39642         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39643         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39644         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39647 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39649         * posix/transbug.c: Remove executable mode.
39651 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39653         * crypt/speeds.c: Remove trailing whitespace.
39654         * dlfcn/default.c: Likewise.
39655         * elf/ifuncdep2.c: Likewise.
39656         * elf/ifuncmain1.c: Likewise.
39657         * elf/ifuncmain1vis.c: Likewise.
39658         * elf/testobj.h: Likewise.
39659         * elf/tst-stackguard1.c: Likewise.
39660         * gmon/sys/gmon.h: Likewise.
39661         * hurd/hurdmsg.c: Likewise.
39662         * hurd/new-fd.c: Likewise.
39663         * hurd/ports-get.c: Likewise.
39664         * iconvdata/ibm1008_420.c: Likewise.
39665         * inet/tst-getni1.c: Likewise.
39666         * inet/tst-getni2.c: Likewise.
39667         * libio/ioungetc.c: Likewise.
39668         * libio/wfiledoalloc.c: Likewise.
39669         * manual/libm-err-tab.pl: Likewise.
39670         * math/w_dremf.c: Likewise.
39671         * misc/ftruncate.c: Likewise.
39672         * posix/bug-glob2.c: Likewise.
39673         * posix/tst-pcre.c: Likewise.
39674         * posix/wait4.c: Likewise.
39675         * resolv/README: Likewise.
39676         * resolv/res_debug.h: Likewise.
39677         * resolv/tst-inet_ntop.c: Likewise.
39678         * setjmp/bug269-setjmp.c: Likewise.
39679         * soft-fp/extended.h: Likewise.
39680         * soft-fp/op-1.h: Likewise.
39681         * soft-fp/op-2.h: Likewise.
39682         * soft-fp/op-4.h: Likewise.
39683         * soft-fp/op-8.h: Likewise.
39684         * soft-fp/testit.c: Likewise.
39685         * stdio-common/bug16.c: Likewise.
39686         * stdlib/random.c: Likewise.
39687         * sunrpc/rpcsvc/rquota.x: Likewise.
39688         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39689         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39690         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39691         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39692         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39693         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39694         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39696         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39697         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39698         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39716         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39717         * sysdeps/ieee754/s_lib_version.c: Likewise.
39718         * sysdeps/mach/hurd/check_fds.c: Likewise.
39719         * sysdeps/mach/hurd/getsockname.c: Likewise.
39720         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39721         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39722         * sysdeps/powerpc/bits/link.h: Likewise.
39723         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39724         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39725         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39726         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39727         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39728         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39729         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39730         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39731         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39732         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39733         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39734         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39735         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39736         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39737         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39738         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39741         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39742         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39743         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39744         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39746         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39747         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39748         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39749         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39750         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39751         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39753         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39754         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39756         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39757         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39758         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39759         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39761         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39762         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39763         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39764         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39765         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39766         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39767         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39768         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39769         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39770         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39771         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39772         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39775         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39776         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39777         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39778         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39779         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39780         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39781         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39782         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39783         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39784         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39785         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39786         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39787         * sysdeps/powerpc/sysdep.h: Likewise.
39788         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39789         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39790         * sysdeps/sh/dl-trampoline.S: Likewise.
39791         * sysdeps/sh/memset.S: Likewise.
39792         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39793         * sysdeps/sh/strlen.S: Likewise.
39794         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39795         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39796         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39797         * sysdeps/sparc/sparc32/rem.S: Likewise.
39798         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39799         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39800         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39801         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39802         * sysdeps/sparc/sparc32/urem.S: Likewise.
39803         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39804         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39805         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39806         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39807         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39808         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39809         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39810         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39811         * sysdeps/unix/bsd/times.c: Likewise.
39812         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39813         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39817         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39818         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39819         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39820         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39821         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39822         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39823         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39824         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39825         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39826         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39827         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39828         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39829         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39830         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39831         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39832         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39833         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39834         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39835         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39836         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39837         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39838         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39839         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39840         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39841         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39842         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39843         * sysdeps/x86_64/strcspn.S: Likewise.
39845 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39847         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39848         generated file.  Regenerate properly from gen-translit.pl.
39849         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39850         locale/C-translit.h.
39852 2013-06-05  Andreas Schwab  <schwab@suse.de>
39854         [BZ #15100]
39855         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39856         week as 6 instead of -1.
39857         * time/tst-strptime.c (day_tests): Add test case.
39859 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39861         * sysdeps/generic/math_private.h
39862         (libc_feholdexcept_setround_53bit): Replace with
39863         libc_feholdsetround_53bit.
39864         (libc_feupdateenv_53bit): Replace with
39865         libc_feresetround_53bit.
39866         (SET_RESTORE_ROUND_53BIT): Adjust.
39868 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39870         * string/test-strchrnul.c: Add copyright header.
39872         * posix/tst-getaddrinfo4.c: Increase test timeout.
39874 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39876         [BZ #15536]
39877         * math/libm-test.inc (MAX_EXP): Remove
39878         (MIN_EXP): Define.
39879         (ulp): Use MIN_EXP - MANT_DIG.
39880         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39882 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39884         * po/be.po: Revert last change.
39885         * po/zh_CN.po: Likewise.
39886         * po/header.pot: Likewise.
39888 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39890         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39891         link-libc-deps to empty as target-specific variable.
39892         * Makerules (link-libc-args): New variable.
39893         (libc-for-link): Likewise.
39894         (link-libc-deps): Likewise.
39895         (lib%.so): Depend on $(link-libc-deps).  Link with
39896         $(link-libc-args).
39897         (build-module): Link with $(link-libc-args).
39898         (build-module-asneeded): Likewise.
39899         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39900         list of objects.
39901         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39902         target-specific variable.
39903         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39904         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39905         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39906         libc.
39907         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39908         libc and ld.so.
39909         ($(objpfx)libpcprofile.so): Likewise.
39910         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39911         libc_nonshared.a.
39912         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39913         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39914         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39915         $(link-libc-deps).
39916         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39917         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39918         * login/Makefile ($(objpfx)libutil.so): Likewise.
39919         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39920         * math/Makefile ($(objpfx)libm.so): Likewise.
39921         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39922         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39923         variable instead of depending directly on libc.
39924         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39925         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39926         $(link-libc-deps).
39927         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39928         libc.
39929         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39930         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39931         ($(objpfx)libanl.so): Likewise.
39932         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39933         ld.so.
39934         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39935         $(link-libc-deps).
39936         * sysdeps/i386/fpu/Makefile: Remove file.
39937         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39938         ($(objpfx)libm.so): Remove dependency on ld.so.
39940 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39942         [BZ # 15553]
39943         * nis/yp_xdr.c (XDRMAXNAME): Define.
39944         (XDRMAXRECORD): Define.
39945         (xdr_domainname): Use XDRMAXNAME.
39946         (xdr_mapname): Likewise.
39947         (xdr_peername): Likewise.
39948         (xdr_keydat): Use XDRMAXRECORD.
39949         (xdr_valdat): Likewise.
39951 2013-05-30  Jeff Law  <law@redhat.com>
39953         [BZ #14256]
39954         * manual/errno.texi (ESTALE): Update to account for more than
39955         just NFS file systems.
39956         * sysdeps/gnu/errlist.c: Regenerated.
39958 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39960         [BZ #15465]
39961         * elf/Makefile (tests): Add tst-null-argv.
39962         (modules-names):  Add tst-null-argv-lib.
39963         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39964         (tst-null-argv-ENV): Set environment for tst-null-argv.
39965         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39966         (RTLD_PROGNAME): New macro.
39967         * elf/tst-null-argv.c: New test case.
39968         * elf/tst-null-argv-lib.c: Library for test case.
39969         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39970         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39971         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39972         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39973         * elf/dl-init.c (call_init): Likewise.
39974         (_dl_init): Likewise.
39975         * elf/dl-load.c (print_search_path): Likewise.
39976         (_dl_map_object): Likewise.
39977         * elf/dl-lookup.c (do_lookup_x): Likewise.
39978         (add_dependency): Likewise.
39979         (_dl_lookup_symbol_x): Likewise.
39980         (_dl_debug_bindings): Likewise.
39981         * elf/dl-open.c (_dl_show_scope): Likewise.
39982         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39983         * elf/dl-version.c (match_symbol): Likewise.
39984         (_dl_check_map_versions): Likewise.
39985         * elf/rtld.c (dl_main): Likewise.
39986         (print_unresolved): Use RTLD_PROGNAME.
39987         (print_missing_version): Likewise.
39988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39989         (elf_machine_rela): Likewise.
39990         * sysdeps/powerpc/powerpc32/dl-machine.c
39991         (__process_machine_rela): Likewise.
39992         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39993         Likewise.
39994         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39995         Likewise.
39996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39997         Likewise.
39998         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40000         Likewise.
40001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40002         Likewise.
40003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40005 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40007         * po/be.po: Add descriptive title.
40008         * po/zh_CN.po: Likewise.
40009         * po/header.pot: Likewise.
40011 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40013         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40014         error message.
40015         (enlarge_archive): Likewise.
40017 2013-05-28  Ben North  <ben@redfrontdoor.org>
40019         * manual/arith.texi (frexp): It is the magnitude of the return
40020         value which lies in [0.5, 1), not the return value itself.
40022 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40026 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40028         * stdio-common/bug26.c (main): Correct fscanf template.
40030         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40031         declare _dl_skip_args.
40033         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40034         Don't declare.
40036         * manual/platform.texi: Add missing @end deftypefun.
40038 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40040         [BZ #15529]
40041         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40042         bit of mantissa of 2^16382.
40043         * math/libm-test.inc (hypot_test_data): Add more tests.
40045         * math/libm-test.inc: Add drem and pow10 to list of tested
40046         functions.
40047         (pow10_test): New function.
40048         (drem_test): Likewise.
40049         (drem_test_tonearest): Likewise.
40050         (drem_test_towardzero): Likewise.
40051         (drem_test_downward): Likewise.
40052         (drem_test_upward): Likewise.
40053         (main): Call the new functions.
40055         * math/libm-test.inc (finite_test_data): Remove.
40056         (finite_test): Run tests from isfinite_test_data.
40057         (gamma_test_data): Remove.
40058         (gamma_test): Run tests from lgamma_test_data.
40059         * sysdeps/i386/fpu/libm-test-ulps: Update.
40060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40062 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40064         * manual/platform.texi: Add PowerPC PPR function set documentation.
40065         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40066         implementation.
40068 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40070         * math/libm-test.inc (MAX_EXP): Define.
40071         (ULPDIFF): Define.
40072         (ulp): New function.
40073         (check_float_internal): Use ULPDIFF.
40074         (cpow_test): Disable failing test.
40075         (check_ulp): Test ulp() implemetnation.
40076         (main): Call check_ulp before starting tests.
40078 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40080         * math/gen-libm-test.pl (generate_testfile): Do not handle
40081         START_DATA and END_DATA.
40082         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40083         END_DATA.
40084         (acos_tonearest_test_data): Likewise.
40085         (acos_towardzero_test_data): Likewise.
40086         (acos_downward_test_data): Likewise.
40087         (acos_upward_test_data): Likewise.
40088         (acosh_test_data): Likewise.
40089         (asin_test_data): Likewise.
40090         (asin_tonearest_test_data): Likewise.
40091         (asin_towardzero_test_data): Likewise.
40092         (asin_downward_test_data): Likewise.
40093         (asin_upward_test_data): Likewise.
40094         (asinh_test_data): Likewise.
40095         (atan_test_data): Likewise.
40096         (atanh_test_data): Likewise.
40097         (atan2_test_data): Likewise.
40098         (cabs_test_data): Likewise.
40099         (cacos_test_data): Likewise.
40100         (cacosh_test_data): Likewise.
40101         (carg_test_data): Likewise.
40102         (casin_test_data): Likewise.
40103         (casinh_test_data): Likewise.
40104         (catan_test_data): Likewise.
40105         (catanh_test_data): Likewise.
40106         (cbrt_test_data): Likewise.
40107         (ccos_test_data): Likewise.
40108         (ccosh_test_data): Likewise.
40109         (ceil_test_data): Likewise.
40110         (cexp_test_data): Likewise.
40111         (cimag_test_data): Likewise.
40112         (clog_test_data): Likewise.
40113         (clog10_test_data): Likewise.
40114         (conj_test_data): Likewise.
40115         (copysign_test_data): Likewise.
40116         (cos_test_data): Likewise.
40117         (cos_tonearest_test_data): Likewise.
40118         (cos_towardzero_test_data): Likewise.
40119         (cos_downward_test_data): Likewise.
40120         (cos_upward_test_data): Likewise.
40121         (cosh_test_data): Likewise.
40122         (cosh_tonearest_test_data): Likewise.
40123         (cosh_towardzero_test_data): Likewise.
40124         (cosh_downward_test_data): Likewise.
40125         (cosh_upward_test_data): Likewise.
40126         (cpow_test_data): Likewise.
40127         (cproj_test_data): Likewise.
40128         (creal_test_data): Likewise.
40129         (csin_test_data): Likewise.
40130         (csinh_test_data): Likewise.
40131         (csqrt_test_data): Likewise.
40132         (ctan_test_data): Likewise.
40133         (ctan_tonearest_test_data): Likewise.
40134         (ctan_towardzero_test_data): Likewise.
40135         (ctan_downward_test_data): Likewise.
40136         (ctan_upward_test_data): Likewise.
40137         (ctanh_test_data): Likewise.
40138         (ctanh_tonearest_test_data): Likewise.
40139         (ctanh_towardzero_test_data): Likewise.
40140         (ctanh_downward_test_data): Likewise.
40141         (ctanh_upward_test_data): Likewise.
40142         (erf_test_data): Likewise.
40143         (erfc_test_data): Likewise.
40144         (exp_test_data): Likewise.
40145         (exp_tonearest_test_data): Likewise.
40146         (exp_towardzero_test_data): Likewise.
40147         (exp_downward_test_data): Likewise.
40148         (exp_upward_test_data): Likewise.
40149         (exp10_test_data): Likewise.
40150         (exp2_test_data): Likewise.
40151         (expm1_test_data): Likewise.
40152         (fabs_test_data): Likewise.
40153         (fdim_test_data): Likewise.
40154         (finite_test_data): Likewise.
40155         (floor_test_data): Likewise.
40156         (fma_test_data): Likewise.
40157         (fma_towardzero_test_data): Likewise.
40158         (fma_downward_test_data): Likewise.
40159         (fma_upward_test_data): Likewise.
40160         (fmax_test_data): Likewise.
40161         (fmin_test_data): Likewise.
40162         (fmod_test_data): Likewise.
40163         (fpclassify_test_data): Likewise.
40164         (frexp_test_data): Likewise.
40165         (gamma_test_data): Likewise.
40166         (hypot_test_data): Likewise.
40167         (ilogb_test_data): Likewise.
40168         (isfinite_test_data): Likewise.
40169         (isgreater_test_data): Likewise.
40170         (isgreaterequal_test_data): Likewise.
40171         (isinf_test_data): Likewise.
40172         (isless_test_data): Likewise.
40173         (islessequal_test_data): Likewise.
40174         (islessgreater_test_data): Likewise.
40175         (isnan_test_data): Likewise.
40176         (isnormal_test_data): Likewise.
40177         (issignaling_test_data): Likewise.
40178         (isunordered_test_data): Likewise.
40179         (j0_test_data): Likewise.
40180         (j1_test_data): Likewise.
40181         (jn_test_data): Likewise.
40182         (ldexp_test_data): Likewise.
40183         (lgamma_test_data): Likewise.
40184         (lrint_test_data): Likewise.
40185         (lrint_tonearest_test_data): Likewise.
40186         (lrint_towardzero_test_data): Likewise.
40187         (lrint_downward_test_data): Likewise.
40188         (lrint_upward_test_data): Likewise.
40189         (llrint_test_data): Likewise.
40190         (llrint_tonearest_test_data): Likewise.
40191         (llrint_towardzero_test_data): Likewise.
40192         (llrint_downward_test_data): Likewise.
40193         (llrint_upward_test_data): Likewise.
40194         (log_test_data): Likewise.
40195         (log10_test_data): Likewise.
40196         (log1p_test_data): Likewise.
40197         (log2_test_data): Likewise.
40198         (logb_test_data): Likewise.
40199         (logb_downward_test_data): Likewise.
40200         (lround_test_data): Likewise.
40201         (llround_test_data): Likewise.
40202         (modf_test_data): Likewise.
40203         (nearbyint_test_data): Likewise.
40204         (nextafter_test_data): Likewise.
40205         (nexttoward_test_data): Likewise.
40206         (pow_test_data): Likewise.
40207         (pow_tonearest_test_data): Likewise.
40208         (pow_towardzero_test_data): Likewise.
40209         (pow_downward_test_data): Likewise.
40210         (pow_upward_test_data): Likewise.
40211         (remainder_test_data): Likewise.
40212         (remainder_tonearest_test_data): Likewise.
40213         (remainder_towardzero_test_data): Likewise.
40214         (remainder_downward_test_data): Likewise.
40215         (remainder_upward_test_data): Likewise.
40216         (remquo_test_data): Likewise.
40217         (rint_test_data): Likewise.
40218         (rint_tonearest_test_data): Likewise.
40219         (rint_towardzero_test_data): Likewise.
40220         (rint_downward_test_data): Likewise.
40221         (rint_upward_test_data): Likewise.
40222         (round_test_data): Likewise.
40223         (scalb_test_data): Likewise.
40224         (scalbn_test_data): Likewise.
40225         (scalbln_test_data): Likewise.
40226         (signbit_test_data): Likewise.
40227         (sin_test_data): Likewise.
40228         (sin_tonearest_test_data): Likewise.
40229         (sin_towardzero_test_data): Likewise.
40230         (sin_downward_test_data): Likewise.
40231         (sin_upward_test_data): Likewise.
40232         (sincos_test_data): Likewise.
40233         (sinh_test_data): Likewise.
40234         (sinh_tonearest_test_data): Likewise.
40235         (sinh_towardzero_test_data): Likewise.
40236         (sinh_downward_test_data): Likewise.
40237         (sinh_upward_test_data): Likewise.
40238         (sqrt_test_data): Likewise.
40239         (tan_test_data): Likewise.
40240         (tan_tonearest_test_data): Likewise.
40241         (tan_towardzero_test_data): Likewise.
40242         (tan_downward_test_data): Likewise.
40243         (tan_upward_test_data): Likewise.
40244         (tanh_test_data): Likewise.
40245         (tgamma_test_data): Likewise.
40246         (trunc_test_data): Likewise.
40247         (y0_test_data): Likewise.
40248         (y1_test_data): Likewise.
40249         (yn_test_data): Likewise.
40250         (significand_test_data): Likewise.
40252         * math/gen-libm-test.pl (@functions): Remove variable.
40253         (generate_testfile): Don't handle START and END lines.
40254         * math/libm-test.inc (START): New macro.
40255         (END): Likewise.
40256         (END_COMPLEX): Likewise.
40257         (acos_test): Use END macro without arguments.
40258         (acos_test_tonearest): Likewise.
40259         (acos_test_towardzero): Likewise.
40260         (acos_test_downward): Likewise.
40261         (acos_test_upward): Likewise.
40262         (acosh_test): Likewise.
40263         (asin_test): Likewise.
40264         (asin_test_tonearest): Likewise.
40265         (asin_test_towardzero): Likewise.
40266         (asin_test_downward): Likewise.
40267         (asin_test_upward): Likewise.
40268         (asinh_test): Likewise.
40269         (atan_test): Likewise.
40270         (atanh_test): Likewise.
40271         (atan2_test): Likewise.
40272         (cabs_test): Likewise.
40273         (cacos_test): Use END_COMPLEX macro without arguments.
40274         (cacosh_test): Likewise.
40275         (carg_test): Use END macro without arguments.
40276         (casin_test): Use END_COMPLEX macro without arguments.
40277         (casinh_test): Likewise.
40278         (catan_test): Likewise.
40279         (catanh_test): Likewise.
40280         (cbrt_test): Use END macro without arguments.
40281         (ccos_test): Use END_COMPLEX macro without arguments.
40282         (ccosh_test): Likewise.
40283         (ceil_test): Use END macro without arguments.
40284         (cexp_test): Use END_COMPLEX macro without arguments.
40285         (cimag_test): Use END macro without arguments.
40286         (clog_test): Use END_COMPLEX macro without arguments.
40287         (clog10_test): Likewise.
40288         (conj_test): Likewise.
40289         (copysign_test): Use END macro without arguments.
40290         (cos_test): Likewise.
40291         (cos_test_tonearest): Likewise.
40292         (cos_test_towardzero): Likewise.
40293         (cos_test_downward): Likewise.
40294         (cos_test_upward): Likewise.
40295         (cosh_test): Likewise.
40296         (cosh_test_tonearest): Likewise.
40297         (cosh_test_towardzero): Likewise.
40298         (cosh_test_downward): Likewise.
40299         (cosh_test_upward): Likewise.
40300         (cpow_test): Use END_COMPLEX macro without arguments.
40301         (cproj_test): Likewise.
40302         (creal_test): Use END macro without arguments.
40303         (csin_test): Use END_COMPLEX macro without arguments.
40304         (csinh_test): Likewise.
40305         (csqrt_test): Likewise.
40306         (ctan_test): Likewise.
40307         (ctan_test_tonearest): Likewise.
40308         (ctan_test_towardzero): Likewise.
40309         (ctan_test_downward): Likewise.
40310         (ctan_test_upward): Likewise.
40311         (ctanh_test): Likewise.
40312         (ctanh_test_tonearest): Likewise.
40313         (ctanh_test_towardzero): Likewise.
40314         (ctanh_test_downward): Likewise.
40315         (ctanh_test_upward): Likewise.
40316         (erf_test): Use END macro without arguments.
40317         (erfc_test): Likewise.
40318         (exp_test): Likewise.
40319         (exp_test_tonearest): Likewise.
40320         (exp_test_towardzero): Likewise.
40321         (exp_test_downward): Likewise.
40322         (exp_test_upward): Likewise.
40323         (exp10_test): Likewise.
40324         (exp2_test): Likewise.
40325         (expm1_test): Likewise.
40326         (fabs_test): Likewise.
40327         (fdim_test): Likewise.
40328         (finite_test): Likewise.
40329         (floor_test): Likewise.
40330         (fma_test): Likewise.
40331         (fma_test_towardzero): Likewise.
40332         (fma_test_downward): Likewise.
40333         (fma_test_upward): Likewise.
40334         (fmax_test): Likewise.
40335         (fmin_test): Likewise.
40336         (fmod_test): Likewise.
40337         (fpclassify_test): Likewise.
40338         (frexp_test): Likewise.
40339         (gamma_test): Likewise.
40340         (hypot_test): Likewise.
40341         (ilogb_test): Likewise.
40342         (isfinite_test): Likewise.
40343         (isgreater_test): Likewise.
40344         (isgreaterequal_test): Likewise.
40345         (isinf_test): Likewise.
40346         (isless_test): Likewise.
40347         (islessequal_test): Likewise.
40348         (islessgreater_test): Likewise.
40349         (isnan_test): Likewise.
40350         (isnormal_test): Likewise.
40351         (issignaling_test): Likewise.
40352         (isunordered_test): Likewise.
40353         (j0_test): Likewise.
40354         (j1_test): Likewise.
40355         (jn_test): Likewise.
40356         (ldexp_test): Likewise.
40357         (lgamma_test): Likewise.
40358         (lrint_test): Likewise.
40359         (lrint_test_tonearest): Likewise.
40360         (lrint_test_towardzero): Likewise.
40361         (lrint_test_downward): Likewise.
40362         (lrint_test_upward): Likewise.
40363         (llrint_test): Likewise.
40364         (llrint_test_tonearest): Likewise.
40365         (llrint_test_towardzero): Likewise.
40366         (llrint_test_downward): Likewise.
40367         (llrint_test_upward): Likewise.
40368         (log_test): Likewise.
40369         (log10_test): Likewise.
40370         (log1p_test): Likewise.
40371         (log2_test): Likewise.
40372         (logb_test): Likewise.
40373         (logb_test_downward): Likewise.
40374         (lround_test): Likewise.
40375         (llround_test): Likewise.
40376         (modf_test): Likewise.
40377         (nearbyint_test): Likewise.
40378         (nextafter_test): Likewise.
40379         (nexttoward_test): Likewise.
40380         (pow_test): Likewise.
40381         (pow_test_tonearest): Likewise.
40382         (pow_test_towardzero): Likewise.
40383         (pow_test_downward): Likewise.
40384         (pow_test_upward): Likewise.
40385         (remainder_test): Likewise.
40386         (remainder_test_tonearest): Likewise.
40387         (remainder_test_towardzero): Likewise.
40388         (remainder_test_downward): Likewise.
40389         (remainder_test_upward): Likewise.
40390         (remquo_test): Likewise.
40391         (rint_test): Likewise.
40392         (rint_test_tonearest): Likewise.
40393         (rint_test_towardzero): Likewise.
40394         (rint_test_downward): Likewise.
40395         (rint_test_upward): Likewise.
40396         (round_test): Likewise.
40397         (scalb_test): Likewise.
40398         (scalbn_test): Likewise.
40399         (scalbln_test): Likewise.
40400         (signbit_test): Likewise.
40401         (sin_test): Likewise.
40402         (sin_test_tonearest): Likewise.
40403         (sin_test_towardzero): Likewise.
40404         (sin_test_downward): Likewise.
40405         (sin_test_upward): Likewise.
40406         (sincos_test): Likewise.
40407         (sinh_test): Likewise.
40408         (sinh_test_tonearest): Likewise.
40409         (sinh_test_towardzero): Likewise.
40410         (sinh_test_downward): Likewise.
40411         (sinh_test_upward): Likewise.
40412         (sqrt_test): Likewise.
40413         (tan_test): Likewise.
40414         (tan_test_tonearest): Likewise.
40415         (tan_test_towardzero): Likewise.
40416         (tan_test_downward): Likewise.
40417         (tan_test_upward): Likewise.
40418         (tanh_test): Likewise.
40419         (tgamma_test): Likewise.
40420         (trunc_test): Likewise.
40421         (y0_test): Likewise.
40422         (y1_test): Likewise.
40423         (yn_test): Likewise.
40424         (significand_test): Likewise.
40426 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40428         [BZ #15381]
40429         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40431 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40433         [BZ #14894]
40434         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40435         __ppc_mdoio and __ppc_mdoom.
40436         * manual/platform.texi: Document new functions __ppc_yield,
40437         __ppc_mdoio and __ppc_mdoom.
40439 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40441         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40442         (main): Mention "tls" pseudo-hwcap is legacy.
40443         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40445 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40447         * math/gen-libm-test.pl (parse_args): Output only string of
40448         arguments as text for test name, not full call or descriptions of
40449         tests for extra outputs.
40450         (generate_testfile): Do not pass function name to parse_args.
40451         Generate this_func variable from START.
40452         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40453         field to arg_str.
40454         (struct test_ff_f_data): Likewise.
40455         (test_ff_f_data_nexttoward): Likewise.
40456         (struct test_fi_f_data): Likewise.
40457         (struct test_fl_f_data): Likewise.
40458         (struct test_if_f_data): Likewise.
40459         (struct test_fff_f_data): Likewise.
40460         (struct test_c_f_data): Likewise.
40461         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40462         (struct test_fF_f1_data): Likewise.
40463         (struct test_ffI_f1_data): Likewise.
40464         (struct test_c_c_data): Rename test_name field to arg_str.
40465         (struct test_cc_c_data): Likewise.
40466         (struct test_f_i_data): Likewise.
40467         (struct test_ff_i_data): Likewise.
40468         (struct test_f_l_data): Likewise.
40469         (struct test_f_L_data): Likewise.
40470         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40471         and extra2_name.
40472         (COMMON_TEST_SETUP): New macro.
40473         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40474         (COMMON_TEST_CLEANUP): Likewise.
40475         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40476         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40477         macros.
40478         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40479         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40480         macros.
40481         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40482         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40483         cleanup macros.
40484         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40485         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40486         macros.
40487         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40488         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40489         macros.
40490         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40491         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40492         cleanup macros.
40493         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40494         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40495         cleanup macros.
40496         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40497         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40498         cleanup macros.
40499         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40500         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40501         macros.
40502         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40503         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40504         macros.
40505         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40506         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40507         macros.
40508         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40509         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40510         cleanup macros.
40511         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40512         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40513         cleanup macros.
40514         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40515         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40516         macros.
40517         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40518         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40519         cleanup macros.
40520         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40521         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40522         macros.
40523         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40524         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40525         macros.
40526         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40527         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40528         cleanup macros.
40529         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40531 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40533         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40534         to _sifields.sigfault.
40535         (si_addr_lsb): Define new macro.
40536         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40538         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40540 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40542         [BZ #15441]
40543         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40544         returns -1.
40545         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40546         null return -1.
40547         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40548         loading the domain.
40550 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40552         * math/gen-libm-test.pl (parse_args): Do not include expected
40553         result in test name.
40554         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40555         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40556         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40557         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40558         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40561 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40563         * benchtests/Makefile: Sort function entries.
40565         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40566         tanh, asinh, acosh, atanh.
40567         * benchtests/acos-inputs: New file.
40568         * benchtests/acosh-inputs: New file.
40569         * benchtests/asin-inputs: New file.
40570         * benchtests/asinh-inputs: New file.
40571         * benchtests/atanh-inputs: New file.
40572         * benchtests/cosh-inputs: New file.
40573         * benchtests/log-inputs: New file.
40574         * benchtests/sinh-inputs: New file.
40575         * benchtests/tanh-inputs: New file.
40577 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40579         [BZ #15339]
40580         * posix/tst-getaddrinfo4.c: New test.
40581         * posix/Makefile (tests): Add it.
40583 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40585         [BZ #15339]
40586         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40587         when no services were used.
40588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40589         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40591 2013-05-21  Andreas Schwab  <schwab@suse.de>
40593         [BZ #15014]
40594         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40595         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40596         successful.
40597         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40598         redundant variable declarations and reallocation of buffer when
40599         parsing as IPv6 address.  Always set NSS status when called from
40600         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40601         buffer too small.  Correct computation of needed size.
40602         * nss/Makefile (tests): Add test-digits-dots.
40603         * nss/test-digits-dots.c: New test.
40605 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40607         * benchtests/Makefile: Remove instructions for adding
40608         benchmark tests.
40609         * benchtests/README: New file to explain how to execute and
40610         enhance the benchmark tests.
40612 2013-05-21  Andreas Schwab  <schwab@suse.de>
40614         [BZ #15493]
40615         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40616         * setjmp/tst-sigsetjmp.c: New test.
40618 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40620         * sysdeps/x86_64/memset.S (memset): New implementation.
40621         (__bzero): Likewise.
40622         (__memset_tail): New function.
40624 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40626         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40627         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40628         __memcpy_sse2_unaligned ifunc selection.
40629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40630         Add memcpy-sse2-unaligned.S.
40631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40632         Add: __memcpy_sse2_unaligned.
40634 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40636         [BZ #15490]
40637         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40638         math_force_eval before restoring floating-point envrionment.
40639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40640         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40641         Likewise.
40642         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40643         <math_private.h>.
40644         (__nearbyintl): Use math_force_eval before restoring
40645         floating-point environment.
40646         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40648         * math/gen-libm-test.pl (special_functions): Remove.
40649         (parse_args): Don't handle TEST_extra.  Handle functions with no
40650         return value.
40651         * math/libm-test.inc (struct test_sincos_data): Replace with
40652         struct test_fFF_11_data.
40653         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40654         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40655         (sincos_test_data): Change element type to struct
40656         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40657         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40658         RUN_TEST_LOOP_sincos.
40659         * math/README.libm-test: Don't mention special handling of
40660         individual functions.
40661         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40663         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40665         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40668         * math/gen-libm-test.pl (get_variable): Remove function.
40669         (parse_args): Don't show pointer parameters to call in test
40670         names.  Use "extra output N" in test names for extra outputs
40671         rather than naming variables.
40673 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40675         [BZ #15488]
40676         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40677         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40678         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40679         double tests.
40680         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40681         disable.
40682         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40683         check_long_double.
40685         * math/gen-libm-test.pl (@tests): Remove variable.
40686         ($count): Likewise.
40687         (new_test): Remove function.
40688         (show_exceptions): New function.
40689         (special_functions): Use show_exceptions instead of new_test.
40690         (parse_args): Likewise.
40691         (generate_testfile): Pass only function name in generated call to
40692         print_max_error or print_complex_max_error.
40693         (get_ulps): Do not handle complex tests specially.
40694         (output_test): Rename to ...
40695         (get_all_ulps_for_test): ... this.  Return a string rather than
40696         printing to a file.  Require ulps to be present.
40697         (output_ulps): Generate arrays rather than #defines.
40698         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40699         (struct ulp_data): New type.
40700         (BUILD_COMPLEX_ULP): Remove macro.
40701         (compare_ulp_data): New function.
40702         (find_ulps): Likewise.
40703         (find_test_ulps): Likewise.
40704         (find_function_ulps): Likewise.
40705         (find_complex_function_ulps): Likewise.
40706         (print_max_error): Determine allowed ulps using
40707         find_function_ulps.
40708         (print_complex_max_error): Determine allowed ulps using
40709         find_complex_function_ulps.
40710         (check_float_internal): Determine max ulps using find_test_ulps.
40711         (check_float): Do not take max_ulp parameter.  Update call to
40712         check_float_internal.
40713         (check_complex): Likewise.
40714         (check_int): Do not take max_ulp parameter.
40715         (check_long): Likewise.
40716         (check_bool): Likewise.
40717         (check_longlong): Likewise.
40718         (struct test_f_f_data): Remove max_ulp field.
40719         (struct test_ff_f_data): Likewise.
40720         (struct test_ff_f_data_nexttoward): Likewise.
40721         (struct test_fi_f_data): Likewise.
40722         (struct test_fl_f_data): Likewise.
40723         (struct test_if_f_data): Likewise.
40724         (struct test_fff_f_data): Likewise.
40725         (struct test_c_f_data): Likewise.
40726         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40727         (struct test_fF_f1_data): Likewise.
40728         (struct test_ffI_f1_data): Likewise.
40729         (struct test_c_c_data): Remove max_ulp field.
40730         (struct test_cc_c_data): Likewise.
40731         (struct test_f_i_data): Likewise.
40732         (struct test_ff_i_data): Likewise.
40733         (struct test_f_l_data): Likewise.
40734         (struct test_f_L_data): Likewise.
40735         (struct test_sincos_data): Likewise.
40736         (RUN_TEST_f_f): Do not handle ulps.
40737         (RUN_TEST_LOOP_f_f): Likewise.
40738         (RUN_TEST_2_f): Likewise.
40739         (RUN_TEST_LOOP_2_f): Likewise.
40740         (RUN_TEST_fff_f): Likewise.
40741         (RUN_TEST_LOOP_fff_f): Likewise.
40742         (RUN_TEST_c_f): Likewise.
40743         (RUN_TEST_LOOP_c_f): Likewise.
40744         (RUN_TEST_f_f1): Likewise.
40745         (RUN_TEST_LOOP_f_f1): Likewise.
40746         (RUN_TEST_fF_f1): Likewise.
40747         (RUN_TEST_LOOP_fF_f1): Likewise.
40748         (RUN_TEST_fI_f1): Likewise.
40749         (RUN_TEST_LOOP_fI_f1): Likewise.
40750         (RUN_TEST_ffI_f1): Likewise.
40751         (RUN_TEST_LOOP_ffI_f1): Likewise.
40752         (RUN_TEST_c_c): Likewise.
40753         (RUN_TEST_LOOP_c_c): Likewise.
40754         (RUN_TEST_cc_c): Likewise.
40755         (RUN_TEST_LOOP_cc_c): Likewise.
40756         (RUN_TEST_f_i): Likewise.
40757         (RUN_TEST_LOOP_f_i): Likewise.
40758         (RUN_TEST_f_i_tg): Likewise.
40759         (RUN_TEST_LOOP_f_i_tg): Likewise.
40760         (RUN_TEST_ff_i_tg): Likewise.
40761         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40762         (RUN_TEST_f_b): Likewise.
40763         (RUN_TEST_LOOP_f_b): Likewise.
40764         (RUN_TEST_f_b_tg): Likewise.
40765         (RUN_TEST_LOOP_f_b_tg): Likewise.
40766         (RUN_TEST_f_l): Likewise.
40767         (RUN_TEST_LOOP_f_l): Likewise.
40768         (RUN_TEST_f_L): Likewise.
40769         (RUN_TEST_LOOP_f_L): Likewise.
40770         (RUN_TEST_sincos): Likewise.
40771         (RUN_TEST_LOOP_sincos): Likewise.
40773 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40775         [BZ #15480]
40776         [BZ #15485]
40777         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40778         main case of finite arguments, set rounding mode to FE_TONEAREST
40779         and discard exceptions.
40780         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40781         exceptions.
40782         (remainder_tonearest_test_data): New variable.
40783         (remainder_test_tonearest): New function.
40784         (remainder_towardzero_test_data): New variable.
40785         (remainder_test_towardzero): New function.
40786         (remainder_downward_test_data): New variable.
40787         (remainder_test_downward): New function.
40788         (remainder_upward_test_data): New variable.
40789         (remainder_test_upward): New function.
40790         (main): Call the new test functions.
40792         * math/libm-test.inc (struct test_f_f1_data): Remove field
40793         extra_init.
40794         (struct test_fF_f1_data): Likewise.
40795         (struct test_ffI_f1_data): Likewise.
40796         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40797         based on value of EXTRA_EXPECTED.
40798         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40799         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40800         EXTRA_VAR based on value of EXTRA_EXPECTED.
40801         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40802         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40803         EXTRA_VAR based on value of EXTRA_EXPECTED.
40804         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40805         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40806         EXTRA_VAR based on value of EXTRA_EXPECTED.
40807         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40808         * math/gen-libm-test.pl (parse_args): Don't output initializers
40809         for extra output values.
40811         * math/libm-test.inc (check_int): Expect result to be exactly
40812         equal to expected value and do not handle ulps.
40813         (check_long): Likewise.
40814         (check_longlong): Likewise.
40816         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40817         exceptions.
40818         (cimag_test_data): Likewise.
40819         (conj_test_data): Likewise.
40820         (copysign_test_data): Likewise.
40821         (cproj_test_data): Likewise.
40822         (creal_test_data): Likewise.
40823         (fabs_test_data): Likewise.
40824         (fdim_test_data): Likewise.
40825         (finite_test_data): Likewise.
40826         (floor_test_data): Likewise.
40827         (fmax_test_data): Likewise.
40828         (fmin_test_data): Likewise.
40829         (fmod_test_data): Likewise.
40830         (fpclassify_test_data): Likewise.
40831         (frexp_test_data): Likewise.
40832         (ilogb_test_data): Likewise.
40833         (isfinite_test_data): Likewise.
40834         (isgreater_test_data): Likewise.
40835         (isgreaterequal_test_data): Likewise.
40836         (isinf_test_data): Likewise.
40837         (isless_test_data): Likewise.
40838         (islessequal_test_data): Likewise.
40839         (islessgreater_test_data): Likewise.
40840         (isnan_test_data): Likewise.
40841         (isnormal_test_data): Likewise.
40842         (issignaling_test_data): Likewise.
40843         (isunordered_test_data): Likewise.
40844         (ldexp_test_data): Likewise.
40845         (lrint_test_data): Likewise.
40846         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40847         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40848         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40849         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40850         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40851         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40852         test input.
40853         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40854         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40855         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40856         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40857         that test input.
40858         (lrint_downward_test_data): Test for "inexact" exceptions.
40859         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40860         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40861         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40862         test input.
40863         (lrint_upward_test_data): Test for "inexact" exceptions.
40864         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40865         test input.
40866         (llrint_test_data): Test for "inexact" exceptions.
40867         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40868         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40869         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40870         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40871         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40872         (llrint_downward_test_data): Test for "inexact" exceptions.
40873         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40874         (llrint_upward_test_data): Test for "inexact" exceptions.
40875         (logb_test_data): Likewise.
40876         (logb_downward_test_data): Likewise.
40877         (nextafter_test_data): Likewise.
40878         (nexttoward_test_data): Likewise.
40879         (remainder_test_data): Likewise.
40880         (remquo_test_data): Likewise.
40881         (scalbn_test_data): Likewise.
40882         (scalbln_test_data): Likewise.
40883         (signbit_test_data): Likewise.
40884         (sqrt_test_data): Likewise.
40885         (significand_test_data): Likewise.
40887 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40889         [BZ #15424]
40890         * benchtests/bench-modf.c (struct args): Mark arg0 as
40891         volatile.
40892         * scripts/bench.pl: Mark members of struct args as volatile.
40894 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40896         [BZ # 15497]
40897         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40898         negative infinity on POWER6 or lower.
40899         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40901 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40903         [BZ #15442]
40904         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40905         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40906         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40907         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40908         (_FP_SETQNAN): New macro.
40909         (_FP_SETQNAN_SEMIRAW): Likewise.
40910         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40911         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40912         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40913         (FP_EXTEND): Use _FP_FRAC_SNANP.
40914         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40915         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40916         into account.
40917         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40918         New macro.
40919         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40920         Likewise.
40922 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40924         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40925         with DIVIDE_BY_ZERO_EXCEPTION.
40926         (gamma_test_data): Likewise.
40927         (lgamma_test_data): Likewise.
40928         (log_test_data): Likewise.
40929         (log10_test_data): Likewise.
40930         (log2_test_data): Likewise.
40931         (tgamma_test_data): Likewise.
40933         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40934         (acos_test_tonearest): Likewise.
40935         (acos_test_towardzero): Likewise.
40936         (acos_test_downward): Likewise.
40937         (acos_test_upward): Likewise.
40938         (acosh_test): Likewise.
40939         (asin_test): Likewise.
40940         (asin_test_tonearest): Likewise.
40941         (asin_test_towardzero): Likewise.
40942         (asin_test_downward): Likewise.
40943         (asin_test_upward): Likewise.
40944         (asinh_test): Likewise.
40945         (atan_test): Likewise.
40946         (atanh_test): Likewise.
40947         (atan2_test): Likewise.
40948         (cabs_test): Likewise.
40949         (cacos_test): Likewise.
40950         (cacosh_test): Likewise.
40951         (casin_test): Likewise.
40952         (casinh_test): Likewise.
40953         (catan_test): Likewise.
40954         (catanh_test): Likewise.
40955         (cbrt_test): Likewise.
40956         (ccos_test): Likewise.
40957         (ccosh_test): Likewise.
40958         (cexp_test): Likewise.
40959         (clog_test): Likewise.
40960         (clog10_test): Likewise.
40961         (cos_test): Likewise.
40962         (cos_test_tonearest): Likewise.
40963         (cos_test_towardzero): Likewise.
40964         (cos_test_downward): Likewise.
40965         (cos_test_upward): Likewise.
40966         (cosh_test): Likewise.
40967         (cosh_test_tonearest): Likewise.
40968         (cosh_test_towardzero): Likewise.
40969         (cosh_test_downward): Likewise.
40970         (cosh_test_upward): Likewise.
40971         (cpow_test): Likewise.
40972         (csin_test): Likewise.
40973         (csinh_test): Likewise.
40974         (csqrt_test): Likewise.
40975         (ctan_test): Likewise.
40976         (ctan_test_tonearest): Likewise.
40977         (ctan_test_towardzero): Likewise.
40978         (ctan_test_downward): Likewise.
40979         (ctan_test_upward): Likewise.
40980         (ctanh_test): Likewise.
40981         (ctanh_test_tonearest): Likewise.
40982         (ctanh_test_towardzero): Likewise.
40983         (ctanh_test_downward): Likewise.
40984         (ctanh_test_upward): Likewise.
40985         (erf_test): Likewise.
40986         (erfc_test): Likewise.
40987         (exp_test): Likewise.
40988         (exp_test_tonearest): Likewise.
40989         (exp_test_towardzero): Likewise.
40990         (exp_test_downward): Likewise.
40991         (exp_test_upward): Likewise.
40992         (exp10_test): Likewise.
40993         (exp2_test): Likewise.
40994         (expm1_test): Likewise.
40995         (fmod_test): Likewise.
40996         (gamma_test): Likewise.
40997         (hypot_test): Likewise.
40998         (j0_test): Likewise.
40999         (j1_test): Likewise.
41000         (jn_test): Likewise.
41001         (lgamma_test): Likewise.
41002         (log_test): Likewise.
41003         (log10_test): Likewise.
41004         (log1p_test): Likewise.
41005         (log2_test): Likewise.
41006         (logb_test_downward): Likewise.
41007         (pow_test): Likewise.
41008         (pow_test_tonearest): Likewise.
41009         (pow_test_towardzero): Likewise.
41010         (pow_test_downward): Likewise.
41011         (pow_test_upward): Likewise.
41012         (remainder_test): Likewise.
41013         (remquo_test): Likewise.
41014         (sin_test): Likewise.
41015         (sin_test_tonearest): Likewise.
41016         (sin_test_towardzero): Likewise.
41017         (sin_test_downward): Likewise.
41018         (sin_test_upward): Likewise.
41019         (sincos_test): Likewise.
41020         (sinh_test): Likewise.
41021         (sinh_test_tonearest): Likewise.
41022         (sinh_test_towardzero): Likewise.
41023         (sinh_test_downward): Likewise.
41024         (sinh_test_upward): Likewise.
41025         (sqrt_test): Likewise.
41026         (tan_test): Likewise.
41027         (tan_test_tonearest): Likewise.
41028         (tan_test_towardzero): Likewise.
41029         (tan_test_downward): Likewise.
41030         (tan_test_upward): Likewise.
41031         (tanh_test): Likewise.
41032         (tgamma_test): Likewise.
41033         (y0_test): Likewise.
41034         (y1_test): Likewise.
41035         (yn_test): Likewise.
41037         * math/gen-libm-test.pl (adjust_arg): Remove function.
41038         (special_function): Remove argument $in_func.  Only handle
41039         generating output for tables of tests, not inside functions.
41040         (parse_args): Likewise.
41041         (generate_testfile): Remove variable $in_func.  Update call to
41042         parse_args.
41043         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41044         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41045         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41046         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41047         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41048         (MAX_VALUE_INIT): Rename macro to max_value.
41049         (MIN_VALUE_INIT): Rename macro to min_value.
41050         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41051         (plus_zero): Remove variable.
41052         (minus_zero): Likewise.
41053         (plus_infty): Likewise.
41054         (minus_infty): Likewise.
41055         (qnan_value): Likewise.
41056         (max_value): Likewise.
41057         (min_value): Likewise.
41058         (min_subnorm_value): Likewise.
41060 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41062         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41063         uint64_t or uint32_t usage.
41064         * crypt/sha256-block.c: Likewise.
41065         * crypt/sha256-crypt.c: Likewise.
41066         * crypt/sha256.c: Likewise.
41067         * crypt/sha512-block.c: Likewise.
41068         * crypt/sha512-crypt.c: Likewise.
41069         * crypt/sha512.c: Likewise.
41070         * debug/backtrace-tst.c: Likewise.
41071         * debug/pcprofiledump.c: Likewise.
41072         * elf/cache.c: Likewise.
41073         * elf/dl-cache.c: Likewise.
41074         * elf/dl-misc.c: Likewise.
41075         * elf/dl-profile.c: Likewise.
41076         * elf/dl-support.c: Likewise.
41077         * elf/ldconfig.c: Likewise.
41078         * elf/sprof.c: Likewise.
41079         * iconv/dummy-repertoire.c: Likewise.
41080         * iconv/iconv_charmap.c: Likewise.
41081         * iconv/skeleton.c: Likewise.
41082         * iconvdata/8bit-generic.c: Likewise.
41083         * iconvdata/cp737.h: Likewise.
41084         * iconvdata/cp775.h: Likewise.
41085         * iconvdata/ibm1008.h: Likewise.
41086         * iconvdata/ibm1025.h: Likewise.
41087         * iconvdata/ibm1046.h: Likewise.
41088         * iconvdata/ibm1097.h: Likewise.
41089         * iconvdata/ibm1112.h: Likewise.
41090         * iconvdata/ibm1122.h: Likewise.
41091         * iconvdata/ibm1123.h: Likewise.
41092         * iconvdata/ibm1124.h: Likewise.
41093         * iconvdata/ibm1129.h: Likewise.
41094         * iconvdata/ibm1130.h: Likewise.
41095         * iconvdata/ibm1132.h: Likewise.
41096         * iconvdata/ibm1133.h: Likewise.
41097         * iconvdata/ibm1137.h: Likewise.
41098         * iconvdata/ibm1140.h: Likewise.
41099         * iconvdata/ibm1141.h: Likewise.
41100         * iconvdata/ibm1142.h: Likewise.
41101         * iconvdata/ibm1143.h: Likewise.
41102         * iconvdata/ibm1144.h: Likewise.
41103         * iconvdata/ibm1145.h: Likewise.
41104         * iconvdata/ibm1146.h: Likewise.
41105         * iconvdata/ibm1147.h: Likewise.
41106         * iconvdata/ibm1148.h: Likewise.
41107         * iconvdata/ibm1149.h: Likewise.
41108         * iconvdata/ibm1153.h: Likewise.
41109         * iconvdata/ibm1154.h: Likewise.
41110         * iconvdata/ibm1155.h: Likewise.
41111         * iconvdata/ibm1156.h: Likewise.
41112         * iconvdata/ibm1157.h: Likewise.
41113         * iconvdata/ibm1158.h: Likewise.
41114         * iconvdata/ibm1160.h: Likewise.
41115         * iconvdata/ibm1161.h: Likewise.
41116         * iconvdata/ibm1162.h: Likewise.
41117         * iconvdata/ibm1163.h: Likewise.
41118         * iconvdata/ibm1164.h: Likewise.
41119         * iconvdata/ibm1166.h: Likewise.
41120         * iconvdata/ibm1167.h: Likewise.
41121         * iconvdata/ibm12712.h: Likewise.
41122         * iconvdata/ibm1390.h: Likewise.
41123         * iconvdata/ibm1399.h: Likewise.
41124         * iconvdata/ibm16804.h: Likewise.
41125         * iconvdata/ibm4517.h: Likewise.
41126         * iconvdata/ibm4899.h: Likewise.
41127         * iconvdata/ibm4909.h: Likewise.
41128         * iconvdata/ibm4971.h: Likewise.
41129         * iconvdata/ibm5347.h: Likewise.
41130         * iconvdata/ibm803.h: Likewise.
41131         * iconvdata/ibm856.h: Likewise.
41132         * iconvdata/ibm901.h: Likewise.
41133         * iconvdata/ibm902.h: Likewise.
41134         * iconvdata/ibm9030.h: Likewise.
41135         * iconvdata/ibm9066.h: Likewise.
41136         * iconvdata/ibm921.h: Likewise.
41137         * iconvdata/ibm922.h: Likewise.
41138         * iconvdata/ibm9448.h: Likewise.
41139         * iconvdata/isiri-3342.h: Likewise.
41140         * iconvdata/jis0201.h: Likewise.
41141         * include/link.h: Likewise.
41142         * include/netdb.h: Likewise.
41143         * inet/check_native.c: Likewise.
41144         * inet/check_pf.c: Likewise.
41145         * inet/getipv4sourcefilter.c: Likewise.
41146         * inet/getnameinfo.c: Likewise.
41147         * inet/getsourcefilter.c: Likewise.
41148         * inet/htonl.c: Likewise.
41149         * inet/setipv4sourcefilter.c: Likewise.
41150         * inet/setsourcefilter.c: Likewise.
41151         * inet/test-inet6_opt.c: Likewise.
41152         * inet/tst-network.c: Likewise.
41153         * locale/C-collate.c: Likewise.
41154         * locale/C-ctype.c: Likewise.
41155         * locale/C-time.c: Likewise.
41156         * locale/C-translit.h: Likewise.
41157         * locale/loadarchive.c: Likewise.
41158         * locale/programs/3level.h: Likewise.
41159         * locale/programs/charmap.c: Likewise.
41160         * locale/programs/charmap.h: Likewise.
41161         * locale/programs/ld-address.c: Likewise.
41162         * locale/programs/ld-collate.c: Likewise.
41163         * locale/programs/ld-ctype.c: Likewise.
41164         * locale/programs/ld-identification.c: Likewise.
41165         * locale/programs/ld-measurement.c: Likewise.
41166         * locale/programs/ld-messages.c: Likewise.
41167         * locale/programs/ld-monetary.c: Likewise.
41168         * locale/programs/ld-name.c: Likewise.
41169         * locale/programs/ld-numeric.c: Likewise.
41170         * locale/programs/ld-paper.c: Likewise.
41171         * locale/programs/ld-telephone.c: Likewise.
41172         * locale/programs/ld-time.c: Likewise.
41173         * locale/programs/linereader.c: Likewise.
41174         * locale/programs/locale.c: Likewise.
41175         * locale/programs/locarchive.c: Likewise.
41176         * locale/programs/locfile.h: Likewise.
41177         * locale/programs/repertoire.c: Likewise.
41178         * locale/programs/simple-hash.c: Likewise.
41179         * locale/programs/simple-hash.h: Likewise.
41180         * malloc/memusage.c: Likewise.
41181         * malloc/memusagestat.c: Likewise.
41182         * nis/nis_defaults.c: Likewise.
41183         * nis/nis_hash.c: Likewise.
41184         * nis/nis_print.c: Likewise.
41185         * nis/nis_xdr.c: Likewise.
41186         * nscd/connections.c: Likewise.
41187         * nscd/hstcache.c: Likewise.
41188         * nscd/nscd_gethst_r.c: Likewise.
41189         * nscd/nscd_getserv_r.c: Likewise.
41190         * nscd/nscd_helper.c: Likewise.
41191         * nscd/servicescache.c: Likewise.
41192         * nss/makedb.c: Likewise.
41193         * nss/nss_db/db-XXX.c: Likewise.
41194         * nss/nss_db/db-initgroups.c: Likewise.
41195         * nss/nss_db/db-netgrp.c: Likewise.
41196         * nss/nss_files/files-network.c: Likewise.
41197         * nss/nss_files/files-parse.c: Likewise.
41198         * posix/bug-regex5.c: Likewise.
41199         * posix/fnmatch_loop.c: Likewise.
41200         * posix/regcomp.c: Likewise.
41201         * posix/regexec.c: Likewise.
41202         * posix/tst-rfc3484-2.c: Likewise.
41203         * posix/tst-rfc3484-3.c: Likewise.
41204         * posix/tst-rfc3484.c: Likewise.
41205         * resolv/nss_dns/dns-canon.c: Likewise.
41206         * resolv/nss_dns/dns-network.c: Likewise.
41207         * resolv/res_init.c: Likewise.
41208         * resolv/res_mkquery.c: Likewise.
41209         * resolv/tst-aton.c: Likewise.
41210         * stdlib/cxa_atexit.c: Likewise.
41211         * stdlib/cxa_finalize.c: Likewise.
41212         * stdlib/gen-fpioconst.c: Likewise.
41213         * stdlib/strtol_l.c: Likewise.
41214         * string/tst-endian.c: Likewise.
41215         * sunrpc/auth_des.c: Likewise.
41216         * sunrpc/clnt_udp.c: Likewise.
41217         * sunrpc/rtime.c: Likewise.
41218         * sunrpc/svcauth_des.c: Likewise.
41219         * sunrpc/xdr.c: Likewise.
41220         * sunrpc/xdr_intXX_t.c: Likewise.
41221         * sunrpc/xdr_rec.c: Likewise.
41222         * sysdeps/generic/ldconfig.h: Likewise.
41223         * sysdeps/generic/ldsodefs.h: Likewise.
41224         * sysdeps/generic/memusage.h: Likewise.
41225         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41226         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41227         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41228         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41229         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41230         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41231         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41232         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41233         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41235         * sysdeps/posix/getaddrinfo.c: Likewise.
41236         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41237         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41238         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41239         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41240         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41241         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41242         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41243         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41244         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41245         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41246         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41247         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41248         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41249         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41250         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41251         * sysdeps/x86_64/dl-tls.h: Likewise.
41252         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41253         * time/alt_digit.c: Likewise.
41254         * time/era.c: Likewise.
41255         * wcsmbs/tst-c16c32-1.c: Likewise.
41257 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41259         * math/libm-test.inc (struct test_sincos_data): New type.
41260         (RUN_TEST_LOOP_sincos): New macro.
41261         (sincos_test_data): New variable.
41262         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41264 2013-05-16  Richard Henderson  <rth@redhat.com>
41266         * math/atest-exp2.c (LIMB64): New macro.
41267         (CONSTSZ): New macro.
41268         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41269         (hexdig): Move ...
41270         (print_mpn_fp): ... to function scope.
41271         (read_mpn_hex): Remove.
41272         (get_log2): Remove.
41273         (exp2_mpn): Use mp_log2.
41274         (main): Use mp_exp1.
41276 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41278         * math/libm-test.inc: Remove comment about not testing "inexact"
41279         exceptions.
41280         (INEXACT_EXCEPTION): New macro.
41281         (NO_INEXACT_EXCEPTION): Likewise.
41282         (INVALID_EXCEPTION_OK): Update value.
41283         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41284         (OVERFLOW_EXCEPTION_OK): Likewise.
41285         (UNDERFLOW_EXCEPTION_OK): Likewise.
41286         (IGNORE_ZERO_INF_SIGN): Likewise.
41287         (ERRNO_UNCHANGED): Likewise.
41288         (ERRNO_EDOM): Likewise.
41289         (ERRNO_ERANGE): Likewise.
41290         (test_exceptions): Handle testing "inexact" exceptions.
41291         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41292         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41293         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41294         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41295         INEXACT_EXCEPTION.
41296         (rint_towardzero_test_data): Likewise.
41297         (rint_downward_test_data): Likewise.
41298         (rint_upward_test_data): Likewise.
41300         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41301         with OVERFLOW_EXCEPTION.
41302         (exp10_test_data): Likewise.
41303         (exp2_test_data): Likewise.
41304         (expm1_test_data): Likewise.
41305         (lgamma_test_data): Likewise.
41306         (pow_test_data): Likewise.
41307         (tgamma_test_data): Likewise.
41308         (yn_test_data): Remove duplicate test of overflow.
41310         * math/libm-test.inc (struct test_cc_c_data): New type.
41311         (RUN_TEST_LOOP_cc_c): New macro.
41312         (cpow_test_data): New variable.
41313         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41315         * math/libm-test.inc (struct test_f_L_data): New type.
41316         (RUN_TEST_LOOP_f_L): New macro.
41317         (llrint_test_data): New variable.
41318         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41319         (llrint_tonearest_test_data): New variable.
41320         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41321         (llrint_towardzero_test_data): New variable.
41322         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41323         (llrint_downward_test_data): New variable.
41324         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41325         (llrint_upward_test_data): New variable.
41326         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41327         (llround_test_data): New variable.
41328         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41330 2013-05-13  Peter Collingbourne  <pcc@google.com>
41332         * math/atest-exp2.c (get_log2): Remove const attribute.
41334 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41336         * math/libm-test.inc (struct test_f_l_data): New type.
41337         (RUN_TEST_LOOP_f_l): New macro.
41338         (lrint_test_data): New variable.
41339         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41340         (lrint_tonearest_test_data): New variable.
41341         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41342         (lrint_towardzero_test_data): New variable.
41343         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41344         (lrint_downward_test_data): New variable.
41345         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41346         (lrint_upward_test_data): New variable.
41347         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41348         (lround_test_data): New variable.
41349         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41351 2013-05-15  Peter Collingbourne  <pcc@google.com>
41353         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41354         (EXTRACT_WORDS64) Use where appropriate.
41355         (INSERT_WORDS64) Likewise.
41357         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41358         constraints with x constraints.
41359         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41361         * malloc/obstack.c (_obstack_compat): Add initializer.
41363 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41365         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41366         si_trapno and add si_addr_lsb to _sifields.sigfault.
41367         (si_trapno): Remove macro.
41368         (si_addr_lsb): Define new macro.
41369         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41371 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41373         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41374         instead of TEST_f_l.
41375         (llrint_test_tonearest): Likewise.
41376         (llrint_test_towardzero): Likewise.
41377         (llrint_test_downward): Likewise.
41378         (llrint_test_upward): Likewise.
41379         (llround_test): Likewise.
41381         * math/libm-test.inc (struct test_f_i_data): Add comment.
41382         (RUN_TEST_LOOP_f_b): New macro.
41383         (RUN_TEST_LOOP_f_b_tg): Likewise.
41384         (finite_test_data): New variable.
41385         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41386         (isfinite_test_data): New variable.
41387         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41388         (isinf_test_data): New variable.
41389         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41390         (isnan_test_data): New variable.
41391         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41392         (isnormal_test_data): New variable.
41393         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41394         (issignaling_test_data): New variable.
41395         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41396         (signbit_test_data): New variable.
41397         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41399         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41400         with INVALID_EXCEPTION.
41401         (acosh_test_data): Likewise.
41402         (asin_test_data): Likewise.
41403         (atanh_test_data): Likewise.
41404         (fmod_test_data): Likewise.
41405         (log_test_data): Likewise.
41406         (log10_test_data): Likewise.
41407         (log2_test_data): Likewise.
41408         (pow_test_data): Likewise.
41409         (sqrt_test_data): Likewise.
41410         (y0_test_data): Likewise.
41411         (y1_test_data): Likewise.
41412         (yn_test_data): Likewise.
41414         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41415         function contents.
41417         * math/libm-test.inc (struct test_ff_i_data): New type.
41418         (RUN_TEST_LOOP_ff_i_tg): New macro.
41419         (isgreater_test_data): New variable.
41420         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41421         (isgreaterequal_test_data): New variable.
41422         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41423         (isless_test_data): New variable.
41424         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41425         (islessequal_test_data): New variable.
41426         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41427         (islessgreater_test_data): New variable.
41428         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41429         (isunordered_test_data): New variable.
41430         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41432 2013-05-14  David S. Miller  <davem@davemloft.net>
41434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41436 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41438         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41440         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41441         extra_test to int.
41442         (struct test_f_i_data): Change type of max_ulp to int.
41444         * math/libm-test.inc (test_ffI_f1_data): New type.
41445         (RUN_TEST_LOOP_ffI_f1): New macro.
41446         (remquo_test_data): New variable.
41447         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41449         * setjmp/tst-setjmp-fp.c: New file.
41450         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41451         (link-libm): New variable.
41452         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41454         * math/libm-test.inc (struct test_f_i_data): New type.
41455         (RUN_TEST_LOOP_f_i): New macro.
41456         (RUN_TEST_LOOP_f_i_tg): Likewise.
41457         (fpclassify_test_data): New variable.
41458         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41459         (ilogb_test_data): New variable.
41460         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41462         * math/libm-test.inc (scalbln_test): Correct function name in END
41463         call.
41465         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41466         (RUN_TEST_LOOP_fI_f1): New macro.
41467         (frexp_test_data): New variable.
41468         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41470         * math/libm-test.inc (struct test_fF_f1_data): New type.
41471         (RUN_TEST_LOOP_fF_f1): New macro.
41472         (modf_test_data): New variable.
41473         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41475         * math/libm-test.inc (struct test_f_f1_data): New type.
41476         (RUN_TEST_LOOP_f_f1): New macro.
41477         (gamma_test_data): New variable.
41478         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41479         (lgamma_test_data): New variable.
41480         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41482 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41484         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41485         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41486         (main): Comment "tls" pseudo-hwcap.
41488 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41490         * math/libm-test.inc (struct test_fl_f_data): New type.
41491         (RUN_TEST_LOOP_fl_f): New variable.
41492         (scalbln_test_data): New variable.
41493         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41495         * math/libm-test.inc (struct test_fi_f_data): New type.
41496         (RUN_TEST_LOOP_fi_f): New macro.
41497         (ldexp_test_data): New variable.
41498         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41499         (scalbn_test_data): New variable.
41500         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41502         * math/libm-test.inc (struct test_c_f_data): New type.
41503         (RUN_TEST_LOOP_c_f): New macro.
41504         (cabs_test_data): New variable.
41505         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41506         (carg_test_data): New variable.
41507         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41508         (cimag_test_data): New variable.
41509         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41510         (creal_test_data): New variable.
41511         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41513         * math/libm-test.inc (struct test_if_f_data): New type.
41514         (RUN_TEST_LOOP_if_f): New macro.
41515         (jn_test_data): New variable.
41516         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41517         (yn_test_data): New variable.
41518         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41520         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41522 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41524         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41525         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41527 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41529         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41530         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41531         (bench-deps): Add bench-timing.h.
41532         * benchtests-bench-skeleton.c: Include bench-timing.h.
41533         (main): Use TIMING_* macros instead of clock_gettime.
41534         * benchtests/bench-timing.h: New file.
41536         [BZ #14582]
41537         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41538         Renamed from _LIB_VERSION.
41539         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41541 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41543         * math/libm-test.inc (struct test_fff_f_data): New type.
41544         (RUN_TEST_LOOP_fff_f): New macro.
41545         (fma_test_data): New variable.
41546         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41547         (fma_towardzero_test_data): New variable.
41548         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41549         (fma_downward_test_data): New variable.
41550         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41551         (fma_upward_test_data): New variable.
41552         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41554         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41555         (struct test_c_c_data): New type.
41556         (RUN_TEST_LOOP_c_c): New macro.
41557         (cacos_test_data): New variable.
41558         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41559         (cacosh_test_data): New variable.
41560         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41561         (casin_test_data): New variable.
41562         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41563         (casinh_test_data): New variable.
41564         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41565         (catan_test_data): New variable.
41566         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41567         (catanh_test_data): New variable.
41568         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41569         (ccos_test_data): New variable.
41570         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41571         (ccosh_test_data): New variable.
41572         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41573         (cexp_test_data): New variable.
41574         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41575         (clog_test_data): New variable.
41576         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41577         (clog10_test_data): New variable.
41578         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41579         (conj_test_data): New variable.
41580         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41581         (cproj_test_data): New variable.
41582         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41583         (csin_test_data): New variable.
41584         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41585         (csinh_test_data): New variable.
41586         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41587         (csqrt_test_data): New variable.
41588         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41589         (ctan_test_data): New variable.
41590         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41591         (ctan_tonearest_test_data): New variable.
41592         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41593         (ctan_towardzero_test_data): New variable.
41594         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41595         (ctan_downward_test_data): New variable.
41596         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41597         (ctan_upward_test_data): New variable.
41598         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41599         (ctanh_test_data): New variable.
41600         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41601         (ctanh_tonearest_test_data): New variable.
41602         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41603         (ctanh_towardzero_test_data): New variable.
41604         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41605         (ctanh_downward_test_data): New variable.
41606         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41607         (ctanh_upward_test_data): New variable.
41608         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41609         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41610         of BUILD_COMPLEX.
41612         * math/libm-test.inc (struct test_ff_f_data): New type.
41613         (struct test_ff_f_data_nexttoward): Likewise.
41614         (RUN_TEST_LOOP_2_f): New macro.
41615         (RUN_TEST_LOOP_ff_f): Likewise.
41616         (atan2_test_data): New variable.
41617         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41618         (copysign_test_data): New variable.
41619         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41620         (fdim_test_data): New variable.
41621         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41622         (fmax_test_data): New variable.
41623         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41624         (fmin_test_data): New variable.
41625         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41626         (fmod_test_data): New variable.
41627         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41628         (hypot_test_data): New variable.
41629         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41630         (nextafter_test_data): New variable.
41631         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41632         (nexttoward_test_data): New variable.
41633         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41634         (pow_test_data): New variable.
41635         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41636         (pow_tonearest_test_data): New variable.
41637         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41638         (pow_towardzero_test_data): New variable.
41639         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41640         (pow_downward_test_data): New variable.
41641         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41642         (pow_upward_test_data): New variable.
41643         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41644         (remainder_test_data): New variable.
41645         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41646         (scalb_test_data): New variable.
41647         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41648         * sysdeps/i386/fpu/libm-test-ulps: Update.
41650 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41652         * math/libm-test.inc (fma_test): Use max_value instead of local
41653         variable fltmax.
41654         (nextafter_test): Likewise.
41656         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41657         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41658         (acos_downward_test_data): New variable.
41659         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41660         (acos_upward_test_data): New variable.
41661         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41662         (acosh_test_data): New variable.
41663         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41664         (asin_test_data): New variable.
41665         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41666         (asin_tonearest_test_data): New variable.
41667         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41668         (asin_towardzero_test_data): New variable.
41669         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41670         (asin_downward_test_data): New variable.
41671         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41672         (asin_upward_test_data): New variable.
41673         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41674         (asinh_test_data): New variable.
41675         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41676         (atan_test_data): New variable.
41677         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41678         (atanh_test_data): New variable.
41679         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41680         (cbrt_test_data): New variable.
41681         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41682         (ceil_test_data): New variable.
41683         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41684         (cos_test_data): New variable.
41685         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41686         (cos_tonearest_test_data): New variable.
41687         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41688         (cos_towardzero_test_data): New variable.
41689         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41690         (cos_downward_test_data): New variable.
41691         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41692         (cos_upward_test_data): New variable.
41693         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41694         (cosh_test_data): New variable.
41695         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41696         (cosh_tonearest_test_data): New variable.
41697         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41698         (cosh_towardzero_test_data): New variable.
41699         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41700         (cosh_downward_test_data): New variable.
41701         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41702         (cosh_upward_test_data): New variable.
41703         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41704         (erf_test_data): New variable.
41705         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41706         (erfc_test_data): New variable.
41707         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41708         (exp_test_data): New variable.
41709         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41710         (exp_tonearest_test_data): New variable.
41711         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41712         (exp_towardzero_test_data): New variable.
41713         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41714         (exp_downward_test_data): New variable.
41715         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41716         (exp_upward_test_data): New variable.
41717         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41718         (exp10_test_data): New variable.
41719         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41720         (exp2_test_data): New variable.
41721         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41722         (expm1_test_data): New variable.
41723         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41724         (fabs_test_data): New variable.
41725         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41726         (floor_test_data): New variable.
41727         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41728         (j0_test_data): New variable.
41729         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41730         (j1_test_data): New variable.
41731         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41732         (log_test_data): New variable.
41733         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41734         (log10_test_data): New variable.
41735         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41736         (log1p_test_data): New variable.
41737         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41738         (log2_test_data): New variable.
41739         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41740         (logb_test_data): New variable.
41741         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41742         (logb_downward_test_data): New variable.
41743         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41744         (nearbyint_test_data): New variable.
41745         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41746         (rint_test_data): New variable.
41747         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41748         (rint_tonearest_test_data): New variable.
41749         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41750         (rint_towardzero_test_data): New variable.
41751         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41752         (rint_downward_test_data): New variable.
41753         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41754         (rint_upward_test_data): New variable.
41755         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41756         (round_test_data): New variable.
41757         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41758         (sin_test_data): New variable.
41759         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41760         (sin_tonearest_test_data): New variable.
41761         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41762         (sin_towardzero_test_data): New variable.
41763         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41764         (sin_downward_test_data): New variable.
41765         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41766         (sin_upward_test_data): New variable.
41767         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41768         (sinh_test_data): New variable.
41769         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41770         (sinh_tonearest_test_data): New variable.
41771         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41772         (sinh_towardzero_test_data): New variable.
41773         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41774         (sinh_downward_test_data): New variable.
41775         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41776         (sinh_upward_test_data): New variable.
41777         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41778         (sqrt_test_data): New variable.
41779         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41780         (tan_test_data): New variable.
41781         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41782         (tan_tonearest_test_data): New variable.
41783         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41784         (tan_towardzero_test_data): New variable.
41785         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41786         (tan_downward_test_data): New variable.
41787         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41788         (tan_upward_test_data): New variable.
41789         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41790         (tanh_test_data): New variable.
41791         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41792         (tgamma_test_data): New variable.
41793         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41794         (trunc_test_data): New variable.
41795         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41796         (y0_test_data): New variable.
41797         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41798         (y1_test_data): New variable.
41799         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41800         (significand_test_data): New variable.
41801         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41803 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41805         [BZ #12387]
41806         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41808 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41810         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41812 2013-05-10  Andreas Jaeger  <aj@suse.de>
41814         [BZ #15448]
41815         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41816         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41818 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41820         * math/gen-libm-test.pl (adjust_arg): New function.
41821         (special_functions): Handle generating output in both functions
41822         and arrays.
41823         (parse_args): Likewise.
41824         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41825         $in_func argument to parse_args.
41826         * math/libm-test.inc (struct test_f_f_data): New type.
41827         (IF_ROUND_INIT_): New macro.
41828         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41829         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41830         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41831         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41832         (ROUND_RESTORE_): Likewise.
41833         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41834         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41835         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41836         (ROUND_RESTORE_FE_UPWARD): Likewise.
41837         (RUN_TEST_LOOP_f_f): New macro.
41838         (acos_test_data): New variable.
41839         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41840         (acos_tonearest_test_data): New variable.
41841         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41843 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41845         * benchtests/bench-skeleton.c (startup): Fix coding style.
41847 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41849         [BZ #6809]
41850         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41851         negative infinity argument.
41852         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41853         negative infinity argument.
41854         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41855         negative infinity argument.
41856         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41857         domain errors.
41859 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41861         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41862         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41863         * iconv/iconv_prog.c (main): Likewise.
41864         * locale/programs/charmap-dir.c (charmap_readdir)
41865         (fopen_uncompressed): Likewise.
41866         * locale/programs/locfile.c (siblings_uncached)
41867         (write_locale_data): Use lstat64 instead of lstat.
41868         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41869         stat.
41871 2013-05-10  Andreas Jaeger  <aj@suse.de>
41873         [BZ #15395]
41874         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41875         localization.
41876         Include <locale.h>.
41878 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41880         * elf/dl-close.c (_dl_close_worker): Add comments.
41882 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41884         [BZ #15359]
41885         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41886         high part of pi/2.
41887         (__ieee754_rem_pio2l): Update comments.
41889         [BZ #15429]
41890         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41891         high part of pi/2.
41892         (__ieee754_rem_pio2l): Update comments.
41894         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41895         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41897         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41898         M_PI_4l.
41900         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41901         (M_PI_34_LOG10El): Likewise.
41902         (M_PI2_LOG10El): Likewise.
41903         (M_PI4_LOG10El): Likewise.
41904         (M_PI_LOG10El): Likewise.
41906 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41910 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41912         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41913         (MINUS_ZERO_INIT): Likewise.
41914         (PLUS_INFTY_INIT): Likewise.
41915         (MINUS_INFTY_INIT): Likewise.
41916         (QNAN_VALUE_INIT): Likewise.
41917         (MAX_VALUE_INIT): Likewise.
41918         (MIN_VALUE_INIT): Likewise.
41919         (MIN_SUBNORM_VALUE_INIT): Likewise.
41920         (plus_zero): Initialize with PLUS_ZERO_INIT.
41921         (minus_zero): Initialize with MINUS_ZERO_INIT.
41922         (plus_infty): Initialize with PLUS_INFTY_INIT.
41923         (minus_infty): Initialize with MINUS_INFTY_INIT.
41924         (qnan_value): Initialize with QNAN_VALUE_INIT.
41925         (max_value): Initialize with MAX_VALUE_INIT.
41926         (min_value): Initialize with MIN_VALUE_INIT.
41927         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41929         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41930         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41931         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41932         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41934         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41935         (RUN_TEST_2_f): Likewise.
41936         (RUN_TEST_ff_f): Likewise.
41937         (RUN_TEST_fi_f): Likewise.
41938         (RUN_TEST_fl_f): Likewise.
41939         (RUN_TEST_fff_f): Likewise.
41940         (RUN_TEST_c_f): Likewise.
41941         (RUN_TEST_f_f1): Likewise.
41942         (RUN_TEST_fF_f1): Likewise.
41943         (RUN_TEST_fI_f1): Likewise.
41944         (RUN_TEST_ffI_f1): Likewise.
41945         (RUN_TEST_c_c): Likewise.
41946         (RUN_TEST_cc_c): Likewise.
41947         (RUN_TEST_f_i): Likewise.
41948         (RUN_TEST_f_i_tg): Likewise.
41949         (RUN_TEST_ff_i_tg): Likewise.
41950         (RUN_TEST_f_b): Likewise.
41951         (RUN_TEST_f_b_tg): Likewise.
41952         (RUN_TEST_f_l): Likewise.
41953         (RUN_TEST_f_L): Likewise.
41954         (RUN_TEST_sincos): Likewise.
41955         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41956         whether to show exceptions.  Do not include ");\n" in return
41957         value.
41958         (special_functions): Output call to RUN_TEST_sincos instead of
41959         check_float calls.  Update calls to new_test.
41960         (parse_args): Output call to single RUN_TEST_* macro instead of
41961         check_* calls and other assignments.  Update calls to new_test.
41963         [BZ #2546]
41964         [BZ #2560]
41965         [BZ #5159]
41966         [BZ #15426]
41967         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41968         input to result for tgamma overflow.
41969         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41970         (gamma_coeff): New variable.
41971         (NCOEFF): New macro.
41972         (gamma_positive): New function.
41973         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41974         underflow here.  Use gamma_positive instead of exp (lgamma) for
41975         other arguments.
41976         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41977         (gamma_coeff): New variable.
41978         (NCOEFF): New macro.
41979         (gammaf_positive): New function.
41980         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41981         underflow here.  Use gamma_positive instead of exp (lgamma) for
41982         other arguments.
41983         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41984         (gamma_coeff): New variable.
41985         (NCOEFF): New macro.
41986         (gammal_positive): New function.
41987         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41988         underflow here.  Use gamma_positive instead of exp (lgamma) for
41989         other arguments.
41990         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41991         (gamma_coeff): New variable.
41992         (NCOEFF): New macro.
41993         (gammal_positive): New function.
41994         (__ieee754_gammal_r): Handle positive infinity, overflow and
41995         underflow here.  Handle NaN the same as positive infinity.  Remove
41996         check x < 0xffffffff for negative integers.  Use gamma_positive
41997         instead of exp (lgamma) for other arguments.
41998         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41999         (gamma_coeff): New variable.
42000         (NCOEFF): New macro.
42001         (gammal_positive): New function.
42002         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42003         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42004         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42005         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42006         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42007         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42008         * sysdeps/generic/math_private.h (__gamma_productf): New
42009         prototype.
42010         (__gamma_product): Likewise.
42011         (__gamma_productl): Likewise.
42012         * math/Makefile (libm-calls): Add gamma_product.
42013         * math/libm-test.inc (tgamma_test): Add more tests.
42014         * sysdeps/i386/fpu/libm-test-ulps: Update.
42015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42017 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42019         * benchtests/bench-skeleton.c (main): Preheat CPU.
42021 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42023         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42025 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42027         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42028         and _dl_skip_args_internal.
42030 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42032         * manual/message.texi (Message Translation): Talk about users.
42033         Message to key mapping impacts design.
42035 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42037         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42039         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42041         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42042         * sysdeps/wordsize-64/glob64.c: ... here.
42044         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42045         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42046         New macros.
42048         * debug/getlogin_r_chk.c: Moved to ...
42049         * login/getlogin_r_chk.c: ... here.
42050         * debug/Makefile (routines): Move getlogin_r_chk to ...
42051         * login/Makefile (routines): ... here.
42052         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42053         * login/Versions (libc: GLIBC_2.4): ... here.
42055         * io/poll.c (__poll): Renamed from poll.
42056         Add libc_hidden_def.
42057         (poll): Define as weak alias.
42059         * debug/ptsname_r_chk.c: Moved to ...
42060         * login/ptsname_r_chk.c: ... here.
42061         * debug/Makefile (routines): Move ptsname_r_chk to ...
42062         * login/Makefile (routines): ... here.
42063         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42064         * login/Versions (libc: GLIBC_2.4): ... here.
42066         * posix/getlogin.c: Moved to ...
42067         * login/getlogin.c: ... here.
42068         * posix/getlogin_r.c: Moved to ...
42069         * login/getlogin_r.c: ... here.
42070         * posix/getlogin_r.c: Moved to ...
42071         * login/getlogin_r.c: ... here.
42072         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42073         * login/Makefile (routines): ... here.
42074         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42075         * login/Versions (libc: GLIBC_2.0): ... here.
42077         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42078         (setrlimit): Define as weak alias.
42080         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42081         Call __ names for open, ftruncate, and close.
42082         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42083         (truncate): Define as weak alias.
42085 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42087         * math/gen-libm-test.pl (parse_args): Initialize x before each
42088         test of frexp, modf and remquo.
42090         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42091         test signgam value.
42093 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42095         [BZ #15418]
42096         [BZ #15419]
42097         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42098         internal tests.
42099         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42101 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42103         * elf/dl-writev.h: New file.
42104         * elf/dl-misc.c: Include it.
42105         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42106         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42108 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42110         * math/libm-test.inc (noXFails): Remove variable.
42111         (noXPasses): Likewise.
42112         (BUILD_COMPLEX_INT): Remove macro.
42113         (print_screen): Remove xfail argument.
42114         (print_screen_max_error): Likewise.
42115         (update_stats): Likewise.
42116         (print_max_error): Likewise.  Update calls to other affected
42117         functions.
42118         (print_complex_max_error): Likewise.
42119         (test_single_exception): Update calls to print_screen.
42120         (test_single_errno): Likewise.
42121         (check_float_internal): Remove xfail argument.  Update calls to
42122         other affected functions.
42123         (check_float): Likewise.
42124         (check_complex): Likewise.
42125         (check_int): Likewise.
42126         (check_long): Likewise.
42127         (check_bool): Likewise.
42128         (check_longlong): Likewise.
42129         (main): Don't print noXFails and noXPasses.
42130         * math/gen-libm-test.pl (top level): Don't mention expected
42131         failure handling in comment.
42132         (new_test): Don't handle expected failures.
42133         (parse_args): Don't mention expected failure handling in comment.
42134         (generate_testfile): Don't handle expected failures.
42135         (parse_ulps): Likewise.
42136         (print_ulps_file): Likewise.
42137         (get_failure): Remove function.
42138         (output_test): Don't handle expected failures.
42139         * make/README.libm-test: Don't mention expected failure handling.
42141         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42142         (minus_zero): Likewise.
42143         (plus_infty): Likewise.
42144         (minus_infty): Likewise.
42145         (qnan_value): Likewise.
42146         (max_value): Likewise.
42147         (min_value): Likewise.
42148         (min_subnorm_value): Likewise.
42149         (initialize): Do not initialize those variables dynamically.
42151 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42153         * io/open.c (__open_2): Moved to ...
42154         * io/open_2.c: ... this new file.
42155         * io/open64.c (__open64_2): Moved to ...
42156         * io/open64_2.c: ... this new file.
42157         * io/openat.c (__openat_2): Moved to ...
42158         * io/openat_2.c: ... this new file.
42159         * io/openat64.c (__openat64_2): Moved to ...
42160         * io/openat64_2.c: ... this new file.
42161         * io/Makefile (routines): Add them.
42162         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42163         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42164         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42165         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42166         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42167         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42168         (__openat64): Add hidden_ver.
42169         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42170         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42172         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42173         Separately conditionalize setting of GLRO(dl_sysinfo) so
42174         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42175         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42177 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42179         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42181         definition.
42182         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42183         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42184         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42185         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42186         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42188 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42190         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42191         test signgam value.
42193         * math/libm-test.inc (hypot_test): Do not use
42194         IGNORE_ZERO_INF_SIGN.
42196 2013-05-03  Andreas Jaeger  <aj@suse.de>
42198         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42199         Linux 3.9.
42200         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42201         (PF_MAX): Adjust for VSOCK change.
42203 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42207 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42209         [BZ #15264]
42210         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42211         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42212         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42214 2013-05-02  David S. Miller  <davem@davemloft.net>
42216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42218 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42220         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42222 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42224         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42226 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42228         [BZ #14952]
42229         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42230         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42231         Use __attribute__ ((__gnu_inline__)).
42232         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42233         Don't use __attribute__ ((__gnu_inline__)).
42235 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42237         [BZ #15423]
42238         * math/s_catan.c (__catan): Handle small real or imaginary part of
42239         input specially to avoid spurious underflow.
42240         * math/s_catanf.c (__catanf): Likewise.
42241         * math/s_catanh.c (__catanh): Likewise.
42242         * math/s_catanhf.c (__catanhf): Likewise.
42243         * math/s_catanhl.c (__catanhl): Likewise.
42244         * math/s_catanl.c (__catanl): Likewise.
42245         * math/libm-test.inc (catan_test): Add more tests.
42246         (catanh_test): Likewise.
42247         * sysdeps/i386/fpu/libm-test-ulps: Update.
42248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42250 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42254 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42256         [BZ #15416]
42257         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42258         accurately for denominator in atan2.
42259         * math/s_catanf.c (__catanf): Likewise.
42260         * math/s_catanh.c (__catanh): Likewise.
42261         * math/s_catanhf.c (__catanhf): Likewise.
42262         * math/s_catanhl.c (__catanhl): Likewise.
42263         * math/s_catanl.c (__catanl): Likewise.
42264         * math/libm-test.inc (catan_test): Add more tests.
42265         (catanh_test): Likewise.
42266         * sysdeps/i386/fpu/libm-test-ulps: Update.
42267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42269 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42271         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42273         * benchtests/Makefile (bench): Remove slow benchmarks.
42274         * benchtests/atan-inputs: Add slow benchmark inputs.
42275         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42276         (BENCH_FUNC): Accept variant offset.
42277         (VARIANT): Define.
42278         * benchtests/bench-skeleton.c (main): Run benchmark for each
42279         variant.
42280         * benchtests/cos-inputs: Add slow benchmark inputs.
42281         * benchtests/exp-inputs: Likewise.
42282         * benchtests/pow-inputs: Likewise.
42283         * benchtests/sin-inputs: Likewise.
42284         * benchtests/slowatan-inputs: Remove.
42285         * benchtests/slowatan.c: Remove.
42286         * benchtests/slowcos-inputs: Remove.
42287         * benchtests/slowcos.c: Remove.
42288         * benchtests/slowexp-inputs: Remove.
42289         * benchtests/slowexp.c: Remove.
42290         * benchtests/slowpow-inputs: Remove.
42291         * benchtests/slowpow.c: Remove.
42292         * benchtests/slowsin-inputs: Remove.
42293         * benchtests/slowsin.c: Remove.
42294         * benchtests/slowtan-inputs: Remove.
42295         * benchtests/slowtan.c: Remove.
42296         * benchtests/tan-inputs: Add slow benchmark inputs.
42297         * scripts/bench.pl: Parse comments and directives.
42299         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42300         in CPPFLAGS.
42301         ($(objpfx)bench-%.c): Remove *-ITER.
42302         * benchtests/bench-modf.c: Remove definition of ITER.
42303         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42304         (main): Loop for DURATION seconds instead of fixed number of
42305         iterations.
42306         * scripts/bench.pl: Don't expect iterations in parameters.
42308 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42310         * io/fchdir.c (__fchdir): Renamed from fchdir.
42311         (fchdir): Define as weak alias.
42313 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42315         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42316         (ERRNO_EDOM): Likewise.
42317         (ERRNO_ERANGE): Likewise.
42318         (noErrnoTests): New variable.
42319         (init_max_error): Set errno to 0.
42320         (test_single_errno): New function.
42321         (test_errno): Likewise.
42322         (check_float_internal): Call test_errno.  Set errno to 0.
42323         (check_complex): Refer to errno tests in comment.
42324         (check_int): Call test_errno.  Set errno to 0.
42325         (check_long): Likewise.
42326         (check_bool): Likewise.
42327         (check_longlong): Likewise.
42328         (cos_test): Use ERRNO_* flags for errno tests instead of
42329         check_int.
42330         (expm1_test): Likewise.
42331         (fmod_test): Likewise.
42332         (ilogb_test): Likewise.
42333         (lgamma_test): Likewise.
42334         (pow_test): Likewise.
42335         (remainder_test): Likewise.
42336         (sin_test): Likewise.
42337         (tan_test): Likewise.
42338         (yn_test): Likewise.
42339         (initialize): Set errno to 0.
42340         (main): Print number of errno tests.
42341         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42343 2013-04-29  Andreas Jaeger  <aj@suse.de>
42345         [BZ #15084]
42346         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42347         and RES_USEVC.
42349         [BZ #15085]
42350         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42351         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42352         unimplemented.
42354         [BZ #15380]
42355         * stdlib/random.c (__initstate): Return NULL if
42356         __initstate fails.
42358         [BZ #15086]
42359         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42360         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42361         RES_SNGLKUPREOP.
42363 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42367 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42369         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42370         of individual tests.
42371         (casin_test): Likewise.
42372         (casinh_test): Likewise.
42374 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42376         [BZ #15409]
42377         * math/s_catan.c (__catan): Handle arguments with large real or
42378         imaginary part separately without squaring.
42379         * math/s_catanf.c (__catanf): Likewise.
42380         * math/s_catanh.c (__catanh): Likewise.
42381         * math/s_catanhf.c (__catanhf): Likewise.
42382         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42383         and redefine.
42384         (__catanhl): Handle arguments with large real or imaginary part
42385         separately without squaring.
42386         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42387         and redefine.
42388         (__catanl): Handle arguments with large real or imaginary part
42389         separately without squaring.
42390         * math/libm-test.inc (catan_test): Add more tests.
42391         (catanh_test): Likewise.
42392         * sysdeps/i386/fpu/libm-test-ulps: Update.
42393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42395 2013-04-27  Andreas Jaeger  <aj@suse.de>
42397         [BZ #15007]
42398         * stdlib/stdlib.h: Update guards for qecvt.
42399         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42400         <stdlib.h>.
42402 2013-04-27  Allan McRae  <allan@archlinux.org>
42404         * sysdeps/i386/fpu/libm-test-ulps: Update.
42406 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42408         [BZ #15406]
42409         * math/s_catan.c: Include <float.h>.
42410         (__catan): Ensure underflow exception occurs for underflowed
42411         result.
42412         * math/s_catanf.c: Include <float.h>.
42413         (__catanf): Ensure underflow exception occurs for underflowed
42414         result.
42415         * math/s_catanh.c: Include <float.h>.
42416         (__catanh): Ensure underflow exception occurs for underflowed
42417         result.
42418         * math/s_catanhf.c: Include <float.h>.
42419         (__catanhf): Ensure underflow exception occurs for underflowed
42420         result.
42421         * math/s_catanhl.c: Include <float.h>.
42422         (__catanhl): Ensure underflow exception occurs for underflowed
42423         result.
42424         * math/s_catanl.c: Include <float.h>.
42425         (__catanl): Ensure underflow exception occurs for underflowed
42426         result.
42427         * math/libm-test.inc (catan_test): Add more tests.
42428         (catanh_test): Likewise.
42430         [BZ #15405]
42431         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42432         underflowed result.
42433         * math/s_ccoshf.c (__ccoshf): Likewise.
42434         * math/s_ccoshl.c (__ccoshl): Likewise.
42435         * math/s_csin.c (__csin): Likewise.
42436         * math/s_csinf.c (__csinf): Likewise.
42437         * math/s_csinh.c (__csinh): Likewise.
42438         * math/s_csinhf.c (__csinhf): Likewise.
42439         * math/s_csinhl.c (__csinhl): Likewise.
42440         * math/s_csinl.c (__csinl): Likewise.
42441         * math/libm-test.inc (ccos_test): Add more tests.
42442         (ccosh_test): Likewise.
42443         (csin_test): Likewise.
42444         (csinh_test): Likewise.
42446 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42448         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42449         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42450         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42451         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42452         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42453         powerpc/power5+/fpu folders.
42454         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42457 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42461 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42463         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42464         additions to variable.
42465         [$(config-machine) = x86_64] (modules-names): Likewise.
42466         ($(objpfx)tst-audit3): Remove dependency.
42467         ($(objpfx)tst-audit3.out): Likewise.
42468         ($(objpfx)tst-audit4): Likewise.
42469         ($(objpfx)tst-audit4.out): Likewise.
42470         ($(objpfx)tst-audit5): Likewise.
42471         ($(objpfx)tst-audit5.out): Likewise.
42472         ($(objpfx)tst-audit6): Likewise.
42473         ($(objpfx)tst-audit6.out): Likewise.
42474         ($(objpfx)tst-audit7): Likewise.
42475         ($(objpfx)tst-audit7.out): Likewise.
42476         (tst-audit3-ENV): Remove variable.
42477         (tst-audit4-ENV): Likewise.
42478         (tst-audit5-ENV): Likewise.
42479         (tst-audit6-ENV): Likewise.
42480         (tst-audit7-ENV): Likewise.
42481         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42482         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42483         addition to variable.
42484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42485         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42486         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42487         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42488         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42489         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42490         tst-audit3, tst-audit4 and tst-audit5.
42491         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42492         tst-audit6 and tst-audit7.
42493         [$(subdir) = elf] (modules-names): Add audit modules for those
42494         tests.
42495         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42496         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42497         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42498         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42499         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42500         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42501         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42502         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42503         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42504         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42505         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42506         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42507         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42508         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42509         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42510         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42511         Likewise.
42512         [$(subdir) = elf && $(config-cflags-avx) = yes]
42513         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42514         [$(subdir) = elf && $(config-cflags-avx) = yes]
42515         (CFLAGS-tst-auditmod4a.c): Likewise.
42516         [$(subdir) = elf && $(config-cflags-avx) = yes]
42517         (CFLAGS-tst-auditmod4b.c): Likewise.
42518         [$(subdir) = elf && $(config-cflags-avx) = yes]
42519         (CFLAGS-tst-auditmod6b.c): Likewise.
42520         [$(subdir) = elf && $(config-cflags-avx) = yes]
42521         (CFLAGS-tst-auditmod6c.c): Likewise.
42522         [$(subdir) = elf && $(config-cflags-avx) = yes]
42523         (CFLAGS-tst-auditmod7b.c): Likewise.
42524         * elf/tst-audit3.c: Move to ...
42525         * sysdeps/x86_64/tst-audit3.c: ... here.
42526         * elf/tst-audit4.c: Move to ...
42527         * sysdeps/x86_64/tst-audit4.c: ... here.
42528         * elf/tst-audit5.c: Move to ...
42529         * sysdeps/x86_64/tst-audit5.c: ... here.
42530         * elf/tst-audit6.c: Move to ...
42531         * sysdeps/x86_64/tst-audit6.c: ... here.
42532         * elf/tst-audit7.c: Move to ...
42533         * sysdeps/x86_64/tst-audit7.c: ... here.
42534         * elf/tst-auditmod3a.c: Move to ...
42535         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42536         * elf/tst-auditmod3b.c: Move to ...
42537         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42538         * elf/tst-auditmod4a.c: Move to ...
42539         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42540         * elf/tst-auditmod4b.c: Move to ...
42541         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42542         * elf/tst-auditmod5a.c: Move to ...
42543         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42544         * elf/tst-auditmod5b.c: Move to ...
42545         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42546         * elf/tst-auditmod6a.c: Move to ...
42547         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42548         * elf/tst-auditmod6b.c: Move to ...
42549         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42550         * elf/tst-auditmod6c.c: Move to ...
42551         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42552         * elf/tst-auditmod7a.c: Move to ...
42553         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42554         * elf/tst-auditmod7b.c: Move to ...
42555         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42557 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42559         [BZ #15366]
42560         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42561         define unconditionally.
42562         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42563         define unconditionally.
42564         (INT8_C, INT16_C, etc.): Likewise.
42566 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42568         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42569         __ehdr_start with hidden visibility.
42571         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42573 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42575         * math/libm-test.inc (cos_test): Use accurate hex constants.
42576         (sincost_test): Likewise.
42578 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42580         * math/libm-test.inc (catan_test): Add more tests.
42581         (catanh_test): Likewise.
42583         * math/s_catanf.c (__catanf): Use suffixed floating-point
42584         constants.
42585         * math/s_catanhf.c (__catanhf): Likewise.
42586         * math/s_catanhl.c (__catanhl): Likewise.
42587         * math/s_catanl.c (__catanl): Likewise.
42589         [BZ #15394]
42590         * math/s_catan.c (__catan): Calculate imaginary part of result
42591         with log1p not log unless computing log of number close to 0.
42592         * math/s_catanf.c (__catanf): Likewise.
42593         * math/s_catanl.c (__catanl): Likewise.
42594         * math/s_catanh.c (__catanh): Calculate real part of result with
42595         log1p not log unless computing log of number close to 0.
42596         * math/s_catanhf.c (__catanhf): Likewise.
42597         * math/s_catanhl.c (__catanhl): Likewise.
42598         * math/libm-test.inc (catan_test): Add more tests.
42599         (catanh_test): Likewise.
42600         * sysdeps/i386/fpu/libm-test-ulps: Update.
42601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42603 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42605         * benchtests/Makefile: Mention files in which fast and slow
42606         paths of math functions are implemented.
42608 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42610         * sysdeps/posix/timespec_get.c: New file.
42612 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42614         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42615         POWER.
42616         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42617         for POWER.
42618         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42619         powerpc/power5/fpu folders.
42620         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42621         * benchtests/Makefile: Add modf testcase.
42622         * benchtests/bench-modf.c: New file: Benchmark test for mo
42624 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42626         [BZ #14888]
42627         * time/Makefile (tests): Add tst-strptime-whitespace.
42628         * time/strptime_l.c (get_number): Use ISSPACE.
42629         (__strptime_internal): Likewise.
42630         * time/tst-strptime-whitespace.c: New test case.
42632 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42634         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42635         member.
42636         (_nss_files_init): Set it here.
42638 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42640         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42641         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42642         unsigned.
42644 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42646         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42648 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42650         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42651         size just once.
42653 2013-04-21  David S. Miller  <davem@davemloft.net>
42655         * po/ru.po: Update Russion translation from translation project.
42657 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42659         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42660         and setfsgid.
42662 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42664         * configure.in: Remove i386 configure warning. Remove i386 case.
42665         * configure: Regenerate.
42666         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42667         Add example to error message.
42668         * sysdeps/i386/configure: Regenerate.
42670 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42672         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42673         slowtan.
42674         * benchtests/cos-inputs: New file.
42675         * benchtests/slowcos-inputs: New file.
42676         * benchtests/slowcos.c: New file.
42677         * benchtests/slowtan-inputs: New file.
42678         * benchtests/slowtan.c: New file.
42679         * benchtests/tan-inputs: New file.
42681 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42683         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42684         considered kosher.
42686 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42688         * benchtests/Makefile: Include cppflags-iterator.mk to add
42689         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42691         * Makefile.in (bench-clean): New target.
42692         * benchtests/Makefile (bench-clean): Likewise.
42694 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42696         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42698 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42700         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42702 2013-04-15  Andreas Schwab  <schwab@suse.de>
42704         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42705         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42706         * nscd/pwdcache.c (cache_addpw): Likewise.
42707         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42708         more than recsize.
42710 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42712         * benchtests/Makefile (bench): Write all output to
42713         bench-out.tmp together.
42715 2013-04-15  Andreas Schwab  <schwab@suse.de>
42717         * nscd/nscd.c (main): Don't fork again after closing files.
42719 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42721         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42723         * benchtests/Rules (bench-deps): Collect dependencies into a
42724         single variable.  Add Makefile to dependencies.
42725         ($(objpfx)bench-%.c): Depend on bench-deps.
42727 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42728             Xavier Roche  <roche+kml2@exalead.com>
42730         [BZ #15361]
42731         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42732         just that it's a file descriptor.
42733         * manual/llio.texi (Synchronizing AIO Operations): Update description
42734         for EBADF error from aio_fsync.
42736 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42738         * Rules (bench): Move target definition...
42739         * benchtests/Makefile: ... here.
42741 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42743         * math/libm-test.inc (cos_test): Fix PI/2 test.
42744         (sincos_test): Likewise.
42745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42746         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42748 2013-04-11  Andreas Schwab  <schwab@suse.de>
42750         [BZ #13988]
42751         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42752         accept exponent character only when digits were seen.
42753         * stdio-common/Makefile (tests): Add bug26.
42754         * stdio-common/bug26.c: New file.
42756         [BZ #14293]
42757         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42758         non-freeable.
42760 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42762         * Makeconfig (rtld-prefix): Define built linker prefix.
42763         * Rules (run-bench): Use it.
42764         * math/Makefile (run-regen-ulps): Likewise.
42766         * Rules (bench): Remove eval.
42768 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42769             Roland McGrath  <roland@hack.frob.com>
42770             Ondrej Bilka  <neleai@seznam.cz>
42772         [BZ #15346]
42773         * time/getdate.c: Include ctype.h and alloca.h.
42774         (__getdate_r): Trim leading and trailing spaces of input.
42775         * time/tst-getdate.c (tests): Add tests with leading and
42776         trailing spaces.
42778 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42780         [BZ #14280]
42781         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42782         when computing value.
42784 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42786         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42787         Use testrun.sh to run libm tests.
42789         [BZ #15309]
42790         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42792 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42794         [BZ #15264]
42795         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42797 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42799         * Makefile.in (regen-ulps): New target.
42800         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42801         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42802         [ifneq (no,$(PERL)] (regen-ulps): New target.
42803         [ifeq (no,$(PERL)] (regen-ulps): New target.
42804         * math/libm-test.inc (ulps_file_name): Define.
42805         (output_dir): New variable.
42806         (options): Add "output-dir" option.
42807         (parse_opt): Handle 'o' case.
42808         (main): If output_dir is non-NULL use it as a prefix
42809         otherwise use "".
42810         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42812 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42814         [BZ #10060, #10062]
42815         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42816         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42817         fail configure if __sync_val_compare_and_swap is not inlined.
42818         * sysdeps/i386/configure: Regenerate.
42819         * configure.in: Build for i686 when configured for i386.
42820         * configure: Regenerate.
42821         * README: Remove i386 reference.
42823 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42825         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42826         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42828 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42830         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42831         (lmsnanval): New variables.
42832         (F): Add conversion tests.
42833         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42834         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42836         * stdio-common/tstdiomisc.c (F): Properly collect individual
42837         tests' results.
42839         [BZ #14686, #15336]
42840         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42841         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42842         Instead, use input NaN values or generate a qNaN by arithmetic
42843         operation.  Also fix bugs to comply with the standard.
42844         * math/libm-test.inc (remainder_test): Add more tests.
42846         [BZ #15335, #15342]
42847         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42849         input NaN values or generate a qNaN by arithmetic operation.
42851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42852         unreachable code.
42854         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42855         definitions.
42857 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42859         [BZ #14478]
42860         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42861         underflowed result.
42862         * math/s_cexpf.c (__cexpf): Likewise.
42863         * math/s_cexpl.c (__cexpl): Likewise.
42864         * math/libm-test.inc (cexp_test): Add more tests.
42866 2013-04-03  Andreas Schwab  <schwab@suse.de>
42868         [BZ #15330]
42869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42870         order arrays from heap if bigger than alloca cutoff.
42872 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42874         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42875         (SNAN_TESTS_double): Refer to GCC PR56831.
42876         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42877         GCC PR56828.
42879 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42881         * Rules (bench): Move bench.out after the run is complete.
42883         * Rules (bench): Echo currently running benchmark.
42885         * benchtests/Makefile (bench): Add atan and slowatan.
42886         * benchtests/atan-inputs: New file.
42887         * benchtests/slowatan-inputs: New file.
42888         * benchtests/slowatan.c: New file.
42890         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42892         its value.
42894         [BZ #15305]
42895         * sysdeps/unix/sysv/linux/kernel-features.h
42896         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42897         __ASSUME_XFS_RESTRICTED_CHOWN.
42898         * sysdeps/unix/sysv/linux/pathconf.c
42899         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42900         Save and restore errno.
42902 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42904         [BZ #15327]
42905         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42906         arguments using __kernel_casinh.
42907         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42908         arguments using __kernel_casinhf.
42909         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42910         arguments using __kernel_casinhl.
42911         * math/libm-test.inc (cacosh_test): Add more tests.
42912         * sysdeps/i386/fpu/libm-test-ulps: Update.
42913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42915 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42917         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42920         * bench/Makefile (bench): Add sin and slowsin.
42921         * benchtests/sin-inputs: New file.
42922         * benchtests/slowsin-inputs: New file.
42923         * benchtests/slowsin.c: New file.
42925         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42926         (bench): Add slowexp and slowpow.
42927         (exp-ITER): Increase iterations.
42928         (pow-ITER): Likewise.
42929         * benchtests/exp-inputs: Change input.
42930         * benchtests/pow-inputs: Likewise.
42931         * benchtests/slowexp-inputs: New file.
42932         * benchtests/slowexp.c: New file.
42933         * benchtests/slowpow-inputs: New file.
42934         * benchtests/slowpow.c: New file.
42936 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42938         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42939         instructions.
42940         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42941         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42942         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42943         * benchtests/Makefile: Add rint benchtest.
42944         * benchtests/rint-inputs: Input for rint benchtest.
42946 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42948         * Versions.def (libm): Add GLIBC_2.18.
42949         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42950         hidden libm prototypes.
42951         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42952         * math/Makefile (libm-calls): Add s_issignaling.
42953         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42954         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42955         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42956         declaration.
42957         * math/math.h [__USE_GNU] (issignaling): New macro.
42958         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42959         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42961         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42964         * manual/arith.texi (issignaling): New section.
42965         * manual/libm-err-tab.pl (@all_functions): Update comment.
42966         * math/gen-libm-test.pl (parse_args): Apply special handling for
42967         issignaling.
42968         * math/libm-test.inc (print_float, issignaling_test): New
42969         functions.
42970         (check_float_internal): Add issignaling checks.
42971         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42972         default definition.
42973         * sysdeps/powerpc/math-tests.h: New file.
42974         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42975         tests.
42976         * math/test-snan.c (TEST_FUNC): Likewise.
42978 2013-03-30  David S. Miller  <davem@davemloft.net>
42980         * po/de.po: Update from translation team.
42982 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42984         [BZ #10357]
42985         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42986         imaginary part less than 1.0 and real part less than 0.5
42987         specially.
42988         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42989         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42990         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42991         (cacos_test): Add more tests.
42992         (casin_test): Likewise.
42993         (casinh_test): Likewise.
42994         * sysdeps/i386/fpu/libm-test-ulps: Update.
42995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42997 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42999         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43000         ONE with its value.
43002         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43003         (__pow_mp): Replace ONE and MONE with their values.
43004         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43005         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43006         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43007         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43008         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43009         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43011         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43013         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43014         (__pow_mp): Replace ZERO and MZERO with their values.
43015         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43016         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43017         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43019         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43020         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43021         (__sqr): Likewise.
43023         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43025         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43027 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43029         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43030         Declare with __attribute__ ((weak)).
43031         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43032         Call __call_tls_dtors only if it's not NULL.
43034 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43036         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43037         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43038         magic __ehdr_start linker symbol if it's defined.
43039         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43040         them up here if it was already done.
43042         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43043         (_dl_aux_init): Use const in cast when setting it.
43044         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43045         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43046         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43048         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43049         Declare them here.
43050         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43051         * csu/libc-tls.c: Nor here.
43052         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43054         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43055         (__libc_message): Never call vsyslog.
43057 2013-03-28  Alan Modra  <amodra@gmail.com>
43059         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43060         Define as empty.
43061         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43062         Likewise.
43064 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43066         [BZ #15214]
43067         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43068         underflow.
43069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43071 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43073         [BZ #15304]
43074         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43075         Don't add gid passed as argument.
43077         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43079 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43081         [BZ #15307]
43082         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43083         imaginary part between 1.0 and 1.5 and real part less than 0.5
43084         specially.
43085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43087         * math/libm-test.inc (cacos_test): Add more tests.
43088         (casin_test): Likewise.
43089         (casinh_test): Likewise.
43090         * sysdeps/i386/fpu/libm-test-ulps: Update.
43091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43093 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43095         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43096         constants.
43097         (norm): Likewise.
43098         (denorm): Likewise.
43099         (__dbl_mp): Likewise.
43100         (add_magnitudes): Likewise.
43101         (sub_magnitudes): Likewise.
43102         (__add): Likewise.
43103         (__sub): Likewise.
43104         (__mul): Likewise.
43105         (__sqr): Likewise.
43106         (__inv): Likewise.
43107         (__dvd): Likewise.
43109         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43110         commented code.
43111         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43112         (__dubcos): Likewise.
43113         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43114         (__ieee754_acos): Likewise.
43115         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43116         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43117         (__exp1): Likewise.
43118         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43119         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43120         (log1): Likewise.
43121         (my_log2): Likewise.
43122         (checkint): Likewise.
43123         * sysdeps/ieee754/dbl-64/e_remainder.c
43124         (__ieee754_remainder): Likewise.
43125         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43127         (bsloww): Likewise.
43128         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43130         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43131         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43132         MANTISSA_STORE_T to store computations on mantissa.  Use
43133         macros for rounding and division.
43134         (denorm): Likewise.
43135         (__dbl_mp): Likewise.
43136         (add_magnitudes): Likewise.
43137         (sub_magnitudes): Likewise.
43138         (__mul): Likewise.
43139         (__sqr): Likewise.
43140         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43141         powers of two in terms of TWOPOW macro.
43142         (mp_no): Make type of mantissa as MANTISSA_T.
43143         [!RADIXI]: Define RADIXI.
43144         [!TWO52]: Define TWO52.
43145         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43147 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43149         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43150         llroundl symbol when building for PPC32.
43152 2013-03-24  Mark H Weaver  <mhw@netris.org>
43154         * manual/arith.texi (Normalization Functions): Fix prototypes for
43155         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43157 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43159         [BZ #13889]
43160         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43161         high value to check if expl overflow.
43162         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43163         to check for underflow and overflow.
43164         * math/libm-test.inc: Add exp test.
43166 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43168         [BZ #11120]
43169         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43170         with NOT_IN_libc.
43172 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43174         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43175         symbol.
43177 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43179         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43180         wrap blocks consisting of several statements.
43182         * sysdeps/generic/math-tests.h: New file.
43183         * sysdeps/i386/fpu/math-tests.h: Likewise.
43184         * math/test-snan.c: Include it.
43185         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43187 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43189         [BZ #15285]
43190         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43191         (__ieee754_j0l): Do not improve calculations using cos of twice
43192         input for inputs above LDBL_MAX / 2.0L.
43193         (__ieee754_y0l): Likewise.
43194         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43195         (__ieee754_j1l): Do not improve calculations using cos of twice
43196         input for inputs above LDBL_MAX / 2.0L.
43197         (__ieee754_y1l): Likewise.
43198         * math/libm-test.inc (j0_test): Add another test.
43199         (j1_test): Likewise.
43200         (y0_test): Likewise.
43201         (y1_test): Likewise.
43202         * sysdeps/i386/fpu/libm-test-ulps: Update.
43204 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43206         * Rules ($(objpfx)bench-%.c): Include code from a C source
43207         file.
43209 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43211         [BZ #15287]
43212         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43213         imaginary part 1.0 and real part less than 0.5 specially.
43214         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43215         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43216         * math/libm-test.inc (cacos_test): Add more tests.
43217         (casin_test): Likewise.
43218         (casinh_test): Likewise.
43219         * sysdeps/i386/fpu/libm-test-ulps: Update.
43220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43222 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43224         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43225         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43227 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43229         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43230         * config.make.in (config-cflags-sse4): Remove variable.
43231         (config-cflags-avx): Likewise.
43232         (config-cflags-sse2avx): Likewise.
43233         (config-cflags-novzeroupper): Likewise.
43234         (config-asflags-i686): Likewise.
43235         (have-mfma4): Likewise.
43236         (have-as-vis3): Likewise.
43237         (MIG): Likewise.
43238         * configure.in (MIG): Do not AC_SUBST.
43239         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43240         (libc_cv_cc_sse4): Do not AC_SUBST.
43241         (libc_cv_cc_avx): Likewise.
43242         (libc_cv_cc_sse2avx): Likewise.
43243         (libc_cv_cc_novzeroupper): Likewise.
43244         (libc_cv_cc_fma4): Likewise.
43245         (libc_cv_as_i686): Likewise.
43246         (libc_cv_sparc_as_vis3): Likewise.
43247         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43248         LIBC_CONFIG_VAR.
43249         (config-asflags-i686): Likewise.
43250         (config-cflags-avx): Likewise.
43251         (config-cflags-sse2avx): Likewise.
43252         (have-mfma4): Likewise.
43253         (config-cflags-novzeroupper): Likewise.
43254         * sysdeps/mach/configure.in (MIG): Likewise.
43255         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43256         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43257         LIBC_CONFIG_VAR.
43258         (config-cflags-avx): Likewise.
43259         (config-cflags-sse2avx): Likewise.
43260         (have-mfma4): Likewise.
43261         (config-cflags-novzeroupper): Likewise.
43262         * configure: Regenerated.
43263         * sysdeps/i386/configure: Likewise.
43264         * sysdeps/mach/configure: Likewise.
43265         * sysdeps/sparc/configure: Likewise.
43266         * sysdeps/x86_64/configure: Likewise.
43268 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43270         [BZ #14812]
43271         * locale/programs/localedef.c (options): Put N_ translation marker
43272         on argument names, not just descriptions.
43274 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43276         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43278 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43280         [BZ #14176]
43281         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43283 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43285         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43286         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43287         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43288         [!BEFORE_ABORT] (before_abort): New function.
43289         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43290         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43291         (writev_for_fatal): New function.
43292         (WRITEV_FOR_FATAL): New macro; call that.
43293         (backtrace_and_maps): New function.
43294         (BEFORE_ABORT): New macro; call that.
43295         (struct str_list): Type removed.
43296         (__libc_message, __libc_fatal): Functions removed.
43297         Include <sysdeps/posix/libc_fatal.c> instead.
43299 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43301         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43302         constants.
43303         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43304         double constants.
43306 2013-03-19  Andreas Schwab  <schwab@suse.de>
43308         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43309         * sysdeps/gnu/configure: Regenerate.
43311         * configure.in: Substitute libc_cv_rtlddir.
43312         * configure: Regenerate.
43313         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43314         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43315         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43316         * elf/Makefile (install-others, CFLAGS-interp.c)
43317         (ldso_install, common-ldd-rewrite): Likewise.
43318         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43319         $(inst_slibdir)/$(rtld-installed-name).
43320         * scripts/rellns-sh: Add -p option.
43321         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43322         for source.
43324 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43326         * manual/nptl.texi: Renamed to ...
43327         * manual/threads.texi: ... this.
43328         * manual/Makefile (chapters): Update.
43330 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43332         [BZ #14812]
43333         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43334         on argument names, not just descriptions.
43335         * malloc/memusagestat.c (options): Likewise.
43336         * nss/getent.c (options): Likewise.
43338 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43340         [BZ #14812]
43341         * iconv/iconv_prog.c (options): Put N_ translation marker
43342         on argument names, not just descriptions.
43343         * iconv/iconvconfig.c (options): Likewise.
43345 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43347         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43348         implementation which is faster on all x86_64 architectures.
43349         Tested on AMD, Intel Nehalem, SNB, IVB.
43350         * sysdeps/x86_64/strnlen.S: Likewise.
43352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43353         Remove all multiarch strlen and strnlen versions.
43354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43355         Remove strlen and strnlen related parts.
43357         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43358         Inline strlen part.
43359         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43361         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43362         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43363         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43364         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43365         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43366         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43368 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43370         * manual/memory.texi (Malloc Tunable Parameters):
43371         Sort parameters alphabetically. Add comments for missing entries.
43373 2013-03-17  David S. Miller  <davem@davemloft.net>
43375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43377 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43379         [BZ #15283]
43380         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43381         for arguments at most half maximum finite value.
43382         * math/libm-test.inc (j0_test): Add more tests.
43383         (j1_test): Likewise.
43384         (y0_test): Likewise.
43385         (y1_test): Likewise.
43386         * sysdeps/i386/fpu/libm-test-ulps: Update.
43387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43389         [BZ #14155]
43390         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43391         1 / x and functions P and Q for arguments above 0x1p256L.
43392         (__ieee754_y0l): Likewise.
43393         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43394         (__ieee754_y1l): Likewise.
43395         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43396         (j1_test): Likewise.
43397         (y0_test): Likewise.
43398         (y1_test): Likewise.
43400 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43402         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43403         variable.
43405 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43407         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43408         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43409         zero since it's initialized to EXEC_PAGESIZE.
43411         * sysdeps/unix/sysv/linux/ldsodefs.h
43412         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43413         * sysdeps/generic/ldsodefs.h: ... here.
43415 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43417         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43419         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43420         math/test-snan.c.
43421         * math/test-snan.c: Renamed from
43422         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43423         * math/Makefile (tests): Add test-snan.
43424         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43425         test-powerpc-snan.
43427         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43428         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43429         functions.
43430         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43431         __builtin_nan family of functions.
43432         * math/libm-test.inc (initialize): Initialize qnan_value with
43433         __builtin_nan family of functions.
43434         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43435         Remove variables.
43436         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43437         Remove functions.
43438         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43439         storage class.  Initialize qNaN_var and sNaN_var with
43440         __builtin_nan and __builtin_nans families of functions,
43441         respectively.
43443         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43444         (sqrt_test): Remove duplicate test with qNaN input.
43445         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43446         (round_test, signbit_test, significand_test): Note missing +/-Inf
43447         as well as qNaN tests.
43449         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43450         qNaN_var.  Fix a few strings, too.
43451         * math/libm-test.inc (nan_value): Rename to qnan_value.
43452         * math/gen-libm-test.pl (%beautify): Adjust to that.
43453         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43454         * math/test-misc.c (main): Likewise.
43455         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43456         to __qnan_bytes, and __qnan_union, respectively.
43457         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43458         Likewise.
43459         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43460         and lqnanval, respectively.
43461         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43462         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43463         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43464         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43466         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43467         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43468         doubles.
43470         * math/test-misc.c (main): Fix copy'n'pastos.
43471         * misc/tst-efgcvt.c (special): Likewise.
43473         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43474         Remove declarations.
43476 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43478         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43479         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43480         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43481         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43483 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43485         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43486         macro to return vdso values correctly in IFUNC implementations.
43487         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43488         Optimization by using IFUNC.
43490 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43491             Richard Henderson  <rth@redhat.com>
43492             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43494         * Makefile.in (bench): New target.
43495         * NEWS: Mention the benchmark framework.
43496         * Rules (bench): Likewise.
43497         (binaries-bench): Generate binaries for functions to
43498         benchmark.
43499         * benchtests/Makefile: New makefile for benchmark tests.
43500         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43501         programs.
43502         * benchtests/exp-inputs: New input file for EXP function.
43503         * benchtests/pow-inputs: New input file for POW function.
43504         * scripts/bench.pl: New script to generate source files for
43505         benchmark programs.
43507 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43509         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43510         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43511         computations on mantissa.  Use macros for rounding and
43512         division.
43513         (denorm): Likewise.
43514         (__dbl_mp): Likewise.
43515         (add_magnitudes): Likewise.
43516         (sub_magnitudes): Likewise.
43517         (__mul): Likewise.
43518         (__sqr): Likewise.
43519         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43520         powers of two in terms of TWOPOW macro.
43521         (mp_no): Make type of mantissa as MANTISSA_T.
43522         [!RADIXI]: Define RADIXI.
43523         [!TWO52]: Define TWO52.
43524         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43526         * manual/nptl.texi (cindex): Modify threads to pthreads.
43528 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43530         * sysdeps/x86_64/preconfigure: Regenerated.
43532 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43534         [BZ #14155]
43535         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43536         0x1p28 and above.
43537         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43538         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43539         0x1p28 and above.
43540         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43541         * math/libm-test.inc (j0_test): Do not allow one spurious
43542         underflow exception.
43543         (y1_test): Likewise.
43545 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43547         * manual/Makefile (chapters): Add nptl.
43548         * manual/debug.texi (Debugging Support): Add link to Threads
43549         chapter.
43550         * manual/nptl.texi: New file.
43552         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43554 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43556         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43557         for non-NULL pointer before the memory validity test. Pointed
43558         out by Holger Brunck <holger.brunck@keymile.com>.
43560 2013-03-13  Andreas Schwab  <schwab@suse.de>
43562         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43563         instead of .os.
43565 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43567         * timezone/zic.c: Update from tzcode 2013b.
43569 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43571         * manual/install.texi (Configuring and compiling):
43572         Mention i686 and i586.
43573         * INSTALL: Regenerate.
43575 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43577         * sysdeps/init_array/elf-init.c: New file.
43578         * csu/elf-init.c
43579         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43580         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43582         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43583         __gmon_start__ as global, but as static with a .preinit_array pointer.
43584         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43585         * sysdeps/init_array/crti.S: New file, empty except for comments.
43586         * sysdeps/init_array/crtn.S: Likewise.
43588 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43590         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43591         definining bcopy.
43592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43593         Remove Prefer_SSE_for_memop.
43594         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43595         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43596         HAS_PREFER_SSE_FOR_MEMOP.
43597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43598         memset-x86-64.
43599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43600         Remove bzero, memset ifunc support.
43601         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43602         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43603         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43604         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43606 2013-03-11  Andreas Schwab  <schwab@suse.de>
43608         [BZ #15234]
43609         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43610         by SHLIB_COMPAT.
43611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43612         (GLIBC_2.16): Remove pthread_atfork.
43614 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43616         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43617         (ptestcases.h): Likewise.
43619 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43621         * Makeconfig ($(common-objpfx)config.status): Depend on
43622         sysdeps/*/preconfigure{,.in} too.
43624 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43626         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43627         (__free_hook): Use void * instead of __malloc_ptr_t.
43628         (__malloc_hook): Likewise.
43629         (__realloc_hook): Likewise.
43630         (__memalign_hook): Likewise.
43631         (__after_morecore_hook): Likewise.
43632         * malloc/arena.c (save_malloc_hook): Likewise.
43633         (save_free_hook): Likewise.
43634         * malloc/hooks.c (malloc_hook_ini): Likewise.
43635         (realloc_hook_ini): Likewise.
43636         (memalign_hook_ini): Likewise.
43637         * malloc/malloc.c (malloc_hook_ini): Likewise.
43638         (realloc_hook_ini): Likewise.
43639         (memalign_hook_ini): Likewise.
43640         (__free_hook): Likewise.
43641         (__malloc_hook): Likewise.
43642         (__realloc_hook): Likewise.
43643         (__memalign_hook): Likewise.
43644         (__libc_malloc): Likewise.
43645         (__libc_free): Likewise.
43646         (__libc_realloc): Likewise.
43647         (__libc_memalign): Likewise.
43648         (__libc_valloc): Likewise.
43649         (__libc_pvalloc): Likewise.
43650         (__libc_calloc): Likewise.
43651         (__posix_memalign): Likewise.
43652         * malloc/morecore.c (__sbrk): Likewise.
43653         (__default_morecore): Likewise.
43655         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43657         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43658         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43659         __malloc_ptrdiff_t.
43661         * malloc/malloc.h (__malloc_size_t): Remove macro.
43662         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43663         __malloc_size_t.
43664         (old_memalign_hook): Likewise.
43665         (old_realloc_hook): Likewise.
43666         (struct hdr): Likewise.
43667         (flood): Likewise.
43668         (mallochook): Likewise.
43669         (memalignhook): Likewise.
43670         (reallochook): Likewise.
43671         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43672         (tr_old_realloc_hook): Likewise.
43673         (tr_old_memalign_hook): Likewise.
43674         (tr_mallochook): Likewise.
43675         (tr_reallochook): Likewise.
43676         (tr_memalignhook): Likewise.
43678 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43681         default_ldbl_pack and using as default implementation.
43682         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43683         implementation.
43684         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43685         redundant definition.
43686         (ldbl_insert_mantissa): Likewise.
43687         (ldbl_canonicalize): Likewise.
43688         (ldbl_nearbyint): Likewise.
43689         (ldbl_pack): Rename to ldbl_pack_ppc.
43690         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43691         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43692         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43694 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43697         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43699         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43701         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43702         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43703         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43705 2013-03-07  Andreas Jaeger  <aj@suse.de>
43707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43708         bits/mman-linux.h.
43710 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43712         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43713         Include mpa.h and declare __MPEXP.
43714         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43716         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43718         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43719         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43720         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43722         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43723         (__slowpow): Use long double EXPL and LOGL functions to
43724         compute POW.
43725         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43726         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43727         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43728         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43729         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43730         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43733         intermediate variable to calculate exponent.
43734         (__sqr): Likewise.
43735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43736         Likewise.
43737         (__sqr): Likewise.
43739         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43740         [!NO__SQR]: Define __sqr.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43742         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43743         sysdeps/ieee754/dbl-64/mpa.c.
43744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43746         [BZ #12723]
43747         * posix/Makefile (tests): Add tst-pathconf.
43748         * posix/tst-pathconf.c: New test case.
43749         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43750         _PC_PIPE_BUF.
43751         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43753 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43755         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43757 2013-03-06  Andreas Jaeger  <aj@suse.de>
43759         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43760         definition via __MAP_ANONYMOUS.
43762         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43763         it's not part of Linux headers.
43765         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43766         (MAP_HUGE_MASK): Define.
43768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43769         Define.
43770         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43772         Define.
43773         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43774         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43775         Define.
43776         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43777         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43778         Define.
43779         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43781         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43782         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43783         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43784         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43785         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43786         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43788         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43789         Handle f2fs.
43791         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43792         Handle f2fs and efivarfs.
43794         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43795         f2fs.
43797         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43798         (EFIVARFS_MAGIC): Add.
43799         (F2FS_LINK_MAX): Add.
43801 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43803         * stdio-common/vfprintf.c: Replace __builtin_expect with
43804         __glibc_unlikely.
43806 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43808         [BZ #13550]
43809         * sysdeps/generic/bp-sym.h: Remove file.
43810         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43811         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43812         <bp-sym.h> and <bp-asm.h>.
43813         (__longjmp): Don't use BP_SYM.
43814         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43815         and <bp-asm.h>.
43816         (memcpy): Don't use BP_SYM.
43817         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43818         <bp-sym.h> and <bp-asm.h>.
43819         (memcpy): Don't use BP_SYM.
43820         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43821         <bp-asm.h>.
43822         (memcpy): Don't use BP_SYM.
43823         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43824         <bp-asm.h>.
43825         (memset): Don't use BP_SYM.
43826         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43827         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43828         (__bzero): Don't use BP_SYM.
43829         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43830         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43831         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43832         <bp-sym.h> and <bp-asm.h>.
43833         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43834         pointers.
43835         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43836         <bp-sym.h> and <bp-asm.h>.
43837         (memcpy): Don't use BP_SYM.
43838         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43839         <bp-sym.h> and <bp-asm.h>.
43840         (memset): Don't use BP_SYM.
43841         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43842         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43843         (__bzero): Don't use BP_SYM.
43844         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43845         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43846         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43847         <bp-sym.h> and <bp-asm.h>.
43848         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43849         pointers.
43850         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43851         <bp-sym.h> and <bp-asm.h>.
43852         (memcpy): Don't use BP_SYM.
43853         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43854         <bp-sym.h> and <bp-asm.h>.
43855         (memset): Don't use BP_SYM.
43856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43858         (__bzero): Don't use BP_SYM.
43859         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43860         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43862         <bp-sym.h> and <bp-asm.h>.
43863         (__memchr): Don't use BP_SYM.
43864         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43865         <bp-sym.h> and <bp-asm.h>.
43866         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43867         pointers.
43868         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43869         <bp-sym.h> and <bp-asm.h>.
43870         (memcpy): Don't use BP_SYM.
43871         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43872         <bp-sym.h> and <bp-asm.h>.
43873         (__mempcpy): Don't use BP_SYM.
43874         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43875         <bp-sym.h> and <bp-asm.h>.
43876         (__memrchr): Don't use BP_SYM.
43877         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43878         <bp-sym.h> and <bp-asm.h>.
43879         (memset): Don't use BP_SYM.
43880         (__bzero): Likewise.
43881         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43882         <bp-sym.h> and <bp-asm.h>.
43883         (__rawmemchr): Don't use BP_SYM.
43884         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43885         <bp-sym.h> and <bp-asm.h>.
43886         (__STRCMP): Don't use BP_SYM.
43887         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43888         <bp-sym.h> and <bp-asm.h>.
43889         (strchr): Don't use BP_SYM.
43890         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43891         <bp-sym.h> and <bp-asm.h>.
43892         (__strchrnul): Don't use BP_SYM.
43893         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43894         <bp-sym.h> and <bp-asm.h>.
43895         (strlen): Don't use BP_SYM.
43896         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43897         <bp-sym.h> and <bp-asm.h>.
43898         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43899         pointers.
43900         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43901         <bp-sym.h> and <bp-asm.h>.
43902         (__strnlen): Don't use BP_SYM.
43903         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43904         <bp-sym.h> and <bp-asm.h>.
43905         (__GI__setjmp): Don't use BP_SYM.
43906         (_setjmp): Likewise.
43907         (__sigsetjmp): Likewise.
43908         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43909         (L(start_addresses)): Don't use BP_SYM.
43910         (_start): Likewise.
43911         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43912         <bp-asm.h>.
43913         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43914         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43915         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43916         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43917         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43918         <bp-asm.h>.
43919         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43920         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43921         about bounded pointers.
43922         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43923         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43924         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43925         <bp-asm.h>.
43926         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43927         about bounded pointers.  Remove GKM FIXME comments.
43928         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43929         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43930         <bp-asm.h>.
43931         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43932         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43933         Remove GKM FIXME comments.
43934         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43935         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43936         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43937         <bp-asm.h>.
43938         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43939         about bounded pointers.  Remove GKM FIXME comment.
43940         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43941         and <bp-asm.h>.
43942         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43943         pointers.
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43945         <bp-sym.h> and <bp-asm.h>.
43946         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43948         <bp-sym.h> and <bp-asm.h>.
43949         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43950         comment.
43952 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43954         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43955         call free(NULL).
43957 2013-03-05  David S. Miller  <davem@davemloft.net>
43959         * po/es.po: Update from translation team.
43961 2013-03-05  Andreas Jaeger  <aj@suse.de>
43963         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43964         <bits/mman-linux.h>.
43965         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43966         is fine.
43967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43968         <bits/mman-linux.h> to end of file.
43969         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43970         is fine.
43971         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43972         <bits/mman-linux.h> to end of file.
43973         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43974         is fine.
43975         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43976         <bits/mman-linux.h> to end of file.
43978         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43979         (MCL_CURRENT, MCL_FUTURE): Define here.
43981 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43983         [BZ #15232]
43984         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43985         attribute_hidden.
43986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43988 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43991         fourth parameter needed for rt_sigprocmask syscall.
43992         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43993         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43994         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43995         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43996         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43997         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43999 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44001         [BZ #13550]
44002         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44003         comment about bounded pointers.
44004         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44005         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44007 2013-03-04  Andreas Jaeger  <aj@suse.de>
44009         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44010         common definitions.
44012         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44013         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44014         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44015         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44016         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44017         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44019 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44021         [BZ #15055]
44022         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44023         __ieee754_sqrl instead of __sqrl.
44025 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44027         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44028         * sysdeps/powerpc/fpu_control.h: ... here.
44029         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44030         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44031         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44032         * sysdeps/powerpc/bits/mathinline.h: ... here.
44034 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44036         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44037         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44038         to just [NEED_DL_SYSINFO_DSO].
44039         * elf/dl-support.c: Likewise.
44040         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44041         * elf/rtld.c (dl_main): Likewise.
44042         * elf/setup-vdso.h (setup_vdso): Likewise.
44043         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44044         * sysdeps/unix/sysv/linux/dl-sysdep.c
44045         (_dl_discover_osversion): Likewise.
44047 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44049         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44050         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44052 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44054         * NEWS: Mention libm performance improvements and non-x86 PI
44055         futex support.
44057         * csu/libc-start.c (__pthread_initialize_minimal): Change
44058         function arguments.
44059         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44061 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44063         [BZ #13550]
44064         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44065         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44066         <bp-sym.h> and <bp-asm.h>.
44067         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44068         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44069         and <bp-asm.h>.
44070         (memcpy): Don't use BP_SYM.
44071         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44072         <bp-asm.h>.
44073         (__mpn_add_n): Don't use BP_SYM.
44074         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44075         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44076         and <bp-asm.h>.
44077         (__mpn_addmul_1): Don't use BP_SYM.
44078         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44079         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44080         <bp-sym.h>.
44081         (_setjmp): Don't use BP_SYM.
44082         (__novmx_setjmp): Likewise.
44083         (__GI__setjmp): Likewise.
44084         (__vmx_setjmp): Likewise.
44085         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44086         <bp-sym.h>.
44087         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44088         (__bzero): Don't use BP_SYM.
44089         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44090         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44091         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44092         <bp-sym.h> and <bp-asm.h>.
44093         (memcpy): Don't use BP_SYM.
44094         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44095         <bp-sym.h> and <bp-asm.h>.
44096         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44097         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44098         <bp-sym.h> and <bp-asm.h>.
44099         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44100         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44101         <bp-asm.h>.
44102         (__mpn_lshift): Don't use BP_SYM.
44103         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44104         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44105         <bp-asm.h>.
44106         (memset): Don't use BP_SYM.
44107         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44108         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44109         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44110         <bp-asm.h>.
44111         (__mpn_mul_1): Don't use BP_SYM.
44112         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44113         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44114         <bp-sym.h> and <bp-asm.h>.
44115         (memcmp): Don't use BP_SYM.
44116         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44117         <bp-sym.h> and <bp-asm.h>.
44118         (memcpy): Don't use BP_SYM.
44119         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44120         <bp-sym.h> and <bp-asm.h>.
44121         (memset): Don't use BP_SYM.
44122         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44123         <bp-sym.h> and <bp-asm.h>.
44124         (strncmp): Don't use BP_SYM.
44125         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44126         <bp-sym.h> and <bp-asm.h>.
44127         (memcpy): Don't use BP_SYM.
44128         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44129         <bp-sym.h> and <bp-asm.h>.
44130         (memset): Don't use BP_SYM.
44131         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44132         <bp-sym.h> and <bp-asm.h>.
44133         (__memchr): Don't use BP_SYM.
44134         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44135         <bp-sym.h> and <bp-asm.h>.
44136         (memcmp): Don't use BP_SYM.
44137         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44138         <bp-sym.h> and <bp-asm.h>.
44139         (memcpy): Don't use BP_SYM.
44140         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44141         <bp-sym.h> and <bp-asm.h>.
44142         (__mempcpy): Don't use BP_SYM.
44143         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44144         <bp-sym.h> and <bp-asm.h>.
44145         (__memrchr): Don't use BP_SYM.
44146         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44147         <bp-sym.h> and <bp-asm.h>.
44148         (memset): Don't use BP_SYM.
44149         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44150         <bp-sym.h> and <bp-asm.h>.
44151         (__rawmemchr): Don't use BP_SYM.
44152         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44153         <bp-sym.h> and <bp-asm.h>.
44154         (__STRCMP): Don't use BP_SYM.
44155         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44156         <bp-sym.h> and <bp-asm.h>.
44157         (strchr): Don't use BP_SYM.
44158         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44159         <bp-sym.h> and <bp-asm.h>.
44160         (__strchrnul): Don't use BP_SYM.
44161         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44162         <bp-sym.h> and <bp-asm.h>.
44163         (strlen): Don't use BP_SYM.
44164         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44165         <bp-sym.h> and <bp-asm.h>.
44166         (strncmp): Don't use BP_SYM.
44167         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44168         <bp-sym.h> and <bp-asm.h>.
44169         (__strnlen): Don't use BP_SYM.
44170         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44171         <bp-asm.h>.
44172         (__mpn_rshift): Don't use BP_SYM.
44173         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44174         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44175         <bp-sym.h> and <bp-asm.h>.
44176         (__sigsetjmp): Don't use BP_SYM.
44177         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44178         (L(start_addresses)): Don't use BP_SYM.
44179         (_start): Likewise.
44180         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44181         <bp-asm.h>.
44182         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44183         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44184         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44185         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44186         <bp-asm.h>.
44187         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44188         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44189         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44190         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44191         <bp-asm.h>.
44192         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44193         comments.
44194         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44195         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44196         <bp-asm.h>.
44197         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44198         FIXME comments.
44199         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44200         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44201         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44202         <bp-asm.h>.
44203         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44204         comment.
44205         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44206         and <bp-asm.h>.
44207         (strncmp): Don't use BP_SYM,
44208         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44209         <bp-asm.h>.
44210         (__mpn_sub_n): Don't use BP_SYM.
44211         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44212         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44213         and <bp-asm.h>.
44214         (__mpn_submul_1): Don't use BP_SYM.
44215         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44217         <bp-sym.h> and <bp-asm.h>.
44218         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44220         <bp-sym.h> and <bp-asm.h>.
44221         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44222         comment.
44224 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44227         Use ZK to minimize writes to Z.
44228         (sub_magnitudes): Simplify code a bit.
44229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44230         Use ZK to minimize writes to Z.
44231         (sub_magnitudes): Simplify code a bit.
44233 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44235         * csu/gmon-start.c: Add special exception to license text.
44237 2013-02-27  Richard Henderson  <rth@redhat.com>
44239         * scripts/config.guess: Update from config.git.
44240         * scripts/config.sub: Likewise.
44242 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44244         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44246         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44248         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44250         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44252         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44254 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44256         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44257         [$(build-shared = yes].
44259 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44261         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44262         (__mul): Reduce iterations for calculating mantissa.
44264         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44265         MPTWO.
44266         (__mpranred): Likewise.
44268         [BZ #15160]
44269         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44270         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44272 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44274         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44275         Define __attribute__.
44277 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44280         unused.
44281         * posix/regex_internal.h (__attribute): Remove.
44282         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44283         (re_string_context_at): Likewise.
44284         (bitset_not): Use __attribute__ and mark function as possibly
44285         unused.
44286         (bitset_merge): Likewise.
44287         (bitset_mask): Likewise.
44288         (re_string_char_size_at): Likewise.
44289         (re_string_wchar_at): Likewise.
44290         (re_string_elem_size_at): Likewise.
44292 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44294         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44295         code.
44296         (cc32): Likewise.
44298         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44299         (__acr): Likewise.
44300         (__cpy): Likewise.
44301         (norm): Likewise.
44302         (denorm): Likewise.
44303         (__dbl_mp): Likewise.
44304         (add_magnitudes): Likewise.
44305         (sub_magnitudes): Likewise.
44306         (__mul): Likewise.
44307         (__inv): Likewise.
44309         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44310         style.
44312         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44313         style.
44315         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44316         code.
44318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44319         up changes with default code.
44320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44321         Likewise.
44323 2013-02-24  Allan McRae  <allan@archlinux.org>
44325         * manual/socket.texi (The Internet Namespace): Order menu items
44326         to match that in the file.
44328         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44329         node listing of the info page menu.
44331 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44333         [BZ #13550]
44334         * sysdeps/i386/bp-asm.h: Remove file.
44335         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44336         (PARMS): Do not use macros from bp-asm.h.
44337         (S1): Likewise.
44338         (S2): Likewise.
44339         (SIZE): Likewise.
44340         (__mpn_add_n): Do not use BP_SYM
44341         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44342         "bp-asm.h".
44343         (PARMS): Do not use macros from bp-asm.h.
44344         (S1): Likewise.
44345         (SIZE): Likewise.
44346         (__mpn_addmul_1): Do not use BP_SYM
44347         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44348         "bp-asm.h".
44349         (PARMS): Do not use macros from bp-asm.h.
44350         (SIGMSK): Likewise.
44351         (_setjmp): Likewise.  Do not use BP_SYM.
44352         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44353         "bp-asm.h".
44354         (PARMS): Do not use macros from bp-asm.h.
44355         (SIGMSK): Likewise.
44356         (setjmp): Likewise.  Do not use BP_SYM.
44357         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44358         "bp-asm.h".
44359         (PARMS): Do not use macros from bp-asm.h.
44360         (__frexp): Do not use BP_SYM.
44361         (frexp): Likewise.
44362         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44363         "bp-asm.h".
44364         (PARMS): Do not use macros from bp-asm.h.
44365         (__frexpf): Do not use BP_SYM.
44366         (frexpf): Likewise.
44367         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44368         "bp-asm.h".
44369         (PARMS): Do not use macros from bp-asm.h.
44370         (__frexpl): Do not use BP_SYM.
44371         (frexpl): Likewise.
44372         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44373         "bp-asm.h".
44374         (PARMS): Do not use macros from bp-asm.h.
44375         (__remquo): Do not use BP_SYM.
44376         (remquo): Likewise.
44377         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44378         "bp-asm.h".
44379         (PARMS): Do not use macros from bp-asm.h.
44380         (__remquof): Do not use BP_SYM.
44381         (remquof): Likewise.
44382         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44383         "bp-asm.h".
44384         (PARMS): Do not use macros from bp-asm.h.
44385         (__remquol): Do not use BP_SYM.
44386         (remquol): Likewise.
44387         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44388         "bp-asm.h".
44389         (PARMS): Do not use macros from bp-asm.h.
44390         (DEST): Likewise.
44391         (SRC): Likewise.
44392         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44393         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44394         "bp-asm.h".
44395         (PARMS): Do not use macros from bp-asm.h.
44396         (strlen): Do not use BP_SYM.
44397         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44398         "bp-asm.h".
44399         (PARMS): Do not use macros from bp-asm.h.
44400         (S1): Likewise.
44401         (S2): Likewise.
44402         (SIZE): Likewise.
44403         (__mpn_add_n): Do not use BP_SYM.
44404         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44405         "bp-asm.h".
44406         (PARMS): Do not use macros from bp-asm.h.
44407         (S1): Likewise.
44408         (SIZE): Likewise.
44409         (__mpn_addmul_1): Do not use BP_SYM.
44410         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44411         weak_alias.
44412         (bzero): Likewise.
44413         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44414         "bp-asm.h".
44415         (PARMS): Do not use macros from bp-asm.h.
44416         (S): Likewise.
44417         (SIZE): Likewise.
44418         (__mpn_lshift): Do not use BP_SYM.
44419         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44420         "bp-asm.h".
44421         (PARMS): Do not use macros from bp-asm.h.
44422         (DEST): Likewise.
44423         (SRC): Likewise.
44424         (LEN): Likewise.
44425         (memcpy): Likewise.  Do not use BP_SYM.
44426         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44427         libc_hidden_def and weak_alias.
44428         (mempcpy): Do not use BP_SYM in weak_alias.
44429         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44430         "bp-asm.h".
44431         (PARMS): Do not use macros from bp-asm.h.
44432         (DEST): Likewise.
44433         (LEN): Likewise.
44434         [!BZERO_P] (CHR): Likewise.
44435         (memset): Likewise.  Do not use BP_SYM.
44436         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44437         "bp-asm.h".
44438         (PARMS): Do not use macros from bp-asm.h.
44439         (S1): Likewise.
44440         (SIZE): Likewise.
44441         (__mpn_mul_1): Do not use BP_SYM.
44442         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44443         "bp-asm.h".
44444         (PARMS): Do not use macros from bp-asm.h.
44445         (S): Likewise.
44446         (SIZE): Likewise.
44447         (__mpn_rshift): Do not use BP_SYM.
44448         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44449         "bp-asm.h".
44450         (PARMS): Do not use macros from bp-asm.h.
44451         (STR): Likewise.
44452         (CHR): Likewise.
44453         (strchr): Likewise.  Do not use BP_SYM.
44454         (index): Do not use BP_SYM in weak_alias.
44455         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44456         "bp-asm.h".
44457         (PARMS): Do not use macros from bp-asm.h.
44458         (DEST): Likewise.
44459         (SRC): Likewise.
44460         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44461         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44462         "bp-asm.h".
44463         (PARMS): Do not use macros from bp-asm.h.
44464         (strlen): Do not use BP_SYM.
44465         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44466         "bp-asm.h".
44467         (PARMS): Do not use macros from bp-asm.h.
44468         (S1): Likewise.
44469         (S2): Likewise.
44470         (SIZE): Likewise.
44471         (__mpn_sub_n): Do not use BP_SYM.
44472         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44473         "bp-asm.h".
44474         (PARMS): Do not use macros from bp-asm.h.
44475         (S1): Likewise.
44476         (SIZE): Likewise.
44477         (__mpn_submul_1): Do not use BP_SYM.
44478         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44479         "bp-asm.h".
44480         (PARMS): Do not use macros from bp-asm.h.
44481         (S1): Likewise.
44482         (S2): Likewise.
44483         (SIZE): Likewise.
44484         (__mpn_add_n): Do not use BP_SYM.
44485         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44486         weak_alias.
44487         (bzero): Likewise.
44488         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44489         "bp-asm.h".
44490         (PARMS): Do not use macros from bp-asm.h.
44491         (BLK2): Likewise.
44492         (LEN): Likewise.
44493         (memcmp): Do not use BP_SYM.
44494         (bcmp): Do not use BP_SYM in weak_alias.
44495         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44496         "bp-asm.h".
44497         (PARMS): Do not use macros from bp-asm.h.
44498         (DEST): Likewise.
44499         (SRC): Likewise.
44500         (LEN): Likewise.
44501         (memcpy): Likewise.  Do not use BP_SYM.
44502         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44503         "bp-asm.h".
44504         (PARMS): Do not use macros from bp-asm.h.
44505         (DEST): Likewise.
44506         (SRC): Likewise.
44507         (LEN): Likewise.
44508         (memmove): Likewise.  Do not use BP_SYM.
44509         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44510         "bp-asm.h".
44511         (PARMS): Do not use macros from bp-asm.h.
44512         (DEST): Likewise.
44513         (SRC): Likewise.
44514         (LEN): Likewise.
44515         (__mempcpy): Likewise.  Do not use BP_SYM.
44516         (mempcpy): Do not use BP_SYM in weak_alias.
44517         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44518         "bp-asm.h".
44519         (PARMS): Do not use macros from bp-asm.h.
44520         (DEST): Likewise.
44521         (LEN): Likewise.
44522         [!BZERO_P] (CHR): Likewise.
44523         (memset): Likewise.  Do not use BP_SYM.
44524         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44525         "bp-asm.h".
44526         (PARMS): Do not use macros from bp-asm.h.
44527         (STR2): Likewise.
44528         (strcmp): Do not use BP_SYM.
44529         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44530         "bp-asm.h".
44531         (PARMS): Do not use macros from bp-asm.h.
44532         (STR): Likewise.
44533         (DELIM): Likewise.
44534         [USE_AS_STRTOK_R] (SAVE): Likewise.
44535         (FUNCTION): Likewise.  Do not use BP_SYM.
44536         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44537         aliases.
44538         (strtok_r): Likewise.
44539         (__GI___strtok_r): Likewise.
44540         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44541         (PARMS): Do not use macros from bp-asm.h.
44542         (S): Likewise.
44543         (SIZE): Likewise.
44544         (__mpn_lshift): Do not use BP_SYM.
44545         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44546         (PARMS): Do not use macros from bp-asm.h.
44547         (STR): Likewise.
44548         (CHR): Likewise.
44549         (__memchr): Do not use BP_SYM.
44550         (memchr): Do not use BP_SYM in weak_alias.
44551         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44552         (PARMS): Do not use macros from bp-asm.h.
44553         (BLK2): Likewise.
44554         (LEN): Likewise.
44555         (memcmp): Do not use BP_SYM.
44556         (bcmp): Do not use BP_SYM in weak_alias.
44557         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44558         (PARMS): Do not use macros from bp-asm.h.
44559         (S1): Likewise.
44560         (SIZE): Likewise.
44561         (__mpn_mul_1): Do not use BP_SYM.
44562         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44563         "bp-asm.h".
44564         (PARMS): Do not use macros from bp-asm.h.
44565         (STR): Likewise.
44566         (CHR): Likewise.
44567         (__rawmemchr): Do not use BP_SYM.
44568         (rawmemchr): Do not use BP_SYM in weak_alias.
44569         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44570         (PARMS): Do not use macros from bp-asm.h.
44571         (S): Likewise.
44572         (SIZE): Likewise.
44573         (__mpn_rshift): Do not use BP_SYM.
44574         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44575         (PARMS): Do not use macros from bp-asm.h.
44576         (SIGMSK): Likewise.
44577         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44578         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44579         (_start): Do not use BP_SYM.
44580         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44581         (PARMS): Do not use macros from bp-asm.h.
44582         (DEST): Likewise.
44583         (SRC): Likewise.
44584         (__stpcpy): Likewise.  Do not use BP_SYM.
44585         (stpcpy): Do not use BP_SYM in weak_alias.
44586         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44587         "bp-asm.h".
44588         (PARMS): Do not use macros from bp-asm.h.
44589         (DEST): Likewise.
44590         (SRC): Likewise.
44591         (LEN): Likewise.
44592         (__stpncpy): Likewise.  Do not use BP_SYM.
44593         (stpncpy): Do not use BP_SYM in weak_alias.
44594         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44595         (PARMS): Do not use macros from bp-asm.h.
44596         (STR): Likewise.
44597         (CHR): Likewise.
44598         (strchr): Likewise.  Do not use BP_SYM.
44599         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44600         "bp-asm.h".
44601         (PARMS): Do not use macros from bp-asm.h.
44602         (STR): Likewise.
44603         (CHR): Likewise.
44604         (__strchrnul): Likewise.  Do not use BP_SYM.
44605         (strchrnul): Do not use BP_SYM in weak_alias.
44606         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44607         "bp-asm.h".
44608         (PARMS): Do not use macros from bp-asm.h.
44609         (STOP): Likewise.
44610         (strcspn): Do not use BP_SYM.
44611         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44612         "bp-asm.h".
44613         (PARMS): Do not use macros from bp-asm.h.
44614         (STR): Likewise.
44615         (STOP): Likewise.
44616         (strpbrk): Likewise.  Do not use BP_SYM.
44617         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
44623         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44624         (PARMS): Do not use macros from bp-asm.h.
44625         (SKIP): Likewise.
44626         (strspn): Do not use BP_SYM.
44627         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44628         (PARMS): Do not use macros from bp-asm.h.
44629         (STR): Likewise.
44630         (DELIM): Likewise.
44631         (SAVE): Likewise.
44632         (FUNCTION): Likewise.  Do not use BP_SYM.
44633         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44634         aliases.
44635         (strtok_r): Likewise.
44636         (__GI___strtok_r): Likewise.
44637         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44638         (PARMS): Do not use macros from bp-asm.h.
44639         (S1): Likewise.
44640         (S2): Likewise.
44641         (SIZE): Likewise.
44642         (__mpn_sub_n): Do not use BP_SYM.
44643         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44644         "bp-asm.h".
44645         (PARMS): Do not use macros from bp-asm.h.
44646         (S1): Likewise.
44647         (SIZE): Likewise.
44648         (__mpn_submul_1): Do not use BP_SYM.
44649         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44650         <bp-sym.h>.
44651         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44652         and <bp-asm.h>.
44653         (PARMS): Do not use macros from bp-asm.h.
44654         (FLAGS): Likewise.
44655         (PTID): Likewise.
44656         (TLS): Likewise.
44657         (CTID): Likewise.
44658         (__clone): Do not use BP_SYM.
44659         (clone): Do not use BP_SYM in weak_alias.
44660         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44661         and <bp-asm.h>.
44662         (PARMS): Do not use macros from bp-asm.h.
44663         (LEN): Likewise.
44664         (__mmap64): Do not use BP_SYM.
44665         (mmap64): Do not use BP_SYM in weak_alias.
44666         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44667         <bp-sym.h> and <bp-asm.h>.
44668         (PARMS): Do not use macros from bp-asm.h.
44669         (__posix_fadvise64_l64): Do not use BP_SYM.
44670         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44671         (PARMS): Do not use macros from bp-asm.h.
44672         (NSOPS): Likewise.
44673         (semtimedop): Do not use BP_SYM.
44674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44675         and <bp-asm.h>.
44677 2013-02-21  Allan McRae  <allan@archlinux.org>
44679         * manual/message.texi (Charset conversion in gettext):
44680         Move @end statement to beginning of line.
44682 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44685         static.
44686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44687         Likewise.
44689         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44690         (denorm): Likewise.
44691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44694 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44696         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44697         tail-call to the resolved function if pltexit isn't needed.
44699 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44702         or Y being zero as being unlikely.
44703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44704         Likewise.
44706 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44708         * manual/nss.texi (System Databases and Name Service Switch):
44709         Remove frobnicate @pxref.
44711 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44713         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44714         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44716 2013-02-20  Petr Machata  <pmachata@redhat.com>
44718         * elf/elf.h (R_ARM_TARGET1): New macro.
44719         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44720         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44721         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44722         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44723         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44724         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44725         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44726         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44727         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44728         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44729         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44730         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44731         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44732         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44733         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44734         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44735         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44736         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44737         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44738         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44739         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44740         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44741         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44742         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44743         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44744         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44745         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44746         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44747         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44748         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44749         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44750         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44751         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44752         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44753         (R_ARM_THM_GOT_BREL12): Likewise.
44754         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44755         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44756         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44757         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44758         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44759         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44760         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44761         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44762         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44764 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44766         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44767         __attribute_used__ to __attribute__ ((unused)).
44769 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44771         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44772         powerpc mpa.c.
44773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44774         comment formatting.
44775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44777 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44779         [BZ #13550]
44780         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44781         Remove macro.
44782         (ENTER): Remove both macro definitions.
44783         (LEAVE): Likewise.
44784         (CHECK_BOUNDS_LOW): Likewise.
44785         (CHECK_BOUNDS_HIGH): Likewise.
44786         (CHECK_BOUNDS_BOTH): Likewise.
44787         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44788         (RETURN_BOUNDED_POINTER): Likewise.
44789         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44790         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44791         (POP_ERRNO_LOCATION_RETURN): Likewise.
44792         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44793         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44794         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44795         macros.
44796         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44797         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44798         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44799         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44800         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44801         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44802         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44803         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44804         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44805         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44806         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44807         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44808         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44809         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44810         removed macros.
44811         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44812         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44813         macros.
44814         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44815         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44816         * sysdeps/i386/i586/memset.S (memset): Likewise.
44817         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44818         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44819         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44820         macros.
44821         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44822         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44823         Change uses of L(2) to L(out).
44824         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44825         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44826         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44827         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44828         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44829         removed macros.
44830         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44831         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44832         macros.
44833         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44834         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44835         (RETURN): Do not use macro LEAVE.
44836         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44837         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44838         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44839         * sysdeps/i386/i686/memset.S (memset): Likewise.
44840         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44841         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44842         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44843         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44844         Likewise.
44845         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44846         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44847         L(1_2) and L(1_3) into L(1).
44848         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44849         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44850         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44851         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44852         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44853         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44854         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44855         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44856         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44857         macros.
44858         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44859         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44860         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44861         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44862         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44863         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44864         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44865         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44866         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44867         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44868         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44869         * sysdeps/i386/strspn.S (strspn): Likewise.
44870         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44871         conditional code.
44872         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44873         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44874         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44875         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44876         L(1_3) into L(1_1).
44877         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44878         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44879         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44880         macros.
44881         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44883 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44885         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44886         macro.
44888 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44890         * math/atest-exp.c (exp_mpn): Remove ROUND.
44891         * math/atest-exp2.c (exp_mpn): Likewise.
44892         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44894         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44895         * stdlib/tst-tls-atexit-lib.c: Likewise.
44896         * stdlib/tst-tls-atexit.c: Likewise.
44898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44900         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44901         and __attribute_alloc_size__.
44903 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44905         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44906         __attribute_alloc_size__.
44907         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44908         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44910 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44912         * include/programs/xmalloc.h: New file.
44913         * catgets/gencat.c: Include it.
44914         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44915         * elf/pldd.c: Likewise.
44916         * iconv/iconv_charmap.c: Likewise.
44917         * iconv/iconvconfig.c: Likewise.
44918         * iconv/strtab.c: Likewise.
44919         * locale/programs/locale.c: Likewise.
44920         * locale/programs/localedef.h: Likewise.
44921         * locale/programs/simple-hash.c: Likewise.
44922         * nscd/nscd.h: Likewise.
44923         * nss/makedb.c: Likewise.
44924         * sysdeps/generic/ldconfig.h: Likewise.
44926 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44928         * Versions.def: Add GLIBC_2.18.
44929         * include/link.h (struct link_map): New member l_tls_dtor_count.
44930         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44931         (__call_tls_dtors): Likewise.
44932         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44933         __cxa_thread_atexit_impl.
44934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44935         Likewise.
44936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44937         Likewise.
44938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44939         Likewise.
44940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44941         Likewise.
44942         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44944         Likewise.
44945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44946         Likewise.
44947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44949         Likewise.
44950         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44951         (tests): Add test case tst-tls-atexit.
44952         (modules-names): Add shared library for tst-tls-atexit.
44953         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44954         (GLIBC_PRIVATE): Add __call_tls_dtors.
44955         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44956         for libstdc++.
44957         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44958         * stdlib/tst-tls-atexit.c: New test case.
44959         * stdlib/tst-tls-atexit-lib.c: New test case.
44961         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44963         * elf/Versions (ld): Add _dl_find_dso_for_object.
44964         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44965         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44966         (dl_open_worker): Use _dl_find_dso_for_object.
44967         * elf/dl-sym.c (do_sym): Likewise.
44968         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44970 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44972         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44973         Syntactic changes only.
44974         (_dl_runtime_profile): Do a tail-call to the resolved function.
44976 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44978         [BZ #13550]
44979         * sysdeps/x86_64/bp-asm.h: Remove file.
44980         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44981         <bp-sym.h> and <bp-asm.h>.
44982         (__clone): Do not use BP_SYM.
44983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44984         <bp-sym.h> and <bp-asm.h>.
44985         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44986         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44987         "bp-asm.h".
44988         (_setjmp): Do not use BP_SYM.
44989         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44990         "bp-asm.h".
44991         (setjmp): Do not use BP_SYM.
44992         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44993         libc_hidden_def.
44994         (mempcpy): Do not use BP_SYM in weak_alias.
44995         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44996         "bp-asm.h".
44997         (strchr): Do not use BP_SYM.
44998         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44999         "bp-asm.h".
45000         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45001         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45002         (_start): Do not use BP_SYM.
45003         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45004         "bp-asm.h".
45005         (strcat): Do not use BP_SYM.
45006         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45007         "bp-asm.h".
45008         (STRCMP): Do not use BP_SYM.
45009         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45010         "bp-asm.h".
45011         (STRCPY): Do not use BP_SYM.
45012         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45013         "bp-asm.h".
45014         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45015         "bp-asm.h".
45016         (FUNCTION): Do not use BP_SYM.
45017         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45018         weak_alias.
45019         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45021 2013-02-17  Andreas Jaeger  <aj@suse.de>
45023         * time/Versions: Sort entries.
45024         * string/Versions: Likewise.
45025         * resolv/Versions: Likewise.
45026         * posix/Versions: Likewise.
45027         * iconv/Versions: Likewise.
45028         * elf/Versions: Likewise.
45029         * wcsmbs/Versions: Likewise.
45031 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45033         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45034         loop termination condition.
45036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45037         variable to calculate EZ.
45038         (__sqr): Likewise.
45040         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45041         the lower precision input.
45043 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45045         [BZ #13550]
45046         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45047         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45048         (run-via-rtld-prefix): Do not handle %-bp tests.
45049         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45050         (all-object-suffixes): Remove .ob.
45051         (bppfx): Remove variable.
45052         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45053         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45054         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45055         [$(build-bounded) = yes] (libtype.ob): Likewise.
45056         * Makerules (elide-routines.ob): Remove variable.
45057         (do-tests-clean): Do not handle *-bp.out.
45058         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45059         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45060         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45061         (tests): Do not include $(tests-bp.out).
45062         (xtests): Do not include $(xtests-bp.out).
45063         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45064         [$(build-bounded) = yes] ($(addprefix
45065         $(objpfx),$(binaries-bounded))): Remove rule.
45066         ($(objpfx)%-bp.out): Remove rule.
45067         * config.make.in (build-bounded): Remove variable.
45068         * crypt/Makefile [$(build-bounded) = yes]
45069         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45070         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45071         append to variable.
45072         [$(build-bounded) = yes] (install-lib): Likewise.
45073         [$(build-bounded) = yes] (generated): Likewise.
45074         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45075         Remove rule.
45076         * intl/Makefile [$(build-bounded) = yes]
45077         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45078         * math/Makefile [$(build-bounded) = yes]
45079         ($(tests:%=$(objpfx)%-bp): Likewise.
45080         * misc/Makefile [$(build-bounded) = yes]
45081         ($(objpfx)tst-tsearch-bp): Likewise.
45082         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45083         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45084         Remove dependency.
45085         * string/Makefile (o-objects.ob): Remove variable.
45086         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45087         (CFLAGS-.ob): Remove variable.
45088         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45089         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45090         both definitions of variable.
45091         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45092         (ASFLAGS-.ob): Remove variable.
45094 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45096         [BZ #13550]
45097         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45098         Remove __BOUNDED_POINTERS__ from condition.
45099         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45100         * string/bits/string2.h [!__NO_STRING_INLINES &&
45101         !__BOUNDED_POINTERS__]: Likewise.
45102         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45103         Likewise.
45104         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45105         Remove conditional code.
45106         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45107         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45108         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45109         condition.
45111         [BZ #13550]
45112         * csu/libc-start.c: Do not include <bp-sym.h>.
45113         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45114         * elf/dl-open.c: Do not include <bp-sym.h>.
45115         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45116         * math/fegetenv.c: Do not include <bp-sym.h>.
45117         (fegetenv): Do not use BP_SYM in versioned symbols.
45118         * nptl/sysdeps/pthread/bits/libc-lockP.h
45119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45120         <bp-sym.h>.
45121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45122         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45124         (__pthread_mutex_destroy): Likewise.
45125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45126         (__pthread_mutex_lock): Likewise.
45127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45128         (__pthread_mutex_trylock): Likewise.
45129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45130         (__pthread_mutex_unlock): Likewise.
45131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45132         (__pthread_mutexattr_init): Likewise.
45133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45134         (__pthread_mutexattr_destroy): Likewise.
45135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45136         (__pthread_mutexattr_settype): Likewise.
45137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45138         (__pthread_rwlock_init): Likewise.
45139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45140         (__pthread_rwlock_destroy): Likewise.
45141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45142         (__pthread_rwlock_rdlock): Likewise.
45143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45144         (__pthread_rwlock_tryrdlock): Likewise.
45145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45146         (__pthread_rwlock_wrlock): Likewise.
45147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45148         (__pthread_rwlock_trywrlock): Likewise.
45149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45150         (__pthread_rwlock_unlock): Likewise.
45151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45152         (__pthread_key_create): Likewise.
45153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45154         (__pthread_setspecific): Likewise.
45155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45156         (__pthread_getspecific): Likewise.
45157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45158         Likewise.
45159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45160         (_pthread_cleanup_push_defer): Likewise.
45161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45162         (_pthread_cleanup_pop_restore): Likewise.
45163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45164         (pthread_setcancelstate): Likewise.
45165         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45166         <bp-sym.h>.
45167         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45168         (memchr): Do not use BP_SYM in weak_alias.
45169         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45170         (fegetenv): Do not use BP_SYM in versioned symbols.
45171         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45172         (fesetenv): Do not use BP_SYM in versioned symbols.
45173         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45174         (feupdateenv): Do not use BP_SYM in versioned symbols.
45175         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45176         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45177         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45178         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45179         (open64): Do not use BP_SYM in weak_alias.
45180         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45181         (fegetenv): Do not use BP_SYM in versioned symbols.
45182         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45183         (fesetenv): Do not use BP_SYM in versioned symbols.
45184         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45185         (feupdateenv): Do not use BP_SYM in versioned symbols.
45186         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45187         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45188         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45189         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45190         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45191         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45192         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45193         <bp-sym.h>.
45194         (__libc_start_main): Do not use BP_SYM.
45196 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45199         redundant return line.
45200         (norm): Likewise.
45201         (denorm): Likewise.
45202         (dbl_mp): Likewise.
45203         (sub_magnitudes): Likewise.
45204         (__add): Likewise.
45205         (__sub): Likewise.
45206         (__mul): Likewise.
45207         (__inv): Likewise.
45208         (__dvd): Likewise.
45209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45210         (norm): Likewise.
45211         (denorm): Likewise.
45212         (dbl_mp): Likewise.
45213         (sub_magnitudes): Likewise.
45214         (__add): Likewise.
45215         (__sub): Likewise.
45216         (__mul): Likewise.
45217         (__inv): Likewise.
45218         (__dvd): Likewise.
45220         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45221         instead of __mul.
45222         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45223         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45224         (cc32): Likewise.
45226         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45227         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45228         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45229         of __mul for squares.
45230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45231         function
45232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45233         Likewise.
45234         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45235         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45237 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45239         [BZ #13550]
45240         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45241         code.
45242         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45243         prototype or function definition.  Rename ubp_* variables and
45244         parameters.  Remove argv definitions conditional on
45245         [__BOUNDED_POINTERS__].
45246         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45247         * elf/dl-runtime.c (_dl_fixup): Likewise.
45248         * include/set-hooks.h (RUN_HOOK): Likewise.
45249         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45250         definition.
45251         * string/strcpy.c (strcpy): Do not use __unbounded.
45252         * sysdeps/generic/frame.h (struct layout): Likewise.
45253         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45254         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45255         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45256         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45257         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45258         (__backtrace): Likewise.
45259         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45260         use __ptrvalue.
45261         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45262         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45263         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45264         Likewise.
45265         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45266         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45267         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45268         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45269         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45270         Do not use __unbounded.
45271         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45272         Rename __unboundedrlimits parameter to rlimits in prototype.
45273         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45274         Do not use __unbounded.
45275         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45276         not use __ptrvalue.
45277         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45278         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45279         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45280         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45281         __ptrvalue or __unbounded.
45282         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45283         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45284         use __unbounded.
45285         (__new_msgctl): Do not use __ptrvalue.
45286         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45287         __unbounded.
45288         (__libc_msgrcv): Do not use __ptrvalue.
45289         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45290         startup_info): Do not use __unbounded.
45291         (__libc_start_main): Likewise.  Rename ubp_* variables and
45292         parameters.  Remove argv definitions conditional on
45293         [__BOUNDED_POINTERS__].
45294         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45295         __ptrvalue.
45296         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45297         use __unbounded.
45298         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45299         or __ptrvalue.
45300         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45301         use __unbounded.
45302         (__new_shmctl): Do not use __ptrvalue.
45303         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45304         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45305         Likewise.
45306         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45307         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45308         (__libc_sigaction): Likewise.
45309         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45310         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45311         Likewise.
45312         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45314 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45316         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45318         * string/mempcpy.c: Implement by calling memcpy.
45320 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45325         evaluation.
45327         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45328         values in the mantissa.
45330         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45331         minimize writes to Z.
45332         (sub_magnitudes): Simplify code a bit.
45334 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45336         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45337         from the message.  The linker prefixes all warnings with that already.
45339 2013-02-12  Andreas Schwab  <schwab@suse.de>
45341         [BZ #15078]
45342         * posix/regexec.c (extend_buffers): Add parameter min_len.
45343         (check_matching): Pass minimum needed length.
45344         (clean_state_log_if_needed): Likewise.
45345         (get_subexp): Likewise.
45346         * posix/Makefile (tests): Add bug-regex34.
45347         (bug-regex34-ENV): Define.
45348         * posix/bug-regex34.c: New file.
45350         [BZ #11561]
45351         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45352         elements compare against the byte sequence of it, not its name.
45353         * posix/Makefile (tests): Add bug-regex35.
45354         (bug-regex35-ENV): Define.
45355         * posix/bug-regex35.c: New file.
45357 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45359         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45360         comment.
45361         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45362         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45363         (CHECK_EOL): Add undef.
45365 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45367         * bits/stdlib-bsearch.h: New file.
45368         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45369         * stdlib/stdlib.h: Likewise.
45371 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45373         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45374         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45375         declaration.
45376         * manual/search.texi (Array Search Function): Add missing const in
45377         lfind prototype.
45378         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45379         declaration to use rlim_t.
45380         (Basic Scheduling Functions): Remove erroneous const from
45381         sched_getparam prototype.  Remove erroneous * from
45382         sched_get_priority_max and sched_get_priority_min prototypes.
45383         (Resource Usage): Fix summary @comment on vtimes to refer to
45384         sys/vtimes.h rather than vtimes.h.
45385         Add missing *s in vtimes prototype.
45386         (Limits on Resources): Fix ulimit prototype to return long int.
45387         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45388         prototypes to use long int rather than double.
45389         (BSD Random): Fix initstate and setstate to use char *, not void *.
45390         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45391         prototype to make second argument 'struct aiocb64 *const[]'.
45392         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45393         (Status of AIO Operations): Remove erroneous const in aio_return and
45394         aio_return64 prototypes.
45395         (Synchronizing I/O): Fix sync prototype to return void.
45396         * manual/startup.texi (Suboptions): Remove an erroneous const in
45397         getsubopt prototype.
45398         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45399         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45400         use size_t rather than int.
45401         (Scanning All Users): Likewise for getpwent_r.
45402         (Setting Groups): Add missing const to setgroups prototype.
45403         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45404         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45405         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45406         'const void *' rather than 'const char *'.
45407         (Host Address Functions): Likewise for inet_ntop.
45408         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45409         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45410         ssize_t for return value.
45411         (Sending Data): Likewise for send, sendto, sendmsg.
45412         (Socket Option Functions): Add a missing const in setsockopt prototype.
45413         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45414         use wchar_t for the argument.
45415         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45416         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45417         take no arguments.
45418         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45419         double/float/long double for second argument.
45420         Fix return types of significand, significandf, significandl.
45421         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45422         argument in fchmod prototype.
45423         (File Owner): Use uid_t and gid_t in fchown prototype.
45424         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45425         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45426         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45427         use 'const struct dirent **' as argument types to CMP function pointer
45428         argument.
45429         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45430         (File Times): Fix summary magic @comment for struct utimbuf and utime
45431         to refer to utime.h, not time.h.
45432         * manual/string.texi (Argz Functions): Add missing const in
45433         argz_extract and argz_next prototypes.
45434         (Finding Tokens in a String): Likewise for basename.
45435         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45436         (Copying and Concatenation): Fix typo in wmemmove prototype.
45437         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45438         (Signal Stack): Remove erroneous const in sigstack prototype.
45439         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45440         prototype.
45441         (Simple Calendar Time): Likewise for stime.
45442         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45443         prototype.
45444         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45445         say sys/sysctl.h instead.
45446         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45447         and vsyslog prototypes.
45449 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45451         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45452         Remove.
45454 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45456         * misc/sys/mman.h: Fix typo in mremap comment.
45458 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45460         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45461         the '\0' terminator.
45463 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45465         [BZ #13550]
45466         * debug/segfault.c: Don't include <bp-checks.h>.
45467         * sysdeps/generic/bp-checks.h: Remove file.
45468         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45469         (__GETDENTS): Don't use CHECK_N.
45470         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45471         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45472         (__getgroups): Don't use CHECK_N.
45473         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45474         (setgroups): Don't use CHECK_N.
45475         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45476         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45477         (__libc_msgrcv): Don't use CHECK_N.
45478         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45479         (__libc_msgsnd): Don't use CHECK_N.
45480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45481         <bp-checks.h>.
45482         (__libc_pread): Don't use CHECK_N.
45483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45484         include <bp-checks.h>.
45485         (__libc_pread64): Don't use CHECK_N.
45486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45487         include <bp-checks.h>.
45488         (__libc_pwrite): Don't use CHECK_N.
45489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45490         include <bp-checks.h>.
45491         (__libc_pwrite64): Don't use CHECK_N.
45492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45493         <bp-checks.h>.
45494         (__libc_pread): Don't use CHECK_N.
45495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45496         include <bp-checks.h>.
45497         (__libc_pread64): Don't use CHECK_N.
45498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45499         include <bp-checks.h>.
45500         (__libc_pwrite): Don't use CHECK_N.
45501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45502         include <bp-checks.h>.
45503         (__libc_pwrite64): Don't use CHECK_N.
45504         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45505         (do_pread): Don't use CHECK_N.
45506         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45507         (do_pread64): Don't use CHECK_N.
45508         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45509         (do_pwrite): Don't use CHECK_N.
45510         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45511         (do_pwrite64): Don't use CHECK_N.
45512         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45513         (__libc_readv): Don't use CHECK_N.
45514         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45515         (semop): Don't use CHECK_N.
45516         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45517         <bp-checks.h>.
45518         (semtimedop): Don't use CHECK_N.
45519         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45520         (__libc_pread): Don't use CHECK_N.
45521         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45522         <bp-checks.h>.
45523         (__libc_pread64): Don't use CHECK_N.
45524         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45525         <bp-checks.h>.
45526         (__libc_pwrite): Don't use CHECK_N.
45527         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45528         <bp-checks.h>.
45529         (__libc_pwrite64): Don't use CHECK_N.
45530         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45531         <bp-checks.h>.
45532         (__libc_msgrcv): Don't use CHECK_N.
45533         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45534         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45535         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45536         (__libc_writev): Don't use CHECK_N.
45538 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45540         * string/strcpy.c: Removed unused variable.
45542         * Makeconfig (+sysdep-includes): Define with := rather than =.
45543         Use an existing include/ subdir of each sysdeps dir before it.
45545 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45547         * nscd/connection.c (register_traced_file): Comment function.
45548         [HAVE_INOTIFY] (union __inev): Define.
45549         [HAVE_INOTIFY] (inotify_check_files): New function.
45550         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45551         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45552         clear_db_cache.
45553         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45555 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45557         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45558         loaded if not already and that a failure is permanent.
45560 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45562         [BZ #15006]
45563         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45564         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45566 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45568         [BZ #13550]
45569         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45570         (CHECK_1_NULL_OK): Likewise.
45571         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45572         (__fxstat): Do not use CHECK_1.
45573         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45574         <bp-checks.h>.
45575         (___fxstat64): Do not use CHECK_1.
45576         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45577         <bp-checks.h>.
45578         (__fxstatat): Do not use CHECK_1.
45579         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45580         <bp-checks.h>.
45581         (__fxstatat64): Do not use CHECK_1.
45582         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45583         <bp-checks.h>.
45584         (__fxstat): Do not use CHECK_1.
45585         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45586         <bp-checks.h>.
45587         (__fxstatat): Do not use CHECK_1.
45588         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45589         <bp-checks.h>.
45590         (__getresgid): Do not use CHECK_1.
45591         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45592         <bp-checks.h>.
45593         (__getresuid): Do not use CHECK_1.
45594         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45595         <bp-checks.h>.
45596         (__lxstat): Do not use CHECK_1.
45597         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45598         <bp-checks.h>.
45599         (__old_msgctl): Do not use CHECK_1.
45600         (__new_msgctl): Likewise.
45601         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45602         <bp-checks.h>.
45603         (__new_setrlimit): Do not use CHECK_1.
45604         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45605         <bp-checks.h>.
45606         (__old_shmctl): Do not use CHECK_1.
45607         (__new_shmctl): Likewise.
45608         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45609         <bp-checks.h>.
45610         (__xstat): Do not use CHECK_1.
45611         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45612         (__lxstat): Do not use CHECK_1.
45613         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45614         <bp-checks.h>.
45615         (___lxstat64): Do not use CHECK_1.
45616         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45617         (__old_msgctl): Do not use CHECK_1.
45618         (__new_msgctl): Likewise.
45619         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45620         <bp-checks.h>.
45621         (__gettimeofday): Do not use CHECK_1.
45622         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45623         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45624         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45625         <bp-checks.h>.
45626         (__gettimeofday): Do not use CHECK_1.
45627         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45628         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45629         (__new_shmctl): Do not use CHECK_1.
45630         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45631         <bp-checks.h>.
45632         (do_sigtimedwait): Do not use CHECK_1.
45633         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45634         <bp-checks.h>.
45635         (do_sigwaitinfo): Do not use CHECK_1.
45636         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45637         <bp-checks.h>.
45638         (msgctl): Do not use CHECK_1.
45639         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45640         <bp-checks.h>.
45641         (shmctl): Do not use CHECK_1.
45642         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45643         (ustat): Do not use CHECK_1.
45644         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45645         <bp-checks.h>.
45646         (__fxstat): Do not use CHECK_1.
45647         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45648         <bp-checks.h>.
45649         (__fxstatat): Do not use CHECK_1.
45650         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45651         <bp-checks.h>.
45652         (__lxstat): Do not use CHECK_1.
45653         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45654         <bp-checks.h>.
45655         (__xstat): Do not use CHECK_1.
45656         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45657         (__xstat): Do not use CHECK_1.
45658         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45659         (___xstat64): Do not use CHECK_1.
45661         [BZ #13550]
45662         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45663         definitions.
45664         (CHECK_BOUNDS_HIGH): Likewise.
45665         * string/strcpy.c: Do not include <bp-checks.h>.
45666         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45668 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45670         * nscd/nscd-client.h (__nscd_drop_map_ref):
45671         Add __attribute__ ((unused)).
45672         * nis/nss-nisplus.h (niserr2nss): Likewise.
45674         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45675         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45677         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45678         Remove inline keyword.
45679         * include/rounding-mode.h (round_away): Likewise.
45680         * libio/wfileops.c (adjust_wide_data): Likewise.
45681         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45682         (__m128i_strloadu_tolower): Likewise.
45683         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45684         (__m128i_strloadu_tolower): Likewise.
45685         * time/mktime.c (ydhms_diff): Likewise.
45686         * locale/elem-hash.h (elem_hash): Likewise.
45687         * locale/setlocale.c (setdata): Likewise.
45688         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45689         (re_string_wchar_at): Likewise.
45690         (bitset_not, bitset_merge, bitset_mask): Likewise.
45691         [!(__GNUC__ > 3)] (inline): Remove macro.
45692         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45693         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45694         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45695         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45696         * string/memcmp.c (memcmp_bytes): Likewise.
45697         * locale/programs/locarchive.c (compute_hashval): Likewise.
45698         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45699         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45700         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45701         * nss/getent.c (print_rpc, print_protocols): Likewise.
45702         (print_passwd, print_group, print_aliases): Likewise.
45703         * nis/nss-nisplus.h (niserr2nss): Likewise.
45704         * nscd/connections.c (restart_p): Likewise.
45705         Change return type to bool.
45707 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45709         * Makeconfig (all-Depend-files): Add existing
45710         $(sorted-subdirs:=/Depend) files.
45711         (all-subdirs): Remove nss.
45712         * sysdeps/unix/inet/Subdirs: Add it here instead.
45713         * hesiod/Depend: New file.
45715         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45716         instead of calling alloca.
45718         * io/lseek.c (__lseek): Rename to __libc_lseek.
45719         Define __lseek as an alias.
45721         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45723 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45725         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45726         else clause and remove check for non-standard endianness.
45728 2013-02-04  David S. Miller  <davem@davemloft.net>
45730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45732 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45734         [BZ #13550]
45735         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45736         (__ubp_memchr): Remove prototype.
45737         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45738         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45739         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45740         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45741         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45742         Remove alias.
45743         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45744         (__ubp_memchr): Likewise.
45745         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45746         (__ubp_memchr): Likewise.
45747         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45748         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45749         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45750         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45751         CHECK_STRING.
45752         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45753         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45754         (__getcwd): Do not use CHECK_STRING.
45755         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45756         <bp-checks.h>.
45757         (__real_chown): Do not use CHECK_STRING.
45758         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45759         <bp-checks.h>.
45760         (fchownat): Do not use CHECK_STRING.
45761         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45762         CHECK_STRING.
45763         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45764         <bp-checks.h>.
45765         (__lchown): Do not use CHECK_STRING.
45766         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45767         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45768         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45769         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45771         include <bp-checks.h>.
45772         (truncate64): Do not use CHECK_STRING.
45773         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45774         <bp-checks.h>.
45775         (__real_chown): Do not use CHECK_STRING.
45776         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45777         <bp-checks.h>.
45778         (__lchown): Do not use CHECK_STRING.
45779         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45780         <bp-checks.h>.
45781         (__chown): Do not use CHECK_STRING.
45782         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45783         <bp-checks.h>.
45784         (truncate64): Do not use CHECK_STRING.
45785         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45786         Likewise.
45787         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45788         (__xmknod): Do not use CHECK_STRING.
45789         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45790         <bp-checks.h>.
45791         (__xmknodat): Do not use CHECK_STRING.
45792         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45793         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45795 2013-02-04  Andreas Schwab  <schwab@suse.de>
45797         [BZ #14142]
45798         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45799         * include/netdb.h: Likewise for h_errno.
45800         * elf/tst-stackguard1.c: Include <tls.h>.
45802 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45804         * elf/link.h (struct link_map): Extend the l_addr comment.
45805         * include/link.h (struct link_map): Likewise.
45807 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45809         [BZ #13550]
45810         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45811         (BOUNDED_1): Remove macro.
45812         * debug/backtrace.c: Don't include <bp-checks.h>.
45813         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45814         (__backtrace): Likewise.
45815         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45816         <bp-checks.h>.
45817         (__backtrace): Don't use BOUNDED_1.
45818         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45819         <bp-checks.h>.
45820         (__backtrace): Don't use BOUNDED_1.
45821         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45822         (__backtrace): Don't use BOUNDED_1.
45823         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45824         (shmat): Don't use BOUNDED_N.
45826 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45828         [BZ #13550]
45829         * sysdeps/generic/bp-start.h: Remove file.
45830         * csu/libc-start.c: Don't include <bp-start.h>.
45831         (LIBC_START_MAIN): Set up __environ directly instead of using
45832         INIT_ARGV_and_ENVIRON.
45833         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45834         <bp-start.h>.
45836         [BZ #13550]
45837         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45838         definitions.
45839         (CHECK_FCNTL): Likewise.
45840         (CHECK_N_PAGES): Likewise.
45842         [BZ #13550]
45843         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45844         definitions.
45845         (CHECK_SIGSET_NULL_OK): Likewise.
45846         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45847         <bp-checks.h>.
45848         (sigpending): Don't use CHECK_SIGSET.
45849         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45850         <bp-checks.h>.
45851         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45852         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45853         <bp-checks.h>.
45854         (do_sigsuspend): Don't use CHECK_SIGSET.
45855         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45856         use CHECK_SIGSET.
45857         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45858         (do_sigwait): Don't use CHECK_SIGSET.
45859         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45860         use CHECK_SIGSET.
45861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45862         include <bp-checks.h>.
45863         (sigpending): Don't use CHECK_SIGSET.
45864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45865         include <bp-checks.h>.
45866         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45867         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45868         <bp-checks.h>.
45869         (sigpending): Don't use CHECK_SIGSET.
45870         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45871         <bp-checks.h>.
45872         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45874         [BZ #13550]
45875         * sysdeps/generic/bp-semctl.h: Remove file.
45876         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45877         <bp-checks.h> and <bp-semctl.h>.
45878         (__old_semctl): Don't use CHECK_SEMCTL.
45879         (__new_semctl): Likewise.
45880         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45881         and <bp-semctl.h>.
45882         (__old_semctl): Don't use CHECK_SEMCTL.
45883         (__new_semctl): Likewise.
45884         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45885         <bp-checks.h> and <bp-semctl.h>.
45886         (__old_semctl): Don't use CHECK_SEMCTL.
45887         (__new_semctl): Likewise.
45888         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45889         <bp-checks.h> and <bp-semctl.h>.
45890         (semctl): Don't use CHECK_SEMCTL.
45892         [BZ #13550]
45893         * Makerules (elide-bp-thunks): Remove variable.
45894         (elide-routines.oS): Don't use $(elide-bp-thunks).
45895         (elide-routines.os): Likewise.
45896         (elide-routines.o): Likewise.
45897         (elide-routines.op): Likewise.
45898         (elide-routines.og): Likewise.
45899         (objects): Don't use $(bp-thunks).
45900         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45901         include.
45902         (common-generated): Do not add s-proto-bp.d.
45903         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45904         (int): Likewise.
45905         (typ): Likewise.
45906         Do not generate makefile rules for bounded-pointer thunks.
45907         * sysdeps/generic/bp-thunks.h: Remove file.
45908         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45909         * sysdeps/unix/s-proto-bp.S: Likewise.
45911         [BZ #15062]
45912         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45913         parts of result separately when argument is not close to line from
45914         -i to i and one part of argument is small.
45915         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45916         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45917         * math/libm-test.inc (cacos_test): Add more tests.
45918         (casin_test): Likewise.
45919         (casinh_test): Likewise.
45920         * sysdeps/i386/fpu/libm-test-ulps: Update.
45921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45923 2013-01-31  David S. Miller  <davem@davemloft.net>
45925         * po/de.po: Update from translation team.
45927 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45929         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45931 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45933         * configure.in (_AC_PROG_CC_C89): New definition.
45934         * configure: Regenerate.
45936         * configure.in (AC_PROG_CPP): New definition.
45937         * configure: Regenerate.
45939 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45941         * debug/tst-backtrace.h: New file.
45942         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45943         (ret): Remove variable.
45944         (x): Likewise.
45945         (FAIL): Remove macro.
45946         (NO_INLINE): Likewise.
45947         (fn1): Use match function instead of strstr.
45948         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45949         (ret): Remove variable.
45950         (x): Likewise.
45951         (FAIL): Remove macro.
45952         (NO_INLINE): Likewise.
45953         (fn): Use match function instead of strstr.
45954         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45955         (ret): Remove variable.
45956         (x): Likewise.
45957         (FAIL): Remove macro.
45958         (NO_INLINE): Likewise.
45959         (handle_signal): Use match function instead of strstr.
45960         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45961         (ret): Remove variable.
45962         (x): Likewise.
45963         (FAIL): Remove macro.
45964         (NO_INLINE): Likewise.
45965         (handle_signal): Use match function instead of strstr.
45967 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45969         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45971 2013-01-23  David S. Miller  <davem@davemloft.net>
45973         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45974         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45975         argument of CAS if possible.
45976         * sysdeps/sparc/sparc64/bits/atomic.h
45977         (__arch_compare_and_exchange_val_32_acq): Likewise.
45978         (__arch_compare_and_exchange_val_64_acq): Likewise.
45980 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45982         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45983         * sysdeps/posix/ulimit.c: ... this.
45984         Include <limits.h>.
45985         * sysdeps/unix/bsd/ulimit.c: Remove file.
45987 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45989         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45990         (LDFLAGS-tst-array5): Likewise.
45992 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45994         [BZ #15036]
45995         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45996         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45997         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45998         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46000 2013-01-21  David S. Miller  <davem@davemloft.net>
46002         * sysdeps/sparc/backtrace.c: New file.
46003         * sysdeps/sparc/sparc32/backtrace.h: New file.
46004         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46005         * sysdeps/sparc/sparc64/backtrace.h: New file.
46006         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46007         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46008         -funwind-tables.
46010 2013-01-21  Andreas Schwab  <schwab@suse.de>
46012         [BZ #15020]
46013         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46014         closed its stdout.
46016 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46019         "mpa2.h".
46020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46022 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46023             Mark Mitchell  <mark@codesourcery.com>
46024             Tom de Vries  <tom@codesourcery.com>
46025             Paul Pluzhnikov  <ppluzhnikov@google.com>
46027         * debug/tst-backtrace2.c: New file.
46028         * debug/tst-backtrace3.c: Likewise.
46029         * debug/tst-backtrace4.c: Likewise.
46030         * debug/tst-backtrace5.c: Likewise.
46031         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46032         (CFLAGS-tst-backtrace3.c): Likewise.
46033         (CFLAGS-tst-backtrace4.c): Likewise.
46034         (CFLAGS-tst-backtrace5.c): Likewise.
46035         (LDFLAGS-tst-backtrace2): Likewise.
46036         (LDFLAGS-tst-backtrace3): Likewise.
46037         (LDFLAGS-tst-backtrace4): Likewise.
46038         (LDFLAGS-tst-backtrace5): Likewise.
46039         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46040         tst-backtrace4 and tst-backtrace5.
46042 2013-01-18  Anton Blanchard  <anton@samba.org>
46043             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46045         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46046         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46047         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46048         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46050         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46051         "+r" and remove output regs list as redundant.  Add explicit inline
46052         asm to specify register of return val to work around compiler codegen
46053         bug.  Remove (int) cast on return value.  Add return type parameter to
46054         use in macro so that this macro does not truncate return value for
46055         64-bit values.
46056         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46057         pass to INTERNAL_VSYSCALL_NCS.
46058         (INLINE_VSYSCALL): Add 'long int' as return type to
46059         INTERNAL_VSYSCALL_NCS macro invocation.
46060         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46061         INTERNAL_VSYSCALL_NCS macro invocation.
46062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46064 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46066         [BZ #14496]
46067         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46068         Fix application of SIMD FP exception mask.
46070         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46071         mp_no from a power of two.
46072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46073         __mpexp_twomm1.  Use __pow_mp.
46075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46076         multiplication.
46078 2013-01-17  David S. Miller  <davem@davemloft.net>
46080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46082 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46084         [BZ #15023]
46085         * include/complex.h: Condition contents on [!_COMPLEX_H].
46086         (__kernel_casinhf): New prototype.
46087         (__kernel_casinh): Likewise.
46088         (__kernel_casinhl): Likewise.
46089         * math/Makefile (libm_calls): Add k_casinh.
46090         * math/k_casinh.c: New file.
46091         * math/k_casinhf.c: Likewise.
46092         * math/k_casinhl.c: Likewise.
46093         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46094         finite nonzero arguments.
46095         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46096         finite nonzero arguments.
46097         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46098         finite nonzero arguments.
46099         * math/s_casinh.c: Do not include <float.h>.
46100         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46101         * math/s_casinhf.c: Do not include <float.h>.
46102         (__casinhf): Move code for finite nonzero arguments to
46103         k_casinhf.c.
46104         * math/s_casinhl.c: Do not include <float.h>.
46105         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46106         redefine.
46107         (__casinhl): Move code for finite nonzero arguments to
46108         k_casinhl.c.
46109         * math/libm-test.inc (cacos_test): Add more tests.
46110         * sysdeps/i386/fpu/libm-test-ulps: Update.
46111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46113 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46115         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46116         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46117         [!HAVE_MREMAP]: Remove [defined linux] case.
46118         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46120 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46122         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46124 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46126         * elf/elf.h (R_386_SIZE32): New relocation.
46127         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46128         R_386_SIZE32.
46129         (elf_machine_rela): Likewise.
46130         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46131         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46133 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46135         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46136         (FP_FAST_FMA): Do not define.
46137         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46138         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46139         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46140         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46141         !_SOFT_FLOAT]: Likewise.
46142         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46144         value.
46145         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46146         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46147         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46148         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46149         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46150         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46151         file.
46153 2013-01-16  Andreas Schwab  <schwab@suse.de>
46155         [BZ #14327]
46156         * include/stdlib.h (__mktemp): Add declaration.
46157         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46158         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46160 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46162         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46163         definitions.
46164         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46165         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46166         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46167         definitions here.
46168         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46169         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46170         definitions.
46171         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46172         and ONE.
46173         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46174         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46175         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46176         definitions.
46177         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46178         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46179         definitions.
46180         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46182         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46184 2013-01-15  David S. Miller  <davem@davemloft.net>
46186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46187         trunc{,f} to libm-sysdep_routes.
46188         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46190         file.
46191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46193         file.
46194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46195         file.
46196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46198         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46199         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46200         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46201         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46202         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46203         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46206         nearbyint{,f} to libm-sysdep_routes.
46207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46209         New file.
46210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46211         file.
46212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46213         New file.
46214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46215         file.
46216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46219         file.
46220         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46222         file.
46223         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46224         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46225         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46227         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46228         libc_feholdexcept and libc_fesetenv.
46230 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46232         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46234 2013-01-14  David S. Miller  <davem@davemloft.net>
46236         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46237         (SPARC_ASM_VIS2_IFUNC): Likewise.
46238         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46240         use of 'siam' instruction.
46241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46242         Likewise.
46243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46244         Likewise.
46245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46246         Likewise.
46247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46252         file.
46253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46254         file.
46255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46256         file.
46257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46258         file.
46259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46264         new VIS2 routines.
46265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46268         Likewise.
46269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46274         routines to libm-sysdep_routines.
46275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46278         fdim/fdimf to libm-sysdep_routines.
46279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46280         file.
46281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46283         file.
46284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46287         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46288         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46289         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46290         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46292 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46294         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46295         to optimize copies.
46297         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46302         local variable MPTWO.
46303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46304         Likewise.
46306 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46308         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46309         GLOB_NOESCAPE.
46311 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46313         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46315 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46317         * manual/pattern.texi (glob_t): Document gl_flags.
46318         (glob64_t): Likewise.
46320 2013-01-11  David S. Miller  <davem@davemloft.net>
46322         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46323         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46324         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46325         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46326         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46327         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46328         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46329         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46330         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46331         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46332         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46333         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46334         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46336         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46337         sparc V9 rather than using V8 code.
46338         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46339         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46341         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46342         Move to...
46343         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46344         Here.
46346 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46348         [BZ #14941]
46349         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46350         not in the main loop.
46351         * configure: Regenerated.
46353 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46355         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46356         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46357         to just #else.
46358         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46359         [!__GLIBC_HAVE_LONG_LONG] case.
46360         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46361         condition to just #else.
46362         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46363         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46364         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46365         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46366         unconditional.
46367         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46368         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46369         #elif condition to just #else.
46370         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46371         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46372         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46373         #elif condition to just #else.
46375 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46377         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46378         (EF_MIPS_ARCH_64): Fix value.
46379         (EF_MIPS_ARCH_32R2): New.
46380         (EF_MIPS_ARCH_64R2): New.
46382 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46384         * Makeconfig (+link-pie-before-libc): New.
46385         (+link-pie-after-libc): Likewise.
46386         (+link-pie-tests): Likewise.
46387         (+link-pie): Rewritten.
46388         (link-before-libc): Remove $(config-LDFLAGS).
46389         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46390         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46391         (config-LDFLAGS): Renamed to ...
46392         (rtld-LDFLAGS): This.
46393         (rtld-tests-LDFLAGS): New macro.
46394         (link-libc-rpath-link): Likewise.
46395         (link-libc-tests-rpath-link): Likewise.
46396         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46397         (link-libc): Prepand $(link-libc-rpath-link).
46398         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46399         (test-program-prefix): New macro.
46400         (test-via-rtld-prefix): Likewise.
46401         (test-program-cmd): Likewise.
46402         (host-test-program-cmd): Likewise.
46403         * Makefile ($(common-objpfx)testrun.sh): Replace
46404         $(run-program-prefix) with $(test-program-prefix).
46405         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46406         $(rtld-LDFLAGS).
46407         ($(common-objpfx)shlib.lds): Likewise.
46408         (build-module-helper): Likewise.
46409         ($(common-objpfx)format.lds): Likewise.
46410         * Rules (binaries-pie-tests): New.
46411         (binaries-pie-notests): Likewise.
46412         (binaries-pie): Rewritten.
46413         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46414         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46415         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46416         (make-test-out): Replace $(host-built-program-cmd) with
46417         $(host-test-program-cmd).
46418         * config.make.in (build-hardcoded-path-in-tests): New variable.
46419         * configure.in (--enable-hardcoded-path-in-tests): New configure
46420         option.
46421         (hardcoded_path_in_tests): New AC_SUBST.
46422         * configure: Regenerated.
46423         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46424         $(built-program-cmd) with $(test-program-cmd).
46425         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46426         (test_program_cmd): This.
46427         * elf/Makefile ($(objpfx)order.out): Run test with
46428         $(test-program-prefix).
46429         ($(objpfx)order2.out): Likewise.
46430         ($(objpfx)tst-initorder.out): Likewise.
46431         ($(objpfx)tst-initorder2.out): Likewise.
46432         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46433         $(test-program-cmd).
46434         ($(objpfx)tst-array1-static.out): Likewise.
46435         ($(objpfx)tst-array2.out): Likewise.
46436         ($(objpfx)tst-array3.out): Likewise.
46437         ($(objpfx)tst-array4.out): Likewise.
46438         ($(objpfx)tst-array5.out): Likewise.
46439         ($(objpfx)tst-array5-static.out): Likewise.
46440         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46441         $(test-program-cmd).
46442         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46443         $(run-program-prefix) with $(test-program-prefix).
46444         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46445         (test_program_prefix): This.
46446         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46447         $(run-program-prefix) with $(test-program-prefix).
46448         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46449         (test_program_prefix): This.
46450         * iconvdata/tst-tables.sh: Likewise.
46451         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46452         $(run-program-prefix) with $(test-program-prefix).
46453         ($(objpfx)tst-translit.out): Likewise.
46454         ($(objpfx)tst-gettext2.out): Likewise.
46455         ($(objpfx)tst-gettext4.out): Likewise.
46456         ($(objpfx)tst-gettext6.out): Likewise.
46457         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46458         (test_program_prefix): This.
46459         * intl/tst-gettext2.sh: Likewise.
46460         * intl/tst-gettext4.sh  Likewise.
46461         * intl/tst-gettext6.sh: Likewise.
46462         * intl/tst-translit.sh: Likewise.
46463         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46464         with $(test-program-cmd).
46465         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46466         $(run-program-prefix) with $(test-program-prefix).
46467         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46468         (test_program_prefix): This.
46469         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46470         $(run-program-prefix) with $(test-program-prefix).
46471         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46472         (test_program_prefix): This.
46473         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46474         * posix/Makefile ($(objpfx)globtest.out): Replace
46475         $(run-via-rtld-prefix) and $(test-wrapper) with
46476         $(test-program-prefix) and $(test-via-rtld-prefix).
46477         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46478         $(test-program-prefix).
46479         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46480         $(host-test-program-cmd).
46481         (tst-spawn-ARGS): Likewise.
46482         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46483         $(test-program-prefix).
46484         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46485         (test_via_rtld_prefix): This.
46486         (test_wrapper): Renamed to ...
46487         (test_program_prefix): This.
46488         (run_program_prefix): Replaced by test_program_prefix.
46489         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46490         (test_program_prefix): This.
46491         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46492         with $(host-test-program-cmd).
46493         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46494         $(run-program-prefix) with $(test-program-prefix).
46495         ($(objpfx)tst-printf.out): Likewise.
46496         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46497         $(test-program-cmd).
46498         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46499         (test_program_prefix): This.
46500         * stdio-common/tst-unbputc.sh: Likewise.
46501         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46502         $(run-program-prefix) with $(test-program-prefix).
46503         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46504         (test_program_prefix): This.
46505         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46506         $(built-program-cmd) with $(test-program-cmd).
46508 2013-01-11  Andreas Jaeger  <aj@suse.de>
46510         [BZ #15003]
46511         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46512         value. Sync with Linux 3.7.
46514 2013-01-10  David S. Miller  <davem@davemloft.net>
46516         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46517         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46518         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46520 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46522         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46523         never set.
46524         * configure: Regenerated.
46526 2013-01-10  David S. Miller  <davem@davemloft.net>
46528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46529         sparc V9 rather than using V8 code.
46530         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46531         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46533 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46535         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46536         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46537         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46538         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46539         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46540         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46541         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46542         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46543         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46544         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46545         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46546         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46547         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46548         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46549         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46550         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46551         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46552         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46553         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46554         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46555         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46556         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46557         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46558         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46559         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46560         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46561         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46563 2013-01-10  David S. Miller  <davem@davemloft.net>
46565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46567 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46569         * posix/Makefile (tests-static): New variable.
46570         (tests): Add $(tests-static).
46571         (tst-exec-static-ARGS): New variable.
46572         (tst-spawn-static-ARGS): Likewise.
46573         * posix/tst-exec-static.c: New file.
46574         * posix/tst-spawn-static.c: Likewise.
46575         * posix/tst-exec.c: Support run directly.
46576         * posix/tst-spawn.c: Likewise.
46578 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46580         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46581         long.
46582         * math/bits/mathcalls.h (llrint): Likewise.
46583         (llround): Likewise.
46584         * stdlib/stdlib.h (struct drand48_data): Likewise.
46585         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46586         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46587         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46588         Likewise.
46589         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46590         Likewise.
46591         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46592         (elf_greg_t): Likewise.
46593         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46594         (__jmp_buf): Likewise.
46595         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46596         definitions.
46597         (llrint): Likewise, for all definitions.
46598         (llrintl): Likewise.
46600         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46601         Remove [__GNUC__] condition.
46602         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46603         condition to just [__USE_ISOC99].
46604         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46606 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46608         [BZ #14200]
46609         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46610         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46611         defined.
46612         (_POSIX_V6_ILP32_OFF32): Likewise.
46613         (_XBS5_ILP32_OFF32): Likewise.
46614         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46615         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46617 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46619         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46622         doubles __mpexp_twomm1.  Adjust usage.
46623         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46624         Remove.
46626 2013-01-10  Andreas Schwab  <schwab@suse.de>
46628         [BZ #14964]
46629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46630         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46632 2013-01-09  David S. Miller  <davem@davemloft.net>
46634         [BZ #15003]
46635         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46636         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46637         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46638         (TCP_FASTOPEN): Define.
46639         (tcp_repair_opt): New structure.
46640         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46641         enum values.
46642         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46643         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46644         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46645         (tcp_cookie_transactions): New structure.
46647 2013-01-09  Anton Blanchard  <anton@samba.org>
46649         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46650         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46651         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46652         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46654 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46656         * include/features.h (__USE_ANSI): Remove.
46658 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46660         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46662         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46664 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46666         * sysdeps/s390/fpu/libm-test-ulps: Update.
46668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46670         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46671         (__acr): Likewise.
46672         (__cpy): Likewise.
46673         (norm): Likewise.
46674         (denorm): Likewise.
46675         (__mp_dbl): Likewise.
46676         (__dbl_mp): Likewise.
46677         (add_magnitudes): Likewise.
46678         (sub_magnitudes): Likewise.
46679         (__add): Likewise.
46680         (__sub): Likewise.
46681         (__mul): Likewise.
46682         (__inv): Likewise.
46683         (__dvd): Likewise.
46684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46685         (__acr): Likewise.
46686         (__cpy): Likewise.
46687         (norm): Likewise.
46688         (denorm): Likewise.
46689         (__mp_dbl): Likewise.
46690         (__dbl_mp): Likewise.
46691         (add_magnitudes): Likewise.
46692         (sub_magnitudes): Likewise.
46693         (__add): Likewise.
46694         (__sub): Likewise.
46695         (__mul): Likewise.
46696         (__inv): Likewise.
46697         (__dvd): Likewise.
46698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46699         (__acr): Likewise.
46700         (__cpy): Likewise.
46701         (norm): Likewise.
46702         (denorm): Likewise.
46703         (__mp_dbl): Likewise.
46704         (__dbl_mp): Likewise.
46705         (add_magnitudes): Likewise.
46706         (sub_magnitudes): Likewise.
46707         (__add): Likewise.
46708         (__sub): Likewise.
46709         (__mul): Likewise.
46710         (__inv): Likewise.
46711         (__dvd): Likewise.
46713 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46715         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46716         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46717         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46718         2 && __USE_EXTERN_INLINES]: Likewise.
46720 2013-01-08  Andreas Jaeger  <aj@suse.de>
46722         [BZ# 14985]
46723         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46724         Remove.
46725         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46726         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46728 2013-01-07  Anton Blanchard  <anton@samba.org>
46730         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46731         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46732         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46733         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46734         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46735         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46736         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46737         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46739         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46740         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46741         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46742         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46744         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46745         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46747         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46748         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46749         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46750         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46751         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46753         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46754         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46755         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46756         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46757         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46759         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46760         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46762         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46765         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46766         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46768         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46770         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46771         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46772         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46774 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46776         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46777         (__MALLOC_PMT): Likewise.
46778         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46779         [__GNUC__], only on [_LIBC].
46780         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46781         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46782         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46783         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46784         forward declaration.
46785         (realloc_hook_ini): Likewise.
46786         (memalign_hook_ini): Likewise.
46787         (__libc_memalign): Do not use __MALLOC_PMT in variable
46788         declaration.
46789         (__libc_valloc): Likewise.
46790         (__libc_pvalloc): Likewise.
46791         (__libc_calloc): Likewise.
46792         (__posix_memalign): Likewise.
46794         [BZ #14996]
46795         * math/s_casinh.c: Include <float.h>.
46796         (__casinh): Do not do computation with squaring and square root
46797         for large arguments.
46798         * math/s_casinhf.c: Include <float.h>.
46799         (__casinhf): Do not do computation with squaring and square root
46800         for large arguments.
46801         * math/s_casinhl.c: Include <float.h>.
46802         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46803         (__casinhl): Do not do computation with squaring and square root
46804         for large arguments.
46805         * math/libm-test.inc (casin_test): Add more tests.
46806         (casinh_test): Likewise.
46807         * sysdeps/i386/fpu/libm-test-ulps: Update.
46808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46810 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46812         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46813         (__x86_64_raw_data_cache_size): Likewise.
46814         (__x86_64_data_cache_size_half): Likewise.
46815         (__x86_64_raw_data_cache_size_half): Likewise.
46816         (__x86_64_shared_cache_size): Likewise.
46817         (__x86_64_raw_shared_cache_size): Likewise.
46818         (__x86_64_shared_cache_size_half): Likewise.
46819         (__x86_64_raw_shared_cache_size_half): Likewise.
46820         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46821         to ...
46822         (__x86_data_cache_size): This.
46823         (__x86_64_raw_data_cache_size): Renamed to ...
46824         (__x86_raw_data_cache_size): This.
46825         (__x86_64_data_cache_size_half): Renamed to ...
46826         (__x86_data_cache_size_half): This.
46827         (__x86_64_raw_data_cache_size_half): Renamed to ...
46828         (__x86_raw_data_cache_size_half): This.
46829         (__x86_64_shared_cache_size): Renamed to ...
46830         (__x86_shared_cache_size): This.
46831         (__x86_64_raw_shared_cache_size): Renamed to ...
46832         (__x86_raw_shared_cache_size): This.
46833         (__x86_64_shared_cache_size_half): Renamed to ...
46834         (__x86_shared_cache_size_half): This.
46835         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46836         (__x86_raw_shared_cache_size_half): This.
46837         * sysdeps/x86_64/memcpy.S: Updated.
46838         * sysdeps/x86_64/memset.S: Likewise.
46839         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46840         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46841         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46843 2013-01-04  David S. Miller  <davem@davemloft.net>
46845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46847 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46849         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46850         1 to avoid redefinition warning.
46851         (__USE_GNU): Don't define.
46852         (init_signaling_nan): Protoize.
46854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46856 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46858         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46860         (__cpymn): Likewise.
46861         (norm): Remove commented code.
46862         (denorm): Likewise.
46863         (__mp_dbl): Likewise.
46864         (__inv): Likewise.
46865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46866         (__cpymn): Likewise.
46867         (norm): Remove commented code.
46868         (denorm): Likewise.
46869         (__mp_dbl): Likewise.
46870         (__inv): Likewise.
46872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46873         mp_no value for 1.0 and 2.0.
46874         (norm): Use RADIXI instead of radixi.d.
46875         (denorm): Likewise.
46876         (__mul): Use 0.0 instead of zero.d.
46877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46878         mp_no value for 1.0 and 2.0.
46879         (norm): Use RADIXI instead of radixi.d.
46880         (denorm): Likewise.
46881         (__mul): Use 0.0 instead of zero.d.
46883 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46885         [BZ #14994]
46886         * math/s_casinh.c (__casinh): Reduce finite argument to first
46887         quadrant then set signs of results at the end.
46888         * math/s_casinhf.c (__casinhf): Likewise.
46889         * math/s_casinhl.c (__casinhl): Likewise.
46890         * math/libm-test.inc (casin_test): Add more tests.
46891         (casinh_test): Likewise.
46892         * sysdeps/i386/fpu/libm-test-ulps: Update.
46893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46895 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46897         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46899         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46901         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46902         declarations.
46903         (denorm): Likewise.
46904         (__mp_dbl): Likewise.
46905         (__inv): Likewise.
46907         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46908         and adjust the header comment.
46910         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46911         variable name from declaration.
46913 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46916         Initialize COMMON_CPUID_INDEX_7 element.
46917         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46918         (CPUID_RTM): Likewise.
46919         (HAS_RTM): Likewise.
46920         (COMMON_CPUID_INDEX_7): New enum.
46922 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46924         [BZ #14981]
46925         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46926         size is zero, record memory as freed.
46928 2013-01-03  Andreas Jaeger  <aj@suse.de>
46930         * po/ia.po: Add new Interlingua translation.
46932 2012-01-03  Allan McRae  <allan@archlinux.org>
46934         * locale/programs/localedef.c: Fix description of '--posix' flag.
46936 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46938         * NEWS: Update dates in second copyright notice.
46939         * README: Update copyright dates in example.
46940         * manual/libc.texinfo: Update copyright dates.
46941         * scripts/test-installation.pl: Update copyright date in --version
46942         output.
46944         * hurd/ctty-input.c: Fix copyright notice formatting.
46945         * hurd/ctty-output.c: Likewise.
46946         * hurd/dtable.c: Likewise.
46947         * hurd/hurd-raise.c: Likewise.
46948         * hurd/hurdprio.c: Likewise.
46949         * hurd/msgportdemux.c: Likewise.
46950         * misc/sys/file.h: Likewise.
46951         * misc/sys/ioctl.h: Likewise.
46952         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46953         * sysdeps/mach/hurd/chdir.c: Likewise.
46954         * sysdeps/mach/hurd/fchdir.c: Likewise.
46955         * sysdeps/mach/hurd/rename.c: Likewise.
46956         * sysdeps/mach/hurd/rmdir.c: Likewise.
46957         * sysdeps/mach/hurd/seekdir.c: Likewise.
46958         * sysdeps/mach/hurd/setsid.c: Likewise.
46959         * sysdeps/posix/wait3.c: Likewise.
46961         * All files with FSF copyright notices: Update copyright dates
46962         using scripts/update-copyrights.
46963         * intl/plural.c: Regenerated.
46964         * locale/programs/charmap-kw.h: Likewise.
46965         * locale/programs/locfile-kw.h: Likewise.
46967 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46969         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46970         four values.
46972         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46973         calculation loop and add branch prediction.
46975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46976         check access beyond bounds of m1np.
46978         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46979         MPTWO.
46980         (__inv): Remove local variable MPTWO to use the global
46981         constant.
46982         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46983         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46984         variable MPTWO.
46985         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46986         MP3HALFS static const.
46988 2013-01-01  David S. Miller  <davem@davemloft.net>
46990         * po/ca.po: Update from translation team.
46992 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46994         * scripts/update-copyrights: New file.
46995         * Makeconfig: Reformat copyright notice.
46996         * ctype/ctype.h: Likewise.
46997         * debug/swprintf_chk.c: Likewise.
46998         * elf/dl-cache.c: Likewise.
46999         * elf/dl-debug.c: Likewise.
47000         * elf/dl-object.c: Likewise.
47001         * grp/initgroups.c: Likewise.
47002         * hurd/Makefile: Likewise.
47003         * hurd/hurd/signal.h: Likewise.
47004         * hurd/hurdfault.c: Likewise.
47005         * hurd/hurdioctl.c: Likewise.
47006         * hurd/hurdlookup.c: Likewise.
47007         * hurd/intr-msg.c: Likewise.
47008         * iconv/gconv_open.c: Likewise.
47009         * libio/swprintf.c: Likewise.
47010         * locale/lc-ctype.c: Likewise.
47011         * locale/nl_langinfo.c: Likewise.
47012         * mach/Machrules: Likewise.
47013         * mach/Makefile: Likewise.
47014         * malloc/obstack.h: Likewise.
47015         * manual/Makefile: Likewise.
47016         * manual/tsort.awk: Likewise.
47017         * misc/bits/stab.def: Likewise.
47018         * nis/nis_print_group_entry.c: Likewise.
47019         * nis/nis_table.c: Likewise.
47020         * nis/nss_compat/compat-pwd.c: Likewise.
47021         * nis/nss_compat/compat-spwd.c: Likewise.
47022         * po/Makefile: Likewise.
47023         * posix/fnmatch.c: Likewise.
47024         * posix/regex.h: Likewise.
47025         * resolv/Makefile: Likewise.
47026         * resolv/nss_dns/dns-network.c: Likewise.
47027         * resolv/res_hconf.c: Likewise.
47028         * scripts/gen-sorted.awk: Likewise.
47029         * soft-fp/soft-fp.h: Likewise.
47030         * stdio-common/printf.h: Likewise.
47031         * stdlib/monetary.h: Likewise.
47032         * stdlib/random.c: Likewise.
47033         * stdlib/random_r.c: Likewise.
47034         * sysdeps/generic/Makefile: Likewise.
47035         * sysdeps/gnu/Makefile: Likewise.
47036         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47038         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47041         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47043         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47044         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47045         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47047         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47050         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47051         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47053         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47054         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47056         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47057         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47058         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47059         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47060         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47061         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47062         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47063         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47064         * sysdeps/mach/hurd/errnos.awk: Likewise.
47065         * sysdeps/mach/hurd/fork.c: Likewise.
47066         * sysdeps/mach/hurd/getcwd.c: Likewise.
47067         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47068         * sysdeps/mach/hurd/mmap.c: Likewise.
47069         * sysdeps/mach/hurd/utimes.c: Likewise.
47070         * sysdeps/mach/hurd/xmknod.c: Likewise.
47071         * sysdeps/posix/profil.c: Likewise.
47072         * sysdeps/posix/readdir_r.c: Likewise.
47073         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47074         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47075         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47076         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47078         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47079         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47080         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47082         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47083         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47084         * sysdeps/pthread/lio_listio.c: Likewise.
47085         * sysdeps/sparc/dl-procinfo.h: Likewise.
47086         * sysdeps/unix/i386/sysdep.S: Likewise.
47087         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47088         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47089         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47090         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47092         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47093         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47094         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47095         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47096         * sysdeps/wordsize-32/divdi3.c: Likewise.
47097         * time/sys/time.h: Likewise.
47098         * wcsmbs/Makefile: Likewise.
47100 2013-01-01  David S. Miller  <davem@davemloft.net>
47102         * po/fr.po: Update from translation team.
47104         * catgets/gencat.c: Update copyright year.
47105         * csu/version.c: Likewise.
47106         * debug/catchsegv.sh: Likewise.
47107         * debug/pcprofiledump.c: Likewise.
47108         * debug/xtrace.sh: Likewise.
47109         * elf/ldconfig.c: Likewise.
47110         * elf/ldd.bash.in: Likewise.
47111         * elf/pldd.c: Likewise.
47112         * elf/sotruss.ksh: Likewise.
47113         * elf/sprof.c: Likewise.
47114         * iconv/iconv_prog.c: Likewise.
47115         * iconv/iconvconfig.c: Likewise.
47116         * locale/programs/locale.c: Likewise.
47117         * locale/programs/localedef.c: Likewise.
47118         * login/programs/pt_chown.c: Likewise.
47119         * malloc/memusage.sh: Likewise.
47120         * malloc/memusagestat.c: Likewise.
47121         * malloc/mtrace.pl: Likewise.
47122         * nscd/nscd.c: Likewise.
47123         * nss/getent.c: Likewise.
47124         * nss/makedb.c: Likewise.
47125         * posix/getconf.c: Likewise.
47127 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47129         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47130         numbers.
47132 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47134         * math/bits/mathcalls.h (modf): Use __nonnull.
47136 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47138         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47139         (split): Use macro CN instead of the bare value.
47140         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47141         could be used.
47142         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47143         instead of the bare value.
47144         (power1): Likewise.
47146 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47148         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47149         __ATAN_TWOM.
47150         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47152         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47153         their values.
47154         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47155         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47156         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47157         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47159 2012-12-28  Andreas Jaeger  <aj@suse.de>
47161         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47162         values are from Linux 3.7.
47164         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47165         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47167 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47169         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47170         TRUE case.
47172         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47173         (norm): Likewise.
47174         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47175         variables with preprocessor constants.
47176         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47177         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47178         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47180 2012-12-27  Bruno Haible  <bruno@clisp.org>
47182         [BZ #14317]
47183         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47184         only if needed.
47186 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47189         and use variable directly.
47190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47192         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47193         MPONE.
47194         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47195         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47196         variable MPONE.
47197         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47198         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47199         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47200         include directive.  Remove local variable MPONE.
47201         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47202         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47203         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47205 2012-12-25  David S. Miller  <davem@davemloft.net>
47207         * version.h (RELEASE): Set to "development".
47208         (VERSION): Set to "2.17.90".
47209         * NEWS: Add 2.18 section.
47211 2012-12-21  David S. Miller  <davem@davemloft.net>
47213         * po/hr.po: Update from translation team.
47215 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47217         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47219 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47221         * NEWS:  Mention new memcpy for MIPS.
47223 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47225         * manual/contrib.texi (Contributors): Spelling correction.
47227 2012-12-15  David S. Miller  <davem@davemloft.net>
47229         * po/ru.po: Update from translation team.
47231 2012-12-13  David S. Miller  <davem@davemloft.net>
47233         * NEWS: Mention IFUNC testsuite enhancements.
47235         * po/pl.po: Update from translation team.
47236         * po/bg.po: Likewise.
47238         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47239         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47241 2012-12-11  David S. Miller  <davem@davemloft.net>
47243         * po/sv.po: Update from translation team.
47245         * po/vi.po: Update from translation team.
47247         * po/cs.po: Update from translation team.
47249         * po/de.po: Update from translation team.
47250         * po/eo.po: Likewise.
47251         * po/nl.po: Likewise.
47253 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47255         [BZ #14246]
47256         * manual/argp.texi (Argp Helper Functions): Move node to follow
47257         Argp Parsing State.
47259         [BZ #14872]
47260         * manual/conf.texi (Limits on File System Capacity): Mention if
47261         terminating null is included in the max size.
47263 2012-12-10  Andreas Jaeger  <aj@suse.de>
47265         * po/cs.po: Update from translation team.
47267 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47269         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47270         void pointer and cast to uintptr_t.
47271         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47272         path.
47273         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47274         * sysdeps/s390/s390-64/memset.S: Likewise.
47276 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47278         [BZ #14833]
47279         * menual/message.texi (Message Translation): Fix typos.
47280         (Helper programs for gettext): Likewise.
47282 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47284         [BZ #14898]
47285         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47286         Change to -1.
47288 2012-12-07  David S. Miller  <davem@davemloft.net>
47290         * po/libc.pot: Update.
47292 2012-12-07  Richard Henderson  <rth@redhat.com>
47294         [BZ #10114]
47295         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47296         normal/normal case to before the switch.
47297         (_FP_DIV): Likewise.
47299 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47300             Mike Frysinger  <vapier@gentoo.org>
47302         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47303         check for __NR_fadvise64_64.
47305 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47307         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47308         0, not just to plain "0" as a statement.
47309         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47310         with cw.
47312 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47314         * NEWS: Use sourceware.org in Bugzilla URL.
47316 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47319         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47321         * stdio-common/tst-put-error.c (do_test): Add newline to the
47322         padded test to ensure flush.
47324 2012-12-05  Jeff Law  <law@redhat.com>
47326         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47328 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47330         * README: Don't refer to ports add-on as distributed separately.
47331         Mention AArch64 in list of systems supported in the ports add-on.
47333         * LICENSES: Add more non-FSF copyright and license notices.
47335         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47336         ((unused)).
47338         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47340         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47341         10000 as width of padded output.
47343 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47345         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47347         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47348         variable LX with __attribute__ ((unused)).
47349         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47350         Likewise.
47351         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47353         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47354         with __attribute__ ((unused)).
47356 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47358         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47360 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47362         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47363         (CFLAGS-nldbl-acos.c): New variable.
47364         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47365         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47366         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47367         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47368         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47369         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47370         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47371         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47372         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47373         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47374         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47375         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47376         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47377         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47378         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47379         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47380         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47381         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47382         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47383         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47384         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47385         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47386         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47387         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47388         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47389         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47390         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47391         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47392         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47393         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47394         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47395         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47396         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47397         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47398         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47399         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47400         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47401         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47402         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47403         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47404         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47405         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47406         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47407         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47408         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47409         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47410         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47411         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47412         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47413         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47414         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47415         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47416         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47417         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47418         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47419         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47437         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47438         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47439         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47440         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47441         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47442         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47443         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47444         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47445         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47446         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47447         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47448         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47449         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47450         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47451         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47452         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47453         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47454         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47455         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47456         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47457         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47458         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47459         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47460         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47463         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47465         [BZ #14914]
47466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47467         whole low double instead of just low 47 bits when splitting values
47468         into two parts.
47470 2012-12-03  Allan McRae  <allan@archlinux.org>
47472         * manual/stdio.texi (Predefined Printf Handlers): Remove
47473         @hsep and @vsep usage.
47475 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47477         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47478         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47480 2012-12-03  Jeff Law  <law@redhat.com>
47482         * time/sys/time.h (settimeofday): Do not mark TV argument
47483         as __nonnull.
47485 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47487         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47488         when currently writing and seek to current position when not.
47489         * libio/Makefile (tests): Remove bug-fclose1.
47490         * libio/bug-fclose1.c: Delete.
47492 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47494         * manual/arith.texi (feenableexcept): Fix typo.
47495         (fedisableexcept): Likewise.
47497 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47499         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47500         second, differently-typed declaration, rather than a cast.
47502 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47504         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47505         * include/rpc/svc.h: ... here.
47507 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47509         [BZ #13013]
47510         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47511         depending n and resplen2 to catch cases where answer
47512         equals answerp2.
47514 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47516         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47517         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47519 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47523 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47525         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47527 2012-11-28  Jeff Law  <law@redhat.com>
47529         [BZ #13761]
47530         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47531         dataset_temporary.  Track alloca usage into alloca_used.
47532         If dataset is large allocate and release it via malloc/free.
47534 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47536         [BZ #14197]
47537         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47539 2012-11-28  David S. Miller  <davem@davemloft.net>
47541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47543 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47545         [BZ #14803]
47546         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47547         of pi/2 rounded to nearest to 64 bits.
47548         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47549         nearest to 64 bits.
47550         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47551         bits.
47553 2012-11-28  Jeff Law <law@redhat.com>
47554             Martin Osvald <mosvald@redhat.com>
47556         [BZ #14889]
47557         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47558         * sunrpc/svc.c: Include time.h.
47559         (__svc_accept_failed): New function.
47560         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47561         any reason other than EINTR, call __svc_accept_failed.
47562         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47563         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47565 2012-11-28  Andreas Schwab  <schwab@suse.de>
47567         * scripts/abilist.awk: Also handle indirect functions in .opd
47568         section.
47570 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47572         [BZ #13881]
47573         * sysdeps/x86/fpu/powl_helper.c: New file.
47574         * sysdeps/x86/fpu/Makefile: Likewise.
47575         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47576         (p3): New object.
47577         (__ieee754_powl): Use __powl_helper for finite arguments except
47578         integer exponents below 8.
47579         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47580         (p3): New object.
47581         (__ieee754_powl): Use __powl_helper for finite arguments except
47582         integer exponents below 8.
47583         * math/libm-test.inc (pow_test): Add more tests and enable some
47584         previously disabled tests.
47585         * sysdeps/i386/fpu/libm-test-ulps: Update.
47586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47588 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47589             Carlos O'Donell  <carlos_odonell@mentor.com>
47591         * nss/makedb.c (is_prime): Assert that input is odd and greater
47592         than 4.  Note that fact in a comment too.
47593         (next_prime): Add 4 to input.
47595 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47597         [BZ #11741]
47598         * libio/Makefile (tests): Add test case tst-fwrite-error.
47599         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47600         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47601         * libio/tst-fwrite-error.c: New test case.
47603 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47605         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47606         before casting to void *.
47607         * include/libc-internal.h (__pointer_type): New macro.
47608         (__integer_if_pointer_type_sub): Likewise.
47609         (__integer_if_pointer_type): Likewise.
47610         (cast_to_integer): Likewise.
47611         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47612         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47613         before casting to atomic64_t.
47614         (atomic_exchange_acq): Likewise.
47615         (__arch_exchange_and_add_body): Likewise.
47616         (__arch_add_body): Likewise.
47617         (atomic_add_negative): Likewise.
47618         (atomic_add_zero): Likewise.
47620 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47622         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47623         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47624         (add_fdes): Likewise.
47625         (linear_search_fdes): Likewise.
47626         (binary_search_unencoded_fdes): Likewise.
47628 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47630         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47632 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47634         * configure.in: Autodetect C++ header directories.
47635         * configure: Regenerated.
47637 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47639         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47641 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47645 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47647         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47648         LDBL_MANT_DIG == 106]: Disable some tests.
47649         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47650         Likewise.
47651         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47652         Likewise.
47654         [BZ #14871]
47655         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47656         input for small inputs.  Return +/- pi/2 for large inputs.
47657         * math/libm-test.inc (atan_test): Add more tests.
47659         * sysdeps/generic/unwind-dw2-fde-glibc.c
47660         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47661         __attribute__ ((unused)).
47663         [BZ #14645]
47664         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47665         x * y if x and y are nonzero and z is zero.
47667         [BZ #14811]
47668         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47669         nonzero exponents with absolute value below 0x1p-117 to +/-
47670         0x1p-117.
47672         [BZ #14869]
47673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47674         up arguments below 2**-450, not just those below 2**-500.
47675         * math/libm-test.inc (hypot_test): Add another test.
47677         [BZ #14868]
47678         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47679         Return a+b for ratio over 2**120, not 2**60.
47680         * math/libm-test.inc (hypot_test): Add another test.
47682         * math/libm-test.inc (clog_test): Use
47683         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47684         (clog10_test): Likewise.
47686         [BZ #6778]
47687         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47689 2012-11-22  Andreas Schwab  <schwab@suse.de>
47691         * sysdeps/i386/fpu/libm-test-ulps: Update.
47693 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47695         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47696         printf output with newline.
47698 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47700         [BZ #14865]
47701         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47702         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47703         -z nodlopen, -z initfirst and -z execstack support.
47704         * configure: Regenerated.
47706         * elf/elf.h (DF_1_NODIRECT): New macro.
47707         (DF_1_IGNMULDEF): Likewise.
47708         (DF_1_NOKSYMS): Likewise.
47709         (DF_1_NOHDR): Likewise.
47710         (DF_1_EDITED): Likewise.
47711         (DF_1_NORELOC): Likewise.
47712         (DF_1_SYMINTPOSE): Likewise.
47713         (DF_1_GLOBAUDIT): Likewise.
47714         (DF_1_SINGLETON): Likewise.
47715         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47716         DT_1_SUPPORTED_MASK bits.
47717         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47719 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47721         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47723 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47725         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47726         macro.
47728         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47729         (sendmmsg): Move declarations...
47730         * socket/sys/socket.h: ... here.
47731         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47732         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47733         include it from...
47734         * socket/recvmmsg.c: ... this new file.
47735         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47736         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47737         definition of __sendmmsg hidden.
47738         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47739         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47740         Move ENOSYS stub into and include it from...
47741         * socket/sendmmsg.c: ... this new file.
47742         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47743         (sysdep_routines): Move recvmmsg and sendmmsg...
47744         * socket/Makefile (routines): ... here.
47745         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47746         (GLIBC_PRIVATE): Add __sendmmsg.
47747         * include/sys/socket.h (__sendmmsg): Add declarations.
47748         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47749         sendmmsg.
47751 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47754         variable I1 with __attribute__ ((unused)).
47755         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47757 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47759         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47760         DUMMY variables with __attribute__ ((unused)).
47762         * bits/byteswap.h: Include <bits/types.h>.
47763         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47765 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47767         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47768         string_t.  Do not manually set errno.
47769         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47770         length with __strnlen.  Make sure to both set errno and return it on
47771         failure.
47773 2012-11-19  David S. Miller  <davem@davemloft.net>
47775         With help from Joseph Myers.
47776         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47777         very large arguments properly.
47778         * math/libm-test.inc (atan_test): New tests.
47779         (atan2_test): New tests.
47780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47783 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47785         [BZ #14856]
47786         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47787         Define to 3.
47789         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47790         [POSIX] (EADDRNOTAVAIL): Likewise.
47791         [POSIX] (EAFNOSUPPORT): Likewise.
47792         [POSIX] (EALREADY): Likewise.
47793         [POSIX] (ECONNABORTED): Likewise.
47794         [POSIX] (ECONNREFUSED): Likewise.
47795         [POSIX] (ECONNRESET): Likewise.
47796         [POSIX] (EDESTADDRREQ): Likewise.
47797         [POSIX] (EDQUOT): Likewise.
47798         [POSIX] (EHOSTUNREACH): Likewise.
47799         [POSIX] (EIDRM): Likewise.
47800         [POSIX] (EISCONN): Likewise.
47801         [POSIX] (ELOOP): Likewise.
47802         [POSIX] (EMULTIHOP): Likewise.
47803         [POSIX] (ENETDOWN): Likewise.
47804         [POSIX] (ENETUNREACH): Likewise.
47805         [POSIX] (ENOBUFS): Likewise.
47806         [POSIX] (ENODATA): Likewise.
47807         [POSIX] (ENOLINK): Likewise.
47808         [POSIX] (ENOMSG): Likewise.
47809         [POSIX] (ENOPROTOOPT): Likewise.
47810         [POSIX] (ENOSR): Likewise.
47811         [POSIX] (ENOSTR): Likewise.
47812         [POSIX] (ENOTCONN): Likewise.
47813         [POSIX] (ENOTSOCK): Likewise.
47814         [POSIX] (EOPNOTSUPP): Likewise.
47815         [POSIX] (EOVERFLOW): Likewise.
47816         [POSIX] (EPROTO): Likewise.
47817         [POSIX] (EPROTONOSUPPORT): Likewise.
47818         [POSIX] (EPROTOTYPE): Likewise.
47819         [POSIX] (ESTALE): Likewise.
47820         [POSIX] (ETIME): Likewise.
47821         [POSIX] (ETXTBSY): Likewise.
47822         [POSIX] (EWOULDBLOCK): Likewise.
47823         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47824         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47825         [POSIX] (SEEK_CUR): Likewise.
47826         [POSIX] (SEEK_END): Likewise.
47827         [POSIX || UNIX98] (mode_t): Do not require.
47828         [POSIX] (off_t): Likewise.
47829         [POSIX] (pid_t): Likewise.
47830         [POSIX] (sys/stat.h): Do not allow header.
47831         [POSIX] (unistd.h): Likewise.
47832         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47833         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47834         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47835         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47836         require.
47837         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47838         sigevent): Specify elements.
47839         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47840         entry.
47841         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47842         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47844         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47845         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47846         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47847         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47848         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47849         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47850         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47851         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47852         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47853         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47854         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47855         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47856         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47857         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47858         Likewise.
47859         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47860         Likewise.
47861         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47862         Likewise.
47863         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47864         Likewise.
47865         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47866         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47867         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47868         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47869         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47870         Specify lower bound on value.
47871         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47872         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47873         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47874         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47875         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47876         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47877         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47878         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47879         value.
47880         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47881         as optional.
47882         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47883         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47884         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47885         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47886         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47887         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47888         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47889         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47890         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47891         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47892         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47893         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47894         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47895         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47896         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47897         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47898         entry.
47899         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47900         optional.
47901         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47902         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47903         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47904         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47905         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47906         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47907         Likewise.
47908         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47909         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47910         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47911         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47912         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47913         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47914         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47915         as optional.
47916         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47917         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47918         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47919         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47920         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47921         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47922         specify as optional.
47923         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47924         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47925         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47926         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47927         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47928         [XPG3] (NL_LANGMAX): Likewise.
47929         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47930         [POSIX || XPG3] (NL_NMAX): Likewise.
47931         [POSIX || XPG3] (NL_SETMAX): Likewise.
47932         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47933         [XPG3] (NZERO): Likewise.
47934         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47935         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47936         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47937         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47938         (REG_ERANGE): Expect.
47939         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47940         optional-constant.
47941         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47942         Use (void) in prototype.
47943         [POSIX] (*_t): Allow.
47944         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47945         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47946         (WRDE_BADVAL): Expect.
47948         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47949         expect.
47950         [XPG3 || XPG4] (O_RSYNC): Likewise.
47951         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47952         Likewise.
47953         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47954         [XPG3 || XPG4] (sigqueue): Likewise.
47955         [XPG3 || XPG4] (sigtimedwait): Likewise.
47956         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47957         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47958         [XPG3 || XPG4] (vsnprintf): Likewise.
47959         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47960         Likewise.
47961         [XPG3 || XPG4] (blksize_t): Likewise.
47962         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47963         Likewise.
47964         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47965         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47966         [XPG3 || XPG4] (struct itimerspec): Likewise.
47967         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47968         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47969         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47970         [XPG3 || XPG4] (clockid_t): Likewise.
47971         [XPG3 || XPG4] (timer_t): Likewise.
47972         [XPG3 || XPG4] (clock_getres): Likewise.
47973         [XPG3 || XPG4] (clock_gettime): Likewise.
47974         [XPG3 || XPG4] (clock_settime): Likewise.
47975         [XPG3 || XPG4] (nanosleep): Likewise.
47976         [XPG3 || XPG4] (timer_create): Likewise.
47977         [XPG3 || XPG4] (timer_delete): Likewise.
47978         [XPG3 || XPG4] (timer_gettime): Likewise.
47979         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47980         [XPG3 || XPG4] (timer_settime): Likewise.
47981         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47982         [XPG3 || XPG4] (getlogin_r): Likewise.
47983         [XPG3 || XPG4] (pread): Likewise.
47984         [XPG3 || XPG4] (pthread_atfork): Likewise.
47985         [XPG3 || XPG4] (pwrite): Likewise.
47987         [BZ #14835]
47988         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47989         <bits/siginfo.h>.
47991 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47993         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47994         finalizing MALLSTREAM.
47996         * sysdeps/mach/hurd/syncfs.c: New file.
47998 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48000         [BZ #14719]
48001         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48002         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48003         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48004         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48005         (_nss_dns_gethostbyname4_r): Likewise.
48006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48007         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48009 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48011         [BZ #13763]
48012         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48014 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48016         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48017         * elf/cache.c (print_entry): Print ",AArch64" for
48018         FLAG_AARCH64_LIB64
48020         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48021         * elf/cache.c (print_entry): Print ",hard-float" for
48022         FLAG_ARM_LIBHF.
48024 2012-11-18  David S. Miller  <davem@davemloft.net>
48026         With help from Joseph Myers.
48027         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48028         cutoff to 2**-13.
48029         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48030         cutoff to 2**-25.
48031         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48032         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48033         small.
48034         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48035         * math/libm-test.inc (y0_test): New tests.
48036         (y1_test): New tests.
48037         * sysdeps/i386/fpu/libm-test-ulps: Update.
48038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48041 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48043         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48044         64-bit targets.
48045         * configure: Regenerated.
48047 2012-11-17  David S. Miller  <davem@davemloft.net>
48049         [BZ #14811]
48050         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48051         nonzero exponents with absolute value below 0x1p-128 to +/-
48052         0x1p-128.
48054 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48056         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48058         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48060         * posix/getconf-speclist.c: New file.
48061         * posix/posix-envs.def: Likewise.
48062         * posix/confstr.c (START_ENV_GROUP): New macro.
48063         (END_ENV_GROUP): Likewise.
48064         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48065         (KNOWN_PRESENT_ENV_STRING): Likewise.
48066         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48067         (UNKNOWN_ENVIRONMENT): Likewise.
48068         (confstr): Include posix-envs.def instead of handling
48069         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48070         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48071         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48072         (END_ENV_GROUP): Likewise.
48073         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48074         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48075         (UNKNOWN_ENVIRONMENT): Likewise.
48076         (__sysconf): Include posix-envs.def instead of handling associated
48077         cases directly here.
48078         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48079         preprocessing getconf-speclist.c rather than running getconf or
48080         generating empty file.
48082 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48084         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48086 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48088         [BZ #14672]
48089         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48091 2012-11-16  David S. Miller  <davem@davemloft.net>
48093         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48094         smaller than LDBL_EPSILON/2.0L, just return xm1.
48096 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48098         * elf/tst-array1.c (init): Set constructor priority to 1000.
48099         (fini): Set destructor priority to 1000.
48100         * elf/tst-array2dep.c: Likewise.
48102 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48104         [BZ #11741]
48105         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48106         (_IO_new_file_xsputn): Also return EOF if none of the input
48107         data was written when overflow failed.
48108         * libio/iopadn.c (_IO_padn): Likewise.
48109         * libio/iowpadn.c (_IO_wpadn): Likewise.
48110         * stdio-common/tst-put-error.c: Add copyright notice.
48111         (do_test): Add case for printing padded string.
48112         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48113         _IO_padn returned error.
48114         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48115         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48116         return EOF.
48118 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * libio/libioP.h: Add comment note that the references to C++
48121         bits are now obsolete.
48123 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48125         * math/libm-test.inc (check_complex): Use asprintf.
48127 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48129         * debug/pcprofiledump.c (print_version): Update copyright year.
48130         * malloc/memusagestat.c (print_version): Likewise.
48132 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48134         [BZ #14831]
48135         * elf/Makefile (tests): Add tst-audit8.
48136         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48137         ($(objpfx)tst-audit8.out): New target.
48138         (tst-audit8-ENV): New variable.
48139         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48140         audit if l_reloc_result is NULL.
48141         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48142         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48143         * elf/tst-audit8.c: New file.
48145 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48147         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48148         * misc/Makefile (CFLAGS-select.c): Define.
48149         * posix/Makefile (CFLAGS-pause.c): Define.
48151 2012-11-13  David S. Miller  <davem@davemloft.net>
48153         * crypt/Makefile: Move test targets after toplevel Rules
48154         inclusion.  Grab any necessary sysdep routines when linking.
48155         * crypt/md5.c (md5_process_block): Remove define, we will always
48156         name it __md5_process_block.
48157         (md5_finish_ctx): Update md5_process_block call.
48158         (md5_stream): Likewise.
48159         (md5_process_bytes): Likewise.
48160         (md5_process_block): Rename to __md5_process_block and move to ...
48161         * crypt/md5-block.c: ... here.
48162         * crypt/sha256.c (sha256_process_block): Move to ...
48163         * crypt/sha256-block.c: ... here.
48164         * crypt/sha512.c (sha512_process_block): Move to ...
48165         * crypt/sha512-block.c: ... here.
48166         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48167         path.
48168         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48169         * sysdeps/sparc/sparc64/multiarch/Makefile
48170         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48171         crypt subdir.
48172         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48173         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48174         multiarch changes.
48175         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48176         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48177         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48178         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48179         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48180         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48181         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48182         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48184         file.
48185         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48186         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48187         file.
48188         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48190 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48192         * timezone/tzselect.ksh: Update from tzcode git revision
48193         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48194         * timezone/zdump.c: Likewise.
48195         * timezone/zic.c: Likewise.
48196         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48197         in TZVERSION setting, not $(PKGVERSION).
48198         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48199         REPORT_BUGS_TO settings.
48201         [BZ #14838]
48202         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48203         macro.
48205 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48207         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48208         detection to immediately after _FP_ROUND().
48209         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48210         bits are 0.
48212 2012-11-11  David S. Miller  <davem@davemloft.net>
48214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48215         inttypes.h
48216         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48217         __close rather than their public counterparts.
48219 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48221         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48222         file.
48223         [UNIX98] (sem_timedwait): Do not expect.
48224         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48225         [XPG4 || UNIX98] (sockatmark): Do not expect.
48226         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48227         (clock_getcpuclockid): Do not expect.
48228         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48229         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48230         Do not expect.
48231         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48232         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48233         [UNIX98] (vwscanf): Likewise.
48234         [UNIX98] (vswscanf): Likewise.
48236 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48238         * timezone/version.h: Remove file.
48239         * timezone/README: Do not refer to version.h.
48240         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48241         $(objpfx)version.h.
48242         ($(objpfx)zdump.o): Likewise.
48243         ($(objpfx)version.h): New target.
48245         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48246         2012i.
48247         * timezone/README: Don't mention modification to tzselect.ksh.
48248         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48249         work on unmodified tzselect.ksh.  Substitute version numbers in
48250         tzselect.ksh.
48252         * Makefile (format-me): Remove.
48253         (INSTALL): Adjust indentation.  Use commands directly instead of
48254         using $(format-me).
48256         * aclocal.m4 (ACX_PKGVERSION): New macro.
48257         (ACX_BUGURL): Likewise.
48258         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48259         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48260         (REPORT_BUGS_TO): Likewise.
48261         * configure: Regenerated.
48262         * config.h.in (PKGVERSION): New macro.
48263         (REPORT_BUGS_TO): Likewise.
48264         * config.make.in (PKGVERSION): New variable.
48265         (PKGVERSION_TEXI): Likewise.
48266         (REPORT_BUGS_TO): Likewise.
48267         (REPORT_BUGS_TEXI): Likewise.
48268         * Makefile (format-me): Use -I$(common-objpfx)manual.
48269         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48270         ($(common-objpfx)manual/%): New target.
48271         (manual/%): Remove target.
48272         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48273         (print_version): Use PKGVERSION.
48274         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48275         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48276         and REPORT_BUGS_TO.
48277         ($(objpfx)xtrace): Likewise.
48278         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48279         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48280         (print_version): Use PKGVERSION.
48281         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48282         (do_version): Use PKGVERSION.
48283         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48284         REPORT_BUGS_TO.
48285         (common-ldd-rewrite): Likewise.
48286         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48287         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48288         (print_version): Use PKGVERSION.
48289         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48290         * elf/pldd.c (argp_program_bug_address): Remove variable.
48291         (more_help): New function.
48292         (argp): Use more_help.
48293         (print_version): Use PKGVERSION.
48294         * elf/sln.c (main): Use PKGVERSION.
48295         (usage): Use REPORT_BUGS_TO.
48296         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48297         (top level): Use PKGVERSION.
48298         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48299         (print_version): Use PKGVERSION.
48300         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48301         (print_version): Use PKGVERSION.
48302         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48303         (print_version): Use PKGVERSION.
48304         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48305         (print_version): Use PKGVERSION.
48306         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48307         (print_version): Use PKGVERSION.
48308         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48309         (print_version): Use PKGVERSION.
48310         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48311         and BUGURL.
48312         ($(objpfx)memusage): Likewise.
48313         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48314         (do_version): Use PKGVERSION.
48315         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48316         (print_version): Use PKGVERSION.
48317         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48318         ($PKGVERSION): New variable.
48319         ($REPORT_BUGS_TO): Likewise.
48320         (usage): Use $REPORT_BUGS_TO.
48321         (top level): Use $PKGVERSION.
48322         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48323         ($(objpfx)pkgvers.texi): New rule.
48324         ($(objpfx)stamp-pkgvers): Likewise.
48325         * manual/install.texi: Include pkgvers.texi.
48326         (--with-pkgversion): Document new configure option.
48327         (--with-bugurl): Likewise.
48328         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48329         than necessarily for this particular distribution.  Use
48330         REPORT_BUGS_TO for where to report bugs.
48331         * INSTALL: Regenerated.
48332         * manual/libc.texinfo: Include pkgvers.texi.
48333         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48334         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48335         (print_version): Use PKGVERSION.
48336         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48337         (print_version): Use PKGVERSION.
48338         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48339         (print_version): Use PKGVERSION.
48340         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48341         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48342         macro.
48343         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48344         (print_version): Use PKGVERSION.
48345         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48346         (print_version): Use PKGVERSION.
48347         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48348         and PKGVERSION.
48350         * timezone/checktab.awk: Update from tzcode 2012i.
48351         * timezone/ialloc.c: Likewise.
48352         * timezone/private.h: Likewise.
48353         * timezone/scheck.c: Likewise.
48354         * timezone/tzfile.h: Likewise.
48355         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48356         (TZVERSION): Hardcode tzcode version number.
48357         * timezone/zdump.c: Update from tzcode 2012i.
48358         * timezone/zic.c: Likewise.
48359         * timezone/version.h: New file.
48360         * timezone/README: Describe version.h.  Update upstream location.
48362         [BZ #14824]
48363         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48364         (mktemp): Enable declaration.
48365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48366         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48369         Likewise.
48370         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48371         Likewise.
48372         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48373         Likewise.
48374         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48375         Likewise.
48376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48377         Likewise.
48378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48379         Likewise.
48381         [BZ #14821]
48382         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48383         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48384         for copies of such integer values.
48385         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48386         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48388 2012-11-09  Andreas Jaeger  <aj@suse.de>
48390         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48391         definitions and declarations that are provided by
48392         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48394 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48396         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48397         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48398         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48399         definition.
48401 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48403         * elf/elf.h: Update comment before AArch64 relocations.
48405 2012-11-07  David S. Miller  <davem@davemloft.net>
48407         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48408         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48409         (__start_context): Declare.
48410         (__makecontext_ret): Delete.
48411         (__makecontext): Hook up __start_context instead of
48412         __makecontext_ret.
48413         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48414         (sysdep_routines): Add __start_context when in stdlib.
48416 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48418         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48419         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48420         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48421         hardcoded "nm".
48422         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48423         (READELF): New variable.  Use it instead of hardcoded "readelf".
48425 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48427         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48428         * sysdeps/x86/Makefile: Here.
48429         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48430         * sysdeps/x86/tst-xmmymm.sh: This.
48432 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48434         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48435         expectations.
48436         [UNIX98] (pthread_barrier_t): Do not expect.
48437         [UNIX98] (pthread_barrierattr_t): Likewise.
48438         [UNIX98] (pthread_spinlock_t): Likewise.
48439         [UNIX98] (pthread_barrier_destroy): Likewise.
48440         [UNIX98] (pthread_barrier_init): Likewise.
48441         [UNIX98] (pthread_barrier_wait): Likewise.
48442         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48443         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48444         [UNIX98] (pthread_barrierattr_init): Likewise.
48445         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48446         [UNIX98] (pthread_getcpuclockid): Likewise.
48447         [UNIX98] (pthread_mutex_timedlock): Likewise.
48448         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48449         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48450         [UNIX98] (pthread_sigmask): Likewise.
48451         [UNIX98] (pthread_spin_destroy): Likewise.
48452         [UNIX98] (pthread_spin_init): Likewise.
48453         [UNIX98] (pthread_spin_lock): Likewise.
48454         [UNIX98] (pthread_spin_trylock): Likewise.
48455         [UNIX98] (pthread_spin_unlock): Likewise.
48456         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48457         Do not expect.
48458         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48459         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48460         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48461         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48462         [XPG3 || XPG4] (pthread_key_t): Likewise.
48463         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48464         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48465         [XPG3 || XPG4] (pthread_once_t): Likewise.
48466         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48467         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48468         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48469         [XPG3 || XPG4] (pthread_t): Likewise.
48471         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48472         not expect.
48473         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48475         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48476         Change function return type to int.
48478         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48479         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48480         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48481         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48482         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48483         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48484         [!POSIX] (posix_madvise): Likewise.
48485         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48486         && !UNIX98].
48487         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48488         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48489         (mode_t): Likewise.
48490         (posix_mem_offset): Likewise.
48491         (posix_typed_mem_get_info): Likewise.
48492         (posix_typed_mem_open): Likewise.
48494         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48495         Change condition to [XOPEN2K8].
48497         * conform/conformtest.pl: Preprocess allow-header data with -x c
48498         instead of from stdin.
48499         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48500         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48501         [C99-based standards] (cerfc): Likewise.
48502         [C99-based standards] (cexp2): Likewise.
48503         [C99-based standards] (cexpm1): Likewise.
48504         [C99-based standards] (clog10): Likewise.
48505         [C99-based standards] (clog1p): Likewise.
48506         [C99-based standards] (clog2): Likewise.
48507         [C99-based standards] (clgamma): Likewise.
48508         [C99-based standards] (ctgamma): Likewise.
48509         [C99-based standards] (cerff): Likewise.
48510         [C99-based standards] (cerfcf): Likewise.
48511         [C99-based standards] (cexp2f): Likewise.
48512         [C99-based standards] (cexpm1f): Likewise.
48513         [C99-based standards] (clog10f): Likewise.
48514         [C99-based standards] (clog1pf): Likewise.
48515         [C99-based standards] (clog2f): Likewise.
48516         [C99-based standards] (clgammaf): Likewise.
48517         [C99-based standards] (ctgammaf): Likewise.
48518         [C99-based standards] (cerfl): Likewise.
48519         [C99-based standards] (cerfcl): Likewise.
48520         [C99-based standards] (cexp2l): Likewise.
48521         [C99-based standards] (cexpm1l): Likewise.
48522         [C99-based standards] (clog10l): Likewise.
48523         [C99-based standards] (clog1pl): Likewise.
48524         [C99-based standards] (clog2l): Likewise.
48525         [C99-based standards] (clgammal): Likewise.
48526         [C99-based standards] (ctgammal): Likewise.
48527         * conform/data/inttypes.h-data [C99-based standards]: Include
48528         stdint.h-data.  Remove all expectations for stdint.h contents.
48529         [C99-based standards] (PRI*): Do not allow.
48530         [C99-based standards] (SCN*): Likewise.
48531         [C99-based standards] (*_t): Likewise.
48532         [C99-based-standards] (PRId8): Expect macro.
48533         [C99-based-standards] (PRIi8): Likewise.
48534         [C99-based-standards] (PRIo8): Likewise.
48535         [C99-based-standards] (PRIu8): Likewise.
48536         [C99-based-standards] (PRIx8): Likewise.
48537         [C99-based-standards] (PRIX8): Likewise.
48538         [C99-based-standards] (SCNd8): Likewise.
48539         [C99-based-standards] (SCNi8): Likewise.
48540         [C99-based-standards] (SCNo8): Likewise.
48541         [C99-based-standards] (SCNu8): Likewise.
48542         [C99-based-standards] (SCNx8): Likewise.
48543         [C99-based-standards] (PRIdLEAST8): Likewise.
48544         [C99-based-standards] (PRIiLEAST8): Likewise.
48545         [C99-based-standards] (PRIoLEAST8): Likewise.
48546         [C99-based-standards] (PRIuLEAST8): Likewise.
48547         [C99-based-standards] (PRIxLEAST8): Likewise.
48548         [C99-based-standards] (PRIXLEAST8): Likewise.
48549         [C99-based-standards] (SCNdLEAST8): Likewise.
48550         [C99-based-standards] (SCNiLEAST8): Likewise.
48551         [C99-based-standards] (SCNoLEAST8): Likewise.
48552         [C99-based-standards] (SCNuLEAST8): Likewise.
48553         [C99-based-standards] (SCNxLEAST8): Likewise.
48554         [C99-based-standards] (PRIdFAST8): Likewise.
48555         [C99-based-standards] (PRIiFAST8): Likewise.
48556         [C99-based-standards] (PRIoFAST8): Likewise.
48557         [C99-based-standards] (PRIuFAST8): Likewise.
48558         [C99-based-standards] (PRIxFAST8): Likewise.
48559         [C99-based-standards] (PRIXFAST8): Likewise.
48560         [C99-based-standards] (SCNdFAST8): Likewise.
48561         [C99-based-standards] (SCNiFAST8): Likewise.
48562         [C99-based-standards] (SCNoFAST8): Likewise.
48563         [C99-based-standards] (SCNuFAST8): Likewise.
48564         [C99-based-standards] (SCNxFAST8): Likewise.
48565         [C99-based-standards] (PRId16): Likewise.
48566         [C99-based-standards] (PRIi16): Likewise.
48567         [C99-based-standards] (PRIo16): Likewise.
48568         [C99-based-standards] (PRIu16): Likewise.
48569         [C99-based-standards] (PRIx16): Likewise.
48570         [C99-based-standards] (PRIX16): Likewise.
48571         [C99-based-standards] (SCNd16): Likewise.
48572         [C99-based-standards] (SCNi16): Likewise.
48573         [C99-based-standards] (SCNo16): Likewise.
48574         [C99-based-standards] (SCNu16): Likewise.
48575         [C99-based-standards] (SCNx16): Likewise.
48576         [C99-based-standards] (PRIdLEAST16): Likewise.
48577         [C99-based-standards] (PRIiLEAST16): Likewise.
48578         [C99-based-standards] (PRIoLEAST16): Likewise.
48579         [C99-based-standards] (PRIuLEAST16): Likewise.
48580         [C99-based-standards] (PRIxLEAST16): Likewise.
48581         [C99-based-standards] (PRIXLEAST16): Likewise.
48582         [C99-based-standards] (SCNdLEAST16): Likewise.
48583         [C99-based-standards] (SCNiLEAST16): Likewise.
48584         [C99-based-standards] (SCNoLEAST16): Likewise.
48585         [C99-based-standards] (SCNuLEAST16): Likewise.
48586         [C99-based-standards] (SCNxLEAST16): Likewise.
48587         [C99-based-standards] (PRIdFAST16): Likewise.
48588         [C99-based-standards] (PRIiFAST16): Likewise.
48589         [C99-based-standards] (PRIoFAST16): Likewise.
48590         [C99-based-standards] (PRIuFAST16): Likewise.
48591         [C99-based-standards] (PRIxFAST16): Likewise.
48592         [C99-based-standards] (PRIXFAST16): Likewise.
48593         [C99-based-standards] (SCNdFAST16): Likewise.
48594         [C99-based-standards] (SCNiFAST16): Likewise.
48595         [C99-based-standards] (SCNoFAST16): Likewise.
48596         [C99-based-standards] (SCNuFAST16): Likewise.
48597         [C99-based-standards] (SCNxFAST16): Likewise.
48598         [C99-based-standards] (PRId32): Likewise.
48599         [C99-based-standards] (PRIi32): Likewise.
48600         [C99-based-standards] (PRIo32): Likewise.
48601         [C99-based-standards] (PRIu32): Likewise.
48602         [C99-based-standards] (PRIx32): Likewise.
48603         [C99-based-standards] (PRIX32): Likewise.
48604         [C99-based-standards] (SCNd32): Likewise.
48605         [C99-based-standards] (SCNi32): Likewise.
48606         [C99-based-standards] (SCNo32): Likewise.
48607         [C99-based-standards] (SCNu32): Likewise.
48608         [C99-based-standards] (SCNx32): Likewise.
48609         [C99-based-standards] (PRIdLEAST32): Likewise.
48610         [C99-based-standards] (PRIiLEAST32): Likewise.
48611         [C99-based-standards] (PRIoLEAST32): Likewise.
48612         [C99-based-standards] (PRIuLEAST32): Likewise.
48613         [C99-based-standards] (PRIxLEAST32): Likewise.
48614         [C99-based-standards] (PRIXLEAST32): Likewise.
48615         [C99-based-standards] (SCNdLEAST32): Likewise.
48616         [C99-based-standards] (SCNiLEAST32): Likewise.
48617         [C99-based-standards] (SCNoLEAST32): Likewise.
48618         [C99-based-standards] (SCNuLEAST32): Likewise.
48619         [C99-based-standards] (SCNxLEAST32): Likewise.
48620         [C99-based-standards] (PRIdFAST32): Likewise.
48621         [C99-based-standards] (PRIiFAST32): Likewise.
48622         [C99-based-standards] (PRIoFAST32): Likewise.
48623         [C99-based-standards] (PRIuFAST32): Likewise.
48624         [C99-based-standards] (PRIxFAST32): Likewise.
48625         [C99-based-standards] (PRIXFAST32): Likewise.
48626         [C99-based-standards] (SCNdFAST32): Likewise.
48627         [C99-based-standards] (SCNiFAST32): Likewise.
48628         [C99-based-standards] (SCNoFAST32): Likewise.
48629         [C99-based-standards] (SCNuFAST32): Likewise.
48630         [C99-based-standards] (SCNxFAST32): Likewise.
48631         [C99-based-standards] (PRId64): Likewise.
48632         [C99-based-standards] (PRIi64): Likewise.
48633         [C99-based-standards] (PRIo64): Likewise.
48634         [C99-based-standards] (PRIu64): Likewise.
48635         [C99-based-standards] (PRIx64): Likewise.
48636         [C99-based-standards] (PRIX64): Likewise.
48637         [C99-based-standards] (SCNd64): Likewise.
48638         [C99-based-standards] (SCNi64): Likewise.
48639         [C99-based-standards] (SCNo64): Likewise.
48640         [C99-based-standards] (SCNu64): Likewise.
48641         [C99-based-standards] (SCNx64): Likewise.
48642         [C99-based-standards] (PRIdLEAST64): Likewise.
48643         [C99-based-standards] (PRIiLEAST64): Likewise.
48644         [C99-based-standards] (PRIoLEAST64): Likewise.
48645         [C99-based-standards] (PRIuLEAST64): Likewise.
48646         [C99-based-standards] (PRIxLEAST64): Likewise.
48647         [C99-based-standards] (PRIXLEAST64): Likewise.
48648         [C99-based-standards] (SCNdLEAST64): Likewise.
48649         [C99-based-standards] (SCNiLEAST64): Likewise.
48650         [C99-based-standards] (SCNoLEAST64): Likewise.
48651         [C99-based-standards] (SCNuLEAST64): Likewise.
48652         [C99-based-standards] (SCNxLEAST64): Likewise.
48653         [C99-based-standards] (PRIdFAST64): Likewise.
48654         [C99-based-standards] (PRIiFAST64): Likewise.
48655         [C99-based-standards] (PRIoFAST64): Likewise.
48656         [C99-based-standards] (PRIuFAST64): Likewise.
48657         [C99-based-standards] (PRIxFAST64): Likewise.
48658         [C99-based-standards] (PRIXFAST64): Likewise.
48659         [C99-based-standards] (SCNdFAST64): Likewise.
48660         [C99-based-standards] (SCNiFAST64): Likewise.
48661         [C99-based-standards] (SCNoFAST64): Likewise.
48662         [C99-based-standards] (SCNuFAST64): Likewise.
48663         [C99-based-standards] (SCNxFAST64): Likewise.
48664         [C99-based-standards] (PRIdMAX): Likewise.
48665         [C99-based-standards] (PRIiMAX): Likewise.
48666         [C99-based-standards] (PRIoMAX): Likewise.
48667         [C99-based-standards] (PRIuMAX): Likewise.
48668         [C99-based-standards] (PRIxMAX): Likewise.
48669         [C99-based-standards] (PRIXMAX): Likewise.
48670         [C99-based-standards] (SCNdMAX): Likewise.
48671         [C99-based-standards] (SCNiMAX): Likewise.
48672         [C99-based-standards] (SCNoMAX): Likewise.
48673         [C99-based-standards] (SCNuMAX): Likewise.
48674         [C99-based-standards] (SCNxMAX): Likewise.
48675         [C99-based-standards] (PRIdPTR): Likewise.
48676         [C99-based-standards] (PRIiPTR): Likewise.
48677         [C99-based-standards] (PRIoPTR): Likewise.
48678         [C99-based-standards] (PRIuPTR): Likewise.
48679         [C99-based-standards] (PRIxPTR): Likewise.
48680         [C99-based-standards] (PRIXPTR): Likewise.
48681         [C99-based-standards] (SCNdPTR): Likewise.
48682         [C99-based-standards] (SCNiPTR): Likewise.
48683         [C99-based-standards] (SCNoPTR): Likewise.
48684         [C99-based-standards] (SCNuPTR): Likewise.
48685         [C99-based-standards] (SCNxPTR): Likewise.
48686         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48687         allow.
48688         * conform/data/stdint.h-data: Update comments to clarify
48689         requirements.
48690         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48691         type.
48692         [C99-based standards] (INT8_MAX): Likewise.
48693         [C99-based standards] (INT16_MIN): Likewise.
48694         [C99-based standards] (INT16_MAX): Likewise.
48695         [C99-based standards] (INT32_MIN): Likewise.
48696         [C99-based standards] (INT32_MAX): Likewise.
48697         [C99-based standards] (INT64_MIN): Likewise.
48698         [C99-based standards] (INT64_MAX): Likewise.
48699         [C99-based standards] (UINT8_MAX): Likewise.
48700         [C99-based standards] (UINT16_MAX): Likewise.
48701         [C99-based standards] (UINT32_MAX): Likewise.
48702         [C99-based standards] (UINT64_MAX): Likewise.
48703         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48704         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48705         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48706         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48707         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48708         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48709         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48710         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48711         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48712         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48713         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48714         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48715         [C99-based standards] (INT_FAST8_MIN): Likewise.
48716         [C99-based standards] (INT_FAST8_MAX): Likewise.
48717         [C99-based standards] (INT_FAST16_MIN): Likewise.
48718         [C99-based standards] (INT_FAST16_MAX): Likewise.
48719         [C99-based standards] (INT_FAST32_MIN): Likewise.
48720         [C99-based standards] (INT_FAST32_MAX): Likewise.
48721         [C99-based standards] (INT_FAST64_MIN): Likewise.
48722         [C99-based standards] (INT_FAST64_MAX): Likewise.
48723         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48724         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48725         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48726         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48727         [C99-based standards] (INTPTR_MIN): Likewise.
48728         [C99-based standards] (INTPTR_MAX): Likewise.
48729         [C99-based standards] (UINTPTR_MAX): Likewise.
48730         [C99-based standards] (INTMAX_MIN): Likewise.
48731         [C99-based standards] (INTMAX_MAX): Likewise.
48732         [C99-based standards] (UINTMAX_MAX): Likewise.
48733         [C99-based standards] (PTRDIFF_MIN): Likewise.
48734         [C99-based standards] (PTRDIFF_MAX): Likewise.
48735         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48736         [C99-based standards] (SIZE_MAX): Likewise.
48737         [C99-based standards] (WCHAR_MAX): Likewise.
48738         [C99-based standards] (WINT_MAX): Likewise.
48739         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48740         constraint on value.
48741         [C99-based standards] (WCHAR_MIN): Likewise.
48742         [C99-based standards] (WINT_MIN): Likewise.
48743         [C99-based standards] (*_t): Allow.
48744         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48745         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48746         Include math.h-data and complex.h-data.  Remove all expectations
48747         of math.h and complex.h contents.
48748         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48749         at end of line.
48750         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48751         (struct tm): Expect tag.
48752         [C99-based-standards] (wcstof): Expect function.
48753         [C99-based-standards] (wcstold): Likewise.
48754         [C99-based-standards] (wcstoll): Likewise.
48755         [C99-based-standards] (wcstoull): Likewise.
48756         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48757         macro-int-constant.  Specify type.
48758         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48759         constraint on value.
48760         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48761         Specify type.
48762         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48763         Specify value.
48764         [ISO C standards]: Do not allow headers.
48765         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48766         wcs[abcdefghijklmnopqrstuvwxyz]*.
48767         [ISO C standards] (*_t): Do not allow.
48768         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48769         Expect function.
48770         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48771         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48772         Specify type.
48773         [ISO C standards]: Do not allow headers.
48774         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48775         is[abcdefghijklmnopqrstuvwxyz]*.
48776         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48777         to[abcdefghijklmnopqrstuvwxyz]*.
48778         [ISO C standards] (*_t): Do not allow.
48779         * conform/data/stdalign.h-data: New file.
48780         * conform/data/stdbool.h-data: Likewise.
48781         * conform/data/stdnoreturn.h-data: Likewise.
48783 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48785         [BZ #14815]
48786         * manual/filesys.texi (Directory Entries): Typo fix.
48787         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48789 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48791         * elf/elf.h (EM_AARCH64): New macro.
48792         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48793         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48794         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48795         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48796         (R_AARCH64_TLSDESC): Likewise.
48797         (NT_ARM_TLS): Likewise.
48798         (NT_ARM_HW_BREAK): Likewise.
48799         (NT_ARM_HW_WATCH): Likewise.
48801 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48803         [BZ #14811]
48804         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48805         (__ieee754_powl): Saturate nonzero exponents with absolute value
48806         below 0x1p-79 to +/- 0x1p-79.
48807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48808         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48809         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48810         nonzero exponents with absolute value below 0x1p-32 to +/-
48811         0x1p-32.
48812         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48813         (__ieee754_powl): Saturate nonzero exponents with absolute value
48814         below 0x1p-79 to +/- 0x1p-79.
48815         * math/libm-test.inc (pow_test): Add more tests.
48817 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48819         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48820         _dl_s390_cap_flags with kernel. Increase string length.
48821         (_dl_s390_platforms): Add z196 and zEC12.
48823 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48825         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48826         Change XOPEN21K to XOPEN2K.
48828 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48830         * string/memmove.c: Use memcpy when possible.
48832 2012-11-06  Andreas Jaeger  <aj@suse.de>
48834         * po/eo.po: Update from translation team.
48836 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48838         [BZ #14793]
48839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48840         exponent and small x and y exponents, scale x or y up.  Increase
48841         by 2 the exponent used in scaling up.
48842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48844         * math/libm-test.inc (fma_test): Add more tests.
48845         (fma_test_towardzero): Likewise.
48846         (fma_test_downward): Likewise.
48847         (fma_test_upward): Likewise.
48849 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48851         [BZ #14805]
48852         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48853         fenv_t *.
48855         [BZ #14801]
48856         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48857         namespace for names of struct fields.
48858         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48859         fenv_t fields.
48860         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48861         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48863 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48865         [BZ #3665]
48866         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48868 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48870         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48871         PTR_DEMANGLE.
48873         [BZ #5246]
48874         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48875         PTR_DEMANGLE.
48877 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48879         [BZ #14797]
48880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48881         definitely overflow as x * y not x * y + z.
48882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48884         * math/libm-test.inc (fma_test): Add more tests.
48885         (fma_test_towardzero): Likewise.
48886         (fma_test_downward): Likewise.
48887         (fma_test_upward): Likewise.
48889 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48891         [BZ #157]
48893         * include/stub-tag.h: Remove file.
48894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48895         '#include' of it.
48896         * manual/maint.texi (Porting): Don't reference it.
48897         * Makerules ($(objpfx)stubs): Likewise.
48898         * dirent/closedir.c: Don't include <stub-tag.h>.
48899         * dirent/dirfd.c: Likewise.
48900         * dirent/fdopendir.c: Likewise.
48901         * dirent/getdents.c: Likewise.
48902         * dirent/getdents64.c: Likewise.
48903         * dirent/opendir.c: Likewise.
48904         * dirent/readdir.c: Likewise.
48905         * dirent/readdir64.c: Likewise.
48906         * dirent/readdir64_r.c: Likewise.
48907         * dirent/readdir_r.c: Likewise.
48908         * dirent/rewinddir.c: Likewise.
48909         * dirent/seekdir.c: Likewise.
48910         * dirent/telldir.c: Likewise.
48911         * gmon/profil.c: Likewise.
48912         * grp/setgroups.c: Likewise.
48913         * inet/if_index.c: Likewise.
48914         * io/access.c: Likewise.
48915         * io/chdir.c: Likewise.
48916         * io/chmod.c: Likewise.
48917         * io/chown.c: Likewise.
48918         * io/close.c: Likewise.
48919         * io/dup.c: Likewise.
48920         * io/dup2.c: Likewise.
48921         * io/dup3.c: Likewise.
48922         * io/euidaccess.c: Likewise.
48923         * io/faccessat.c: Likewise.
48924         * io/fchdir.c: Likewise.
48925         * io/fchmod.c: Likewise.
48926         * io/fchmodat.c: Likewise.
48927         * io/fchown.c: Likewise.
48928         * io/fchownat.c: Likewise.
48929         * io/fcntl.c: Likewise.
48930         * io/flock.c: Likewise.
48931         * io/fstatfs.c: Likewise.
48932         * io/fstatfs64.c: Likewise.
48933         * io/fstatvfs.c: Likewise.
48934         * io/fstatvfs64.c: Likewise.
48935         * io/futimens.c: Likewise.
48936         * io/fxstat.c: Likewise.
48937         * io/fxstat64.c: Likewise.
48938         * io/fxstatat.c: Likewise.
48939         * io/fxstatat64.c: Likewise.
48940         * io/getcwd.c: Likewise.
48941         * io/isatty.c: Likewise.
48942         * io/lchmod.c: Likewise.
48943         * io/lchown.c: Likewise.
48944         * io/link.c: Likewise.
48945         * io/linkat.c: Likewise.
48946         * io/lseek.c: Likewise.
48947         * io/lseek64.c: Likewise.
48948         * io/lxstat64.c: Likewise.
48949         * io/mkdir.c: Likewise.
48950         * io/mkdirat.c: Likewise.
48951         * io/mkfifo.c: Likewise.
48952         * io/mkfifoat.c: Likewise.
48953         * io/open.c: Likewise.
48954         * io/open64.c: Likewise.
48955         * io/openat.c: Likewise.
48956         * io/openat64.c: Likewise.
48957         * io/pipe.c: Likewise.
48958         * io/pipe2.c: Likewise.
48959         * io/poll.c: Likewise.
48960         * io/posix_fadvise.c: Likewise.
48961         * io/posix_fadvise64.c: Likewise.
48962         * io/posix_fallocate.c: Likewise.
48963         * io/posix_fallocate64.c: Likewise.
48964         * io/read.c: Likewise.
48965         * io/readlink.c: Likewise.
48966         * io/readlinkat.c: Likewise.
48967         * io/rmdir.c: Likewise.
48968         * io/sendfile.c: Likewise.
48969         * io/sendfile64.c: Likewise.
48970         * io/statfs.c: Likewise.
48971         * io/statfs64.c: Likewise.
48972         * io/statvfs.c: Likewise.
48973         * io/statvfs64.c: Likewise.
48974         * io/symlink.c: Likewise.
48975         * io/symlinkat.c: Likewise.
48976         * io/ttyname.c: Likewise.
48977         * io/ttyname_r.c: Likewise.
48978         * io/umask.c: Likewise.
48979         * io/unlink.c: Likewise.
48980         * io/unlinkat.c: Likewise.
48981         * io/utime.c: Likewise.
48982         * io/utimensat.c: Likewise.
48983         * io/write.c: Likewise.
48984         * io/xmknod.c: Likewise.
48985         * io/xmknodat.c: Likewise.
48986         * io/xstat.c: Likewise.
48987         * io/xstat64.c: Likewise.
48988         * login/getpt.c: Likewise.
48989         * login/grantpt.c: Likewise.
48990         * login/unlockpt.c: Likewise.
48991         * math/e_acoshl.c: Likewise.
48992         * math/e_acosl.c: Likewise.
48993         * math/e_asinl.c: Likewise.
48994         * math/e_atan2l.c: Likewise.
48995         * math/e_atanhl.c: Likewise.
48996         * math/e_coshl.c: Likewise.
48997         * math/e_expl.c: Likewise.
48998         * math/e_fmodl.c: Likewise.
48999         * math/e_gammal_r.c: Likewise.
49000         * math/e_hypotl.c: Likewise.
49001         * math/e_j0l.c: Likewise.
49002         * math/e_j1l.c: Likewise.
49003         * math/e_jnl.c: Likewise.
49004         * math/e_lgammal_r.c: Likewise.
49005         * math/e_log10l.c: Likewise.
49006         * math/e_log2l.c: Likewise.
49007         * math/e_logl.c: Likewise.
49008         * math/e_powl.c: Likewise.
49009         * math/e_rem_pio2l.c: Likewise.
49010         * math/e_sinhl.c: Likewise.
49011         * math/e_sqrtl.c: Likewise.
49012         * math/fclrexcpt.c: Likewise.
49013         * math/fedisblxcpt.c: Likewise.
49014         * math/feenablxcpt.c: Likewise.
49015         * math/fegetenv.c: Likewise.
49016         * math/fegetexcept.c: Likewise.
49017         * math/fegetround.c: Likewise.
49018         * math/feholdexcpt.c: Likewise.
49019         * math/fesetenv.c: Likewise.
49020         * math/fesetround.c: Likewise.
49021         * math/feupdateenv.c: Likewise.
49022         * math/fgetexcptflg.c: Likewise.
49023         * math/fraiseexcpt.c: Likewise.
49024         * math/fsetexcptflg.c: Likewise.
49025         * math/ftestexcept.c: Likewise.
49026         * math/k_cosl.c: Likewise.
49027         * math/k_rem_pio2l.c: Likewise.
49028         * math/k_sinl.c: Likewise.
49029         * math/k_tanl.c: Likewise.
49030         * math/s_asinhl.c: Likewise.
49031         * math/s_atanl.c: Likewise.
49032         * math/s_cbrtl.c: Likewise.
49033         * math/s_erfl.c: Likewise.
49034         * math/s_expm1l.c: Likewise.
49035         * math/s_log1pl.c: Likewise.
49036         * math/s_tanhl.c: Likewise.
49037         * misc/acct.c: Likewise.
49038         * misc/brk.c: Likewise.
49039         * misc/chflags.c: Likewise.
49040         * misc/chroot.c: Likewise.
49041         * misc/fchflags.c: Likewise.
49042         * misc/fgetxattr.c: Likewise.
49043         * misc/flistxattr.c: Likewise.
49044         * misc/fremovexattr.c: Likewise.
49045         * misc/fsetxattr.c: Likewise.
49046         * misc/fsync.c: Likewise.
49047         * misc/ftruncate.c: Likewise.
49048         * misc/futimes.c: Likewise.
49049         * misc/futimesat.c: Likewise.
49050         * misc/getdomain.c: Likewise.
49051         * misc/getdtsz.c: Likewise.
49052         * misc/gethostid.c: Likewise.
49053         * misc/gethostname.c: Likewise.
49054         * misc/getloadavg.c: Likewise.
49055         * misc/getpagesize.c: Likewise.
49056         * misc/getsysstats.c: Likewise.
49057         * misc/getxattr.c: Likewise.
49058         * misc/gtty.c: Likewise.
49059         * misc/ioctl.c: Likewise.
49060         * misc/lgetxattr.c: Likewise.
49061         * misc/listxattr.c: Likewise.
49062         * misc/llistxattr.c: Likewise.
49063         * misc/lremovexattr.c: Likewise.
49064         * misc/lsetxattr.c: Likewise.
49065         * misc/lutimes.c: Likewise.
49066         * misc/madvise.c: Likewise.
49067         * misc/mincore.c: Likewise.
49068         * misc/mlock.c: Likewise.
49069         * misc/mlockall.c: Likewise.
49070         * misc/mmap.c: Likewise.
49071         * misc/mprotect.c: Likewise.
49072         * misc/msync.c: Likewise.
49073         * misc/munlock.c: Likewise.
49074         * misc/munlockall.c: Likewise.
49075         * misc/munmap.c: Likewise.
49076         * misc/preadv.c: Likewise.
49077         * misc/preadv64.c: Likewise.
49078         * misc/ptrace.c: Likewise.
49079         * misc/pwritev.c: Likewise.
49080         * misc/pwritev64.c: Likewise.
49081         * misc/readv.c: Likewise.
49082         * misc/reboot.c: Likewise.
49083         * misc/remap_file_pages.c: Likewise.
49084         * misc/removexattr.c: Likewise.
49085         * misc/revoke.c: Likewise.
49086         * misc/select.c: Likewise.
49087         * misc/setdomain.c: Likewise.
49088         * misc/setegid.c: Likewise.
49089         * misc/seteuid.c: Likewise.
49090         * misc/sethostid.c: Likewise.
49091         * misc/sethostname.c: Likewise.
49092         * misc/setregid.c: Likewise.
49093         * misc/setreuid.c: Likewise.
49094         * misc/setxattr.c: Likewise.
49095         * misc/sstk.c: Likewise.
49096         * misc/stty.c: Likewise.
49097         * misc/swapoff.c: Likewise.
49098         * misc/swapon.c: Likewise.
49099         * misc/sync.c: Likewise.
49100         * misc/syncfs.c: Likewise.
49101         * misc/syscall.c: Likewise.
49102         * misc/truncate.c: Likewise.
49103         * misc/ualarm.c: Likewise.
49104         * misc/usleep.c: Likewise.
49105         * misc/ustat.c: Likewise.
49106         * misc/utimes.c: Likewise.
49107         * misc/vhangup.c: Likewise.
49108         * misc/writev.c: Likewise.
49109         * posix/_exit.c: Likewise.
49110         * posix/alarm.c: Likewise.
49111         * posix/execve.c: Likewise.
49112         * posix/fexecve.c: Likewise.
49113         * posix/fork.c: Likewise.
49114         * posix/fpathconf.c: Likewise.
49115         * posix/getaddrinfo.c: Likewise.
49116         * posix/getegid.c: Likewise.
49117         * posix/geteuid.c: Likewise.
49118         * posix/getgid.c: Likewise.
49119         * posix/getgroups.c: Likewise.
49120         * posix/getlogin.c: Likewise.
49121         * posix/getlogin_r.c: Likewise.
49122         * posix/getpgid.c: Likewise.
49123         * posix/getpid.c: Likewise.
49124         * posix/getppid.c: Likewise.
49125         * posix/getresgid.c: Likewise.
49126         * posix/getresuid.c: Likewise.
49127         * posix/getsid.c: Likewise.
49128         * posix/getuid.c: Likewise.
49129         * posix/glob64.c: Likewise.
49130         * posix/nanosleep.c: Likewise.
49131         * posix/pathconf.c: Likewise.
49132         * posix/pause.c: Likewise.
49133         * posix/posix_madvise.c: Likewise.
49134         * posix/pread.c: Likewise.
49135         * posix/pread64.c: Likewise.
49136         * posix/pwrite.c: Likewise.
49137         * posix/pwrite64.c: Likewise.
49138         * posix/sched_getaffinity.c: Likewise.
49139         * posix/sched_getp.c: Likewise.
49140         * posix/sched_gets.c: Likewise.
49141         * posix/sched_primax.c: Likewise.
49142         * posix/sched_primin.c: Likewise.
49143         * posix/sched_rr_gi.c: Likewise.
49144         * posix/sched_setaffinity.c: Likewise.
49145         * posix/sched_setp.c: Likewise.
49146         * posix/sched_sets.c: Likewise.
49147         * posix/sched_yield.c: Likewise.
49148         * posix/setgid.c: Likewise.
49149         * posix/setlogin.c: Likewise.
49150         * posix/setpgid.c: Likewise.
49151         * posix/setresgid.c: Likewise.
49152         * posix/setresuid.c: Likewise.
49153         * posix/setsid.c: Likewise.
49154         * posix/setuid.c: Likewise.
49155         * posix/sleep.c: Likewise.
49156         * posix/spawni.c: Likewise.
49157         * posix/sysconf.c: Likewise.
49158         * posix/times.c: Likewise.
49159         * posix/wait.c: Likewise.
49160         * posix/wait3.c: Likewise.
49161         * posix/wait4.c: Likewise.
49162         * posix/waitpid.c: Likewise.
49163         * resolv/gai_sigqueue.c: Likewise.
49164         * resource/getpriority.c: Likewise.
49165         * resource/getrlimit.c: Likewise.
49166         * resource/getrusage.c: Likewise.
49167         * resource/nice.c: Likewise.
49168         * resource/setpriority.c: Likewise.
49169         * resource/setrlimit.c: Likewise.
49170         * resource/ulimit.c: Likewise.
49171         * rt/aio_cancel.c: Likewise.
49172         * rt/aio_fsync.c: Likewise.
49173         * rt/aio_read.c: Likewise.
49174         * rt/aio_sigqueue.c: Likewise.
49175         * rt/aio_suspend.c: Likewise.
49176         * rt/aio_write.c: Likewise.
49177         * rt/clock_getres.c: Likewise.
49178         * rt/clock_gettime.c: Likewise.
49179         * rt/clock_nanosleep.c: Likewise.
49180         * rt/clock_settime.c: Likewise.
49181         * rt/lio_listio.c: Likewise.
49182         * rt/mq_close.c: Likewise.
49183         * rt/mq_getattr.c: Likewise.
49184         * rt/mq_notify.c: Likewise.
49185         * rt/mq_open.c: Likewise.
49186         * rt/mq_receive.c: Likewise.
49187         * rt/mq_send.c: Likewise.
49188         * rt/mq_setattr.c: Likewise.
49189         * rt/mq_timedreceive.c: Likewise.
49190         * rt/mq_timedsend.c: Likewise.
49191         * rt/mq_unlink.c: Likewise.
49192         * rt/shm_open.c: Likewise.
49193         * rt/shm_unlink.c: Likewise.
49194         * rt/timer_create.c: Likewise.
49195         * rt/timer_delete.c: Likewise.
49196         * rt/timer_getoverr.c: Likewise.
49197         * rt/timer_gettime.c: Likewise.
49198         * rt/timer_settime.c: Likewise.
49199         * setjmp/__longjmp.c: Likewise.
49200         * setjmp/setjmp.c: Likewise.
49201         * signal/kill.c: Likewise.
49202         * signal/killpg.c: Likewise.
49203         * signal/raise.c: Likewise.
49204         * signal/sigaction.c: Likewise.
49205         * signal/sigaltstack.c: Likewise.
49206         * signal/sigblock.c: Likewise.
49207         * signal/sigignore.c: Likewise.
49208         * signal/sigintr.c: Likewise.
49209         * signal/signal.c: Likewise.
49210         * signal/sigpause.c: Likewise.
49211         * signal/sigpending.c: Likewise.
49212         * signal/sigqueue.c: Likewise.
49213         * signal/sigreturn.c: Likewise.
49214         * signal/sigset.c: Likewise.
49215         * signal/sigsetmask.c: Likewise.
49216         * signal/sigstack.c: Likewise.
49217         * signal/sigsuspend.c: Likewise.
49218         * signal/sigtimedwait.c: Likewise.
49219         * signal/sigvec.c: Likewise.
49220         * signal/sigwait.c: Likewise.
49221         * signal/sigwaitinfo.c: Likewise.
49222         * signal/sysv_signal.c: Likewise.
49223         * socket/accept.c: Likewise.
49224         * socket/accept4.c: Likewise.
49225         * socket/bind.c: Likewise.
49226         * socket/connect.c: Likewise.
49227         * socket/getpeername.c: Likewise.
49228         * socket/getsockname.c: Likewise.
49229         * socket/getsockopt.c: Likewise.
49230         * socket/isfdtype.c: Likewise.
49231         * socket/listen.c: Likewise.
49232         * socket/recv.c: Likewise.
49233         * socket/recvfrom.c: Likewise.
49234         * socket/recvmsg.c: Likewise.
49235         * socket/send.c: Likewise.
49236         * socket/sendmsg.c: Likewise.
49237         * socket/sendto.c: Likewise.
49238         * socket/setsockopt.c: Likewise.
49239         * socket/shutdown.c: Likewise.
49240         * socket/sockatmark.c: Likewise.
49241         * socket/socket.c: Likewise.
49242         * socket/socketpair.c: Likewise.
49243         * stdio-common/ctermid.c: Likewise.
49244         * stdio-common/cuserid.c: Likewise.
49245         * stdio-common/remove.c: Likewise.
49246         * stdio-common/rename.c: Likewise.
49247         * stdio-common/renameat.c: Likewise.
49248         * stdio-common/tempname.c: Likewise.
49249         * stdlib/getcontext.c: Likewise.
49250         * stdlib/makecontext.c: Likewise.
49251         * stdlib/setcontext.c: Likewise.
49252         * stdlib/swapcontext.c: Likewise.
49253         * stdlib/system.c: Likewise.
49254         * streams/fattach.c: Likewise.
49255         * streams/fdetach.c: Likewise.
49256         * streams/getmsg.c: Likewise.
49257         * streams/getpmsg.c: Likewise.
49258         * streams/putmsg.c: Likewise.
49259         * streams/putpmsg.c: Likewise.
49260         * sysdeps/unix/bsd/getpt.c: Likewise.
49261         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49262         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49263         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49265         Likewise.
49266         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49267         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49268         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49269         * sysvipc/msgctl.c: Likewise.
49270         * sysvipc/msgget.c: Likewise.
49271         * sysvipc/msgrcv.c: Likewise.
49272         * sysvipc/msgsnd.c: Likewise.
49273         * sysvipc/semctl.c: Likewise.
49274         * sysvipc/semget.c: Likewise.
49275         * sysvipc/semop.c: Likewise.
49276         * sysvipc/semtimedop.c: Likewise.
49277         * sysvipc/shmat.c: Likewise.
49278         * sysvipc/shmctl.c: Likewise.
49279         * sysvipc/shmdt.c: Likewise.
49280         * sysvipc/shmget.c: Likewise.
49281         * termios/tcdrain.c: Likewise.
49282         * termios/tcflow.c: Likewise.
49283         * termios/tcflush.c: Likewise.
49284         * termios/tcgetattr.c: Likewise.
49285         * termios/tcgetpgrp.c: Likewise.
49286         * termios/tcsendbrk.c: Likewise.
49287         * termios/tcsetattr.c: Likewise.
49288         * termios/tcsetpgrp.c: Likewise.
49289         * time/adjtime.c: Likewise.
49290         * time/clock.c: Likewise.
49291         * time/getitimer.c: Likewise.
49292         * time/gettimeofday.c: Likewise.
49293         * time/setitimer.c: Likewise.
49294         * time/settimeofday.c: Likewise.
49295         * time/stime.c: Likewise.
49296         * time/time.c: Likewise.
49298 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49300         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49301         /usr/old/bin.
49303         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49304         instead of spaces.
49305         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49307 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49309         [BZ #14796]
49310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49311         FE_TONEAREST before applying Dekker multiplication and Knuth
49312         addition.  Clear inexact exceptions and check for exact zero
49313         results afterwards.
49314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49317         * math/libm-test.inc (fma_test): Add more tests.
49318         (fma_test_towardzero): Likewise.
49319         (fma_test_downward): Likewise.
49320         (fma_test_upward): Likewise.
49321         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49322         function.
49323         (libc_fesetround): New macro.
49324         (libc_fesetroundf): Likewise.
49325         (libc_fesetroundl): Likewise.
49326         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49327         function.
49328         (libc_fesetround_387): Likewise.
49329         (libc_fesetroundf): New macro.
49330         (libc_fesetround): Likewise.
49331         (libc_fesetroundl): Likewise.
49332         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49333         function.
49334         (libc_fesetroundf): New macro.
49335         (libc_fesetround): Likewise.
49336         (libc_fesetroundl): Likewise.
49337         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49338         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49339         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49340         libm_hidden_ver.
49341         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49342         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49343         libm_hidden_def.
49344         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49345         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49346         libm_hidden_ver.
49347         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49348         libm_hidden_def.
49350         [BZ #3439]
49351         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49352         integer constant usable in #if and use that to give value to enum
49353         constant.
49354         (FE_DIVBYZERO): Likewise.
49355         (FE_UNDERFLOW): Likewise.
49356         (FE_OVERFLOW): Likewise.
49357         (FE_INVALID): Likewise.
49358         (FE_INVALID_SNAN): Likewise.
49359         (FE_INVALID_ISI): Likewise.
49360         (FE_INVALID_IDI): Likewise.
49361         (FE_INVALID_ZDZ): Likewise.
49362         (FE_INVALID_IMZ): Likewise.
49363         (FE_INVALID_COMPARE): Likewise.
49364         (FE_INVALID_SOFTWARE): Likewise.
49365         (FE_INVALID_SQRT): Likewise.
49366         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49367         (FE_TONEAREST): Likewise.
49368         (FE_TOWARDZERO): Likewise.
49369         (FE_UPWARD): Likewise.
49370         (FE_DOWNWARD): Likewise.
49371         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49372         (FE_DIVBYZERO): Likewise.
49373         (FE_OVERFLOW): Likewise.
49374         (FE_UNDERFLOW): Likewise.
49375         (FE_INEXACT): Likewise.
49376         (FE_TONEAREST): Likewise.
49377         (FE_DOWNWARD): Likewise.
49378         (FE_UPWARD): Likewise.
49379         (FE_TOWARDZERO): Likewise.
49380         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49381         (FE_UNDERFLOW): Likewise.
49382         (FE_OVERFLOW): Likewise.
49383         (FE_DIVBYZERO): Likewise.
49384         (FE_INVALID): Likewise.
49385         (FE_TONEAREST): Likewise.
49386         (FE_TOWARDZERO): Likewise.
49387         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49388         (FE_OVERFLOW): Likewise.
49389         (FE_UNDERFLOW): Likewise.
49390         (FE_DIVBYZERO): Likewise.
49391         (FE_INEXACT): Likewise.
49392         (FE_TONEAREST): Likewise.
49393         (FE_TOWARDZERO): Likewise.
49394         (FE_UPWARD): Likewise.
49395         (FE_DOWNWARD): Likewise.
49396         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49397         (FE_DIVBYZERO): Likewise.
49398         (FE_OVERFLOW): Likewise.
49399         (FE_UNDERFLOW): Likewise.
49400         (FE_INEXACT): Likewise.
49401         (FE_TONEAREST): Likewise.
49402         (FE_DOWNWARD): Likewise.
49403         (FE_UPWARD): Likewise.
49404         (FE_TOWARDZERO): Likewise.
49406 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49408         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49410 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49412         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49413         commands.  Quote $PWD.
49414         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49415         -x" by "export".
49416         (remove_newlines): Remove.
49418 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49420         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49421         * stdlib/stdlib.h (atof): Moved to ...
49422         * include/bits/stdlib-float.h: Here.  New file.
49423         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49424         * stdlib/bits/stdlib-float.h: New file.
49425         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49426         -mno-sse -mno-mmx.
49427         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49428         <xmmintrin.h>.
49430 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49432         * conform/conformtest.pl (@headers): Add fenv.h.
49433         * conform/data/fenv.h-data: New file.
49434         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49435         include of <math/fenv.h>.
49437         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49438         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49439         && !UNIX98].  Enables tests for XOPEN2K8.
49440         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49441         POSIX2008]: Likewise.
49443         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49444         (struct rusage): Do not expect type or its members.
49446         [BZ #3439]
49447         * math/math.h (FP_NAN): Define macro to integer constant usable in
49448         #if and use that to give value to enum constant.
49449         (FP_INFINITE): Likewise.
49450         (FP_ZERO): Likewise.
49451         (FP_SUBNORMAL): Likewise.
49452         (FP_NORMAL): Likewise.
49454 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49456         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49457         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49458         arguments.
49460 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49462         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49463         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49464         autoconf-time if not.
49465         * configure.in: Remove AC_PREREQ.
49467 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49469         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49470         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49471         of the internal implementation.
49473 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49475         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49476         except include of <misc/sys/syslog.h>.
49478 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49481         function returns with a NULL context exit with zero.
49483 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49485         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49487 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49489         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49490         (run_program_cmd): This.
49491         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49492         (tst_langinfo): New variable.  Use it.
49494 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49496         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49497         floating point opcodes.
49499 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49501         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49502         variable.
49504         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49506         * sysdeps/mach/hurd/powerpc: Remove directory.
49507         * sysdeps/mach/powerpc: Likewise.
49509 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49511         * scripts/check-local-headers.sh: Ignore c++ headers.
49513 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49515         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49516         __libc_cleanup_region_start argument.
49518 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49520         [BZ #14784]
49521         [BZ #14785]
49522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49523         x * y using scaling, not as x * y + z.
49524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49526         * math/libm-test.inc (fma_test): Add more tests.
49527         (fma_test_towardzero): Likewise.
49528         (fma_test_downward): Likewise.
49529         (fma_test_upward): Likewise.
49531 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49533         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49535 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49537         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49538         New variable.
49540 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49542         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49544 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49547         Fix sort order.
49548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49549         Likewise.
49551 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49554         Fix the order of the list for glibc 2.17.
49555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49556         Likewise.
49558 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49562 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49564         [BZ #14610]
49565         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49566         for low part of x being zero before using __atanl (y).
49567         * math/libm-test.inc (atan2_test): Add another test.
49569         * manual/install.texi (Configuring and compiling): Document
49570         general use of test-wrapper and test-wrapper-env.
49571         * INSTALL: Regenerated.
49573         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49574         (__fma): Do not extract and scale down low bits on after-rounding
49575         systems when result rounded to normal precision would have normal
49576         exponent.
49577         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49578         (__fmal): Do not extract and scale down low bits on after-rounding
49579         systems when result rounded to normal precision would have normal
49580         exponent.
49581         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49582         (__fmal): Do not extract and scale down low bits on after-rounding
49583         systems when result rounded to normal precision would have normal
49584         exponent.
49585         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49586         macro.
49587         (fma_test): Add more tests.
49588         (fma_test_towardzero): Likewise.
49589         (fma_test_downward): Likewise.
49590         (fma_test_upward): Likewise.
49592 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49594         * sysdeps/i386/tininess.h: Renamed to ...
49595         * sysdeps/x86/tininess.h: This.
49596         * sysdeps/x86_64/tininess.h: Removed.
49598 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49600         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49601         input.  Use $(build-program-cmd).
49602         ($(objpfx)tst-array1-static.out): Likewise.
49603         ($(objpfx)tst-array2.out): Likewise.
49604         ($(objpfx)tst-array3.out): Likewise.
49605         ($(objpfx)tst-array4.out): Likewise.
49606         ($(objpfx)tst-array5.out): Likewise.
49607         ($(objpfx)tst-array5-static.out): Likewise.
49609 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49611         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49612         if defined.
49614         * nss/nsswitch.h (nss_interface_function): Provide new
49615         macro for use with NSS functions.
49616         * grp/initgroups.c: Use new macro.
49617         * nss/getXXbyYY.c: Likewise.
49618         * nss/getXXbyYY_r.c: Likewise.
49619         * nss/getXXent.c: Likewise.
49620         * nss/getXXent_r.c: Likewise.
49621         * sysdeps/posix/getaddrinfo.c: Likewise.
49623 2012-10-30  Andreas Jaeger  <aj@suse.de>
49625         * po/ru.po: Update Russion translation from translation project.
49627 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49629         [BZ #14152]
49630         [BZ #14783]
49631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49632         result and shift together with sticky bit instead of replicating
49633         round-to-nearest rounding.
49634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49636         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49637         missing underflow exceptions.
49638         (fma_test_towardzero): Add more tests.
49639         (fma_test_downward): Likewise.
49640         (fma_test_upward): Likewise.
49642         [BZ #14047]
49643         * sysdeps/generic/tininess.h: New file.
49644         * sysdeps/i386/tininess.h: Likewise.
49645         * sysdeps/sh/tininess.h: Likewise.
49646         * sysdeps/x86_64/tininess.h: Likewise.
49647         * stdlib/tst-strtod-underflow.c: Likewise.
49648         * stdlib/tst-tininess.c: Likewise.
49649         * stdlib/strtod_l.c: Include <tininess.h>.
49650         (round_and_return): Do not set errno for exact underflow cases.
49651         Force an underflow exception when setting errno for underflow.
49652         Determine underflow based on rounding to normal precision if
49653         TININESS_AFTER_ROUNDING.
49654         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49655         ERANGE for exact underflow cases.
49656         * stdlib/Makefile (tests): Add tst-tininess and
49657         tst-strtod-underflow.
49658         ($(objpfx)tst-tininess): Use $(link-libm).
49659         ($(objpfx)tst-strtod-underflow): Likewise.
49661 2012-10-30  Andreas Jaeger  <aj@suse.de>
49663         [BZ#14767]
49664         * elf/Makefile (tests): Remove conditional for have-initfini-array
49665         since this is now always required and the variable does not exist
49666         anymore.
49667         (tests-static): Likewise.
49668         (modules-names): Likewise.
49670         * po/eo.po: Add Esperanto translation from translation project.
49672         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49673         merged with constructor/destructor.
49674         (init_array): Likewise.
49675         * elf/tst-array2dep.c (fini_array): Likewise.
49676         (init_array): Likewise.
49678 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49680         * manual/message.texi: Delete @cartouche tags.
49682 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49684         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49685         EOPNOTSUPP.
49686         * sysdeps/mach/hurd/fsync.c: Likewise.
49688         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49689         [_POSIX_REALTIME_SIGNALS]: Change condition to
49690         [_POSIX_REALTIME_SIGNALS > 0].
49692 2012-10-27  Andreas Jaeger  <aj@suse.de>
49694         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49695         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49697         [__WORDSIZE != 64]: Likewise.
49699 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49701         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49702         *  iconvdata/tst-tables.sh: Likewise.
49704 2012-10-25  David S. Miller  <davem@davemloft.net>
49706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49707         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49708         of strtoull.
49710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49711         ifunc-impl-list.c
49712         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49713         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49714         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49715         file.
49717 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49720         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49721         __getdirentries.
49723 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49724             Jim Blandy  <jimb@codesourcery.com>
49726         * scripts/cross-test-ssh.sh: New file.
49727         * manual/install.texi (Configuring and compiling): Document use of
49728         cross-test-ssh.sh.
49729         * INSTALL: Regenerated.
49731 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49733         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49734         EOPNOTSUPP.
49736 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49738         * Makeconfig (run-program-prefix): Fix comment.
49740 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49741             Jim Blandy  <jimb@codesourcery.com>
49743         * Makeconfig (test-wrapper): New variable,
49744         (test-wrapper-env): Likewise.
49745         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49746         (run-built-tests): Define to yes.
49747         (run-program-prefix): Use $(test-wrapper).
49748         (built-program-cmd): Likewise.
49749         * Rules (make-test-out): Use $(test-wrapper-env) and
49750         $(host-built-program-cmd).
49751         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49752         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49753         tst-pathopt.sh.
49754         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49755         $(test-wrapper-env) to tst-rtld-load-self.sh.
49756         ($(objpfx)order2.out): Use $(test-wrapper).
49757         ($(objpfx)tst-initorder.out): Likewise.
49758         ($(objpfx)tst-initorder2.out): Likewise.
49759         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49760         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49761         (test_wrapper_env): New variable.  Use it to run ld.so.
49762         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49763         Use it to run ld.so.
49764         (test_wrapper_env): Likewise.
49765         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49766         $(test-wrapper) to run-iconv-test.sh.
49767         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49768         (ICONV): Use $test_wrapper.
49769         * posix/Makefile ($(objpfx)globtest.out): Pass
49770         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49771         globtest.sh, not $(run-program-prefix).
49772         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49773         (test_wrapper): Likewise.
49774         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49775         set together with run_via_rtld_prefix.
49776         (run_program_prefix): Define in terms of test_wrapper and
49777         run_via_rtld_prefix.
49779 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49781         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49782         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49783         Targets removed.
49785         [BZ #14743]
49786         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49787         Declare __clock_getres, __clock_gettime, __clock_settime,
49788         __clock_nanosleep, and __clock_getcpuclockid.
49789         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49790         Remove librt_hidden_def (clock_gettime).
49791         * sysdeps/unix/clock_gettime.c: Likewise.
49792         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49793         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49794         * rt/clock_getres.c: Define __clock_getres as an alias.
49795         * sysdeps/posix/clock_getres.c: Likewise.
49796         * rt/clock_settime.c: Define __clock_settime as an alias.
49797         * sysdeps/unix/clock_settime.c: Likewise.
49798         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49799         * sysdeps/unix/clock_nanosleep.c: Likewise.
49800         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49801         * rt/clock-compat.c: New file.
49802         * rt/Makefile (librt-routines): Add clock-compat and move
49803         $(clock-routines) to ...
49804         (routines): ... here, new variable.
49805         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49806         Don't add get_clockfreq here.
49807         * rt/Versions (libc: GLIBC_2.17): New version set.
49808         Add clock_* symbols here.
49809         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49810         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49811         (GLIBC_2.17): Add clock_* symbols.
49812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49814         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49816         Likewise.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49818         Likewise.
49819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49823         * NEWS: Mention the move.
49825         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49826         Use __open, __read, __close rather than their public counterparts.
49827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49828         (__get_clockfreq_via_cpuinfo): Likewise.
49829         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49830         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49832         * config.h.in (HAVE_IFUNC): New #undef.
49833         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49834         was successful.
49835         * configure: Regenerated.
49837 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49839         * configure.in: Move READELF check to start of file.
49840         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49841         libc_cv_asm_gnu_indirect_function in the process.
49842         * configure: Regenerated.
49844 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49846         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49847         send the output to /dev/null.
49848         (libc_cv_cc_with_libunwind): Likewise.
49849         (libc_cv_as_noexecstack): Likewise.
49850         * configure: Regenerate.
49852 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49854         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49856         * posix/globtest.sh (TMPDIR): Do not set.
49857         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49858         (testout): Likewise.
49860 2012-10-24  Andreas Jaeger  <aj@suse.de>
49862         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49863         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49864         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49865         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49866         posix_fadvise64, posix_fallocate64.
49868         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49869         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49870         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49871         Likewise.
49872         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49873         Likewise.
49874         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49877         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49878         <bits/fcntl-linux.h>.
49879         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49881         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49882         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49883         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49884         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49885         [__WORDSIZE != 64]: Likewise.
49887 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49889         * Makeconfig (run-built-tests): New variable.
49890         * Rules [$(cross-compiling) = yes]: Change condition to
49891         [$(run-built-tests) = no].
49892         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49893         to [$(run-built-tests) = yes].
49894         * elf/Makefile [$(cross-compiling) = no]: Likewise
49895         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49896         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49897         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49898         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49899         * io/Makefile [$(cross-compiling) = no]: Likewise.
49900         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49901         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49902         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49903         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49904         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49905         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49906         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49907         * string/Makefile [$(cross-compiling) = no]: Likewise.
49909         * posix/Makefile ($(objpfx)globtest.out): Pass
49910         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49911         $(rtld-installed-name).
49912         * posix/globtest.sh (elf_objpfx): Remove variable.
49913         (rtld_installed_name): Likewise.
49914         (library_path): Likewise.
49915         (run_program_prefix): New variable.  Use for running globtest
49916         binary.
49918 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49919             Joseph Myers  <joseph@codesourcery.com>
49921         * Makeconfig (host-built-program-cmd): New variable.
49922         * elf/Makefile (tst-stackguard1-ARGS): Use
49923         $(host-built-program-cmd).
49924         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49925         (tst-spawn-ARGS): Likewise.
49926         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49928 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49929             Jim Blandy  <jimb@codesourcery.com>
49931         * Makeconfig (run-via-rtld-prefix): New variable.
49932         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49933         (built-program-cmd): Likewise.
49935 2012-10-22  Andreas Jaeger  <aj@suse.de>
49937         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49938         __O_RSYNC if it exists, otherwise to O_SYNC.
49940 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49941             Joseph Myers  <joseph@codesourcery.com>
49943         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49944         /dev/null.
49945         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49946         from /dev/null
49947         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49948         /dev/null.
49950 2012-10-22  Andreas Jaeger  <aj@suse.de>
49952         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49953         Define always.
49954         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49957         bits/fcntl-linux.h.
49959         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49960         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49962         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49963         to __O_LARGEFILE.
49964         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49965         to __O_LARGEFILE.
49967 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49968             Joseph Myers  <joseph@codesourcery.com>
49970         * config.make.in (NM): New variable.
49972 2012-10-21  Andreas Jaeger  <aj@suse.de>
49974         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49975         definitions and declarations that are provided by
49976         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49978 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49980         [BZ #14683]
49981         * elf/Makefile (tests-static): Add tst-leaks1-static.
49982         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49983         ($(objpfx)tst-leaks1-static): New rule.
49984         ($(objpfx)tst-leaks1-static-mem): Likewise.
49985         (tst-leaks1-static-ENV): New macro.
49986         * elf/dl-open.c (dl_open_worker): Check the main application
49987         only if SHARED is defined.
49988         * elf/tst-leaks1-static.c: New file.
49990 2012-10-20  Andreas Jaeger  <aj@suse.de>
49992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49993         generic values for Linux.
49994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49995         and declarations that are provided by <bits/fcntl-linux.h> and
49996         include <bits/fcntl-linux.h>.
49997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49998         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50000 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50002         * io/fcntl.h: Move include of <bits/types.h> to the top and
50003         include it unconditionally.
50005 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50007         * wcsmbs/Makefile (tests-ifunc): New variable.
50008         (tests): Add $(tests-ifunc).
50009         * wcsmbs/test-wcschr-ifunc.c: New file.
50010         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50011         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50012         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50013         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50014         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50016         * string/Makefile (tests-ifunc): New variable.
50017         (tests): Add $(tests-ifunc).
50018         * string/test-memccpy.c (TEST_NAME): New macro.
50019         * string/test-memchr.c (TEST_NAME): Likewise.
50020         * string/test-memcmp.c (TEST_NAME): Likewise.
50021         * string/test-memcpy.c (TEST_NAME): Likewise.
50022         * string/test-memmem.c (TEST_NAME): Likewise.
50023         * string/test-memmove.c (TEST_NAME): Likewise.
50024         * string/test-memset.c (TEST_NAME): Likewise.
50025         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50026         * string/test-stpcpy.c (TEST_NAME): Likewise.
50027         * string/test-stpncpy.c (TEST_NAME): Likewise.
50028         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50029         * string/test-strcasestr.c (TEST_NAME): Likewise.
50030         * string/test-strcat.c (TEST_NAME): Likewise.
50031         * string/test-strchr.c (TEST_NAME): Likewise.
50032         * string/test-strcmp.c(TEST_NAME): Likewise.
50033         * string/test-strcpy.c (TEST_NAME): Likewise.
50034         * string/test-strcspn.c (TEST_NAME): Likewise.
50035         * string/test-strlen.c (TEST_NAME): Likewise.
50036         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50037         * string/test-strncmp.c (TEST_NAME): Likewise.
50038         * string/test-strncpy.c (TEST_NAME): Likewise.
50039         * string/test-strnlen.c (TEST_NAME): Likewise.
50040         * string/test-strpbrk.c (TEST_NAME): Likewise.
50041         * string/test-strrchr.c (TEST_NAME): Likewise.
50042         * string/test-strspn.c (TEST_NAME): Likewise.
50043         * string/test-strstr.c (TEST_NAME): Likewise.
50044         * string/test-bcopy-ifunc.c: New file.
50045         * string/test-bzero-ifunc.c: Likewise.
50046         * string/test-memccpy-ifunc.c: Likewise.
50047         * string/test-memchr-ifunc.c: Likewise.
50048         * string/test-memcmp-ifunc.c: Likewise.
50049         * string/test-memcpy-ifunc.c: Likewise.
50050         * string/test-memmem-ifunc.c: Likewise.
50051         * string/test-memmove-ifunc.c: Likewise.
50052         * string/test-mempcpy-ifunc.c: Likewise.
50053         * string/test-memset-ifunc.c: Likewise.
50054         * string/test-rawmemchr-ifunc.c: Likewise.
50055         * string/test-stpcpy-ifunc.c: Likewise.
50056         * string/test-stpncpy-ifunc.c: Likewise.
50057         * string/test-strcasecmp-ifunc.c: Likewise.
50058         * string/test-strcasestr-ifunc.c: Likewise.
50059         * string/test-strcat-ifunc.c: Likewise.
50060         * string/test-strchr-ifunc.c: Likewise.
50061         * string/test-strchrnul-ifunc.c: Likewise.
50062         * string/test-strcmp-ifunc.c: Likewise.
50063         * string/test-strcpy-ifunc.c: Likewise.
50064         * string/test-strcspn-ifunc.c: Likewise.
50065         * string/test-strlen-ifunc.c: Likewise.
50066         * string/test-strncasecmp-ifunc.c: Likewise.
50067         * string/test-strncat-ifunc.c: Likewise.
50068         * string/test-strncmp-ifunc.c: Likewise.
50069         * string/test-strncpy-ifunc.c: Likewise.
50070         * string/test-strnlen-ifunc.c: Likewise.
50071         * string/test-strpbrk-ifunc.c: Likewise.
50072         * string/test-strrchr-ifunc.c: Likewise.
50073         * string/test-strspn-ifunc.c: Likewise.
50074         * string/test-strstr-ifunc.c: Likewise.
50076         * debug/Makefile (tests-ifunc): New variable.
50077         (tests): Add $(tests-ifunc).
50078         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50079         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50080         * debug/test-stpcpy_chk-ifunc.c: New file.
50081         * debug/test-strcpy_chk-ifunc.c: Likewise.
50083 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50085         [BZ #13601]
50086         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50087         header is not read in.
50089 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50091         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50092         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50093         directly.  Pass built executable to script as
50094         $(built-program-cmd).
50095         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50096         $testprogram without using LD_LIBRARY_PATH and $ldso.
50098         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50099         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50100         $(rtld-installed-name).
50101         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50102         (rtld_installed_name): Likewise.
50103         (library_path): Likewise.
50104         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50105         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50106         $(run-program-prefix) to tst-tables.sh.
50107         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50108         it to run tst-table-from and tst-table-to.
50109         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50110         Pass it to tst-table.sh.
50111         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50112         $(run-program-prefix) to tst-gettext.sh.
50113         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50114         tst-translit.sh.
50115         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50116         tst-gettext2.sh.
50117         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50118         to run tst-gettext.
50119         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50120         to run tst-gettext2.
50121         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50122         to run tst-translit.
50123         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50124         $(run-program-prefix) to tst-mtrace.sh.
50125         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50126         to run tst-mtrace.
50127         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50128         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50129         $(rtld-installed-name).
50130         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50131         (rtld_installed_name): Likewise.
50132         (run_program_prefix): New variable.  Use it to run wordexp-test.
50134         * Makeconfig (ARCH): Remove all definitions.
50135         (machine): Likewise.
50136         [ARCH]: Remove conditional code.
50137         [!objdir]: Give error.
50138         [!objdir] (objpfx): Remove.
50139         [!objdir] (common-objpfx): Likewise.
50140         [!objdir] (common-objdir): Likewise.
50141         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50142         AC_CONFIG_FILES call.
50143         * configure: Regenerated.
50145         [BZ #13888]
50146         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50147         or TMPDIR.
50148         (testout): Likewise.
50150         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50151         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50152         $(rtld-installed-name).
50153         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50154         (rtld_installed_name): Likwise.
50155         (runit): Remove function.
50156         (run_getconf): New variable,  Use it for running getconf binary.
50158 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50160         [BZ #14716]
50161         * string/test-memmem.c (check_result): New function.
50162         (do_one_test): Use it.
50163         (check1): New function.
50164         (test_main): Use it.
50166 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50168         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50170 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50172         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50173         (_G_LSEEK64): Likewise.
50174         (_G_MMAP64): Likewise.
50175         (_G_FSTAT64): Likewise.
50176         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50177         (_G_LSEEK64): Likewise.
50178         (_G_MMAP64): Likewise.
50179         (_G_FSTAT64): Likewise.
50180         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50181         unconditional.  Call __mmap64 directly.
50182         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50183         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50184         __lseek64 directly.
50185         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50186         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50187         __mmap64 directly.
50188         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50189         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50190         __lseek64 directly.
50191         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50192         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50193         __lseek64 directly.
50194         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50195         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50196         __lseek64 directly.
50197         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50198         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50199         __fxstat64 directly.
50200         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50201         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50202         unconditional.
50203         (freopen64) [!_G_OPEN64]: Remove conditional code.
50204         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50205         unconditional.
50206         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50207         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50208         unconditional.
50209         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50210         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50211         unconditional.
50212         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50213         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50214         unconditional.
50215         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50216         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50217         unconditional.
50218         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50219         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50220         unconditional.
50221         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50222         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50223         unconditional.
50224         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50226 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50228         [BZ #12140]
50229         * manual/memory.texi (Malloc Tunable Parameters): Add note
50230         about free list pointers overwriting some perturb bytes.
50231         Wording suggested by Roland McGrath.
50233 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50235         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50236         (lgamma_test): Likewise.
50237         (tgamma_test): Likewise.
50239 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50241         [BZ #14700]
50242         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50243         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50245 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50247         * NEWS: Mention BZ #14716.
50248         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50249         when removing AVAILABLE1_USES_J macro.
50251 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50253         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50254         (__bswap_64): __uint64_t for unsigned 64-bit int.
50256 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50258         * include/string.h (memmem): Declare libc hidden alias.
50259         * string/memmem.c (memmem): Define libc hidden alias.
50260         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50261         __read, __close instead of open, read, close.
50263 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50266         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50267         global and hidden.
50268         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50269         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50270         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50271         Likewise.
50272         (__rawmemchr_sse2): Likewise.
50273         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50274         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50275         (__strchr_sse2): Likewise.
50276         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50277         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50278         (__strcasecmp_sse2): Likewise.
50279         (__strncasecmp_sse2): Likewise.
50280         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50281         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50282         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50283         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50284         (__strrchr_sse2): Likewise.
50285         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50286         ifunc-impl-list.c.
50287         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50288         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50289         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50290         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50291         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50292         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50293         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50294         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50295         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50296         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50297         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50298         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50299         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50300         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50301         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50302         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50303         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50304         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50305         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50306         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50307         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50308         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50309         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50310         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50311         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50312         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50313         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50314         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50315         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50316         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50319         global and hidden.
50320         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50321         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50322         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50323         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50324         Likewise.
50325         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50326         Likewise.
50327         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50328         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50329         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50330         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50331         ifunc-impl-list.c.
50332         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50333         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50334         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50335         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50336         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50337         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50338         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50339         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50340         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50341         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50342         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50343         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50344         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50346         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50347         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50348         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50349         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50350         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50351         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50352         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50353         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50354         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50355         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50356         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50357         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50358         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50359         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50360         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50361         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50362         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50363         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50364         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50365         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50366         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50367         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50368         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50369         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50370         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50371         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50372         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50374         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50375         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50376         * include/ifunc-impl-list.h: New file.
50377         * misc/ifunc-impl-list.c: Likewise.
50378         * misc/Makefile (routines): Add ifunc-impl-list.
50379         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50380         * string/test-string.h: Include <ifunc-impl-list.h>.
50381         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50382         TEST_NAME]: New variables.
50383         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50384         are defined.
50385         (test_init): Call __libc_ifunc_impl_list to initialize
50386         func_list if TEST_IFUNC and TEST_NAME are defined.
50388         * string/Makefile (strop-tests): Add bcopy and bzero.
50389         * string/test-bcopy.c: New file.
50390         * string/test-bzero.c: Likewise.
50391         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50392         defined.
50393         * string/test-memset.c: Support bzero test if TEST_BZERO is
50394         defined.
50395         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50396         __libc_memmove.
50397         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50398         __libc_memset.
50399         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50400         of memset.
50402 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50404         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50405         * configure: Regenerated.
50407         * Makeconfig (+link-static-before-libc): Don't include
50408         $(link-static-libc).
50410         * libio/libio.h (_IO_pos_t): Remove.
50412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50414         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50415         McGrath.
50417 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50419         * crypt/crypt-entry.c: Include fips-private.h.
50420         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50421         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50422         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50423         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50425 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50427         * crypt/crypt-private.h: Include stdbool.h.
50428         (_ufc_setup_salt_r): Return bool.
50429         * crypt/crypt-entry.c: Include errno.h.
50430         (__crypt_r): Return NULL with EINVAL for bad salt.
50431         * crypt/crypt_util.c (bad_for_salt): New.
50432         (_ufc_setup_salt_r): Check that salt is long enough and within
50433         the specified alphabet.
50434         * crypt/badsalttest.c: New file.
50435         * crypt/Makefile (tests): Add it.
50436         ($(objpfx)badsalttest): New.
50438 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50440         * NEWS: Add entry for BZ #14602.
50442 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50444         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50445         type-generic.
50446         * math/libm-test.inc: Update comment listing what functions and
50447         macros are tested.
50448         (isgreater_test): New function.
50449         (isgreaterequal_test): Likewise.
50450         (isless_test): Likewise.
50451         (islessequal_test): Likewise.
50452         (islessgreater_test): Likewise.
50453         (isunordered_test): Likewise.
50454         (main): Call the new functions.
50456 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50458         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50459         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50460         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50461         * sysdeps/i386/configure: Regenerated.
50462         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50463         * sysdeps/mach/configure: Regenerated.
50464         * sysdeps/mach/hurd/configure: Regenerated.
50465         * sysdeps/powerpc/configure: Regenerated.
50466         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50467         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50468         * sysdeps/s390/s390-32/configure: Regenerated.
50469         * sysdeps/s390/s390-64/configure: Regenerated.
50470         * sysdeps/sh/configure: Regenerated.
50471         * sysdeps/sparc/configure: Regenerated.
50472         * sysdeps/unix/sysv/linux/configure: Regenerated.
50473         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50474         * sysdeps/x86_64/configure: Regenerated.
50476         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50477         defined.  Don't check if MAP is NULL.
50479 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50481         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50482         (_G_stat64): Likewise.
50483         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50484         (_G_stat64): Likewise.
50485         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50486         instead of struct _G_stat64.
50487         * libio/fileops.c (mmap_remap_check): Likewise.
50488         (decide_maybe_mmap): Likewise.
50489         (_IO_new_file_seekoff): Likewise.
50490         (_IO_file_stat): Likewise.
50491         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50492         _G_off64_t.
50493         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50494         instead of struct _G_stat64.
50495         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50497 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50499         [BZ #14602]
50500         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50501         Replace with ...
50502         (CHECK_EOL): New macro.
50503         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50504         CHECK_EOL.
50505         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50506         Replace with CHECK_EOL.
50507         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50508         Replace with CHECK_EOL.
50510 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50512         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50513         type-generic.
50514         * math/libm-test.inc: Update comment listing what functions and
50515         macros are tested.
50516         (finite_test): New function.
50517         (isinf_test): Likewise.
50518         (isnan_test): Likewise.
50519         (fpclassify_test): Test subnormal input.
50520         (isfinite_test): Likewise.
50521         (isnormal_test): Likewise.
50522         (main): Call the new functions.
50524 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50526         [BZ #14660]
50527         * Makerules (%.dynsym): Force C locale when running
50528         $(OBJDUMP) --dynamic-syms.
50530 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50532         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50533         <stdint.h>.
50535 2012-10-06  David S. Miller  <davem@davemloft.net>
50537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50538         upper 32-bits of the length value in %o2 since we use branch-on-register
50539         tests which consider the entire 64-bit register.
50541 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50543         * string/test-strstr.c (check2): Add a test for page boundary.
50545 2012-10-05  David S. Miller  <davem@davemloft.net>
50547         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50548         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50549         file.
50550         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50551         sysdep_routines.
50552         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50553         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50554         and bzero when HWCAP_SPARC_CRYPTO is present.
50556 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50558         [BZ #14602]
50559         * string/test-strstr.c (check2): New function.
50560         (test_main): Call check2.
50562         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50563         and bug-strchr1.
50564         * string/bug-strcasestr1.c (do_test): Moved to ...
50565         * string/test-strcasestr.c (check1): Here.  New function.
50566         (do_one_test): Break out result checking code into ...
50567         (check_result): This.  New function.
50568         (do_one_test): Call check_result.
50569         (test_main): Call check1.
50570         * string/bug-strchr1.c (do_test): Moved to ...
50571         * string/test-strchr.c (check1): Here.  New function.
50572         (do_one_test): Break out result checking code into ...
50573         (check_result): This.  New function.
50574         (do_one_test): Call check_result.
50575         (test_main): Call check1.
50576         * string/bug-strstr1.c (main): Moved to ...
50577         * string/test-strstr.c (check1): Here.  New function.
50578         (do_one_test): Break out result checking code into ...
50579         (check_result): This.  New function.
50580         (do_one_test): Call check_result.
50581         (test_main): Call check1.
50582         * string/bug-strcasestr1.c: Removed.
50583         * string/bug-strchr1.c: Likewise.
50584         * string/bug-strstr1.c: Likewise.
50586         * elf/Makefile (dl-routines): Add hwcaps.
50587         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50588         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50589         (_dl_important_hwcaps): Moved to ...
50590         * elf/dl-hwcaps.c: Here.  New file.
50591         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50593         [BZ #14557]
50594         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50595         if IS_IN_rtld isn't defined.
50597         * elf/dl-support.c (_dl_sysinfo_map): New.
50598         Include "get-dynamic-info.h" and "setup-vdso.h".
50599         (_dl_non_dynamic_init): Call setup_vdso.
50600         * elf/dynamic-link.h: Don't include <assert.h>.
50601         (elf_get_dynamic_info): Moved to ...
50602         * elf/get-dynamic-info.h: Here.  New file.
50603         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50604         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50605         * elf/setup-vdso.h: Here.  New file.
50606         * elf/rtld.c: Include "setup-vdso.h".
50607         (dl_main): Call setup_vdso.
50609 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50611         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50612         creal in comment listing functions tested.  List finite, isinf,
50613         isnan, isless, islessequal, isgreater, isgreaterequal,
50614         islessgreater, isunordered, lgamma_r and pow10 as functions and
50615         macros not tested.  Mention which functions not tested are aliases
50616         for other functions.  Fix typo.  Note that signs of NaNs are not
50617         tested.
50619         * scripts/config.guess: Update from config.git.
50620         * scripts/config.sub: Likewise.
50622 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50624         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50625         * misc/madvise.c (madvise): Renamed to __madvise.
50626         Make madvise a weak alias.
50627         * include/sys/mman.h: Declare __madvise.
50628         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50629         * sysdeps/unix/syscalls.list
50630         (madvise): Make __madvise the strong name, and madvise a weak alias.
50631         * sysdeps/unix/sysv/linux/syscalls.list
50632         (madvise, mmap): Remove redundant entries.
50633         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50634         * malloc/malloc.c (mtrim): Likewise.
50635         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50637 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50639         * sysdeps/mach/hurd/dl-cache.c: File removed.
50640         * config.h.in (USE_LDCONFIG): New #undef.
50641         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50642         * configure: Regenerated.
50643         * elf/Makefile (dl-routines): Add dl-cache only under
50644         [$(use-ldconfig) = yes].
50645         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50646         cache on [USE_LDCONFIG].
50647         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50648         [USE_LDCONFIG].
50649         * elf/rtld.c (dl_main): Likewise.
50651 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50653         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50654         _SC_LEVEL4_CACHE_LINESIZE.
50656 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50658         * sysdeps/unix/bsd/confstr.h: File removed.
50660 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50662         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50663         sys/sdt-config.h.
50665 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50667         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50668         Make 'mapoff' field ElfW(Off) rather than off_t.
50670 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50672         * nscd/Makefile: Remove nscd-cflags and all its users.
50673         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50674         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50676         [BZ #10631]
50677         * malloc.c (malloc_printerr): Clarify error message.
50679 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50681         [BZ #14648]
50682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50683         Set bit_FMA_Usable if FMA is supported.
50684         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50685         macro.
50686         (bit_FMA4_Usable): Updated.
50687         (index_FMA_Usable): New macro.
50688         (CPUID_FMA): Likewise
50689         (HAS_FMA): Defined with bit_FMA_Usable.
50691 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50693         * bits/types.h (__swblk_t): Type removed.
50694         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50695         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50697         (__SWBLK_T_TYPE): Likewise.
50698         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50699         (__SWBLK_T_TYPE): Likewise.
50700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50701         (__SWBLK_T_TYPE): Likewise.
50702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50703         (__SWBLK_T_TYPE): Likewise.
50705 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50706             Honza Horak <hhorak@redhat.com>
50708         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50709         (xdr_mapname): Use YPMAXMAP as maxsize.
50710         (xdr_peername): Use YPMAXPEER as maxsize.
50711         (xdr_keydat): Use YPAXRECORD as maxsize.
50712         (xdr_valdat): Use YPMAXRECORD as maxsize.
50714 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50716         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50718         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50719         * csu/init-first.c: ... here.
50720         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50721         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50722         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50723         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50724         * sysdeps/i386/init-first.c: File removed.
50725         * sysdeps/sh/init-first.c: File removed.
50727 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50729         [BZ #14645]
50730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50731         if x * y might underflow to zero and z is zero.
50732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50734         * math/libm-test.inc (min_subnorm_value): New variable.
50735         (fma_test): Add more tests.
50736         (fma_test_towardzero): Likewise.
50737         (fma_test_downward): Likewise
50738         (fma_test_upward): Likewise.
50739         (initialize): Set min_subnorm_value.
50741 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50743         [BZ #14638]
50744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50745         0 + 0.
50746         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50747         mode for addition resulting in exact zero.
50748         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50750         exact 0 + 0.
50751         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50752         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50753         * math/libm-test.inc (fma_test): Add more tests.
50754         (fma_test_towardzero): New function.
50755         (fma_test_downward): Likewise.
50756         (fma_test_upward): Likewise.
50757         (main): Call the new functions.
50759 2012-09-28  David S. Miller  <davem@davemloft.net>
50761         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50763 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50765         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50766         instead of SIGALRM.
50768         * sysdeps/gnu/_G_config.h: Moved to ...
50769         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50770         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50771         * sysdeps/generic/_G_config.h: ... here.
50773         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50775         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50777         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50778         Conditionalize target on [libnss_test1.so-version].
50780         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50782         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50783         (elfobjdir): Move out of conditionals.
50785         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50786         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50787         (__nss_lookup_function): Conditionalize label remove_from_tree on
50788         [!DO_STATIC_NSS || SHARED], matching its only use.
50790 2012-09-28  David S. Miller  <davem@davemloft.net>
50792         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50793         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50794         file.
50795         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50796         sysdep_routines.
50797         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50799         when HWCAP_SPARC_CRYPTO is present.
50801 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50803         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50805 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50807         [BZ #6530]
50808         * stdio-common/vfprintf.c (process_string_arg): Revert
50809         2000-07-22 change.
50811 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50813         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50814         for testcase.
50815         * stdio-common/tst-sprintf.c: Include <locale.h>
50816         (main): Test sprintf's handling of incomplete multibyte
50817         characters.
50819 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50821         * elf/dl-runtime.c (VERSYMIDX): Removed.
50822         * elf/dl-version.c (VERSYMIDX): Likewise.
50823         * elf/do-rel.h (VERSYMIDX): Likewise.
50824         (VALIDX): Likewise.
50825         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50826         * elf/rtld.c (VALIDX): Likewise.
50827         (ADDRIDX): Likewise.
50828         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50829         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50830         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50831         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50832         (VALIDX): Likewise.
50833         (ADDRIDX): Likewise.
50835 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50837         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50839 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50841         [BZ #11438]
50842         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50843         to global scope.
50844         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50845         addresses are in the same scope as 192.0.2/24.
50846         * posix/gai.conf: Document new scope table defaults.
50848 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50850         [BZ #5298]
50851         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50852         for ftell.  Compute offsets from write pointers instead.
50853         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50855 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50857         [BZ #14543]
50858         * libio/Makefile (tests): New test case tst-fseek.
50859         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50860         combination works in wide mode.
50861         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50862         state when the external buffer state changes.
50864 2012-09-27  David S. Miller  <davem@davemloft.net>
50866         [BZ #14376]
50867         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50868         pass reloc->r_addend in as the 'high' argument to
50869         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50873 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50875         * rt/tst-aio2.c: Include <pthread.h>.
50876         * rt/tst-aio3.c: Likewise.
50878 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50880         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50882 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50884         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50885         contents on [SHARED].
50887 2012-09-26  Marek Polacek  <polacek@redhat.com>
50889         [BZ #14530]
50890         [BZ #13741]
50891         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50892         for C++ and GCC <4.3 as well as for non GCC compilers.
50894 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50898 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50900         * Makefile.in (all, install): Declare with .PHONY.
50901         Reported by Michael Hope <michael.hope@linaro.org>.
50903 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50905         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50906         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50907         system header.
50908         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50909         Likewise.
50910         (sydep_routines): Add the new and the internal functions.
50911         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50912         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50914         (GLIBC_2.17): Add the new function.
50915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50916         (GLIBC_2.17): Likewise.
50917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50918         (GLIBC_2.17): Likewise.
50919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50920         (GLIBC_2.17): Likewise.
50921         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50923 2012-09-25  Alan Modra  <amodra@gmail.com>
50925         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50926         Add release barrier before setting once_control to say
50927         initialisation is done.  Add hints on lwarx.  Use macro in
50928         place of isync.
50929         (clear_once_control): Add release barrier.
50931 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50933         [BZ #13629]
50934         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50935         specially.
50936         * math/s_clog10.c (__clog10): Likewise.
50937         * math/s_clog10f.c (__clog10f): Likewise.
50938         * math/s_clog10l.c (__clog10l): Likewise.
50939         * math/s_clogf.c (__clogf): Likewise.
50940         * math/s_clogl.c (__clogl): Likewise.
50941         * math/Makefile (libm-calls): Add x2y2m1.
50942         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50943         (__x2y2m1): Likewise.
50944         (__x2y2m1l): Likewise.
50945         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50946         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50947         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50948         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50949         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50950         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50951         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50952         * sysdeps/i386/fpu/libm-test-ulps: Update.
50953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50955         [BZ #14621]
50956         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50957         int as type of variable DEPTH.
50958         (glob): Use size_t instead of int as type of variables NEWCOUNT
50959         and OLD_PATHC.
50961 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50963         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50964         Add s_sincosf-sse2.
50965         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50966         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50967         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50968         macros for using routine as __sincosf_ia32.
50969         Use macro for function declaration and weak_alias.
50970         * sysdeps/i386/fpu/libm-test-ulps: Update.
50972         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50975         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50976         subnormal argument.
50977         * math/s_cexpf.c (__cexpf): Likewise.
50978         * math/s_csinf.c (__csinf): Likewise.
50979         * math/s_csinhf.c (__csinhf): Likewise.
50980         * math/s_ctanf.c (__ctanf): Likewise.
50981         * math/s_ctanhf.c (__ctanhf): Likewise.
50982         * math/s_ccosh.c (__ccoshf): Likewise.
50983         * math/s_cexp.c (__cexpl): Likewise.
50984         * math/s_csin.c (__csin): Likewise.
50985         * math/s_csinh.c (__csinh): Likewise.
50986         * math/s_ctan.c (__ctan): Likewise.
50987         * math/s_ctanh.c (ctanh): Likewise.
50988         * math/s_ccoshl.c (__ccoshl): Likewise.
50989         * math/s_cexpl.c (__cexpl): Likewise.
50990         * math/s_csinl.c (__csinl): Likewise.
50991         * math/s_csinhl.c (__csinhl): Likewise.
50992         * math/s_ctanl.c (__ctanl): Likewise.
50993         * math/s_ctanhl.c (__ctanhl): Likewise.
50995 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50997         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50998         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50999         (_IO_off_t): Define to __off_t, not _G_off_t.
51000         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51001         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51002         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51003         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51004         type of __dummy and __dummy2 fields.
51005         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51006         (_G_ssize_t): Likewise.
51007         (_G_off_t): Likewise.
51008         (_G_pid_t): Likewise.
51009         (_G_uid_t): Likewise.
51010         (_G_wchar_t): Likewise.
51011         (_G_wint_t): Likewise.
51012         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51013         (_G_ssize_t): Likewise.
51014         (_G_off_t): Likewise.
51015         (_G_pid_t): Likewise.
51016         (_G_uid_t): Likewise.
51017         (_G_wchar_t): Likewise.
51018         (_G_wint_t): Likewise.
51019         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51020         (_G_ssize_t): Likewise.
51021         (_G_off_t): Likewise.
51022         (_G_pid_t): Likewise.
51023         (_G_uid_t): Likewise.
51024         (_G_wchar_t): Likewise.
51025         (_G_wint_t): Likewise.
51027 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51029         * malloc/arena.c: Include malloc-sysdep.h.
51030         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51031         is sufficient to shrink the heap or an unmap is needed.
51032         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51033         new function check_may_shrink_heap.
51034         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51035         new function check_may_shrink_heap.
51037 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51039         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51040         comments.
51042 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51044         * catgets/test-gencat.sh: Add "set -e".
51045         * elf/tst-pathopt.sh: Likewise.
51046         * grp/tst_fgetgrent.sh: Likewise.
51047         * iconvdata/run-iconv-test.sh: Likewise.
51048         * intl/tst-gettext.sh: Likewise.
51049         * intl/tst-gettext2.sh: Likewise.
51050         * intl/tst-gettext4.sh: Likewise.
51051         * intl/tst-gettext6.sh: Likewise.
51052         * intl/tst-translit.sh: Likewise.
51053         * io/ftwtest-sh: Likewise.
51054         * libio/test-freopen.sh: Likewise.
51055         * malloc/tst-mtrace.sh: Likewise.
51056         * posix/globtest.sh: Likewise.
51057         * posix/tst-getconf.sh: Likewise.
51058         * posix/wordexp-tst.sh: Likewise.
51059         * stdio-common/tst-printf.sh: Likewise.
51060         * stdio-common/tst-unbputc.sh: Likewise.
51061         * stdlib/tst-fmtmsg.sh: Likewise.
51062         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51063         * catgets/Makefile: Do not specify -e option when running
51064         testsuite shell scripts.
51065         * elf/Makefile: Likewise.
51066         * grp/Makefile: Likewise.
51067         * iconvdata/Makefile: Likewise.
51068         * intl/Makefile: Likewise.
51069         * io/Makefile: Likewise.
51070         * libio/Makefile: Likewise.
51071         * malloc/Makefile: Likewise.
51072         * posix/Makefile: Likewise.
51073         * stdio-common/Makefile: Likewise.
51074         * stdlib/Makefile: Likewise.
51075         * sysdeps/x86_64/Makefile: Likewise.
51077         * io/ftwtest-sh: Add copyright header.
51078         * posix/globtest.sh: Likewise.
51079         * posix/tst-getconf.sh: Likewise.
51080         * posix/wordexp-tst.sh: Likewise.
51081         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51083 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51085         [BZ #13679]
51086         * Makeconfig (+link): Defined as $(+link-static) if
51087         $(build-shared) isn't yes.
51088         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51089         isn't yes.
51090         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51092         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51094         [BZ #14562]
51095         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51096         new chunk size with MALLOC_ALIGN_MASK.
51098 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51100         [BZ #5044]
51101         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51102         <rounding-mode.h>.
51103         (__printf_fphex): Determine rounding using get_rounding_mode and
51104         round_away.
51105         * stdio-common/tst-printf-round.c (struct hex_test): New
51106         structure.
51107         (hex_tests): New variable.
51108         (test_hex_in_one_mode): New function.
51109         (do_test): Also run tests for hex float output.
51111 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51113         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51114         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51115         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51116         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51117         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51118         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51119         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51120         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51122 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51124         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51125         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51126         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51127         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51129 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51131         [BZ #14579]
51132         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51133         mode only.
51134         * elf/tst-rtld-load-self.sh: New test.
51135         * elf/Makefile: Run it.
51137 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51139         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51140         (tst-writev-ENV): Remove.
51141         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51143 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51145         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51147 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51149         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51150         unconditional.
51151         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51152         Likewise.
51153         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51154         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51155         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51156         Likewise.
51158 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51160         [BZ #14587]
51161         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51162         * config.make.in (have-cpp-asm-debuginfo): Removed.
51163         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51164         * configure: Regenerated.
51166 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51168         [BZ #5044]
51169         * stdio-common/printf_fp.c: Include <stdbool.h> and
51170         <rounding-mode.h>.
51171         (___printf_fp): Determine rounding using get_rounding_mode and
51172         round_away.
51173         * stdio-common/tst-printf-round.c: New file.
51174         * stdio-common/Makefile (tests): Add tst-printf-round.
51175         (link-libm): New variable.
51176         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51178 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51180         [BZ #14576]
51181         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51182         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51183         Likewise.
51184         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51185         Likewise.
51187 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51189         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51190         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51191         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51192         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51194 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51196         [BZ #14518]
51197         * include/rounding-mode.h: New file.
51198         * sysdeps/generic/get-rounding-mode.h: Likewise.
51199         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51200         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51201         (MAX_VALUE): New macro.
51202         (MIN_VALUE): Likewise.
51203         (overflow_value): New function.
51204         (underflow_value): Likewise.
51205         (round_and_return): Use overflow_value and underflow_value to
51206         determine return values in overflow and underflow cases.  Use
51207         round_away to determine rounding depending on rounding mode.
51208         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51209         determine return values in overflow and underflow cases.
51210         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51211         (struct test_results): New structure.
51212         (struct test): Use struct test_results to store expected results
51213         for all rounding modes.
51214         (TEST): Include expected results for all rounding modes.
51215         (test_in_one_mode): New function.
51216         (do_test): Use test_in_one_mode to compute and check results.
51217         Check results for all rounding modes.
51218         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51219         $(link-libm).
51221 2012-12-09  Allan McRae  <allan@archlinux.org>
51223         * sysdeps/i386/fpu/libm-test-ulps: Update
51225 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51227         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51228         (_G_int32_t): Likewise.
51229         (_G_uint16_t): Likewise.
51230         (_G_uint32_t): Likewise.
51231         (_G_HAVE_BOOL): Likewise.
51232         (_G_HAVE_ATEXIT): Likewise.
51233         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51234         (_G_HAVE_IO_FILE_OPEN): Likewise.
51235         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51236         (_G_int32_t): Likewise.
51237         (_G_uint16_t): Likewise.
51238         (_G_uint32_t): Likewise.
51239         (_G_HAVE_BOOL): Likewise.
51240         (_G_HAVE_ATEXIT): Likewise.
51241         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51242         (_G_HAVE_IO_FILE_OPEN): Likewise.
51243         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51244         (_G_int32_t): Likewise.
51245         (_G_uint16_t): Likewise.
51246         (_G_uint32_t): Likewise.
51247         (_G_HAVE_BOOL): Likewise.
51248         (_G_HAVE_ATEXIT): Likewise.
51249         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51250         (_G_HAVE_IO_FILE_OPEN): Likewise.
51252 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51254         * csu/libc-tls.c: Update copyright years.
51256 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51258         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51259         [!_G_USING_THUNKS]: Remove conditional code.
51260         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51261         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51263         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51264         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51265         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51266         (_G_VTABLE_LABEL_PREFIX): Likewise.
51267         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51268         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51269         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51270         (_G_VTABLE_LABEL_PREFIX): Likewise.
51271         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51272         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51273         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51274         (_G_VTABLE_LABEL_PREFIX): Likewise.
51275         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51277 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51279         * libio/Makefile: Include ../Makeconfig before tests.
51280         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51281         only if $(build-shared) is yes.
51283         * iconv/gconv_db.c: Update copyright years.
51285 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51287         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51288         unwind info if defined PIC. Fix special cases description.
51289         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51291         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51292         DP_HI_MASK entry.
51293         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51295 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51297         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51299         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51300         is NULL.
51302         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51303         (LDLIBS-tst-chk4): This.
51304         (LDFLAGS-tst-chk5): Renamed to ...
51305         (LDLIBS-tst-chk5): This.
51306         (LDFLAGS-tst-chk6): Renamed to ...
51307         (LDLIBS-tst-chk6): This.
51308         (LDFLAGS-tst-lfschk4): Renamed to ...
51309         (LDLIBS-tst-lfschk4): This.
51310         (LDFLAGS-tst-lfschk5): Renamed to ...
51311         (LDLIBS-tst-lfschk5): This.
51312         (LDFLAGS-tst-lfschk6): Renamed to ...
51313         (LDLIBS-tst-lfschk6): This.
51315         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51316         on $(common-objpfx)soversions.mk.
51318 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51320         [BZ #10014]
51321         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51322         example host name.
51324 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51326         * malloc/arena.c (arena_get_retry): New function that gets
51327         another arena for the caller to try its request on.
51328         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51329         current arena cannot fulfill the request.
51330         (__libc_memalign): Likewise.
51331         (__libc_memalign): Likewise.
51332         (__libc_pvalloc): Likewise.
51333         (__libc_calloc): Likewise.
51335 2012-09-05  John Tobey  <john.tobey@gmail.com>
51337         [BZ #13542]
51338         * manual/arith.texi (Operations on Complex): Fix description
51339         of carg branch cut.
51341 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51343         [BZ #10014]
51344         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51345         host name.
51347         [BZ #10038]
51348         * manual/memory.texi (Memory): Make order of menu items match
51349         order of sections.
51351 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51353         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51354         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51355         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51357 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51359         * csu/libc-tls.c (static_dtv): Renamed to ...
51360         (_dl_static_dtv): This.  Make it global.
51361         (_dl_initial_dtv): Removed.
51362         (__libc_setup_tls): Updated.
51363         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51364         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51365         DL_INITIAL_DTV.
51367 2012-09-06  Petr Machata  <pmachata@redhat.com>
51369         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51370         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51371         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51372         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51374 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51376         [BZ #14545]
51377         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51378         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51379         freeing dtv[-1].
51381 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51383         [BZ #14544]
51384         * Makeconfig (link-static-before-libc): Replace $(+prector)
51385         with $(+prectorT).
51386         (link-static-after-libc): Replace $(+postctor) with
51387         $(+postctorT).
51388         (link-bounded): Replace $(+prector)/$(+postctor) with
51389         $(+prectorT)/$(+postctorT).
51390         (+prectorT): New macro.
51391         (+postctorT): Likewise.
51393 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51395         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51396         (round_str): Handle values above the maximum for IBM long double
51397         as inexact.
51398         * stdlib/tst-strtod-round.c (tests): Regenerated.
51400 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51402         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51403         assembler flag.
51404         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51405         zarch_nohighgprs around the zarch optimized routines.
51406         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51407         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51408         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51409         for zarch.
51411 2012-09-05  David S. Miller  <davem@davemloft.net>
51413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51415         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51416         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51417         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51418         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51419         entries.
51421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51423         * malloc/arena.c: Fold copyright years.
51424         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51426 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51428         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51430 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51432         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51436         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51437         change internal state upon failure.
51439 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51441         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51442         * malloc/memusage.c (mmap): Likewise.
51443         (mmap64, mremap): Likewise.  Adjust name in comment.
51445 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51447         * libio/fileops.c: Fix typos in comments.
51448         * libio/oldfileops.c: Likewise.
51449         * libio/wfileops.c: Likewise.
51451 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51453         [BZ #1349]
51454         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51455         (tst-malloc-usable-ENV): Set environment for test case.
51456         * malloc/hooks.c (malloc_check_get_size): New function to get
51457         requested size.
51458         * malloc/malloc.c (musable): Use malloc_check_get_size.
51459         * malloc/tst-malloc-usable.c: New test case.
51461 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51463         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51465 2012-09-05  Allan McRae  <allan@archlinux.org>
51467         [BZ #13966]
51468         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51469         determine header location.
51470         * configure: Regenerated.
51472 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51474         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51475         float format.
51476         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51477         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51478         format.
51479         (test): Regenerate.
51481 2012-09-04  David S. Miller  <davem@davemloft.net>
51483         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51484         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51485         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51487 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51489         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51490         failures.
51492         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51494 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51496         [BZ #9914]
51497         * libio/iogetdelim.c: Include <limits.h>.
51498         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51499         + len + 1 would overflow.
51501 2012-09-03  Andreas Jaeger  <aj@suse.de>
51503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51504         * sysdeps/i386/fpu/libm-test-ulps: Update.
51506 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51508         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51509         Add s_sinf-sse2, s_conf-sse2.
51511         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51512         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51513         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51514         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51516         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51517         for using routine as __sinf_ia32.
51518         Use macro for function declaration and weak_alias.
51519         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51520         for using routine as __cosf_ia32.
51521         Use macro for function declaration and weak_alias.
51523         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51524         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51526         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51527         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51530         * math/libm-test.inc (cos_test): Add more test cases.
51531         (sin_test): Likewise.
51532         (sincos_test): Likewise.
51534 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51537         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51538         hidden.
51539         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51541 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51543         [BZ #14538]
51544         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51545         first element of the GOT.
51546         (elf_machine_load_address): Return the difference between
51547         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51549 2012-09-01  Allan McRae  <allan@archlinux.org>
51551         [BZ #13412]
51552         * configure.in (AWK): Require gawk version 3.0 or later.
51553         * configure: Regenerated.
51555 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51557         * sysdeps/unix/sysv/linux/kernel-features.h
51558         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51560         [__NR_clock_getres]: Make code unconditional.
51561         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51562         (clock_getcpuclockid): Remove code left unreachable by removal of
51563         conditionals.
51564         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51565         code unconditional.
51566         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51567         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51568         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51569         Make code unconditional.
51570         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51571         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51572         * sysdeps/unix/sysv/linux/clock_settime.c
51573         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51574         conditional code.
51575         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51576         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51578 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51580         [BZ #14476]
51581         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51582         scripts/test-installation.pl.
51584         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51585         and $ld_so_version if it is set.
51587 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51589         [BZ #14516]
51590         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51591         failure if reading from procfs failed.
51592         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51594 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51596         * sysdeps/unix/sysv/linux/kernel-features.h
51597         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51598         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51599         Remove conditional code.
51600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51601         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51602         Remove conditional code.
51603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51604         * sysdeps/unix/sysv/linux/i386/fxstat.c
51605         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51607         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51608         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51610         * sysdeps/unix/sysv/linux/i386/lxstat.c
51611         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51613         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51614         Remove conditional code.
51615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51616         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51617         Remove conditional code.
51618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51619         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51620         <kernel-features.h>.
51621         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51622         Remove.
51623         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51624         Remove conditional code.
51625         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51626         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51627         Remove conditional.
51629 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51631         [BZ #5400]
51632         * NEWS: Add fixed bug number.
51634 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51636         [BZ #14519]
51637         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51638         underflowing exponent in case of negative sign.
51639         * stdlib/tst-strtod-round-data: Add more tests.
51640         * stdlib/tst-strtod-round.c (tests): Regenerated.
51642         [BZ #3479]
51643         * stdlib/strtod_l.c (NDIG): Remove.
51644         (HEXNDIG): Likewise.
51645         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51646         smallest representable value.
51647         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51648         lie within an exact representation of 1/2 ulp of the result.
51649         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51650         unconditionally.
51651         (TENS_P9_IDX): Define unconditionally.
51652         (TENS_P9_SIZE): Likewise.
51653         (TENS_P10_IDX): Likewise.
51654         (TENS_P10_SIZE): Likewise.
51655         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51656         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51657         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51658         entries for 10^2^13 and 10^2^14.
51659         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51660         (TENS_P13_IDX): Define.
51661         (TENS_P13_SIZE): Likewise.
51662         (TENS_P14_IDX): Likewise.
51663         (TENS_P14_SIZE): Likewise.
51664         (_fpioconst_pow10): Change array size to
51665         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51666         unconditional.
51667         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51668         1024]: Add entries for 10^2^13 and 10^2^14.
51669         [LAST_POW10 > _LAST_POW10]: Remove #error.
51670         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51671         (_fpioconst_pow10): Change array size to
51672         FPIOCONST_POW10_ARRAY_SIZE.
51673         * stdlib/gen-fpioconst.c: New file.
51674         * stdlib/gen-tst-strtod-round.c: Likewise.
51675         * stdlib/tst-strtod-round-data: Likewise.
51676         * stdlib/tst-strtod-round.c: Likewise.
51677         * stdlib/Makefile (tests): Add tst-strtod-round.
51679         [BZ #14459]
51680         * stdlib/strtod_l.c: Include <stdint.h>.
51681         (NDEBUG): Do not define.
51682         (round_and_return): Change EXPONENT parameter to type intmax_t.
51683         Rearrange calculations to avoid internal overflow possibilities.
51684         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51685         Rearrange calculations to avoid internal overflow possibilities.
51686         Assert that number fits inside MPNSIZE limbs.
51687         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51688         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51689         calculations and add assertions to avoid internal overflow
51690         possibilities.  Add casts to avoid signed/unsigned operations.
51691         * stdlib/tst-strtod-overflow.c: New file.
51692         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51694 2012-08-25  Marek Polacek  <polacek@redhat.com>
51696         * time/time.h: Fix some typos in comments.
51698 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51700         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51701         * posix/tst-rfc3484-2.c: Likewise.
51702         * posix/tst-rfc3484-3.c: Likewise.
51704 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51706         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51707         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51709 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51711         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51712         #include of fxstatat64.c.
51714 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51716         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51717         * shadow/getspent_r.c: Likewise.
51718         * shadow/getspnam.c: Likewise.
51719         * shadow/getspnam_r.c: Likewise.
51720         * gshadow/getsgent.c: Likewise.
51721         * gshadow/getsgent_r.c: Likewise.
51722         * gshadow/getsgnam.c: Likewise.
51723         * gshadow/getsgnam_r.c: Likewise.
51724         * inet/getnetbyad.c: Likewise.
51725         * inet/getnetbyad_r.c: Likewise.
51726         * inet/getnetbynm.c: Likewise.
51727         * inet/getnetbynm_r.c: Likewise.
51728         * inet/getnetent.c: Likewise.
51729         * inet/getnetent_r.c: Likewise.
51730         * inet/getproto.c: Likewise.
51731         * inet/getproto_r.c: Likewise.
51732         * inet/getprtent.c: Likewise.
51733         * inet/getprtent_r.c: Likewise.
51734         * inet/getprtname.c: Likewise.
51735         * inet/getprtname_r.c: Likewise.
51736         * inet/getrpcbyname.c: Likewise.
51737         * inet/getrpcbyname_r.c: Likewise.
51738         * inet/getrpcbynumber.c: Likewise.
51739         * inet/getrpcbynumber_r.c: Likewise.
51740         * inet/getrpcent.c: Likewise.
51741         * inet/getrpcent_r.c: Likewise.
51742         * inet/getaliasent.c: Likewise.
51743         * inet/getaliasent_r.c: Likewise.
51744         * inet/getaliasname.c: Likewise.
51745         * inet/getaliasname_r.c: Likewise.
51746         * nscd/getgrgid_r.c: Likewise.
51747         * nscd/getgrnam_r.c: Likewise.
51748         * nscd/gethstbyad_r.c: Likewise.
51749         * nscd/gethstbynm3_r.c: Likewise.
51750         * nscd/getpwnam_r.c: Likewise.
51751         * nscd/getpwuid_r.c: Likewise.
51752         * nscd/getsrvbynm_r.c: Likewise.
51753         * nscd/getsrvbypt_r.c: Likewise.
51754         * nscd/gai.c: Likewise.
51756         * configure.in (build_nscd): New substituted variable, set
51757         by --disable-build-nscd and defaults to $use_nscd.
51758         * configure: Regenerated.
51759         * config.make.in (build-nscd): New substituted variable.
51760         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51761         Change conditional to require [$(build-nscd) = yes] as well.
51762         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51764         [BZ# 13696]
51765         * configure.in (use_nscd): New substituted variable, set by
51766         --disable-nscd.  If enabled, define USE_NSCD.
51767         * configure: Regenerated.
51768         * config.h.in: Add USE_NSCD.
51769         * config.make.in (use-nscd): New substituted variable.
51770         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51771         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51772         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51773         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51774         (CFLAGS-getgrnam_r.c): Likewise.
51775         (CFLAGS-initgroups.c): Likewise.
51776         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51777         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51778         Variables removed.
51779         * inet/getnetgrent_r.c
51780         (nscd_setnetgrent): New function, broken out of ...
51781         (setnetgrent): ... here.  Call it.
51782         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51783         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51784         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51785         * nscd/Makefile (routines, aux): Move definitions after include of
51786         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51787         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51788         Conditionalize on [USE_NSCD].
51789         (is_nscd, nscd_init_cb): Likewise.
51790         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51791         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51792         * nss/nss_db/db-init.c: Likewise.
51793         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51794         [USE_NSCD].
51795         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51796         (make_request): Use it.
51797         (cache_valid_p): New function.
51798         (__check_pf): Use it.
51799         * NEWS: Add item for --disable-nscd.
51801 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51803         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51804         to support sed >= 4.2.1-20-ga9bf076.
51805         * configure: Regenerated.
51807 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51809         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51810         Conditionalize whole body on [IREL].
51812 2012-08-22  Jeff Law <law@redhat.com>
51814         [BZ #14505]
51815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51816         if the family is PF_UNSPEC.
51818 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51820         * Makerules (lib-version): Rename from V.
51821         (install-lib-nosubdir): Change V to lib-version.
51823 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51825         [BZ #14252]
51826         * powerpc32/power6/wcschr.c: New file.
51827         * powerpc32/power6/wcscpy.c: New file.
51828         * powerpc32/power6/wcsrchr.c: New file.
51829         * powerpc64/power6/wcschr.c: New file.
51830         * powerpc64/power6/wcscpy.c: New file.
51831         * powerpc64/power6/wcsrchr.c: New file.
51833 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51835         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51836         (two_way_short_needle): Use it.
51837         * string/strstr.c (AVAILABLE1_USES_J): Define.
51838         * string/strcasestr.c: Likewise.
51840         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51841         array references.
51842         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51844         [BZ #11607]
51845         * NEWS: Add an entry.
51846         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51847         define their defaults.
51848         (two_way_short_needle): Detect end-of-string on-the-fly.
51849         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51850         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51851         * string/bug-strcasestr1.c: New test.
51852         * string/Makefile: Run it.
51854 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51856         [BZ #11607]
51857         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51858         the first character.
51860 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51862         * csu/elf-init.c (__libc_csu_irel): Function removed.
51863         * csu/libc-start.c (apply_irel): New function.
51864         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51866 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51868         * sysdeps/unix/sysv/linux/kernel-features.h
51869         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51870         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51871         <kernel-features.h>.
51872         [__NR_fadvise64_64]: Make code unconditional.
51873         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51874         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51875         !__NR_fadvise64_64)]: Likewise.
51876         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51877         !__NR_fadvise64_64))]: Likewise.
51878         [__NR_fadvise64]: Make code unconditional.
51879         [!__NR_fadvise64]: Remove conditional code.
51880         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51881         <kernel-features.h>.
51882         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51883         unconditional.
51884         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51885         conditional code.
51886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51887         not include <kernel-features.h>.
51888         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51889         unconditional.
51890         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51891         conditional code.
51892         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51893         include <kernel-features.h>.
51894         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51895         unconditional.
51896         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51897         conditional code.
51899 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51902         slight instruction rearrangements per scrollpipe analysis.
51903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51905 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51907         * manual/syslog.texi (syslog; vsyslog, closelog):
51908         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51909         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51911         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51912         DSOCAPS to match condition on defining it.
51914 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51916         * sysdeps/unix/sysv/linux/kernel-features.h
51917         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51919         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51920         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51922         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51923         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51925         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51926         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51928         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51929         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51931         * sysdeps/unix/sysv/linux/kernel-features.h
51932         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51933         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51934         unconditional.
51935         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51936         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51937         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51938         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51939         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51940         Make code unconditional.
51941         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51942         (__mmap64) [!__NR_mmap2]: Likewise.
51943         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51944         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51945         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51946         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51947         [__NR_mmap2]: Make code unconditional.
51948         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51949         (__mmap64) [!__NR_mmap2]: Likewise.
51951 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51953         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51955 2012-08-18  Andreas Jaeger  <aj@suse.de>
51957         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51959 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51961         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51962         * include/unistd.h (__have_sock_cloexec): Likewise.
51963         (__have_pipe2): Likewise.
51964         (__have_dup3): Likewise.
51966 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51968         [BZ #9685]
51969         * include/unistd.h (__have_pipe2): Change define into an extern int.
51970         (__have_dup3): Likewise.
51971         * socket/have_sock_cloexec.c: Include fcntl.h.
51972         (__have_pipe2): New variable.
51973         (__have_dup3): Likewise.
51975 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51977         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51979 2012-08-17  Marek Polacek  <polacek@redhat.com>
51981         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51982         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51984 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51986         * configure.in: Add AC_SUBST for sysheaders.
51987         * configure: Regenerated.
51988         * config.make.in (sysheaders): New substituted variable.
51990         * sysdeps/unix/mkfifo.c: Moved ...
51991         * sysdeps/posix/mkfifo.c: ... here.
51992         * sysdeps/unix/mkfifoat.c: Moved ...
51993         * sysdeps/posix/mkfifoat.c: ... here.
51995         * sysdeps/unix/utime.c: Moved ...
51996         * sysdeps/posix/utime.c: ... here.
51998         * sysdeps/unix/time.c: Moved ...
51999         * sysdeps/posix/time.c: ... here.
52000         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52001         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52003         * sysdeps/unix/nice.c: Moved ...
52004         * sysdeps/posix/nice.c: ... here.
52006         * sysdeps/unix/alarm.c: Moved ...
52007         * sysdeps/posix/alarm.c: ... here.
52009         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52011 2012-08-17  Jeff Law <law@redhat.com>
52013         * intl/Makefile (codeset_mo): New variable.
52014         ($(codeset_mo)): New target.
52015         (tst-codeset.out): Depend on that.  Remove explicit rule.
52016         (tst-gettext3.out, tst-gettext5.out): Likewise.
52017         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52018         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52019         * intl/tst-codeset.sh: Remove.
52020         * intl/tst-gettext3.sh: Likewise.
52021         * intl/tst-gettext5.sh: Likewise.
52023 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52025         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52026         * sysdeps/unix/syscalls.list: ... here.
52028         * sysdeps/posix/getaddrinfo.c
52029         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52030         (gaiconf_init, gaiconf_reload): Use them.
52031         [!_STATBUF_ST_NSEC]
52032         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52033         Define using time_t rather than struct timespec.
52035         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52036         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52037         Macros removed.
52038         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52039         [!NO_THREADS].
52040         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52041         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52042         Likewise.
52044         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52045         __libc_cleanup_push argument.
52047         * bits/param.h: New file.
52048         * misc/sys/param.h: New file.
52049         * include/sys/param.h: New file.
52050         * misc/Makefile (headers): Add bits/param.h.
52051         * sysdeps/generic/sys/param.h: File removed.
52052         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52053         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52054         * sysdeps/mach/hurd/bits/param.h: New file.
52055         * sysdeps/mach/hurd/sys/param.h: File removed.
52057         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52058         last change.
52060         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52061         [_IO_MTSAFE_IO].
52062         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52063         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52064         New macros.
52066         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52067         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52068         rather than -D_IO_MTSAFE_IO conditionally.
52069         * stdio-common/Makefile (CPPFLAGS): Likewise.
52070         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52071         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52072         Use $(libio-mtsafe).
52073         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52074         of -D_IO_MTSAFE_IO.
52075         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52076         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52077         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52078         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52079         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52080         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52081         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52082         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52083         (CFLAGS-fread_u_chk.c): Likewise.
52084         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52085         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52086         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52087         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52088         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52089         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52090         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52091         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52092         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52094         * libio/Makefile: Test [$(libc-reentrant) = yes]
52095         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52097         * Makeconfig
52098         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52099         * sysdeps/pthread/configure: File removed.
52100         * sysdeps/pthread/Makeconfig: New file.
52101         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52102         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52104 2012-08-16  Gary Benson  <gbenson@redhat.com>
52106         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52107         unmapping the first object in a namespace.
52109 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52111         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52112         (__internal_setnetgrent): ... this.  Add internal_function to
52113         definition.  Add libc_hidden_def.
52114         (setnetgrent): Update caller.
52115         (internal_endnetgrent): Renamed to ...
52116         (__internal_endnetgrent): ... this.  Add internal_function to
52117         definition.  Add libc_hidden_def.
52118         (endnetgrent): Update caller.
52119         (internal_getnetgrent_r): Renamed to ...
52120         (__internal_getnetgrent_r): ... this.  Add internal_function to
52121         definition.  Add libc_hidden_def.
52122         (__getnetgrent_r): Update caller.
52123         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52125 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52127         * stdlib/longlong.h: Update from GCC.
52129 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52131         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52132         on _QL, which is set by umul_ppmm but never used.
52133         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52134         variables, which are set by GMP macros but never used.
52135         * stdio-common/_itowa.c (_itowa): Likewise.
52136         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52137         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52139 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52141         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52142         struct La_sh_regs is not constant.
52143         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52144         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52145         and struct La_sparc64_regs are not constant.
52147 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52149         * sysdeps/unix/sysv/linux/kernel-features.h
52150         (__ASSUME_POSIX_TIMERS): Remove.
52151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52153         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52154         Make code unconditional.
52155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52156         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52157         Make code unconditional.
52158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52159         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52160         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52161         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52162         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52163         Make code unconditional.
52164         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52165         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52166         (__libc_missing_posix_timers): Remove.
52168 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52170         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52171         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52173         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52175         * elf/dl-sym.c: Include <stdlib.h>.
52177         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52178         constants, which avoids warnings in 32-bit builds.
52180         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52181         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52183         * misc/lseek.c: File moved to ...
52184         * io/lseek.c: ... here.
52186         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52188         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52189         shifting LEN more than 31 bits at once.
52191 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52193         [BZ #14195]
52194         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52195         segmentation fault for a case of two empty input strings.
52196         * string/test-strncasecmp.c (check1): Renamed to...
52197         (bz12205): ...this.
52198         (bz14195): Add new testcase for two empty input strings and N > 0.
52199         (test_main): Call new testcase, adapt for renamed function.
52201 2012-08-15  Andreas Jaeger  <aj@suse.de>
52203         [BZ #14090]
52204         * crypt/md5test2.c: New test, based on test supplied by Serge
52205         Belyshev <belyshev@depni.sinp.msu.ru>.
52206         * crypt/Makefile (xtests): Add md5test-giant..
52207         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52209 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52211         [BZ #14090]
52212         * crypt/md5.c (md5_process_block): Don't assume the buffer
52213         length is less than 2**32.
52214         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52215         length is less than 2**64.
52217 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52219         * string/str-two-way.h: Include <sys/param.h>.
52220         (MAX): Macro removed.
52222         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52223         Move #define and #undef of memmove to just before and after
52224         including <string.h>.
52226         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52227         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52228         and after including <string.h>.  Move declarations of
52229         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52230         to before #include "string/memmove.c".
52232         * include/dirent.h: Declare __getdirentries.
52234         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52235         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52237 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52239         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52240         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52241         * sysdeps/i386/configure: Regenerated.
52242         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52243         STABS_CURRENT_FILE, and STABS_FUN.
52244         (END): Remove call to STABS_FUN_END.
52245         (STABS_CURRENT_FILE1): Delete.
52246         (STABS_CURRENT_FILE): Likewise.
52247         (STABS_FUN): Likewise.
52248         (STABS_FUN_END): Likewise.
52249         (STABS_FUN2): Likewise.
52250         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52251         * sysdeps/x86_64/configure: Regenerated.
52253 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52255         * elf/dl-open.c: Include <atomic.h>.
52256         * elf/dl-lookup.c: Likewise.
52258 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52260         * sysdeps/unix/sysv/linux/kernel-features.h
52261         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52262         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52263         unconditionally.
52264         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52265         unconditionally.
52266         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52267         condition on __ASSUME_CLONE_THREAD_FLAGS.
52269 2012-08-14  Andreas Jaeger  <aj@suse.de>
52271         * sysdeps/i386/fpu/libm-test-ulps: Update.
52273 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52275         * include/atomic.h (atomic_exchange_and_add): Split into ...
52276         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52277         New atomic macros.
52279 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52283 2012-08-13  Jeff Law <law@redhat.com>
52285         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52286         null byte in the output string.
52288 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52290         * sysdeps/unix/sysv/linux/kernel-features.h
52291         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52292         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52293         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52294         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52295         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52296         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52297         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52299 2012-08-09  Jeff Law <law@redhat.com>
52301         [BZ #13939]
52302         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52303         When avoid_arena is set, don't retry in the that arena.  Pick the
52304         next one, whatever it might be.
52305         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52306         (arena_lock): Pass in new parameter to arena_get2.
52307         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52308         arena_get2.
52309         (__libc_malloc): Unify retrying after main arena failure with
52310         __libc_memalign version.
52311         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52313 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52315         [BZ #14166]
52316         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52317         to __redirect_strstr.
52318         (__strstr_sse42): Use typeof __redirect_strstr.
52319         (__strstr_ia32): Likewise.
52320         (__libc_strstr): New prototype.
52321         (strstr): Renamed to ...
52322         (__libc_strstr): This.
52323         (strstr): New strong alias of __libc_strstr.
52324         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52325         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52326         __redirect_time.
52327         Include <time.h>.
52328         (__libc_time): New prototype.
52329         (time_ifunc): Replace time with __libc_time.
52330         (time): New strong alias and hidden definition of __libc_time.
52331         (__GI_time): Remove strong alias.
52332         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52333         Include <stddef.h>.
52334         (memmove): Redefined to __redirect_memmove.
52335         (__memmove_sse2): Use typeof __redirect_memmove.
52336         (__memmove_ssse3): Likewise.
52337         (__memmove_ssse3_back): Likewise.
52338         (__libc_memmove): New prototype.
52339         (memmove): Renamed to ...
52340         (__libc_memmove): This.
52341         (memmove): New strong alias of __libc_memmove.
52343 2012-08-08  Mark Salter  <msalter@redhat.com>
52345         * elf/elf.h
52346         (R_MN10300_TLS_GD): Define.
52347         (R_MN10300_TLS_LD): Likewise.
52348         (R_MN10300_TLS_LDO): Likewise.
52349         (R_MN10300_TLS_GOTIE): Likewise.
52350         (R_MN10300_TLS_IE): Likewise.
52351         (R_MN10300_TLS_LE): Likewise.
52352         (R_MN10300_TLS_DTPMOD): Likewise.
52353         (R_MN10300_TLS_DTPOFF): Likewise.
52354         (R_MN10300_TLS_TPOFF): Likewise.
52355         (R_MN10300_SYM_DIFF): Likewise.
52356         (R_MN10300_ALIGN): Likewise.
52357         (R_MN10300_NUM): Update.
52359 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52361         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52362         Remove.
52364 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52366         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52368         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52369         sysdeps/unix -> sysdeps/posix move.
52370         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52372 2012-08-07      Allan McRae     <allan@archlinux.org>
52374         [BZ #14303]
52375         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52376         (SUNOS_CPP): Likewise.
52377         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52378         not found.
52379         (open_input): Call CPP using execvp.
52381 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52383         * sysdeps/unix/sysv/linux/kernel-features.h
52384         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52385         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52386         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52387         (__ASSUME_WAITID_SYSCALL): Likewise.
52388         * sysdeps/unix/sysv/linux/dl-execstack.c
52389         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52390         code unconditional.
52391         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52392         conditional code.
52393         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52394         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52395         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52396         code.
52397         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52398         unconditional.
52399         [__ASSUME_WAITID_SYSCALL]: Likewise.
52400         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52402 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52404         * sysdeps/unix/closedir.c: Renamed to ...
52405         * sysdeps/posix/closedir.c: ... here.
52406         * sysdeps/unix/dirfd.c: Renamed to ...
52407         * sysdeps/posix/dirfd.c: ... here.
52408         * sysdeps/unix/dirstream.h: Renamed to ...
52409         * sysdeps/posix/dirstream.h: ... here.
52410         * sysdeps/unix/fdopendir.c: Renamed to ...
52411         * sysdeps/posix/fdopendir.c: ... here.
52412         * sysdeps/unix/opendir.c: Renamed to ...
52413         * sysdeps/posix/opendir.c: ... here.
52414         * sysdeps/unix/readdir.c: Renamed to ...
52415         * sysdeps/posix/readdir.c: ... here.
52416         * sysdeps/unix/readdir_r.c: Renamed to ...
52417         * sysdeps/posix/readdir_r.c: ... here.
52418         * sysdeps/unix/rewinddir.c: Renamed to ...
52419         * sysdeps/posix/rewinddir.c: ... here.
52420         * sysdeps/unix/seekdir.c: Renamed to ...
52421         * sysdeps/posix/seekdir.c: ... here.
52422         * sysdeps/unix/telldir.c: Renamed to ...
52423         * sysdeps/posix/telldir.c: ... here.
52424         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52425         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52426         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52427         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52429         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52430         * bits/fcntl.h: ... here.
52432         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52433         not 0.
52434         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52435         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52436         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52437         (struct flock): Move l_start, l_len to the beginning.
52438         Use __pid_t for l_pid.
52439         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52440         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52441         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52442         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52443         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52444         [__USE_LARGEFILE64] (struct flock64): New type.
52445         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52447         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52448         * bits/dirent.h: ... here.
52450         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52451         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52453 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52455         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52456         Change from 2.6.0 to 2.6.16.
52457         * sysdeps/unix/sysv/linux/configure: Regenerated.
52458         * sysdeps/unix/sysv/linux/kernel-features.h
52459         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52460         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52461         version.
52462         (__ASSUME_UTIMES): Likewise.
52463         (__ASSUME_CLONE_STOPPED): Remove.
52464         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52465         architectures, not kernel version.
52466         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52467         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52468         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52469         (__ASSUME_WAITID_SYSCALL): Likewise.
52470         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52471         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52472         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52473         refer to older versions.
52475 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52477         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52478         Define alphasort64 as an alias.
52479         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52480         Define versionsort64 as an alias.
52481         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52482         Define scandir64 as an alias.
52483         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52484         Define scandirat64 as an alias.
52485         * dirent/alphasort64.c (alphasort64):
52486         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52487         * dirent/versionsort64.c: Likewise.
52488         * dirent/scandir64.c: Likewise.
52489         * dirent/scandirat64.c: Likewise.
52490         * sysdeps/wordsize-64/alphasort.c: File removed.
52491         * sysdeps/wordsize-64/alphasort64.c: File removed.
52492         * sysdeps/wordsize-64/scandir.c: File removed.
52493         * sysdeps/wordsize-64/scandir64.c: File removed.
52494         * sysdeps/wordsize-64/scandirat.c: File removed.
52495         * sysdeps/wordsize-64/scandirat64.c: File removed.
52496         * sysdeps/wordsize-64/versionsort.c: File removed.
52497         * sysdeps/wordsize-64/versionsort64.c: File removed.
52498         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52499         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52500         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52501         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52502         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52503         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52504         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52505         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52507         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52509         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52511         [defined __arch64__ || defined __sparcv9]
52512         (__INO_T_MATCHES_INO64_T): New macro.
52513         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52514         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52515         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52516         * sysdeps/unix/sysv/linux/bits/dirent.h
52517         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52518         (_DIRENT_MATCHES_DIRENT64): New macro.
52520         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52521         Define lockf64 as an alias.
52522         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52523         Define fseeko64 as an alias.
52524         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52525         Define ftello64 as an alias.
52526         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52527         Define _IO_fgetpos64 and fgetpos64 as aliases.
52528         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52529         Define _IO_fsetpos64 and fsetpos64 as aliases.
52530         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52531         Conditionalize body on this.
52532         * libio/fseeko64.c: Likewise.
52533         * libio/ftello64.c: Likewise.
52534         * libio/iofgetpos64.c: Likewise.
52535         * libio/iofsetpos64.c: Likewise.
52536         * sysdeps/wordsize-64/lockf.c: File removed.
52537         * sysdeps/wordsize-64/lockf64.c: File removed.
52538         * sysdeps/wordsize-64/fseeko.c: File removed.
52539         * sysdeps/wordsize-64/fseeko64.c: File removed.
52540         * sysdeps/wordsize-64/ftello.c: File removed.
52541         * sysdeps/wordsize-64/ftello64.c: File removed.
52542         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52543         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52544         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52545         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52546         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52547         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52548         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52549         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52550         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52551         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52553         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52554         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52555         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52557         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52559         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52561         [defined __arch64__ || defined __sparcv9]
52562         (__OFF_T_MATCHES_OFF64_T): New macro.
52563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52564         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52566         (__OFF_T_MATCHES_OFF64_T): New macro.
52568 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52570         * stdlib/secure-getenv.c (__secure_getenv): Replace
52571         GLIBC_2_16 with GLIBC_2_17.
52573 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52575         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52576         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52578 2012-08-03  David S. Miller  <davem@davemloft.net>
52580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52582 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52584         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52585         Remove.
52586         (__ASSUME_CORRECT_SI_PID): Likewise.
52587         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52588         (__ASSUME_TMPFS_NAME): Likewise.
52589         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52590         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52591         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52592         (HAVE_AUX_SECURE): Make definition unconditional.
52593         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52594         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52596 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52598         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52599         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52600         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52601         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52602         __eloop_threshold instead of SYMLOOP_MAX.
52604         * sysdeps/generic/eloop-threshold.h: New file.
52605         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52606         of MAXSYMLINKS.
52607         * elf/chroot_canon.c (chroot_canon): Likewise.
52609 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52611         [BZ #13717]
52612         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52613         Change to 2.6.0 everywhere.
52614         * sysdeps/unix/sysv/linux/configure: Regenerated.
52615         * sysdeps/unix/sysv/linux/kernel-features.h
52616         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52617         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52618         kernel versions.
52619         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52620         (__ASSUME_FUTEX_REQUEUE): Remove.
52621         (__ASSUME_STATFS64): Define unconditionally.
52622         (__ASSUME_AT_SECURE): Likewise.
52623         (__ASSUME_CORRECT_SI_PID): Likewise.
52624         (__ASSUME_TGKILL): Define without depending on kernel version for
52625         i386.
52626         (__ASSUME_UTIMES): Likewise.
52627         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52628         kernel version.
52629         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52630         (__ASSUME_TMPFS_NAME): Likewise.
52631         * README: Update reference to Linux kernel versions.
52633 2012-08-02  Marek Polacek  <polacek@redhat.com>
52635         [BZ# 14150]
52636         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52637         libc_cv_asm_type_prefix with %.
52638         * configure: Regenerated.
52639         * include/libc-symbols.h: Remove comment about
52640         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52641         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52642         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52643         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52644         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52645         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52646         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52647         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52648         * elf/tst-unique2mod1.c: Likewise.
52649         * elf/tst-unique1mod2.c: Likewise.
52650         * elf/tst-unique1mod1.c: Likewise.
52651         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52652         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52653         Replace ASM_TYPE_DIRECTIVE with .type.
52654         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52655         * sysdeps/i386/sysdep.h: Likewise.
52656         * sysdeps/x86_64/sysdep.h: Likewise.
52657         * sysdeps/sh/sysdep.h: Likewise.
52658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52659         Do not define ASM_TYPE_DIRECTIVE.
52660         * sysdeps/powerpc/sysdep.h: Likewise.
52661         * sysdeps/powerpc/powerpc32/sysdep.h:
52662         Replace ASM_TYPE_DIRECTIVE with .type.
52663         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52664         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52665         * sysdeps/i386/fpu/e_powf.S: Likewise.
52666         * sysdeps/i386/fpu/e_expl.S: Likewise.
52667         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52668         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52669         * sysdeps/i386/fpu/e_pow.S: Likewise.
52670         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52671         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52672         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52673         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52674         * sysdeps/i386/fpu/e_log2.S: Likewise.
52675         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52676         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52677         * sysdeps/i386/fpu/e_powl.S: Likewise.
52678         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52679         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52680         * sysdeps/i386/fpu/e_logl.S: Likewise.
52681         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52682         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52683         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52684         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52685         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52686         * sysdeps/i386/fpu/e_log.S: Likewise.
52687         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52688         * sysdeps/i386/fpu/e_logf.S: Likewise.
52689         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52690         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52691         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52692         * sysdeps/i386/fpu/e_log10.S: Likewise.
52693         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52694         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52695         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52696         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52697         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52698         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52699         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52700         * sysdeps/i386/i686/strtok.S: Likewise.
52701         * sysdeps/i386/i386-mcount.S: Likewise.
52702         * sysdeps/i386/strtok.S: Likewise.
52703         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52704         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52705         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52706         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52707         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52708         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52709         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52710         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52711         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52712         * sysdeps/x86_64/_mcount.S: Likewise.
52713         * sysdeps/x86_64/strtok.S: Likewise.
52714         * sysdeps/sh/_mcount.S: Likewise.
52716 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52718         * libio/iofopen.c: Include <fcntl.h>.
52719         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52720         (_IO_fopen64, fopen64): Define as aliases.
52721         * libio/iofopen64.c: Include <fcntl.h>.
52722         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52723         Conditionalize body on this.
52724         * sysdeps/wordsize-64/iofopen.c: File removed.
52725         * sysdeps/wordsize-64/iofopen64.c: File removed.
52727 2012-08-01  Marek Polacek  <polacek@redhat.com>
52729         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52730         Use dlfcn directly instead of a variable.
52731         (binfmt-subdir): Do not define.
52732         (dlfcn): Likewise.
52734 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52737         Remove all definitions.
52738         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52739         <kernel-features.h>.
52740         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52741         (miss_F_GETOWN_EX): Remove all definitions.
52742         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52743         macro definition.
52744         [!__ASSUME_FCNTL64]: Remove conditional code.
52745         [__ASSUME_FCNTL64]: Make code unconditional.
52746         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52747         <kernel-features.h>.
52748         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52749         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52750         (lockf64) [__NR_fcntl64]: Make code unconditional.
52751         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52753         * sysdeps/unix/sysv/linux/kernel-features.h
52754         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52755         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52756         Make code unconditional.
52757         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52758         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52760         [__NR_vfork]: Make code unconditional.
52761         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52762         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52764         [__NR_vfork]: Make code unconditional.
52765         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52766         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52768 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52770         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52771         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52773         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52774         Define mkstemp64 as an alias.
52775         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52776         Define mkstemps64 as an alias.
52777         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52778         Define mkostemp64 as an alias.
52779         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52780         Define mkostemps64 as an alias.
52781         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52782         Conditionalize body on this.
52783         * misc/mkostemp64.c: Likewise.
52784         * misc/mkostemps64.c: Likewise.
52785         * misc/mkstemps64.c: Likewise.
52786         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52787         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52788         * sysdeps/wordsize-64/mkostemp.c: File removed.
52789         * sysdeps/wordsize-64/mkstemp.c: File removed.
52790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52791         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52792         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52793         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52795         [BZ #14138]
52796         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52797         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52798         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52799         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52801         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52802         compat_symbol macros from <shlib-compat.h> rather than the underlying
52803         default_symbol_version and symbol_version macros, so that DEFAULT
52804         lines in shlib-versions are respected.
52805         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52807 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52809         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52810         Declare with warn_unused_result.
52811         (setgid, setregid, setegid, setresgid): Likewise.
52812         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52813         Likewise.
52814         * WUR-REPORT: Remove set*id functions.
52816 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52818         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52820 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52822         [BZ #10191]
52823         * include/sys/socket.h (__libc_accept, __libc_accept4):
52824         Add attribute_hidden.
52825         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52827         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52828         use of PTR_MANGLE.
52829         * inet/getnetgrent_r.c (setup): Likewise.
52831         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52833 2012-07-31  David S. Miller  <davem@davemloft.net>
52835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52837 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52839         [BZ #13629]
52840         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52841         value between 1.0 and 2.0 and smaller part has absolute value less
52842         than 1.0.
52843         * math/s_clog10.c (__clog10): Likewise.
52844         * math/s_clog10f.c (__clog10f): Likewise.
52845         * math/s_clog10l.c (__clog10l): Likewise.
52846         * math/s_clogf.c (__clogf): Likewise.
52847         * math/s_clogl.c (__clogl): Likewise.
52848         * math/libm-test.inc (clog_test): Add more tests.
52849         (clog10_test): Likewise.
52850         * sysdeps/i386/fpu/libm-test-ulps: Update.
52851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52853 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52855         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52856         Exit with zero in case no suitable GID is found, and write a
52857         message to standard error.
52859 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52861         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52862         rather than to 1.
52863         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52864         (MAXPATHLEN): Removed.
52865         (NOGROUP, NODEV): New macros.
52866         (setbit, clrbit, isset, isclr): New macros.
52867         (howmany, roundup, powerof2): New macros.
52868         (DEV_BSIZE): New macro.
52870         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52871         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52873         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52874         definition on [!__NO_LONG_DOUBLE_MATH].
52876         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52877         PTR_MANGLE and PTR_DEMANGLE.
52879         * socket/accept4.c (accept4): Rename to __libc_accept4.
52880         Define accept4 as a weak alias.
52882         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52883         on [_DIRENT_HAVE_D_TYPE].
52884         * io/ftw.c (ftw_dir): Likewise.
52886         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52888         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52890         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52891         Use the BSD numbers rather than the arbitrary ones we had.
52892         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52893         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52894         (SIGXCPU, SIGXFSZ): New macros.
52895         (_NSIG): Now 32.
52897         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52898         initializer on [_LIBC_REENTRANT].
52900         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52901         definitions inside [_POSIX_MAPPED_FILES].
52903         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52905         * dirent/opendir.c: Include <fcntl.h>.
52907         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52908         (__libc_getspecific): Likewise.
52909         (__libc_key_create): Likewise.
52911         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52912         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52913         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52914         (tmpfile64): Define as alias.
52915         * sysdeps/wordsize-64/tmpfile.c: File removed.
52916         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52917         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52918         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52920         * stdio-common/vfscanf.c: Include <stdbool.h>.
52921         * nss/makedb.c: Likewise.
52922         * stdio-common/_i18n_number.h: Likewise.
52923         * argp/argp-help.c: Likewise.
52924         * posix/wordexp.c: Likewise.
52925         * sysdeps/posix/spawni.c: Likewise.
52926         * nss/nss_files/files-initgroups.c: Likewise.
52927         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52928         * nss/nss_files/files-initgroups.c: Likewise.
52929         * nss/nss_db/db-netgrp.c: Likewise.
52930         * nss/nss_db/db-initgroups.c: Likewise.
52931         * io/fchmodat.c: Include <sys/stat.h>.
52933         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52934         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52936         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52937         [HAVE_MMAP].
52939         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52940         Add multiple inclusion protection.
52942 2012-07-27  David S. Miller  <davem@davemloft.net>
52944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52946 2012-07-27  Gary Benson  <gbenson@redhat.com>
52948         [BZ #14298]
52949         * elf/rtld.c: Include <stap-probe.h>.
52950         (dl_main): Added static probes "init_start" and "init_complete".
52951         * elf/dl-load.c: Include <stap-probe.h>.
52952         (lose): Take new parameter "nsid".
52953         Added static probe "map_failed".
52954         (_dl_map_object_from_fd): Pass namespace id to lose.
52955         Added static probe "map_start".
52956         (open_verify): Pass namespace id to lose.
52957         * elf/dl-open.c: Include <stap-probe.h>.
52958         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52959         and "reloc_complete".
52960         * elf/dl-close.c: Include <stap-probe.h>.
52961         (_dl_close_worker): Added static probes "unmap_start" and
52962         "unmap_complete".
52963         * elf/rtld-debugger-interface.txt: New file documenting the above.
52965 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52967         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52968         rather than a string variable.
52969         * sunrpc/rpc_main.c (h_output): Likewise.
52970         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52972 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52974         * inet/check_native.c: New file.
52976 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52978         [BZ #13629]
52979         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52980         if larger part has absolute value 1.0.
52981         * math/s_clog10.c (__clog10): Likewise.
52982         * math/s_clog10f.c (__clog10f): Likewise.
52983         * math/s_clog10l.c (__clog10l): Likewise.
52984         * math/s_clogf.c (__clogf): Likewise.
52985         * math/s_clogl.c (__clogl): Likewise.
52986         * math/libm-test.inc (clog_test): Add more tests.
52987         (clog10_test): Likewise.
52988         * sysdeps/i386/fpu/libm-test-ulps: Update.
52989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52991         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52992         (pltexit): Likewise.
52993         (La_regs): Likewise.
52994         (La_retval): Likewise.
52995         (int_retval): Likewise.
52996         Update #error for removed macros to refer only to definitions in
52997         tst-audit.h.
52998         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52999         macro.
53000         (pltexit): Likewise.
53001         (La_regs): Likewise.
53002         (La_retval): Likewise.
53003         (int_retval): Likewise.
53004         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53005         macro.
53006         (pltexit): Likewise.
53007         (La_regs): Likewise.
53008         (La_retval): Likewise.
53009         (int_retval): Likewise.
53010         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53011         macro.
53012         (pltexit): Likewise.
53013         (La_regs): Likewise.
53014         (La_retval): Likewise.
53015         (int_retval): Likewise.
53016         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53017         macro.
53018         (pltexit): Likewise.
53019         (La_regs): Likewise.
53020         (La_retval): Likewise.
53021         (int_retval): Likewise.
53022         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53023         macro.
53024         (pltexit): Likewise.
53025         (La_regs): Likewise.
53026         (La_retval): Likewise.
53027         (int_retval): Likewise.
53028         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53029         macro.
53030         (pltexit): Likewise.
53031         (La_regs): Likewise.
53032         (La_retval): Likewise.
53033         (int_retval): Likewise.
53034         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53035         macro definitions in tst-audit.h.
53036         * sysdeps/i386/tst-audit.h: New file.
53037         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53038         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53039         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53040         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53041         * sysdeps/sh/tst-audit.h: Likewise.
53042         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53043         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53044         * sysdeps/x86_64/tst-audit.h: Likewise.
53046 2012-07-26  Andreas Jaeger  <aj@suse.de>
53048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53049         ptrace.
53051         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53052         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53053         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53054         PTRACE_O_MASK.
53055         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53056         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53057         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53059         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53060         value.
53062         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53063         _sigsys.
53064         (si_call_addr, si_syscall, si_arch): Define new macro.
53065         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53066         _sigsys.
53067         (si_call_addr, si_syscall, si_arch): Define new marcro.
53068         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53069         _sigsys.
53070         (si_call_addr, si_syscall, si_arch): Define new macro.
53071         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53072         _sigsys.
53073         (si_call_addr, si_syscall, si_arch): Define new macro.
53075 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53077         [BZ #13717]
53078         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53079         Change to 2.4.21 where previously 2.4.1.
53080         * sysdeps/unix/sysv/linux/configure: Regenerated.
53081         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53082         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53083         Linux kernel version.
53084         (__ASSUME_STD_AUXV): Remove.
53085         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53086         kernel version.
53087         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53088         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53089         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53090         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53091         (__ASSUME_NETLINK_SUPPORT): Likewise.
53092         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53093         (__no_netlink_support): Remove conditional definition.
53094         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53095         Remove.
53096         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53097         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53098         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53099         (if_nameindex_ioctl): Remove.
53100         (if_nameindex_netlink): Do not handle __no_netlink_support.
53101         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53102         code.
53103         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53104         Remove conditional code.
53105         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53106         code.
53107         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53108         unconditional.
53109         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53110         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53111         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53112         Remove.
53113         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53114         [!__ASSUME_STD_AUXV]: Remove conditional code.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53116         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53117         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53119         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53120         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53121         code.
53122         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53124         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53125         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53126         conditional code.
53127         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53129         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53130         code.
53131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53132         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53133         conditional code.
53134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53135         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53136         code unconditional.
53137         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53138         conditional code.
53139         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53140         unconditional.
53141         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53142         conditional code.
53143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53144         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53145         unconditional.
53146         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53147         conditional code.
53148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53149         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53150         code unconditional.
53151         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53152         conditional code.
53153         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53154         unconditional.
53155         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53156         conditional code.
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53158         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53159         code unconditional.
53160         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53161         conditional code.
53162         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53163         unconditional.
53164         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53165         conditional code.
53167 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53169         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53170         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53171         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53172         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53173         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53174         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53175         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53176         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53177         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53178         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53179         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53180         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53181         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53182         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53184         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53185         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53186         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53187         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53189         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53190         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53191         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53193 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53195         * Versions.def: Add GLIBC_2.17.
53196         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53197         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53198         Introduce __libc_secure_getenv.
53199         * stdlib/Versions (2.17): Add secure_getenv
53200         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53201         * stdlib/secure-getenv.c: Rename __secure_getenv to
53202         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53203         symbol __secure_getenv for GLIBC_2.0.
53204         * stdlib/tst-secure-getenv.c: New.
53205         * stdlib/Makefile (tests): Add testcase.
53206         * manual/startup.texi (Environment Access): Document
53207         secure_getenv.
53208         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53209         __libc_secure_getenv.
53210         * inet/ruserpass.c (ruserpass): Likewise.
53211         * malloc/mtrace.c (mtrace): Likewise.
53212         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53213         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53214         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53215         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53216         HAVE_SECURE_GETENV.
53217         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53218         __secure_getenv to __libc_secure_getenv.
53219         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53221         Likewise.
53222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53223         Likewise.
53224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53226         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53232 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53234         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53235         (struct La_i86_retval): Likewise.
53236         (struct La_x86_64_regs): Likewise.
53237         (struct La_x86_64_retval): Likewise.
53238         (struct La_x32_regs): Likewise.
53239         (struct La_x32_retval): Likewise.
53240         (struct La_ppc32_regs): Likewise.
53241         (struct La_ppc32_retval): Likewise.
53242         (struct La_ppc64_regs): Likewise.
53243         (struct La_ppc64_retval): Likewise.
53244         (struct La_sh_regs): Likewise.
53245         (struct La_sh_retval): Likewise.
53246         (struct La_s390_32_regs): Likewise.
53247         (struct La_s390_32_retval): Likewise.
53248         (struct La_s390_64_regs): Likewise.
53249         (struct La_s390_64_retval): Likewise.
53250         (struct La_sparc32_regs): Likewise.
53251         (struct La_sparc32_retval): Likewise.
53252         (struct La_sparc64_regs): Likewise.
53253         (struct La_sparc64_retval): Likewise.
53254         (struct audit_ifaces): Remove architecture-specific pltenter and
53255         pltexit members.
53256         * sysdeps/i386/ldsodefs.h: New file.
53257         * sysdeps/powerpc/ldsodefs.h: Likewise.
53258         * sysdeps/s390/ldsodefs.h: Likewise.
53259         * sysdeps/sh/ldsodefs.h: Likewise.
53260         * sysdeps/sparc/ldsodefs.h: Likewise.
53261         * sysdeps/x86_64/ldsodefs.h: Likewise.
53263 2012-07-25  Marek Polacek  <polacek@redhat.com>
53265         [BZ #6808]
53266         * math/libm-test.inc (yn_test): Add another test.
53267         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53268         to ERANGE when the result is +-Inf.
53269         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53270         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53271         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53272         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53274 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53276         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53277         equal to 0.
53278         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53279         clock_t.
53280         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53282 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53284         * configure.in <sysdeps resolving>: Correct printing
53285         Implies_before.
53286         * configure: Regenerate.
53288 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53290         * math/w_ilogb.c: Include <limits.h>.
53291         * math/w_ilogbl.c: Likewise.
53293 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53295         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53296         va_copy.  Document allowing for unavailable va_copy only as
53297         pre-C99 compatibility.
53298         * manual/string.texi (Copying and Concatenation): Use va_copy
53299         instead of __va_copy in concat example.
53301 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53303         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53304         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53305         it if not null.
53307         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53308         with O_NOLINK passed to __file_name_lookup.
53310         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53311         with O_NOLINK passed to __file_name_lookup.
53313         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53314         negative N or less than NGIDS.
53316         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53317         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53318         enough.  Use memcpy instead of strncpy.
53320 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53322         * elf/Makefile (check-data): Remove.
53323         (localplt.data): New vpath directive.
53324         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53325         instead of $(check-data).
53326         * scripts/data/localplt-generic.data: Move to ...
53327         * sysdeps/generic/localplt.data: ... here.
53328         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53329         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53330         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53332         ... here.
53333         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53335         ... here.
53336         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53338         ... here.
53339         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53341         ... here.
53342         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53344         ... here.
53345         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53347         ... here.
53349 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53351         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53352         PPC32 and PPC64 files.
53353         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53354         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53356 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53358         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53359         __makecontext_ret to ...
53360         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53361         ... here and call exit if uc_link is NULL.  New file.
53362         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53363         __makecontext_ret.S.
53364         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53365         __makecontext_ret to ...
53366         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53367         ... here and call exit if uc_link is NULL.  New file.
53368         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53369         __makecontext_ret.S.
53371 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53373         * elf/elf.h (R_390_IRELATIVE): New definition.
53374         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53375         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53376         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53377         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53378         (elf_machine_lazy_rel): Likewise.
53379         * sysdeps/s390/dl-irel.h: New file.
53380         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53381         * sysdeps/s390/s390-64/memset.S: New asm code.
53382         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53383         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53385         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53386         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53387         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53388         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53389         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53390         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53391         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53392         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53393         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53394         * sysdeps/s390/s390-32/memset.S: New asm code.
53395         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53397 2012-07-17  Marek Polacek  <polacek@redhat.com>
53399         [BZ #14349]
53400         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53401         * sysdeps/s390/s390-64/configure.in: Likewise.
53402         * sysdeps/sparc/configure.in: Likewise.
53403         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53404         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53405         * sysdeps/i386/configure.in: Likewise.
53406         * sysdeps/x86_64/configure.in: Likewise.
53407         * sysdeps/sh/configure.in: Likewise.
53408         * sysdeps/s390/s390-32/configure: Regenerated.
53409         * sysdeps/s390/s390-64/configure: Likewise.
53410         * sysdeps/x86_64/configure: Likewise.
53411         * sysdeps/sh/configure: Likewise.
53412         * sysdeps/powerpc/powerpc64/configure: Likewise.
53413         * sysdeps/powerpc/powerpc32/configure: Likewise.
53414         * sysdeps/sparc/configure: Likwise.
53415         * sysdeps/i386/configure: Likewise.
53417         * elf/dl-open.c: Comment fixes.
53419 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53421         * Makefile [CXX] (check-data): Remove.
53422         [CXX] (c++-types.data): New vpath directive.
53423         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53424         vpath.  Do not allow for C++ type data being missing.
53425         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53426         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53427         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53428         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53429         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53430         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53431         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53433         ... here.
53434         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53436         ... here.
53437         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53439         ... here.
53440         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53442         ... here.
53443         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53445         ... here.
53446         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53448         ... here.
53449         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53451         ... here.
53452         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53455         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53456         definitions to architecture-specific files.
53457         (TLS_IE): Likewise.
53458         (TLS_LD): Likewise.
53459         (TLS_GD): Likewise.
53460         * sysdeps/i386/tls-macros.h: New file.
53461         * sysdeps/powerpc/tls-macros.h: Likewise.
53462         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53463         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53464         * sysdeps/sh/tls-macros.h: Likewise.
53465         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53466         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53467         * sysdeps/x86_64/tls-macros.h: Likewise.
53469 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53471         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53472         zero value for regular exit case.
53474         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53475         (__start_context): Preserve zero value for regular exit case.
53477 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53478             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53480         * manual/setjmp.texi (setcontext): Clarify normal process
53481         termination when uc_link is the null pointer.
53482         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53483         exit call.
53485 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53487         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53488         preprocessor.  Test for each exception mask separately.
53490 2012-07-16  Andreas Jaeger  <aj@suse.de>
53492         * po/ru.po: Update from translation team.
53494 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53496         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53497         equal to 0.
53498         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53499         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53500         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53501         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53504 2012-07-13  Andreas Jaeger  <aj@suse.de>
53506         * po/fr.po: Update from translation team.
53508 2012-07-12  Marek Polacek  <polacek@redhat.com>
53510         [BZ #14173]
53511         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53513         loop condition.
53515 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53517         [BZ #13717]
53518         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53519         Change to 2.4.1 where previously 2.4.0.
53520         * sysdeps/unix/sysv/linux/configure: Regenerated.
53521         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53522         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53523         version.
53524         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53525         (__ASSUME_AT_CLKTCK): Remove.
53526         (__ASSUME_AT_PAGESIZE): Likewise.
53527         (__ASSUME_AT_XID): Likewise.
53528         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53529         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53530         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53531         unconditionally.
53532         (HAVE_AUX_PAGESIZE): Likewise.
53533         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53534         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53535         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53537 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53539         [BZ #14307]
53540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53541         the temporary buffer used to invoke __gethostbyname2_r,
53542         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53543         host_data / struct gaih_addrtuple.
53544         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53545         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53546         header file nss/nsswitch.h.
53547         * nss/nsswitch.h (global scope): Add definition of implementation
53548         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53549         resolv/nss_dns/dns-host.c).
53551 2012-07-11  Andreas Jaeger  <aj@suse.de>
53553         * po/fr.po: Update from translation team.
53555         * po/sv.po: Update from translation team
53556         * po/fr.po: Another update from translation team.
53558 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53560         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53561         for subnormals or multiply small sinh result by itself.
53562         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53565 2012-07-11  David S. Miller  <davem@davemloft.net>
53567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53569 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53571         [BZ #14347]
53572         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53573         (INTERNAL_MARK): Shift it here.
53575 2012-07-10  Marek Polacek  <polacek@redhat.com>
53577         [BZ #14151]
53578         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53579         libc_cv_asm_global_directive with .globl.
53580         * configure: Regenerated.
53581         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53582         with .globl.
53583         * sysdeps/i386/configure: Regenerated.
53584         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53585         with .globl.
53586         * sysdeps/x86_64/configure: Regenerated.
53587         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53588         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53589         * elf/tst-unique2mod2.c: Likewise.
53590         * elf/tst-unique2mod1.c: Likewise.
53591         * elf/tst-unique1mod2.c: Likewise.
53592         * elf/tst-unique1mod1.c: Likewise.
53593         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53594         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53596         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53597         * sysdeps/mach/sysdep.h: Likewise.
53598         * sysdeps/i386/sysdep.h: Likewise.
53599         * sysdeps/i386/i386-mcount.S: Likewise.
53600         * sysdeps/x86_64/_mcount.S: Likewise.
53601         * sysdeps/x86_64/sysdep.h: Likewise.
53602         * sysdeps/sh/_mcount.S: Likewise.
53603         * sysdeps/sh/sysdep.h: Likewise.
53604         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53605         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53606         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53607         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53608         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53609         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53610         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53611         * locale/localeinfo.h: Likewise.
53612         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53613         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53615 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53617         [BZ #14336]
53618         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53619         system".
53620         * manual/message.texi (The Uniforum approach): Likewise.
53621         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53622         (glibc iconv Implementation): Likewise.
53624 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53626         [BZ #14337]
53627         * math/s_clog.c (__clog): Avoid scaling a value down where that
53628         could result in underflow.
53629         * math/s_clog10.c (__clog10): Likewise.
53630         * math/s_clog10f.c (__clog10f): Likewise.
53631         * math/s_clog10l.c (__clog10l): Likewise.
53632         * math/s_clogf.c (__clogf): Likewise.
53633         * math/s_clogl.c (__clogl): Likewise.
53634         * math/libm-test.inc (clog_test): Add more tests.
53635         (clog10_test): Likewise.
53636         * sysdeps/i386/fpu/libm-test-ulps: Update.
53637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53639 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53641         [BZ #14283]
53642         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53643         by 7 not 8 to examine high bit of fractional part.
53645         [BZ #14042]
53646         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53647         for call to __mcount_internal.
53648         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53649         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53650         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53652 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53654         [BZ #14154]
53655         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53656         approximation for values within 0x1p-13f of an odd multiple of
53657         pi/4.
53658         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53659         exception.  Add more tests.
53660         * sysdeps/i386/fpu/libm-test-ulps: Update.
53662         [BZ #6778]
53663         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53664         inputs and return -1 for them.  Do not check for +Inf in case not
53665         reachable for +Inf.
53666         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53667         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53669         and return -1 for them.  Do not check for +Inf in case not
53670         reachable for +Inf.
53671         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53672         define.
53673         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53674         and return -1 for them.  Do not check for +Inf in case not
53675         reachable for +Inf.
53676         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53677         spurious underflow.
53678         * sysdeps/i386/fpu/libm-test-ulps: Update.
53679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53681 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53683         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53685 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53687         [BZ #14157]
53688         [BZ #14331]
53689         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53690         could result in spurious underflow.  Scale down values above
53691         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53692         * math/s_csqrtf.c (__csqrtf): Likewise.
53693         * math/s_csqrtl.c (__csqrtl): Likewise.
53694         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53695         spurious underflow.
53696         * sysdeps/i386/fpu/libm-test-ulps: Update.
53697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53699 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53701         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53702         xopen-msg.sed.
53703         * catgets/xopen-msg.awk: New file.
53704         * catgets/xopen-msg.sed: Removed.
53706         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53707         po2text.sed.
53708         * intl/po2test.awk: New file.
53709         * intl/po2test.sed: Removed.
53711 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53713         [BZ #14328]
53714         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53715         or multiply small sinh result by itself.
53716         * math/s_ctanf.c (__ctanf): Likewise.
53717         * math/s_ctanh.c (__ctanh): Likewise.
53718         * math/s_ctanhf.c (__ctanhf): Likewise.
53719         * math/s_ctanhl.c (__ctanhl): Likewise.
53720         * math/s_ctanl.c (__ctanl): Likewise.
53721         * math/libm-test.inc (ctan_test_tonearest): New function.
53722         (ctan_test_towardzero): Likewise.
53723         (ctan_test_downward): Likewise.
53724         (ctan_test_upward): Likewise.
53725         (ctanh_test_tonearest): Likewise.
53726         (ctanh_test_towardzero): Likewise.
53727         (ctanh_test_downward): Likewise.
53728         (ctanh_test_upward): Likewise.
53729         (main): Call these new functions.
53730         * sysdeps/i386/fpu/libm-test-ulps: Update.
53731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53733 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53735         * .gitignore: Delete /ports entry.
53737 2012-07-03  Andreas Jaeger  <aj@suse.de>
53739         * po/bg.po: Update from translation team.
53740         * po/cs.po: Likewise.
53741         * po/de.po: Likewise.
53742         * po/hr.po: Likewise.
53743         * po/nl.pl: Likewise.
53744         * po/pl.po: Likewise.
53745         * po/vi.po: Likewise.
53747 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53749         * Makeconfig [!+link] (+link-before-libc): New variable.
53750         [!+link] (+link-after-libc): Likewise.
53751         [!+link] (+link-tests): Likewise.
53752         [!+link] (+link): Define in terms of $(+link-before-libc) and
53753         $(+link-after-libc).
53754         [!+link-static] (+link-static-before-libc): New variable.
53755         [!+link-static] (+link-static-after-libc): Likewise.
53756         [!+link-static] (+link-static-tests): Likewise.
53757         [!+link-static] (+link-static): Define in terms of
53758         $(+link-static-before-libc) and $(+link-static-after-libc).
53759         [build-shared] (link-libc-before-gnulib): New variable.
53760         [build-shared] (link-libc-tests): Likewise.
53761         [build-shared] (link-libc): Define in terms of
53762         $(link-libc-before-gnulib).
53763         [!build-shared] (link-libc-tests): New variable.
53764         (link-libc-static-tests): New variable.
53765         [!gnulib] (gnulib-arch): New variable.
53766         [!gnulib] (gnulib-tests): Likewise.
53767         [!gnulib] (static-gnulib-arch): Likewise.
53768         [!gnulib] (static-gnulib-tests): Likewise.
53769         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53770         Define with "=" instead of ":=".
53771         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53772         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53773         * Rules (binaries-all-notests): New variable.
53774         (binaries-all-tests): Likewise.
53775         (binaries-static-notests): Likewise.
53776         (binaries-static-tests): Likewise.
53777         (binaries-all): Define using $(binaries-all-notests) and
53778         $(binaries-all-tests).
53779         (binaries-static): Define using $(binaries-static-notests) and
53780         $(binaries-static-tests).
53781         (binaries-shared-tests): New variable.
53782         (binaries-shared-notests): Likewise.
53783         (binaries-shared): Remove variable.
53784         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53785         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53786         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53787         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53788         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53789         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53790         * elf/Makefile (sln-modules): New variable.
53791         (extra-objs): Add $(sln-modules:=.o).
53792         (ldconfig-modules): Add static-stubs.
53793         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53794         * elf/static-stubs.c: New file.
53796         [BZ #14283]
53797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53798         by 7 not 8 to examine high bit of fractional part.  Use volatile
53799         variables when splitting into final array of floats if
53800         __FLT_EVAL_METHOD__ != 0.
53801         * math/libm-test.inc (cos_test): Add another test.
53802         (sin_test): Likewise.
53803         * sysdeps/i386/fpu/libm-test-ulps: Update.
53805         [BZ #14273]
53806         * math/libm-test.inc (cosh_test): Add more tests.
53808         * version.h (RELEASE): Set to "development".
53809         (VERSION): Set to "2.16.90".
53811 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53813         * NEWS: Update copyright. Remove last-updated date.
53814         Mention math library bug fixes and timezone data changes.
53815         * README: Mention GNU/Hurd, x32, and HPPA support status.
53817 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53819         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53821 2012-06-27  Andreas Jaeger  <aj@suse.de>
53823         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53825 2012-06-25  Andreas Jaeger  <aj@suse.de>
53827         * sysdeps/s390/fpu/libm-test-ulps: Update.
53829 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53830             Thomas Schwinge  <thomas@codesourcery.com>
53832         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53833         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53835         fanotify_mark.
53837 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53839         * sysdeps/mach/start.c: Remove file.
53840         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53841         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53842         * sysdeps/sh/init-first.c: Likewise.
53844         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53845         registers for frame unwinding purposes, add CFI directives.
53846         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53847         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53848         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53849         Likewise.
53851         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53852         __fortify_fail returning.
53853         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53855         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53856         sysdeps/sh/____longjmp_chk.S.
53857         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53858         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53859         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53860         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53862         * sysdeps/sh/abort-instr.h: New file.
53863         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53864         process in case exit returns.
53866         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53867         initialize the GOT register before use.
53869         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53870         calculation of ARGC > 4.
53872         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53873         meaningful names to some local labels.
53875 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53876             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53878         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53879         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53880         (__arch_compare_and_exchange_val_16_acq): Likewise.
53881         (__arch_compare_and_exchange_val_32_acq): Likewise.
53882         (atomic_exchange_and_add): Fix gUSA sequence.
53883         (atomic_add): Likewise.
53884         (atomic_add_negative): Likewise.
53885         (atomic_add_zero): Likewise.
53886         (atomic_bit_test_set): Likewise.
53888 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53890         [BZ #13579]
53891         * include/link.h (struct link_map): Add l_free_initfini.
53892         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53893         l_initfini.
53894         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53895         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53896         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53897         set.
53899 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53901         * configure.in: Use AC_LANG_SOURCE.
53902         * configure: Regenerate.
53904 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53906         * configure.in (libc_cv_localstatedir): New substituted variable.
53907         * configure: Regenerated.
53908         * config.make.in (localstatedir): New variable, substituted from
53909         libc_cv_localstatedir.
53910         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53911         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53912         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53913         * sysdeps/gnu/configure: Regenerated.
53915 2012-06-21  Jeff Law  <law@redhat.com>
53917         [BZ #14277]
53918         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53919         free.  Simplify list management for _LIBC case.
53921 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53923         [BZ #14273]
53924         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53925         Clear sign bit of 64-bit integer value before comparing against
53926         overflow value.
53928         * sysdeps/mach/configure: Regenerated.
53930 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53932         [BZ #14278]
53933         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53935 2012-06-21  Jeff Law  <law@redhat.com>
53937         [BZ #13882]
53938         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53939         uint16_t for elements in the "seen" array to avoid char overflows.
53940         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53941         * elf/dl-open.c (dl_open_worker): Likewise.
53943 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53945         * scripts/list-sources.sh: Scan PORTS for translations.
53946         * po/libc.pot: Regenerated.
53948 2012-06-21  Andreas Jaeger  <aj@suse.de>
53950         [BZ #12194]
53951         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53952         warning.
53953         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53954         * bits/byteswap-16.h (__bswap_16): Likewise.
53955         * bits/byteswap.h (__bswap_constant_16): Likewise.
53957 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53959         [BZ #14117]
53960         * sysdeps/i386/fpu_control.h: Removed.
53961         * sysdeps/x86_64/fpu_control.h: Moved to ...
53962         * sysdeps/x86/fpu_control.h: Here.
53964         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53965         (_FPU_SETCW): Likewise.
53967 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53969         [BZ #14117]
53970         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53971         * sysdeps/x86/fpu/bits/mathinline.h: This.
53972         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53974         [BZ #14050]
53975         [BZ #14117]
53976         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53977         functions if __x86_64__ is defined.
53979 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53981         * string/endian.h: Add !__ASSEMBLER__ condition for including
53982         conversion interfaces.
53984 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53986         [BZ #14241]
53987         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53988         of ABS(x) in calculating zero to negative powers other than odd
53989         integers.
53990         * math/libm-test.inc (pow_test): Add more tests.
53992 2012-06-15  Andreas Jaeger  <aj@suse.de>
53994         * manual/contrib.texi (Contributors): Update entry of Liubov
53995         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53996         Machado Filho.
53998 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54000         * string/string.h: Add __wur to GNU version of strerror_r.
54002 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54004         [BZ #14229]
54005         * string/Makefile (tests): Add tst-strtok_r.
54006         * string/tst-strtok_r.c: New file.
54007         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54008         RAX_LP/RDX_LP on SAVE_PTR.
54010 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54012         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54014 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54016         * libm_test.inc (csqrt_test): Allow more spurious underflow
54017         exceptions.
54018         (j0_test): Likewise.
54019         (j1_test): Likewise.
54020         (y0_test): Likewise.
54021         (y1_test): Likewise.
54023 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54025         * po/Makefile (libc.pot): Use UTF-8 charset.
54027 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54029         [BZ #14210]
54030         Suppress sign-conversion warning from FD_SET.
54031         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54032         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54033         not unsigned long int.
54034         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54036 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54038         [BZ #14050]
54039         [BZ #14117]
54040         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54041         __extern_always_inline instead of __extern_inline.
54042         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54043         (__signbit): Likewise.
54044         (__signbitl): Support C++ namespace.
54045         (lrintf): New inline function.
54046         (lrint): Likewise.
54047         (llrintf): Likewise.
54048         (llrint): Likewise.
54049         (fmaxf): Likewise.
54050         (fmax): Likewise.
54051         (fminf): Likewise.
54052         (fmin): Likewise.
54053         (rint): Likewise.
54054         (rintf): Likewise.
54055         (ceil): Likewise.
54056         (ceilf): Likewise.
54057         (floor): Likewise.
54058         (floorf): Likewise.
54059         (nearbyint): Likewise.
54060         (nearbyintf): Likewise.
54062 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54065         non-default versions.
54067 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54069         [BZ #14218]
54070         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54072 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54074         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54075         (FE_UPWARD, FE_DOWNWARD): Don't define.
54076         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54077         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54079         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54080         reading it.
54081         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54082         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54084 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54086         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54088         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54089         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54091 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54093         [BZ #14117]
54094         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54095         * sysdeps/i386/fpu/Implies: New file.
54096         * sysdeps/x86_64/fpu/Implies: Likewise.
54097         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54098         * sysdeps/x86/fpu/bits/fenv.h: This.
54100         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54101         __SSE_MATH__.
54103 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54105         [BZ #14134]
54106         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54107         character 0xffff that matches the last element of the
54108         conversion table.
54110 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54112         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54113         fmodl commit.
54115 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54118         values higher than 25.6283.
54120 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54122         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54123         subnormal exponent extraction and add some __builtin_expect.
54124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54125         Fix for subnormal mantissa calculation.
54127 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54129         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54130         cpu2 is -1 and errno is not ENOSYS.
54132 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54134         [BZ #14117]
54135         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54136         * sysdeps/x86/bits/string.h: This.
54137         * sysdeps/x86_64/bits/string.h: Removed.
54139         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54140         if not compiling for x86-64, but compiling for >= i486.
54142         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54143         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54145         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54146         New macro from Linux kernel 3.4.0.
54147         (FP_XSTATE_MAGIC2): Likewise.
54148         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54149         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54150         (struct _fpx_sw_bytes): New struct.
54151         (struct _xsave_hdr): Likewise.
54152         (struct _ymmh_state): Likewise.
54153         (struct _xstate): Likewise.
54155         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54156         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54157         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54158         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54159         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54160         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54162         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54163         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54164         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54165         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54166         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54167         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54169 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54171         [BZ #13743]
54172         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54173         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54174         (sysdep_headers): Include sys/platform/ppc.h.
54175         * sysdeps/powerpc/test-gettimebase.c: Test for
54176         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54177         * manual/Makefile (appendices): Include platform.texi.
54178         * manual/contrib.texi (Contributors): Update @node pointers.
54179         * manual/maint.texi (Maintenance): Likewise.
54180         (Platform): New node.
54181         * manual/platform.texi: New file.  Document the new features.
54183 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54184             Jakub Jelinek  <jakub@redhat.com>
54186         [BZ #14188]
54187         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54188         where __builtin_expect is unavailable.
54190 2012-06-03  David S. Miller  <davem@davemloft.net>
54192         * stdlib/longlong.h: Updated from GCC.
54194 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54196         [BZ #14042]
54197         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54198         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54199         __mcount_internal.
54200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54201         (GLIBC_2.16): Likewise.
54203 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54205         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54207 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54210         (default-abi): New variable.
54211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54212         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54213         variable.
54214         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54215         Likewise.
54216         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54217         Likewise.
54218         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54219         Likewise.
54221         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54222         definition.  Document in comment.
54224 2012-06-01  David S. Miller  <davem@davemloft.net>
54226         * stdlib/longlong.h: Updated from GCC.
54228 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54230         [BZ #14117]
54231         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54232         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54233         sys/debugreg.h sys/io.h here.
54234         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54235         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54236         sys/io.h.
54237         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54238         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54239         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54240         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54241         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54242         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54244         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54245         Define only if __x86_64__ is defined.
54247 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54249         [BZ #14048]
54250         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54251         Use int64_t for variable i.
54252         * math/libm-test.inc (fmod_test): Add more tests.
54254         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54255         z computation is not scheduled after fetestexcept.
54256         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54257         Use math_force_eval instead of asm to ensure calculation scheduled
54258         before exception test.
54259         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54260         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54262 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54265         computation is not scheduled after fetestexcept.
54267 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54269         [BZ #14117]
54270         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54271         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54273 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54275         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54276         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54278 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54280         [BZ #14117]
54281         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54282         <bits/wordsize.h>.
54283         (__WCHAR_MIN): Support __WORDSIZE == 64.
54284         (__WCHAR_MAX): Likewise.
54286         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54289         [BZ #14183]
54290         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54291         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54293         [BZ #14117]
54294         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54295         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54297         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54298         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54300         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54301         Defined to 1 if __x86_64__ isn't defined.
54302         (_STAT_VER_LINUX_OLD): New.
54303         (st_atime): Remove duplicate.
54304         (st_mtime): Likewise.
54305         (st_ctime): Likewise.
54307 2012-05-31  David S. Miller  <davem@davemloft.net>
54309         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54310         entries.
54312 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54314         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54315         gen-libm-test.pl.
54317         [BZ #14132]
54318         * elf/dl-reloc.c: Include <_itoa.h>.
54319         (_dl_reloc_bad_type): Remove use of INTUSE.
54320         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54321         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54322         * stdio-common/psiginfo.c (psiginfo): Likewise.
54323         * stdio-common/psignal.c (psignal): Likewise.
54324         * string/strsignal.c (strsignal): Likewise.
54325         * include/signal.h (_sys_siglist): Declare hidden proto.
54326         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54327         INTVARDEF with libc_hidden_data_def.
54328         * stdio-common/itoa-udigits.c: Likewise.
54329         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54330         (_itoa_lower_digits_internal): Remove declaration.
54331         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54332         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54333         (_sys_sigabbrev_internal): Remove aliases.
54334         (_sys_siglist): Define hidden alias.
54336 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54339         bits/sysctl.h.
54341 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54343         [BZ #14117]
54344         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54345         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54347         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54348         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54349         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54350         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54351         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54352         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54354         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54355         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54356         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54358         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54359         with __addr.
54360         (insw): Likewise.
54361         (insl): Likewise.
54362         (outsb): Likewise.
54363         (outsw): Likewise.
54364         (outsl): Likewise.
54366         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54367         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54368         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54370         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54371         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54372         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54373         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54374         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54375         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54377         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54378         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54380         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54381         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54383         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54385         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54387         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54388         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54389         to ...
54390         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54392         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54393         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54394         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54396         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54397         for x86-64.
54398         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54400 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54402         * math/math.h (M_El): Use two more decimal places.
54403         (M_LOG2El): Likewise.
54404         (M_LOG10El): Likewise.
54405         (M_LN2l): Likewise.
54406         (M_LN10l): Likewise.
54407         (M_PIl): Likewise.
54408         (M_PI_2l): Likewise.
54409         (M_PI_4l): Likewise.
54410         (M_1_PIl): Likewise.
54411         (M_2_PIl): Likewise.
54412         (M_2_SQRTPIl): Likewise.
54413         (M_SQRT2l): Likewise.
54414         (M_SQRT1_2l): Likewise.
54416 2012-05-31  David S. Miller  <davem@davemloft.net>
54418         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54419         values between float registers.
54420         * sysdeps/sparc/sparc64/memset.S: Likewise.
54421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54423 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54425         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54426         -D_FORTIFY_SOURCE=1.
54427         (CPPFLAGS-tst-longjmp_chk.c): Define.
54428         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54429         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54430         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54431         CFLAGS-tst-wchar-h.c.
54433 2012-05-31  Marek Polacek  <polacek@redhat.com>
54435         [BZ #14132]
54436         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54437         __endmntent_internal): Remove declaration.
54438         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54439         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54440         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54442 2012-05-30  David S. Miller  <davem@davemloft.net>
54444         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54445         (___Q_simulate_exceptions): Use real FP ops rather than writing
54446         into the %fsr.
54447         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54448         Likewise.
54450 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54452         [BZ #14117]
54453         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54454         * sysdeps/x86/bits/xtitypes.h: This.
54456         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54457         * sysdeps/x86/bits/wordsize.h: This.
54459         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54460         * sysdeps/x86/bits/huge_vall.h: This.
54462         * sysdeps/i386/bits/select.h: Removed.
54463         * sysdeps/x86_64/bits/select.h: Renamed to ...
54464         * sysdeps/x86/bits/select.h: This.
54466         * sysdeps/i386/bits/setjmp.h: Removed.
54467         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54468         * sysdeps/x86/bits/setjmp.h: This.
54470         * sysdeps/i386/bits/mathdef.h: Removed.
54471         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54472         * sysdeps/x86/bits/mathdef.h: This.
54474 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54476         [BZ #14132]
54477         * include/sys/socket.h (__connect_internal)
54478         (__libc_sa_len_internal): Remove declaration.
54479         (__connect, __libc_sa_len): Declare hidden_proto.
54480         (SA_LEN): Remove use of INTUSE.
54481         * socket/connect.c: Add libc_hidden_def.
54482         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54483         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54484         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54485         alias.
54486         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54487         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54488         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54489         of adding _internal alias.
54491 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54493         [BZ #14117]
54494         * sysdeps/i386/bits/link.h: Removed.
54495         * sysdeps/i386/bits/linkmap.h: Likewise.
54496         * sysdeps/x86_64/bits/link.h: Renamed to ...
54497         * sysdeps/x86/bits/link.h: This.
54498         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54499         * sysdeps/x86/bits/linkmap.h: This.
54501         * sysdeps/i386/bits/endian.h: Removed.
54502         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54503         * sysdeps/x86/bits/endian.h: This.
54505         * sysdeps/i386/bits/byteswap.h: Removed.
54506         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54507         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54508         * sysdeps/x86/bits/byteswap.h: This.
54509         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54510         * sysdeps/x86/bits/byteswap-16.h: This.
54511         * sysdeps/i386/Implies: Add x86.
54512         * sysdeps/x86_64/Implies: Likewise.
54514 2012-05-30  David S. Miller  <davem@davemloft.net>
54516         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54517         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54518         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54519         (FP_TRAPPING_EXCEPTIONS): Define.
54520         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54521         (FP_TRAPPING_EXCEPTIONS): Define.
54522         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54523         subnormals only when inexact has been signalled or underflow
54524         exceptions are enabled.
54525         (_FP_PACK_CANONICAL): Likewise.
54527 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54529         [BZ #14183]
54530         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54531         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54533 2012-05-30  Richard Henderson  <rth@twiddle.net>
54535         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54536         with #ifndef NOT_IN_libc.
54538         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54539         marked to avoid plt entry.
54541 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54543         [BZ #14112]
54544         * Makeconfig (default-abi): New macro.
54545         (abi-includes): Likewise.
54546         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54547         $(abi-$(default-abi)-lib-soname) for soname if defined.
54548         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54549         abi-variants.
54550         * Makefile (installed-stubs): Likewise.
54551         * include/stubs-biarch.h: Removed.
54552         * scripts/lib-names.awk: Only handle one library at a time.
54553         * scripts/soversions.awk: Remove WORDSIZE support.
54554         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54555         entries.
54556         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54557         Removed.
54558         (syscall-list-default-condition): Likewise.
54559         (syscall-list-default-condition): Likewise.
54560         (syscall-list-includes): Likewise.
54561         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54562         syscall-list-* with abi-*.  Handle undefined abi-variants.
54563         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54564         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54565         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54566         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54567         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54568         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54569         Removed.
54570         (syscall-list-32-options): Likewise.
54571         (syscall-list-32-condition): Likewise.
54572         (syscall-list-64-options): Likewise.
54573         (syscall-list-64-condition): Likewise.
54574         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54575         macro.
54576         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54577         Renamed to ...
54578         (abi-*): This.
54579         (abi-64-ld-soname): New macro.
54580         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54581         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54582         Renamed to ...
54583         (abi-*): This.
54584         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54585         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54587 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54589         * sysdeps/unix/sysv/linux/kernel-features.h
54590         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54591         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54592         include <kernel-features.h>.
54593         [!__NR_ftruncate64]: Remove conditional code.
54594         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54595         [__NR_ftruncate64]: Make code unconditional.
54596         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54597         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54598         include <kernel-features.h>.
54599         [!__NR_ftruncate64]: Remove conditional code.
54600         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54601         [__NR_ftruncate64]: Make code unconditional.
54602         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54604         include <kernel-features.h>.
54605         [!__NR_ftruncate64]: Remove conditional code.
54606         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54607         [__NR_ftruncate64]: Make code unconditional.
54608         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54610         include <kernel-features.h>.
54611         [!__NR_ftruncate64]: Remove conditional code.
54612         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54613         [__NR_ftruncate64]: Make code unconditional.
54614         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54616         * configure.in (libc_cv_fpie): Weaken to a compile test using
54617         LIBC_TRY_CC_OPTION.
54618         * configure: Regenerated.
54620 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54626         Refreshed.
54627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54633         Refreshed.
54635 2012-05-27  David S. Miller  <davem@davemloft.net>
54637         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54638         (___Q_zero): New.
54639         (__Q_simulate_exceptions): Return void.  Change to simulate
54640         exceptions by writing into the %fsr.
54641         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54642         (__Qp_handle_exceptions): Likewise.
54643         (numbers): Delete.
54644         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54645         __Qp_handle_exceptions.
54646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54647         __Qp_handle_exceptions.
54648         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54649         as unused and give dummy FP_RND_NEAREST initializer.
54650         (FP_INHIBIT_RESULTS): Define.
54651         (___Q_simulate_exceptions): Update declaration.
54652         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54653         formatting.
54654         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54655         as unused and give dummy FP_RND_NEAREST initializer.
54656         (__Qp_handle_exceptions): Update declaration.
54657         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54658         formatting.
54660 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54662         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54663         the temporary FPU control word.
54664         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54665         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54666         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54667         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54668         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54669         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54670         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54671         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54672         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54673         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54674         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54676 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54678         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54679         fields.
54681 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54683         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54684         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54685         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54686         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54687         Likewise.
54688         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54689         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54690         Likewise.
54692 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54694         * po/h.po: Update from translation team.
54696 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54698         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54700         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54701         handling of denormals.
54702         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54703         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54704         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54705         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54707         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54709         Likewise.
54711 2012-05-26  Marek Polacek  <polacek@redhat.com>
54713         [BZ #14152]
54714         * math/libm-test.inc (fma_test): Don't always expect underflow
54715         exception.
54717 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54719         [BZ #12416]
54720         * elf/tst-execstack.c: Include stackinfo.h.
54721         (do_test): Adjust test case to ensure that pthread_getattr_np
54722         behaviour remains the same after marking stack executable.
54724 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54726         * sysdeps/unix/sysv/linux/kernel-features.h
54727         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54728         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54729         kernel-features.h.
54730         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54731         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54732         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54733         kernel-features.h.
54734         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54735         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54737 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54739         * configure.in: Define the default includes to being none.
54740         * configure: Regenerated.
54742 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54744         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54745         * sysdeps/x86_64/setjmp.S: Likewise.
54746         * sysdeps/i386/bsd-setjmp.S: Likewise.
54747         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54748         * sysdeps/i386/setjmp.S: Likewise.
54749         * sysdeps/i386/__longjmp.S: Likewise.
54750         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54751         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54753         * include/stap-probe.h: New file.
54754         * configure.in: Handle --enable-systemtap.
54755         * configure: Regenerated.
54756         * config.h.in (USE_STAP_PROBE): New #undef.
54757         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54758         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54759         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54761 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54763         [BZ #13717]
54764         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54765         to 2.4.0 where earlier.
54766         * sysdeps/unix/sysv/linux/configure: Regenerated.
54767         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54768         <kernel-features.h>.
54769         [__ASSUME_32BITUIDS]: Make code unconditional.
54770         [!__ASSUME_32BITUIDS]: Remove conditional code.
54771         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54772         <kernel-features.h>.
54773         [__ASSUME_32BITUIDS]: Make code unconditional.
54774         [!__ASSUME_32BITUIDS]: Remove conditional code.
54775         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54776         [__ASSUME_32BITUIDS]: Make code unconditional.
54777         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54778         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54779         <kernel-features.h>.
54780         [__ASSUME_32BITUIDS]: Make code unconditional.
54781         [!__ASSUME_32BITUIDS]: Remove conditional code.
54782         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54783         <kernel-features.h>.
54784         [__ASSUME_32BITUIDS]: Make code unconditional.
54785         [!__ASSUME_32BITUIDS]: Remove conditional code.
54786         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54787         <kernel-features.h>.
54788         [__ASSUME_32BITUIDS]: Make code unconditional.
54789         [!__ASSUME_32BITUIDS]: Remove conditional code.
54790         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54791         <kernel-features.h>.
54792         [__ASSUME_32BITUIDS]: Make code unconditional.
54793         [!__ASSUME_32BITUIDS]: Remove conditional code.
54794         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54795         <kernel-features.h>.
54796         [__ASSUME_32BITUIDS]: Make code unconditional.
54797         [!__ASSUME_32BITUIDS]: Remove conditional code.
54798         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54799         <kernel-features.h>.
54800         [__ASSUME_32BITUIDS]: Make code unconditional.
54801         [!__ASSUME_32BITUIDS]: Remove conditional code.
54802         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54803         <kernel-features.h>.
54804         [__ASSUME_32BITUIDS]: Make code unconditional.
54805         [!__ASSUME_32BITUIDS]: Remove conditional code.
54806         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54807         <kernel-features.h>.
54808         [__ASSUME_32BITUIDS]: Make code unconditional.
54809         [!__ASSUME_32BITUIDS]: Remove conditional code.
54810         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54811         <kernel-features.h>.
54812         [__ASSUME_32BITUIDS]: Make code unconditional.
54813         [!__ASSUME_32BITUIDS]: Remove conditional code.
54814         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54815         <kernel-features.h>.
54816         [__ASSUME_32BITUIDS]: Make code unconditional.
54817         [!__ASSUME_32BITUIDS]: Remove conditional code.
54818         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54819         <kernel-features.h>.
54820         [__NR_setresgid] (__setresgid): Do not declare.
54821         [__ASSUME_32BITUIDS]: Make code unconditional.
54822         [!__ASSUME_32BITUIDS]: Remove conditional code.
54823         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54824         <kernel-features.h>.
54825         [__NR_setresuid] (__setresuid): Do not declare.
54826         [__ASSUME_32BITUIDS]: Make code unconditional.
54827         [!__ASSUME_32BITUIDS]: Remove conditional code.
54828         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54829         <kernel-features.h>.
54830         [__ASSUME_32BITUIDS]: Make code unconditional.
54831         [!__ASSUME_32BITUIDS]: Remove conditional code.
54832         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54833         <kernel-features.h>.
54834         [__ASSUME_32BITUIDS]: Make code unconditional.
54835         [!__ASSUME_32BITUIDS]: Remove conditional code.
54836         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54837         <kernel-features.h>.
54838         [__ASSUME_32BITUIDS]: Make code unconditional.
54839         [!__ASSUME_32BITUIDS]: Remove conditional code.
54840         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54841         <kernel-features.h>.
54842         [__ASSUME_32BITUIDS]: Make code unconditional.
54843         [!__ASSUME_32BITUIDS]: Remove conditional code.
54844         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54845         <kernel-features.h>.
54846         [__ASSUME_32BITUIDS]: Make code unconditional.
54847         [!__ASSUME_32BITUIDS]: Remove conditional code.
54848         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54849         <kernel-features.h>.
54850         [__ASSUME_32BITUIDS]: Make code unconditional.
54851         [!__ASSUME_32BITUIDS]: Remove conditional code.
54852         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54853         <kernel-features.h>.
54854         [__ASSUME_32BITUIDS]: Make code unconditional.
54855         [!__ASSUME_32BITUIDS]: Remove conditional code.
54856         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54857         <kernel-features.h>.
54858         [__ASSUME_32BITUIDS]: Make code unconditional.
54859         [!__ASSUME_32BITUIDS]: Remove conditional code.
54860         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54861         <kernel-features.h>.
54862         [__ASSUME_32BITUIDS]: Make code unconditional.
54863         [!__ASSUME_32BITUIDS]: Remove conditional code.
54864         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54865         <kernel-features.h>.
54866         [__ASSUME_32BITUIDS]: Make code unconditional.
54867         [!__ASSUME_32BITUIDS]: Remove conditional code.
54868         * sysdeps/unix/sysv/linux/kernel-features.h
54869         (__ASSUME_SETRESUID_SYSCALL): Remove.
54870         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54871         (__ASSUME_32BITUIDS): Likewise.
54872         (__ASSUME_LDT_WORKS): Likewise.
54873         (__ASSUME_O_DIRECTORY): Likewise.
54874         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54875         architecture but not kernel version.
54876         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54877         (__ASSUME_MMAP2_SYSCALL): Likewise.
54878         (__ASSUME_STAT64_SYSCALL): Likewise.
54879         (__ASSUME_IPC64): Likewise.
54880         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54881         <kernel-features.h>.
54882         [__ASSUME_32BITUIDS]: Make code unconditional.
54883         [!__ASSUME_32BITUIDS]: Remove conditional code.
54884         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54885         <kernel-features.h>.
54886         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54887         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54888         132096]: Remove conditional code.
54889         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54890         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54891         <kernel-features.h>.
54892         [__ASSUME_32BITUIDS]: Make code unconditional.
54893         [!__ASSUME_32BITUIDS]: Remove conditional code.
54894         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54895         <kernel-features.h>.
54896         [__ASSUME_32BITUIDS]: Make code unconditional.
54897         [!__ASSUME_32BITUIDS]: Remove conditional code.
54898         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54899         <kernel-features.h>.
54900         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54901         unconditional.
54902         (__setresgid): Do not declare.
54903         [__ASSUME_32BITUIDS]: Make code unconditional.
54904         [!__ASSUME_32BITUIDS]: Remove conditional code.
54905         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54906         <kernel-features.h>.
54907         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54908         unconditional.
54909         (__setresuid): Do not declare.
54910         [__ASSUME_32BITUIDS]: Make code unconditional.
54911         [!__ASSUME_32BITUIDS]: Remove conditional code.
54912         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54913         <kernel-features.h>.
54914         [__ASSUME_32BITUIDS]: Make code unconditional.
54915         [!__ASSUME_32BITUIDS]: Remove conditional code.
54916         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54917         <kernel-features.h>.
54918         [__ASSUME_32BITUIDS]: Make code unconditional.
54919         [!__ASSUME_32BITUIDS]: Remove conditional code.
54921 2012-05-25  Richard Henderson  <rth@twiddle.net>
54923         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54924         dl_hwcap to ifunc resolver.
54925         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54926         elf_ifunc_invoke.
54927         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54928         dl_hwcap to ifunc resolver.
54929         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54931 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54933         [BZ #14153]
54934         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54935         for |x| <= 2**-26, not 2**-57.
54936         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54937         exception.
54939 2012-05-24  Jeff Law  <law@redhat.com>
54941         * stdio-common/Makefile (tests): Add bug25.
54942         * stdio-common/bug25.c: New test.
54944 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54946         [BZ #13576]
54947         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54948         multiple of MALLOC_ALIGNMENT in size.
54949         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54951 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54953         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54954         Require >= 256.
54955         (FILENAME_MAX): Use macro-int-constant.
54956         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54957         (_IOFBF): Use macro-int-constant.
54958         (_IOLBF): Likewise.
54959         (_IONBF): Likewise.
54960         (SEEK_CUR): Likewise.
54961         (SEEK_END): Likewise.
54962         (SEEK_SET): Likewise.
54963         (TMP_MAX): Likewise.
54964         (EOF): Use macro-int-constant.  Require < 0.
54965         (NULL): Use macro-constant.  Require == 0.
54966         (stdin): Require type to be FILE *.
54967         (stdout): Likewise.
54968         (stderr): Likewise.
54969         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54970         macro-int-constant.
54971         (EXIT_SUCCESS): Likewise.
54972         (NULL): Use macro-constant.  Require == 0.
54973         (RAND_MAX): Use macro-int-constant.
54974         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54975         [C99-based standards] (strtof): Require function.
54976         [C99-based standards] (strtold): Likewise.
54977         [C99-based standards] (strtoll): Likewise.
54978         [C99-based standards] (strtoull): Likewise.
54979         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54980         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54981         [ISO || ISO99 || ISO11] (math.h): Likewise.
54982         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54983         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54984         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54986 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54988         [BZ #14132]
54989         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54990         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54991         * intl/dgettext.c (DCGETTEXT): Likewise.
54992         * intl/gettext.c (DCGETTEXT): Likewise.
54993         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54994         * posix/regex_internal.h (gettext): Likewise.
54995         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54996         Remove declaration.
54997         * include/argz.h (__argz_count_internal)
54998         (__argz_stringify_internal): Remove declaration.
54999         (__argz_count, __argz_stringify): Declare hidden proto.
55000         * intl/dcgettext.c: Remove use of INTDEF.
55001         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55002         * string/argz-stringify.c: Likewise.
55003         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55004         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55005         Declare hidden proto.
55006         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55007         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55008         Declare hidden proto.
55009         * include/stdio.h (__asprintf_internal): Don't declare.
55010         (__asprintf): Don't define as macro.  Declare hidden proto.
55011         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55012         (__fsetlocking): Declare hidden proto.
55013         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55014         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55015         hidden proto.
55016         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55017         (_IO_setlinebuf): Remove use of INTUSE.
55018         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55019         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55020         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55021         Remove declaration.
55022         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55023         (_IO_do_flush): Remove use of INTUSE.
55024         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55025         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55026         (_IO_adjust_column, _IO_least_wmarker)
55027         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55028         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55029         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55030         (_IO_default_doallocate, _IO_wdefault_doallocate)
55031         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55032         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55033         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55034         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55035         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55036         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55037         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55038         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55039         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55040         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55041         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55042         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55043         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55044         proto.
55045         (_IO_flush_all_internal, _IO_adjust_column_internal)
55046         (_IO_default_uflow_internal, _IO_default_finish_internal)
55047         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55048         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55049         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55050         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55051         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55052         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55053         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55054         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55055         (_IO_file_close_internal, _IO_file_close_it_internal)
55056         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55057         (_IO_file_init_internal, _IO_file_attach_internal)
55058         (_IO_file_fopen_internal, _IO_file_read_internal)
55059         (_IO_file_sync_internal, _IO_file_seek_internal)
55060         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55061         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55062         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55063         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55064         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55065         (_IO_list_all_internal, _IO_link_in_internal)
55066         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55067         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55068         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55069         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55070         (_IO_do_write_internal, _IO_padn_internal)
55071         (_IO_getline_info_internal, _IO_getline_internal)
55072         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55073         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55074         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55075         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55076         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55077         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55078         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55079         with libc_hidden_ver, remove use of INTUSE.
55080         * libio/genops.c: Likewise.
55081         * libio/freopen.c: Likewise.
55082         * libio/freopen64.c: Likewise.
55083         * libio/iofclose.c: Likewise.
55084         * libio/iofdopen.c: Likewise.
55085         * libio/iofflush.c: Likewise.
55086         * libio/iofflush_u.c: Likewise.
55087         * libio/iofgets.c: Likewise.
55088         * libio/iofgets_u.c: Likewise.
55089         * libio/iofopen.c: Likewise.
55090         * libio/iofopncook.c: Likewise.
55091         * libio/iofread.c: Likewise.
55092         * libio/iofread_u.c: Likewise.
55093         * libio/ioftell.c: Likewise.
55094         * libio/iofwrite.c: Likewise.
55095         * libio/iogetline.c: Likewise.
55096         * libio/iogets.c: Likewise.
55097         * libio/iogetwline.c: Likewise.
55098         * libio/iopadn.c: Likewise.
55099         * libio/iopopen.c: Likewise.
55100         * libio/ioseekoff.c: Likewise.
55101         * libio/ioseekpos.c: Likewise.
55102         * libio/iosetbuffer.c: Likewise.
55103         * libio/iosetvbuf.c: Likewise.
55104         * libio/ioungetc.c: Likewise.
55105         * libio/ioungetwc.c: Likewise.
55106         * libio/iovdprintf.c: Likewise.
55107         * libio/iovsprintf.c: Likewise.
55108         * libio/iovsscanf.c: Likewise.
55109         * libio/memstream.c: Likewise.
55110         * libio/obprintf.c: Likewise.
55111         * libio/oldfileops.c: Likewise.
55112         * libio/oldiofclose.c: Likewise.
55113         * libio/oldiofdopen.c: Likewise.
55114         * libio/oldiofopen.c: Likewise.
55115         * libio/oldiopopen.c: Likewise.
55116         * libio/oldstdfiles.c: Likewise.
55117         * libio/putc.c: Likewise.
55118         * libio/setbuf.c: Likewise.
55119         * libio/setlinebuf.c: Likewise.
55120         * libio/stdfiles.c: Likewise.
55121         * libio/strops.c: Likewise.
55122         * libio/vasprintf.c: Likewise.
55123         * libio/vscanf.c: Likewise.
55124         * libio/vsnprintf.c: Likewise.
55125         * libio/vswprintf.c: Likewise.
55126         * libio/wfiledoalloc.c: Likewise.
55127         * libio/wfileops.c: Likewise.
55128         * libio/wgenops.c: Likewise.
55129         * libio/wmemstream.c: Likewise.
55130         * libio/wstrops.c: Likewise.
55131         * libio/__fpurge.c: Likewise.
55132         * libio/__fsetlocking.c: Likewise.
55133         * assert/assert.c: Likewise.
55134         * debug/fgets_chk.c: Likewise.
55135         * debug/fgets_u_chk.c: Likewise.
55136         * debug/fread_chk.c: Likewise.
55137         * debug/fread_u_chk.c: Likewise.
55138         * debug/gets_chk.c: Likewise.
55139         * debug/obprintf_chk.c: Likewise.
55140         * debug/vasprintf_chk.c: Likewise.
55141         * debug/vdprintf_chk.c: Likewise.
55142         * debug/vsnprintf_chk.c: Likewise.
55143         * debug/vsprintf_chk.c: Likewise.
55144         * malloc/mtrace.c: Likewise.
55145         * misc/error.c: Likewise.
55146         * misc/syslog.c: Likewise.
55147         * stdio-common/asprintf.c: Likewise.
55148         * stdio-common/fxprintf.c: Likewise.
55149         * stdio-common/getw.c: Likewise.
55150         * stdio-common/isoc99_fscanf.c: Likewise.
55151         * stdio-common/isoc99_scanf.c: Likewise.
55152         * stdio-common/isoc99_vfscanf.c: Likewise.
55153         * stdio-common/isoc99_vscanf.c: Likewise.
55154         * stdio-common/isoc99_vsscanf.c: Likewise.
55155         * stdio-common/printf-prs.c: Likewise.
55156         * stdio-common/printf_fp.c: Likewise.
55157         * stdio-common/printf_fphex.c: Likewise.
55158         * stdio-common/printf_size.c: Likewise.
55159         * stdio-common/putw.c: Likewise.
55160         * stdio-common/scanf.c: Likewise.
55161         * stdio-common/sprintf.c: Likewise.
55162         * stdio-common/tmpfile.c: Likewise.
55163         * stdio-common/vfprintf.c: Likewise.
55164         * stdio-common/vfscanf.c: Likewise.
55165         * stdlib/strfmon_l.c: Likewise.
55166         * sunrpc/openchild.c: Likewise.
55167         * sunrpc/xdr_stdio.c: Likewise.
55168         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55169         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55171 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55173         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55175         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55176         in the third column, to generate for the shared library an IFUNC
55177         that uses _dl_vdso_vsym.
55178         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55179         * Makeconfig (object-suffixes-noshared): New variable.
55181         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55182         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55183         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55184         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55186         [BZ #14132]
55187         * include/sys/time.h (__gettimeofday): Remove macro.
55188         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55189         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55190         Remove INTDEF.
55191         (__gettimeofday): Add libc_hidden_def.
55192         (gettimeofday): Add libc_hidden_weak.
55193         * sysdeps/mach/gettimeofday.c: Likewise.
55194         * sysdeps/posix/gettimeofday.c: Likewise.
55195         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55196         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55198         (__gettimeofday_internal): Remove strong_alias.
55199         (__gettimeofday): Add libc_hidden_def.
55200         (gettimeofday): Add libc_hidden_weak.
55201         * sysdeps/unix/syscalls.list (gettimeofday):
55202         Remove __gettimeofday_internal alias.
55204 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55205             H.J. Lu  <hongjiu.lu@intel.com>
55207         [BZ #12495]
55208         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55209         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55210         (largebin_index_32_big): New.
55211         (largebin_index): Use it for 16-byte alignment.
55212         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55213         correction with front_misalign.
55215 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55219         Likewise.
55220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55221         Likewise.
55222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55223         Likewise.
55224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55225         Likewise.
55226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55227         Likewise.
55228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55229         Likewise.
55230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55231         Likewise.
55232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55233         Likewise.
55234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55235         Likewise.
55236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55237         Likewise.
55238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55239         Likewise.
55240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55241         Likewise.
55243         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55244         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55246 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55248         [BZ #10846]
55249         [BZ #14036]
55250         * math/libm-test.inc (exp_test): Add test from bug 14036.
55251         (pow_test): Add test from bug 10846.
55253         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55254         and other flags.
55255         (special_function): Do not include flags in test name.
55256         (parse_args): Likewise.
55257         * sysdeps/i386/fpu/libm-test-ulps: Update.
55258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55259         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55260         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55263         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55264         exceptions.
55265         * math/libm-test.inc ("Philosophy"): Update comment about
55266         exception testing.
55267         (UNDERFLOW_EXCEPTION): New macro.
55268         (UNDERFLOW_EXCEPTION_OK): Likewise.
55269         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55270         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55271         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55272         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55273         (INVALID_EXCEPTION_OK): Update value.
55274         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55275         (OVERFLOW_EXCEPTION_OK): Likewise.
55276         (IGNORE_ZERO_INF_SIGN): Likewise.
55277         (test_exceptions): Handle underflow exceptions.
55278         (acos_test): Update for underflow exception expectations.
55279         (cexp_test): Likewise.
55280         (clog_test): Likewise.
55281         (clog10_test): Likewise.
55282         (csqrt_test): Likewise.
55283         (ctan_test): Likewise.
55284         (ctanh_test): Likewise.
55285         (exp_test): Likewise.
55286         (exp10_test): Likewise.
55287         (exp2_test): Likewise.
55288         (expm1_test): Likewise.
55289         (fma_test): Likewise.
55290         (j0_test): Likewise.
55291         (jn_test): Likewise.
55292         (nexttoward_test): Likewise.
55293         (pow_test): Likewise.
55294         (scalbn_test): Likewise.
55295         (scalbln_test): Likewise.
55296         (tan_test): Likewise.
55297         (y1_test): Likewise.
55298         * sysdeps/i386/fpu/libm-test-ulps: Update.
55299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55301 2012-05-23  David S. Miller  <davem@davemloft.net>
55303         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55304         (__libc_sigaction): Remove unused local variables.
55306 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55308         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55310 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55312         mktime: avoid signed integer overflow
55313         * time/mktime.c (__mktime_internal): Do not mishandle the case
55314         where diff == INT_MIN.
55316         mktime: simplify computation of average
55317         * time/mktime.c (ranged_convert): Use new time_t_avg function
55318         instead of rolling our own (probably-slower) code.
55320         mktime: do not assume signed right shift propagates sign bit
55321         * time/mktime.c (isdst_differ): New static function.
55322         (__mktime_internal): No need to normalize tm_isdst now.
55323         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55324         tm_isdst values.
55326         mktime: merge another wrapv change from gnulib
55327         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55328         from some compilers.
55330         mktime: remove incorrect attempt at unusual arithmetics
55331         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55332         The code didn't really work on such machines anyway.
55333         (TYPE_MINIMUM): Assume two's complement.
55334         (twos_complement_arithmetic): Verify that long_int and time_t
55335         are two's complement (or unsigned, in the latter case).
55337         mktime: check signed shifts on long_int and time_t, too
55338         * time/mktime.c (SHR): Check that shifts work as desired
55339         on the types long_int and time_t too, as SHR is used on
55340         such types.
55342         mktime: do not assume 'long' is wide enough
55343         * time/mktime.c (verify): Move decl up.
55344         (long_int): New type.
55345         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55346         to remove assumption in the code that 'long' is wide enough to
55347         store year values.  This assumption is not true on x32 and on
55348         some non-glibc platforms.
55350         mktime: merge wrapv change from gnulib
55351         * time/mktime.c (WRAPV): New macro.
55352         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55353         (guess_time_tm, __mktime_internal): Do not assume that signed
55354         integer overflow wraps around; modern compilers generate code
55355         where this assumption is no longer valid.
55357 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55359         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55360         Replace "jmp L(pseudo_end)" with "ret".
55361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55362         Likewise.
55364 2012-05-23  Andreas Jaeger  <aj@suse.de>
55366         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55367         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55369 2012-05-23  Andreas Jaeger  <aj@suse.de>
55370             Maximilian Attems  <max@stro.at>
55372         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55373         New macros.
55375 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55377         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55378         code so that pseudo_end is just ret and the stack pointer is
55379         correct also for static library in error case.
55381 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55383         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55384         move to syscalls.list.
55385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55390         * manual/install.texi (Running make install): Do not mention Linux
55391         kernel version for which pt_chown is not needed.
55392         (Linux): Do not mention problems with nscd with 2.0 kernels.
55393         * INSTALL: Regenerated.
55395 2012-05-23  Andreas Jaeger  <aj@suse.de>
55397         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55398         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55399         macro.
55400         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55401         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55402         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55403         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55404         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55405         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55406         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55407         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55408         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55409         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55410         * sysdeps/unix/sysv/linux/bits/in.h
55411         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55413 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55415         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55416         (PREPARE_VERSION): Just use assert instead, it will be elided
55417         under [NDEBUG] anyway.
55419 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55421         * sysdeps/unix/sysv/linux/Makefile: Include
55422         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55423         (sysdep_routines): Remove sysctl.
55424         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55425         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55426         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55427         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55428         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55430 2012-05-22  Andreas Jaeger  <aj@suse.de>
55432         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55433         that pseudo_end is just ret and the stack pointer is correct also
55434         for static library in error case.
55436 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55438         [BZ #14122]
55439         * nss/nsswitch.c (defconfig_entries): New variable.
55440         (__nss_database_lookup): Don't leak defconfig entries.
55441         (nss_parse_service_list): Don't leak on error paths.
55442         (free_database_entries): New function.
55443         (free_defconfig): New function.
55444         (free_mem): Move common code to free_database_entries.
55446 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55448         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55449         Add arch_prctl.
55450         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55452         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55453         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55455         New macro.
55456         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55457         (INTERNAL_SYSCALL_TYPES): Likewise.
55458         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55459         (LOAD_REGS_TYPES_[1-6]): Likewise.
55460         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55461         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55463 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55465         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55466         copysignl for GLIBC_2_0.
55467         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55468         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55469         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55470         logbl for GLIBC_2_0.
55471         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55472         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55474 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55476         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55477         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55479         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55480         Use "neg %eax".
55482         * time/mktime.c: Update copyright years.
55484 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55486         mktime: merge comment-quoting-style change from gnulib
55487         * time/mktime.c: Quote 'like this' in comments.
55488         The GNU coding standards suggest that we no longer quote `like this',
55489         as "`" and "'" are typically rendered asymmetrically nowadays.
55490         The typical gnulib style is to quote 'like this' when quoting
55491         code, and "like this" when quoting English.
55493         * time/mktime.c (compile-command): Add "-I.".
55495         mktime: merge mktime-internal.h change from gnulib
55496         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55498         mktime: merge time_r change from gnulib
55499         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55501         mktime: merge DEBUG change from gnulib
55502         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55503         case system <time.h> has a #define.
55505         mktime: merge <sys/types.h> change from gnulib
55506         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55507         since <time.t> is now guaranteed to define time_t.
55509         mktime: merge HAVE_CONFIG_H change from gnulib
55510         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55512 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55515         Use "neg %eax".
55517         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55518         __rlim_t cast.
55519         (struct rusage): Use anonymous union to pad each field to
55520         __syscall_slong_t.
55522 2012-05-21  David S. Miller  <davem@davemloft.net>
55524         * Makefules (o-iterator): Remove .s cases.
55525         (compile-command.s): Delete.
55526         (COMPILE.s): Delete.
55527         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55529 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55531         * configure.in (libc_cv_predef_stack_protector): Only consider
55532         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55533         * configure: Regenerated.
55535 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55538         New macro.  Use R*LP on int and pointer.
55539         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55540         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55541         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55542         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55544         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55545         [__WORDSIZE_TIME64_COMPAT32] instead of
55546         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55547         (struct utmp): Likewise.
55548         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55549         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55550         Renamed to ...
55551         (__WORDSIZE_TIME64_COMPAT32): This.
55552         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55553         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55554         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55555         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55556         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55557         (__WORDSIZE_TIME64_COMPAT32): New macro.
55559 2012-05-21  Andreas Jaeger  <aj@suse.de>
55561         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55562         only if [SHARED]. Add prototype for __wcschr_ia32.
55564 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55566         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55567         of %rbp unmolested in the jmp_buf while mangling the low bits.
55568         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55569         unmolested high bits of %rbp while demangling the low bits.
55570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55572 2012-05-21  Andreas Jaeger  <aj@suse.de>
55574         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55575         * sunrpc/svc_simple.c: Use it for registerrpc.
55576         * sunrpc/xcrypt.c: Use it for passwd2des.
55578         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55580 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55582         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55583         Don't define if [__SYSCALL_WORDSIZE != 32].
55584         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55585         New macro.
55587 2012-05-21  Bruno Haible  <bruno@clisp.org>
55588             Andreas Jaeger  <aj@suse.de>
55590         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55591         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55592         inptr and inend for must_buffer_ch.
55593         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55594         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55595         * stdio-common/Makefile (tests): Remove bug15.
55596         (bug15-ENV): Remove macro.
55597         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55598         anymore.
55600 2012-05-19  Andreas Jaeger  <aj@suse.de>
55601             Roland McGrath  <roland@hack.frob.com>
55603         * manual/contrib.texi: Completely rewritten. It contains now an
55604         alphabetical list of contributors and their contributions.
55606 2012-05-21  Richard Henderson  <rth@twiddle.net>
55608         * misc/getauxval.c (__getauxval): Use unsigned long int.
55609         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55610         (getauxval): Use unsigned long int.
55612 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55614         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55616 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55618         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55619         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55620         __alignof__ (long double).
55622 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55626 2012-05-20  Richard Henderson  <rth@twiddle.net>
55628         * misc/getauxval.c: New file.
55629         * misc/sys/auxv.h: New file.
55630         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55631         (routines): Add getauxval.
55632         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55633         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55634         * elf/dl-sysdep.c (_dl_auxv): Remove.
55635         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55636         * elf/dl-support.c (_dl_auxv): New variable.
55637         (_dl_aux_init): Initialize it.
55638         * manual/startup.texi (Auxiliary Vector): New node.
55639         * sysdeps/generic/bits/hwcap.h: New file.
55640         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55641         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55642         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55643         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55644         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55645         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55647         Update.
55648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55657 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55661 2012-05-19  David S. Miller  <davem@davemloft.net>
55663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55665 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55667         [BZ #14123]
55668         * math/s_ccosh.c: Include <float.h>
55669         (__ccosh): Avoid internal overflow calculating sinh and cosh
55670         values before multiplying by sin and cos values.
55671         * math/s_ccoshf.c: Likewise.
55672         * math/s_ccoshl.c: Likewise.
55673         * math/s_csin.c: Likewise.
55674         * math/s_csinf.c: Likewise.
55675         * math/s_csinl.c: Likewise.
55676         * math/s_csinh.c: Likewise.
55677         * math/s_csinhf.c: Likewise.
55678         * math/s_csinhl.c: Likewise.
55679         * math/libm-test.inc (ccos_test): Add more tests.
55680         (ccosh_test): Likewise.
55681         (csin_test): Likewise.
55682         (csinh_test): Likewise.
55683         * sysdeps/i386/fpu/libm-test-ulps: Update.
55684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55686 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55688         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55689         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55691         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55693 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55695         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55696         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55697         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55698         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55699         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55700         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55701         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55702         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55703         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55704         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55705         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55706         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55707         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55708         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55709         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55710         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55711         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55712         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55713         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55714         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55715         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55716         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55717         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55718         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55719         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55720         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55721         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55722         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55723         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55724         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55725         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55727 2012-05-18  Andreas Jaeger  <aj@suse.de>
55729         * csu/.gitignore: Delete.
55731 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55733         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55734         (timex): Use __syscall_slong_t.
55736 2012-05-18  Andreas Jaeger  <aj@suse.de>
55737             Carlos O'Donell  <carlos_odonell@mentor.com>
55739         * manual/install.texi (Configuring and compiling): Update
55740         description about files modified in the source directory.
55741         * INSTALL: Regenerated.
55743 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55745         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55746         value.  Use "or" to set return value to -1.
55747         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55748         negate return value.
55750 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55752         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55753         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55754         failure if the compiler has Graphite support disabled.
55755         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55756         Likewise.
55757         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55758         (CFLAGS-memmove.c): Likewise.
55759         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55760         Likewise.
55762 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55764         * sysdeps/x86_64/x32/_itoa.h: New file.
55766         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55767         getdents system call only if kernel and user dirents have the
55768         same d_ino and d_off.
55770         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55771         LLONG_MAX != LONG_MAX.
55772         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55773         (_fitoa_word): Likewise.
55775         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55776         years.
55777         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55778         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55779         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55781         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55782         include <bits/wordsize.h>.  Check __x86_64__ instead of
55783         __WORDSIZE.
55784         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55785         if __x86_64__ is defined.  Use anonymous union on fpstate.
55787         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55788         anonymous union.
55790 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55792         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55793         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55794         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55795         Refer to _rtld_local_ro instead of _rtld_global_ro.
55796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55797         Likewise.
55798         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55799         Likewise.
55800         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55801         Likewise.
55802         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55803         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55804         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55806         [BZ #10882]
55807         * sysdeps/powerpc/powerpc32/dl-machine.c
55808         (__elf_machine_runtime_setup) [PROF]: Don't reference
55809         _dl_prof_resolve.
55811 2012-05-18  Andreas Jaeger  <aj@suse.de>
55813         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55814         function only available for GCCs before 3.4 since GCC 3.4
55815         introduced a builtin.
55816         (lrint): Likewise.
55817         (llrintf): Likewise.
55818         (llrint): Likewise.
55819         (fmaxf): Likewise.
55820         (fmax): Likewise.
55821         (fminf): Likewise.
55822         (fmin): Likewise.
55823         (rint): Likewise.
55824         (rintf): Likewise.
55825         (nearbyint): Likewise.
55826         (nearbyintf): Likewise.
55827         (ceil): Likewise.
55828         (ceilf): Likewise.
55829         (floor): Likewise.
55830         (floorf): Likewise.
55832 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55834         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55835         on both fields and cast pointer to __syscall_ulong_t.
55837         * bits/types.h (__fsword_t): New type.
55838         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55839         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55841         (__FSWORD_T_TYPE): Likewise.
55842         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55843         (__FSWORD_T_TYPE): Likewise.
55844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55845         (__FSWORD_T_TYPE): Likewise.
55846         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55847         (__FSWORD_T_TYPE): Likewise.
55848         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55849         __SWORD_TYPE with __fsword_t.
55850         (statfs64): Likewise.
55852 2012-05-17  David S. Miller  <davem@davemloft.net>
55854         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55856 2012-05-17  Andreas Jaeger  <aj@suse.de>
55858         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55859         warning.
55861 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55863         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55865 2012-05-17  Andreas Jaeger  <aj@suse.de>
55867         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55868         when it is used.
55870 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55872         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55874 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55876         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55877         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55879 2012-05-17  Andreas Jaeger  <aj@suse.de>
55880             Carlos O'Donell  <carlos_odonell@mentor.com>
55882         [BZ #14059]
55883         * sysdeps/x86_64/multiarch/init-arch.h
55884         (bit_YMM_Usable): Rename to...
55885         (bit_AVX_Usable): ... this.
55886         (bit_FMA4_Usable): New macro.
55887         (bit_XMM_state): New macro.
55888         (bit_YMM_state): New macro.
55889         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55890         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55891         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55892         (CPUID_OSXSAVE): New macro.
55893         (CPUID_AVX): New macro.
55894         (CPUID_FMA4): New macro.
55895         (index_YMM_Usable): Rename to...
55896         (index_AVX_Usable): ... this.
55897         (HAS_AVX): Use HAS_ARCH_FEATURE.
55898         (HAS_FMA4): Likewise.
55899         (HAS_YMM_USABLE): Remove.
55900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55901         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55902         are present.
55903         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55904         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55905         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55906         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55907         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55909 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55911         * math/libm-test.c: Support platforms without multiple rounding modes.
55912         * math/bug-nextafter.c: Support platforms without FP exceptions.
55913         * math/bug-nexttoward.c: Likewise.
55914         * math/test-fenv.c: Likewise.
55915         * math/test-misc.c: Likewise.
55916         * stdlib/bug-getcontext.c: Likewise.
55918 2012-05-17  Andreas Jaeger  <aj@suse.de>
55920         * manual/examples/search.c (critter_cmp): Change signature to
55921         avoid warnings.
55922         * manual/string.texi (Collation Functions): Likewise.
55924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55926         * bits/types.h: Fold copyright years.
55927         * bits/typesizes.h: Likewise.
55928         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55929         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55932         * time/time.h: Likewise.
55934 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55936         [BZ #208]
55937         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55938         in instead of returning them.  Return void.
55939         (__libc_mallinfo): Accumulate over all arenas.
55940         (__malloc_stats): Adjust for change in int_mallinfo interface.
55942 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55944         [BZ #10375]
55945         * configure.in (NM): Add AC_CHECK_TOOL for it.
55946         (libc_extra_cflags): New substituted variable.
55947         Check for -fstack-protector being used implicitly.
55948         * configure: Regenerated.
55949         * config.make.in (config-extra-cflags): New variable,
55950         gets @libc_extra_cflags@.
55951         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55953         [BZ #10375]
55954         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55955         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55956         * configure: Regenerated.
55957         * config.make.in (CPPUNDEFS): New substituted variable.
55958         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55959         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55960         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55964         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55965         (mq_attr): Use __syscall_slong_t.
55967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55969         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55970         Check __x86_64__ instead of __WORDSIZE.
55971         (_STAT_VER_LINUX): Likewise.
55972         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55973         __syscall_ulong_t and __syscall_slong_t.
55974         (stat64): Likewise.
55976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55978         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55980 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55982         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55986         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55987         __syscall_ulong_t.
55989         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55990         include <bits/wordsize.h>.  Check __x86_64__ instead of
55991         __WORDSIZE.
55992         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55993         defined.
55994         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55996         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55997         include <bits/wordsize.h>.  Check __x86_64__ instead of
55998         __WORDSIZE.
55999         (user_regs_struct): Use "__extension__ unsigned long long"
56000         instead of "unsigned long" if __x86_64__ is defined.
56001         (user): Likewise.  Pad after pointer field if __ILP32__ is
56002         defined.
56004 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56006         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56007         versions 5 to 9.
56008         * configure: Regenerated.
56009         * manual/install.texi (texinfo): Increase version requirement to
56010         4.5 or later.
56011         * INSTALL: Regenerated.
56013         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56017         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56019         * sysdeps/x86_64/x32/ffs.c: New file.
56021         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56022         __syscall_ulong_t.
56023         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56024         defined.  Use __syscall_ulong_t.
56025         (shminfo): Use __syscall_ulong_t.
56026         (shm_info): Likewise.
56028         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56029         __syscall_ulong_t.
56031         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56032         <bits/wordsize.h>.
56033         (msgqnum_t): Use __syscall_ulong_t.
56034         (msglen_t): Likewise.
56035         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56036         __syscall_ulong_t.
56038         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56039         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56041         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56043         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56044         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56046         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56047         __syscall_slong_t.
56049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56050         include <bits/wordsize.h>.  Check __x86_64__ instead of
56051         __WORDSIZE.
56053         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56054         "unsigned long long int" if __x86_64__ is defined.
56055         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56057         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56058         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56059         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56061         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56062         <stdint.h>.
56063         (GET_PC): Cast to uintptr_t first.
56064         (GET_FRAME): Likewise.
56065         (GET_STACK): Likewise.
56067         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56068         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56069         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56070         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56071         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56072         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56073         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56074         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56075         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56076         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56077         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56078         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56079         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56080         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56081         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56082         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56084         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56085         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56086         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56087         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56088         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56089         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56090         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56091         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56092         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56093         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56094         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56097 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56099         * Makerules (+depfiles): Also collect depfiles from .oS in
56100         $(extra-objs).
56101         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56102         .oS, $(libnldbl-routines)).
56104         * Makerules (native-compile-mkdep-flags): Define.
56105         * sunrpc/Makefile (extra-objs): Add $(addprefix
56106         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56107         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56108         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56109         calling $(make-target-directory).
56111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56113         * bits/types.h (__snseconds_t): Removed.
56114         * time/time.h (struct timespec): Replace __snseconds_t with
56115         __syscall_slong_t.
56116         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56117         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56118         Likewise.
56119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56120         (__SNSECONDS_T_TYPE): Likewise.
56121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56122         (__SNSECONDS_T_TYPE): Likewise.
56123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56124         (__SNSECONDS_T_TYPE): Likewise.
56126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56128         * sysdeps/mach/hurd/bits/typesizes.h
56129         (__SYSCALL_SLONG_TYPE): New macro.
56130         (__SYSCALL_ULONG_TYPE): Likewise.
56132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56134         * bits/types.h (__syscall_slong_t): New type.
56135         (__syscall_ulong_t): Likewise.
56137         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56138         (__SYSCALL_ULONG_TYPE): Likewise.
56139         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56140         (__SYSCALL_SLONG_TYPE): Likewise.
56141         (__SYSCALL_ULONG_TYPE): Likewise.
56142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56143         (__SYSCALL_SLONG_TYPE): Likewise.
56144         (__SYSCALL_ULONG_TYPE): Likewise.
56145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56146         (__SYSCALL_SLONG_TYPE): Likewise.
56147         (__SYSCALL_ULONG_TYPE): Likewise.
56149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56151         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56152         Add sigaltstack-offsets.sym.
56153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56154         <sigaltstack-offsets.h>.
56155         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56156         longjmp_msg pointer.
56157         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56158         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56159         signal stack.
56160         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56162 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56164         * elf/stackguard-macros.h: Remove file.
56165         * sysdeps/generic/stackguard-macros.h: New file.
56166         * sysdeps/i386/stackguard-macros.h: Likewise.
56167         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56168         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56169         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56170         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56171         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56172         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56173         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56174         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56175         <elf/stackguard-macros.h>.
56177         [BZ #14109]
56178         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56179         __aligned__ in attribute.
56180         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56181         (gregset_t): Likewise.
56183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56185         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56186         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56187         * sysdeps/x86_64/x32/Implies-after: New file.
56189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56191         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56192         and access return value for _dl_profile_fixup.  Use R10_LP to
56193         load frame size.
56195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56197         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56201         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56202         * sysdeps/x86_64/x32/sysdep.h: New file.
56204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56206         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56207         * sysdeps/x86_64/setjmp.S: Likewise.
56209 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56211         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56212         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56213         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56214         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56215         remove unused global constant.
56217 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56219         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56220         include of <not-cancel.h>.
56222 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56224         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56226 2012-05-15  Jeff Law  <law@redhat.com>
56227             Andreas Jaeger  <aj@suse.de>
56229         [BZ #13594]
56230         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56231         out from...
56232         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56233         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56234         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56235         code changing __hst_map_handle.map.
56237 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56239         * configure.in (sysnames): Look for Implies-before and Implies-after
56240         files.
56241         * configure: Regenerated.
56243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56245         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56246         8-byte data alignment with LP_SIZE alignment.
56248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56250         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56251         into R10_LP.
56253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56255         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56259         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56260         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56261         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56262         Likewise.
56263         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56267         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56268         (stackinfo_sub_sp): Likewise.
56270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56272         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56273         RAX_LP.
56275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56278         into R*_LP.
56280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56282         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56283         sizes into R*_LP.
56285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56287         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56291         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56292         into R11_LP and load __x86_64_shared_cache_size_half into
56293         R8_LP.
56295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56297         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56298         R8_LP.
56300 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56303         logb for POWER7.
56304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56305         logbf for POWER7.
56306         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56307         logbl for POWER7.
56308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56309         powerpc32/power7/fpu/s_logb.c via #include.
56310         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56311         powerpc32/power7/fpu/s_logbf.c via #include.
56312         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56313         powerpc32/power7/fpu/s_logbl.c via #include.
56315 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56317         * README.libm: Remove file.
56319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56321         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56322         count for x32.  Use R*_LP and omit operand-size suffix.
56324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56326         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56327         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56328         * sysdeps/x86_64/x32/shlib-versions: New file.
56330 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56332         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56333         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56334         Use _dl_fatal_printf instead.
56336 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56338         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56339         set if not set by the user.  Do not allow for being unset.
56340         * sysdeps/unix/sysv/linux/configure: Regenerated.
56342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56344         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56345         the `q' suffix from lea and replace .quad with ASM_ADDR.
56347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56350         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56351         instead of $17.
56352         (PTR_DEMANGLE): Likewise.
56354 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56356         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56357         (LP_OP): Likewise.
56358         (ASM_ADDR): Likewise.
56359         (RAX_LP): Likewise.
56360         (RBP_LP): Likewise.
56361         (RBX_LP): Likewise.
56362         (RCX_LP): Likewise.
56363         (RDI_LP): Likewise.
56364         (RSI_LP): Likewise.
56365         (RSP_LP): Likewise.
56366         (R8_LP): Likewise.
56367         (R9_LP): Likewise.
56368         (R10_LP): Likewise.
56369         (R10_LP): Likewise.
56370         (R11_LP): Likewise.
56371         (R12_LP): Likewise.
56372         (R13_LP): Likewise.
56373         (R14_LP): Likewise.
56374         (R15_LP): Likewise.
56376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56378         * sysdeps/x86_64/x32/dl-machine.h: New file.
56380 2012-05-14  Andreas Jaeger  <aj@suse.de>
56382         * manual/Makefile (subdir): Remove export of subdir.
56383         (all): Remove target.
56384         (.PHONY): Remove all from list.
56385         (mkinstalldirs): Remove.
56386         (.PHONY): Remove installdirs from list.
56387         ($(inst_infodir)/libc.info): Use make-target-directory.
56388         (installdirs): Remove.
56389         (subdir_%): Remove.
56390         (glibc-targets): Remove.
56391         (lib): Remove.
56392         (stubs): Remove.
56393         ($(objpfx)stubs ../po/manual.pot): Remove.
56394         ($(objpfx)stamp%): Remove.
56395         (make-target-directory): Remove.
56396         (subdir_install): Remove.
56397         (routines): Remove.
56398         (aux): Remove.
56399         (sources): Remove.
56400         (objects): Remove.
56401         (headers): Remove.
56403         [BZ #13750]
56404         * manual/.gitignore: Remove, it's not needed anymore.
56405         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56406         all files in it.
56407         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56408         directory.
56409         (texis): Renamed to $(objpfx)texis.
56410         (texis-path): New, contains path to generated files.
56411         (chapters.%): Use texis-path for complete path, add extra argument
56412         libc-texinfo.sh.
56413         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56414         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56415         (summary,texi, stamp-summary): Use complete path of
56416         files. Generate files in build dir.
56417         (dir-add.texi): Build in build dir.
56418         (libm-err.texi,stamp-libm-err): Likewise.
56419         (version.texi, stamp-version): Likewise.
56420         (.%c.texi): Likewise.
56421         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56422         (mostlyclean): Remove target.
56423         (realclean): Remove target.
56424         (generated): Add new variable with contents from mostlyclean and
56425         realclean, remove entries duplicated in common-mostlyclean, add
56426         stamp-libm-err and stamp-version.
56427         (generated-dirs): Add libc directory.
56428         ($(inst_infodir)/libc.info): Install files from build dir.
56430         * manual/install.texi (Configuring and compiling): Adjust since
56431         the info files are not part of the tar ball anymore.
56433 2012-05-14  Andreas Jaeger  <aj@suse.de>
56435         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56436         variable.
56438 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56440         [BZ #13717]
56441         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56442         to 2.2.0 where earlier.
56443         * sysdeps/unix/sysv/linux/configure: Regenerated.
56444         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56445         Remove conditional code.
56446         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56447         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56448         Remove conditional code.
56449         [!__NR_lchown]: Likewise.
56450         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56451         [__NR_lchown]: Likewise.
56452         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56453         comment referencing __ASSUME_LCHOWN_SYSCALL.
56454         * sysdeps/unix/sysv/linux/i386/sigaction.c
56455         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56456         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56457         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56458         Remove conditional code.
56459         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56460         (__protocol_available): Remove #if 0 code.
56461         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56462         conditional code.
56463         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56464         * sysdeps/unix/sysv/linux/kernel-features.h
56465         (__ASSUME_GETCWD_SYSCALL): Don't define.
56466         (__ASSUME_REALTIME_SIGNALS): Likewise.
56467         (__ASSUME_PREAD_SYSCALL): Likewise.
56468         (__ASSUME_PWRITE_SYSCALL): Likewise.
56469         (__ASSUME_POLL_SYSCALL): Likewise.
56470         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56471         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56472         non-SPARC.
56473         (__ASSUME_SIOCGIFNAME): Don't define.
56474         (__ASSUME_MSG_NOSIGNAL): Likewise.
56475         (__ASSUME_SENDFILE): Define unconditionally.
56476         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56477         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56478         conditional code.
56479         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56480         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56481         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56482         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56483         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56484         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56485         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56487         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56490         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56491         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56496         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56497         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56499         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56500         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56502         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56505         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56508         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56510         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56511         Remove conditional code.
56512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56513         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56514         Remove conditional code.
56515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56516         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56517         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56518         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56519         Remove conditional code.
56520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56521         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56522         Remove conditional code.
56523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56524         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56525         Remove conditional code.
56526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56527         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56528         Remove conditional code.
56529         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56530         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56531         Remove conditional code.
56532         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56533         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56534         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56536         * sysdeps/unix/sysv/linux/sigaction.c
56537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56539         * sysdeps/unix/sysv/linux/sigpending.c
56540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56542         * sysdeps/unix/sysv/linux/sigprocmask.c
56543         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56544         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56545         * sysdeps/unix/sysv/linux/sigsuspend.c
56546         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56547         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56548         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56549         (__libc_missing_rt_sigs): Remove.
56550         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56551         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56552         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56553         Remove conditional code.
56554         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56555         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56556         return 1.
56557         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56558         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56559         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56560         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56562 2012-05-14  Andreas Jaeger  <aj@suse.de>
56564         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56565         it's not used in glibc.
56566         (__coshm1): Likewise.
56567         (__acosh1p): Likewise.
56568         (__sgn): Likewise.
56570         * manual/string.texi (Copying and Concatenation): Add missing
56571         variable in concat example.
56572         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56576         [BZ #14103]
56577         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56578         __builtin_clzl with __builtin_clzll.
56580 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56582         [BZ #14104]
56583         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56584         libc_freeres_ptr.
56586 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56588         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56589         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56590         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56591         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56593 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56595         * NEWS: Update ia64 info.
56597 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56599         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56600         used as bcopy.
56602 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56604         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56605         * sysdeps/unix/syscalls.list (dup3): Likewise.
56606         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56607         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56609 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56611         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56612         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56614 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56616         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56617         thread pointer.
56618         (TLS_IE): Use mov/add instead of movq/addq to load thread
56619         pointer.
56620         (TLS_GD_PREFIX): New.
56621         (TLS_GD): Use it.
56623 2012-05-11  David S. Miller  <davem@davemloft.net>
56625         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56626         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56627         (_FPU_SETCW): Likewise.
56629 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56631         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56632         is 32-byte aligned.
56634 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56636         [BZ #11837]
56637         * iconvdata/gb18030.c: Update tables.
56638         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56639         characters specially.
56640         (BODY for TO_LOOP): Add encoding of missing ranges.
56642 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56644         [BZ #13673]
56645         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56646         * sysdeps/mach/hurd/dup3.c: Likewise.
56647         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56648         * sysdeps/powerpc/memmove.c:: Likewise.
56650 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56652         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56653         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56655 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56657         * elf/elf.h (R_X86_64_RELATIVE64): New.
56658         (R_X86_64_NUM): Updated.
56659         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56660         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56661         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56662         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56663         tst-quad1pie tst-quad2pie
56664         (modules-names): Add tst-quadmod1 tst-quadmod2.
56665         ($(objpfx)tst-quad1): New dependency.
56666         ($(objpfx)tst-quad2): Likewise.
56667         ($(objpfx)tst-quad1pie): Likewise.
56668         ($(objpfx)tst-quad2pie): Likewise.
56669         * sysdeps/x86_64/tst-quad1.c: New file.
56670         * sysdeps/x86_64/tst-quad1pie.c: New file.
56671         * sysdeps/x86_64/tst-quad2.c: Likewise.
56672         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56673         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56674         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56675         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56676         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56680         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56681         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56682         * streams/stropts.h (t_scalar_t): Define type.
56684         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56685         (_PATH_PRESERVE): Set to "/var/lib".
56686         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56688         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56689         instead of int.
56691         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56692         if __dir_mkfile succeeded.
56694         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56695         checking for _hurd_dtablesize.  Unlock it right after having
56696         finished _hurd_dtable allocation.
56698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56700         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56701         * sysdeps/mach/hurd/configure: Regenerated.
56702         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56703         special-casing to...
56704         * sysdeps/gnu/configure.in: ... this new file.
56705         * sysdeps/unix/sysv/linux/configure: Regenerated.
56706         * sysdeps/gnu/configure: New generated file.
56708         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56709         for Linux: use nsec instead of usec, as well as:
56710         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56711         members of type struct timespec.
56712         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56713         New macros.
56714         (struct stat64): Likewise.
56715         (_STATBUF_ST_NSEC): New macro.
56716         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56718         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56719         __strtoul_internal rather than strtoul.
56721 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56723         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56724         and reject them.
56726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56728         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56729         which preserves existing values.
56730         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56732 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56734         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56735         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56736         greater than FD_SETSIZE.
56738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56740         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56741         allocated, call __vm_protect to finish enabling the existing space, and
56742         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56743         allocate the remainder.
56745 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56747         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56748         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56750 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56752         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56753         sysdeps/mach/hurd/readlink.c.
56755         * posix/tst-sysconf.c (posix_options): Only use
56756         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56757         _POSIX_SYNCHRONIZED_IO when they are defined
56758         * sysdeps/mach/hurd/bits/posix_opt.h:
56759         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56760         (_XOPEN_REALTIME): Undefine macro.
56761         (_XOPEN_REALTIME_THREADS): Undefine macro.
56762         (_XOPEN_SHM): Undefine macro.
56763         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56764         macro to -1.
56765         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56766         macro to -1.
56767         (_POSIX_ASYNC_IO): Undefine macro.
56768         (_POSIX_PRIORITIZED_IO): Undefine macro.
56769         (_POSIX_SPIN_LOCKS): Define macro to -1.
56771         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56772         SA_NODEFER, SA_RESETHAND.
56773         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56774         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56775         F_DUPFD_CLOEXEC.
56777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56779         * elf/Makefile (pldd-modules): Define unconditionally.
56781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56783         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56787         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56788         Return ENOENT when name is empty.
56789         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56793         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56795         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56799         Fix mlock in all cases except non-readable pages.
56800         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56801         instead of VM_PROT_ALL as parameter to __vm_wire function.
56803         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56804         (__mkdir): When path is `/', just fail with EEXIST.
56805         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56809         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56810         <sys/uio.h> (for writev).
56811         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56812         and <sys/param.h> (for MIN).
56814 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56816         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56817         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56818         if interrupted.
56820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56822         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56823         Depend on against $(link-rpcuserlibs).
56825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56827         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56828         (__libc_stack_end): Do not use attribute_relro.
56829         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56830         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56831         to libthread-provided value.
56832         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56833         attribute_relro.
56835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56837         [BZ #3748]
56838         * bits/libc-lock.h (__libc_once_get): New macro.
56839         * sysdeps/mach/bits/libc-lock.h: Likewise.
56840         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56841         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56842         instead of using implementation details.
56844         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56845         * libio/freopen.c: Likewise.
56846         * libio/freopen64.c: Likewise.
56847         * misc/syslog.c: Likewise.
56848         * nscd/connections.c: Likewise.
56849         * nscd/netgroupcache.c: Likewise.
56850         * sysdeps/posix/getcwd.c: Likewise.
56852 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56854         * math/w_ilogbf.c: Add #include <limits.h>.
56856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56858         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56859         path instead of returning without unlocking.
56861         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56862         immediate-write ioctls.
56863         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56867         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56868         __builtin_frame_address instead of making assumptions about the
56869         location of the return address relative to DATA.  Force early load of
56870         the return address.
56871         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56872         __builtin_frame_address.
56874         dup3 for GNU Hurd.
56875         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56876         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56877         implement dup3 and do some further code clean-ups.
56878         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56879         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56883         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56885         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56886         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56887         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56888         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56889         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56890         d->port.lock.
56892         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56893         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56894         when handler == SIG_ERR, not when handler != SIG_ERR.
56896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56898         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56899         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56900         definitions.
56902         accept4 for GNU Hurd.
56903         * include/sys/socket.h (__libc_accept4): New prototype.
56904         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56905         to implement __libc_accept4.
56906         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56907         __libc_accept4.
56908         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56910         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56911         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56912         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56913         signal-defines.sym.
56915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56917         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56921         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56922         assertion on O_CLOEXEC flag.
56923         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56924         * hurd/intern-fd.c: Likewise.
56925         * hurd/port2fd.c: Likewise.
56927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56929         [BZ #3906]
56930         * bits/in.h (IPV6_PKTINFO): Define new macro.
56931         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56933 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56935         [BZ #13954]
56936         [BZ #13955]
56937         [BZ #13956]
56938         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56939         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56940         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56941         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56943         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56944         * math/libm-test.inc (logb_test) : Additional logb tests.
56946 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56947             Andreas Jaeger  <aj@suse.de>
56949         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56950         * configure: Regenerated.
56951         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56952         * config.make.in (link-obsolete-rpc): New substituted variable.
56953         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56954         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56955         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56956         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56957         so that libc.a contains the symbols.
56958         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56959         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56960         * sunrpc/auth_none.c: Likewise.
56961         * sunrpc/auth_unix.c: Likewise.
56962         * sunrpc/authdes_prot.c: Likewise.
56963         * sunrpc/authuxprot.c: Likewise.
56964         * sunrpc/clnt_gen.c: Likewise.
56965         * sunrpc/clnt_perr.c: Likewise.
56966         * sunrpc/clnt_raw.c: Likewise.
56967         * sunrpc/clnt_simp.c: Likewise.
56968         * sunrpc/clnt_tcp.c: Likewise.
56969         * sunrpc/clnt_udp.c: Likewise.
56970         * sunrpc/clnt_unix.c: Likewise.
56971         * sunrpc/des_crypt.c: Likewise.
56972         * sunrpc/des_soft.c: Likewise.
56973         * sunrpc/get_myaddr.c: Likewise.
56974         * sunrpc/key_call.c: Likewise.
56975         * sunrpc/key_prot.c: Likewise.
56976         * sunrpc/netname.c: Likewise.
56977         * sunrpc/pm_getmaps.c: Likewise.
56978         * sunrpc/pm_getport.c: Likewise.
56979         * sunrpc/pmap_clnt.c: Likewise.
56980         * sunrpc/pmap_prot.c: Likewise.
56981         * sunrpc/pmap_prot2.c: Likewise.
56982         * sunrpc/pmap_rmt.c: Likewise.
56983         * sunrpc/publickey.c: Likewise.
56984         * sunrpc/rpc_cmsg.c: Likewise.
56985         * sunrpc/rpc_common.c: Likewise.
56986         * sunrpc/rpc_dtable.c: Likewise.
56987         * sunrpc/rpc_prot.c: Likewise.
56988         * sunrpc/rpc_thread.c: Likewise.
56989         * sunrpc/rtime.c: Likewise.
56990         * sunrpc/svc.c: Likewise.
56991         * sunrpc/svc_auth.c: Likewise.
56992         * sunrpc/svc_raw.c: Likewise.
56993         * sunrpc/svc_run.c: Likewise.
56994         * sunrpc/svc_tcp.c: Likewise.
56995         * sunrpc/svc_udp.c: Likewise.
56996         * sunrpc/svc_unix.c: Likewise.
56997         * sunrpc/svcauth_des.c: Likewise.
56998         * sunrpc/xcrypt.c: Likewise.
56999         * sunrpc/xdr.c: Likewise.
57000         * sunrpc/xdr_array.c: Likewise.
57001         * sunrpc/xdr_float.c: Likewise.
57002         * sunrpc/xdr_intXX_t.c: Likewise.
57003         * sunrpc/xdr_mem.c: Likewise.
57004         * sunrpc/xdr_rec.c: Likewise.
57005         * sunrpc/xdr_ref.c: Likewise.
57006         * sunrpc/xdr_sizeof.c: Likewise.
57007         * sunrpc/xdr_stdio.c: Likewise.
57009 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57011         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57012         change.  Update copyright years.
57014 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57016         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57018 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57019             Joseph Myers  <joseph@codesourcery.com>
57020             Paul Pluzhnikov  <ppluzhnikov@google.com>
57022         [BZ #14012]
57023         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57024         requiring rpcgen.
57025         [cross-compiling] (extra-libs): Likewise.
57026         [cross-compiling] (extra-libs-others): Likewise.
57027         [cross-compiling] (librpcsvc-routines): Likewise.
57028         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57029         [cross-compiling] (omit-deps): Likewise.
57030         (sunrpc-CPPFLAGS): New variable.
57031         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57032         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57033         (cross-rpcgen-objs): New variable.
57034         (extra-objs): Append $(cross-rpcgen-objs).
57035         ($(cross-rpcgen-objs)): New rule.
57036         ($(objpfx)cross-rpcgen): Likewise.
57037         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57038         comment.
57039         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57040         ($(objpfx)x%.stmp): Likewise.
57041         * sunrpc/proto.h [IS_IN_build] (_): Define.
57042         [IS_IN_build] (_libc_intl_domainname): Likewise.
57044 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57047         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57048         and R_X86_64_TPOFF64.
57050 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57052         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57053         sysdeps/unix/sysv/syscalls.list.
57054         (stime): Likewise.
57055         (utime): Likewise.
57056         * sysdeps/unix/sysv/syscalls.list: Remove file.
57058 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57060         [BZ #3440]
57061         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57062         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57063         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57064         (__LC_IDENTIFICATION): Make these macros useful in #if
57065         expressions, as required by C99.
57067 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57069         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57070         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57071         after this.
57073 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57075         * stdlib/longlong.h: Updated from GCC.
57077 2012-05-09  Andreas Jaeger  <aj@suse.de>
57079         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57080         default is first entry.
57081         (run_mode): Set type.
57082         (main): Remove informal message about syslog.
57083         (options): Fix typo.
57085         [BZ #14053]
57086         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57087         to asm.
57088         (lrint): Likewise.
57089         (llrintf): Likewise.
57090         (llrint): Likewise.
57091         (rint): Likewise.
57092         (rintf): Likewise.
57093         (nearbyint): Likewise.
57094         (nearbyintf): Likewise.
57096 2012-05-09  Andreas Jaeger  <aj@suse.de>
57097             Pedro Alves  <palves@redhat.com>
57099         * nscd/nscd.c (run_mode): Use enum.
57100         (main): Cleanup coding style issue.
57102 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57103             Andreas Jaeger  <aj@suse.de>
57105         * nscd/nscd.c (go_background): Replaced with...
57106         (run_mode): ... this.
57107         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57108         (options): Add -F --foreground.
57109         (main): Implement it.
57110         (parse_opt): Parse it.
57112 2012-05-09  Andreas Jaeger  <aj@suse.de>
57114         [BZ #14083]
57115         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57116         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57117         -Wconversion warning.
57118         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57119         Likewise.
57121 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57123         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57124         == 0.
57125         (LC_ALL): Use macro-int-constant.
57126         (LC_COLLATE): Likewise.
57127         (LC_CTYPE): Likewise.
57128         (LC_MESSAGES): Likewise.
57129         (LC_MONETARY): Likewise.
57130         (LC_NUMERIC): Likewise.
57131         (LC_TIME): Likewise.
57132         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57133         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57135         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57136         Specify type.
57137         [C99-based standards] (float_t): Expect type.
57138         [C99-based standards] (double_t): Expect type.
57139         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57140         type.
57141         [C99-based standards] (HUGE_VALL): Likewise.
57142         [C99-based standards] (INFINITY): Likewise.
57143         [C99-based standards] (NAN): Likewise.
57144         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57145         [C99-based standards] (FP_NAN): Likewise.
57146         [C99-based standards] (FP_NORMAL): Likewise.
57147         [C99-based standards] (FP_SUBNORMAL): Likewise.
57148         [C99-based standards] (FP_ZERO): Likewise.
57149         [C99-based standards] (FP_FAST_FMA): Use
57150         optional-macro-int-constant.  Specify type.  Require == 1.
57151         [C99-based standards] (FP_FAST_FMAF): Likewise.
57152         [C99-based standards] (FP_FAST_FMAL): Likewise.
57153         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57154         [C99-based standards] (FP_ILOGBNAN): Likewise.
57155         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57156         Specify type.
57157         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57158         [C99-based standards] (math_errhandling): Specify type.
57159         [ISO99 || ISO11] (signgam): Do not allow.
57160         [non-C99-based standards] (copysignf): Do not allow.
57161         [non-C99-based standards] (exp2f): Likewise.
57162         [non-C99-based standards] (log2f): Likewise.
57163         [non-C99-based standards] (modff): Allow.
57164         [non-C99-based standards] (erff): Do not allow.
57165         [non-C99-based standards] (erfcf): Likewise.
57166         [non-C99-based standards] (gammaf): Likewise.
57167         [non-C99-based standards] (hypotf): Likewise.
57168         [non-C99-based standards] (j0f): Likewise.
57169         [non-C99-based standards] (j1f): Likewise.
57170         [non-C99-based standards] (jnf): Likewise.
57171         [non-C99-based standards] (lgammaf): Likewise.
57172         [non-C99-based standards] (tgammaf): Likewise.
57173         [non-C99-based standards] (y0f): Likewise.
57174         [non-C99-based standards] (y1f): Likewise.
57175         [non-C99-based standards] (ynf): Likewise.
57176         [non-C99-based standards] (isnanf): Likewise.
57177         [non-C99-based standards] (acoshf): Likewise.
57178         [non-C99-based standards] (asinhf): Likewise.
57179         [non-C99-based standards] (atanhf): Likewise.
57180         [non-C99-based standards] (cbrtf): Likewise.
57181         [non-C99-based standards] (expm1f): Likewise.
57182         [non-C99-based standards] (ilogbf): Likewise.
57183         [non-C99-based standards] (log1pf): Likewise.
57184         [non-C99-based standards] (logbf): Likewise.
57185         [non-C99-based standards] (nextafterf): Likewise.
57186         [non-C99-based standards] (remainderf): Likewise.
57187         [non-C99-based standards] (rintf): Likewise.
57188         [non-C99-based standards] (scalbf): Likewise.
57189         [non-C99-based standards] (copysignl): Likewise.
57190         [non-C99-based standards] (exp2l): Likewise.
57191         [non-C99-based standards] (log2l): Likewise.
57192         [non-C99-based standards] (modfl): Allow.
57193         [non-C99-based standards] (erfl): Do not allow.
57194         [non-C99-based standards] (erfcl): Likewise.
57195         [non-C99-based standards] (gammal): Likewise.
57196         [non-C99-based standards] (hypotl): Likewise.
57197         [non-C99-based standards] (j0l): Likewise.
57198         [non-C99-based standards] (j1l): Likewise.
57199         [non-C99-based standards] (jnl): Likewise.
57200         [non-C99-based standards] (lgammal): Likewise.
57201         [non-C99-based standards] (tgammal): Likewise.
57202         [non-C99-based standards] (y0l): Likewise.
57203         [non-C99-based standards] (y1l): Likewise.
57204         [non-C99-based standards] (ynl): Likewise.
57205         [non-C99-based standards] (isnanl): Likewise.
57206         [non-C99-based standards] (acoshl): Likewise.
57207         [non-C99-based standards] (asinhl): Likewise.
57208         [non-C99-based standards] (atanhl): Likewise.
57209         [non-C99-based standards] (cbrtl): Likewise.
57210         [non-C99-based standards] (expm1l): Likewise.
57211         [non-C99-based standards] (ilogbl): Likewise.
57212         [non-C99-based standards] (log1pl): Likewise.
57213         [non-C99-based standards] (logbl): Likewise.
57214         [non-C99-based standards] (nextafterl): Likewise.
57215         [non-C99-based standards] (remainderl): Likewise.
57216         [non-C99-based standards] (rintl): Likewise.
57217         [non-C99-based standards] (scalbl): Likewise.
57218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57219         [non-C99-based standards] (FP_*): Do not allow.
57220         [C99-based standards] (FP_*): Change to
57221         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57222         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57223         allow.
57224         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57225         (SIG_ERR): Likewise.
57226         [X/Open-based standards] (SIG_HOLD): Likewise.
57227         (SIG_IGN): Likewise.
57228         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57229         positive value.
57230         (SIGFPE): Likewise.
57231         (SIGILL): Likewise.
57232         (SIGINT): Likewise.
57233         (SIGSEGV): Likewise.
57234         (SIGTER): Likewise.
57235         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57236         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57237         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57238         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57239         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57240         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57241         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57242         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57243         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57244         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57245         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57246         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57247         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57248         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57249         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57250         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57251         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57252         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57253         [X/Open-based standards] (SIGTRAP): Likewise.
57254         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57255         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57256         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57257         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57258         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57259         allow.
57261 2012-05-08  Ian Wienand  <ianw@vmware.com>
57263         [BZ #14080]
57264         * time/tzset.c (__tzset_parse_tz): Update default rules for
57265         daylight time changes in the Energy Policy Act of 2005.
57267 2012-05-09  Andreas Jaeger  <aj@suse.de>
57269         [BZ #13983]
57270         * elf/ldconfig.c (parse_conf): Change string to make clear that
57271         ldconfig only issued a warning if ld.so.conf does not exist.
57273 2012-05-08  David S. Miller  <davem@davemloft.net>
57275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57276         movxtod instead of popping the value on the stack.
57278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57280 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57282         * config.h.in: Add HAVE_ARM_PCS_VFP.
57284 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57286         [BZ #13979]
57287         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57288         checking but the checks are disabled for any reason.
57290 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57292         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57293         and ELF64_R_TYPE with ELFW(R_TYPE).
57295 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57297         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57298         (ulimit): Likewise.
57300         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57301         (settimeofday): Likewise.
57303 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57305         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57306         a struct th_u2 inside the union, and move tu_block/tu_code into
57307         a new th_u3 union of tu_block/tu_code inside of that.  Move
57308         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57309         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57310         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57311         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57312         (th_stuff): Change to th_u1.tu_stuff.
57313         (th_data): Define.
57314         (th_msg): Change to th_u1.th_u2.tu_data.
57316 2012-05-07  David S. Miller  <davem@davemloft.net>
57318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57320         [BZ #14074]
57321         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57322         (SETUP_PIC_REG): Use it.
57323         (SETUP_PIC_REG_LEAF): Use it.
57325 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57327         [BZ #13885]
57328         [BZ #13923]
57329         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57330         USE_AS_EXPM1L.
57331         (EXPL_FINITE): Likewise.
57332         (FLDLOG): Likewise.
57333         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57334         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57335         e_expl.S.
57336         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57337         USE_AS_EXPM1L.
57338         (EXPL_FINITE): Likewise.
57339         (FLDLOG): Likewise.
57340         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57341         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57342         e_expl.S.
57343         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57344         test of -max_value argument for long double.
57345         * sysdeps/i386/fpu/libm-test-ulps: Update.
57346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57348 2012-05-06  David S. Miller  <davem@davemloft.net>
57350         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57351         quad soft-float symbols whose references which are compiler
57352         generated.
57353         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57355 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57357         [BZ #13884]
57358         [BZ #13914]
57359         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57360         USE_AS_EXP10L.
57361         (EXPL_FINITE): Likewise.
57362         (FLDLOG): Likewise.
57363         (c0): Likewise.
57364         (c1): Likewise.
57365         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57366         Adjust comments for base varying.
57367         (__expl_finite): Change alias to EXPL_FINITE.
57368         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57369         e_expl.S.
57370         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57371         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57372         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57373         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57374         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57375         USE_AS_EXP10L.
57376         (EXPL_FINITE): Likewise.
57377         (FLDLOG): Likewise.
57378         (c0): Likewise.
57379         (c1): Likewise.
57380         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57381         Adjust comments for base varying.
57382         (__expl_finite): Change alias to EXPL_FINITE.
57383         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57384         tests for bugs.
57385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57387         [BZ #14064]
57388         * math/libm-test.inc (check_float_internal): Correct ulp
57389         calculation for subnormal expected results.
57391 2012-05-06  Andreas Jaeger  <aj@suse.de>
57393         * Makeconfig (+math-flags): New, set to -frounding-math.
57394         (+cflags): Add +math-flags so that all of glibc gets compiled with
57395         it.
57397         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57399 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57401         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57402         Disable one test.
57404         [BZ #13787]
57405         [BZ #13922]
57406         [BZ #14036]
57407         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57408         (__ieee754_expl): Allow for and saturate large arguments.
57409         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57410         (u_threshold): Likewise.
57411         (__exp): Call __ieee754_exp before checking for overflow and
57412         underflow.
57413         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57414         (u_threshold): Likewise.
57415         (__expf): Call __ieee754_expf before checking for overflow and
57416         underflow.
57417         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57418         (u_threshold): Likewise.
57419         (__expl): Call __ieee754_expl before checking for overflow and
57420         underflow.
57421         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57422         (__ieee754_expl): Allow for and saturate large arguments.
57423         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57424         missing overflow exception on overflow.
57425         (expm1_test): Do not allow missing overflow exception on overflow.
57427         * sysdeps/i386/fpu/e_expl.c: Move to ...
57428         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57429         rather than using inline asm.
57430         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57431         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57432         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57434         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57435         (nice): Likewise.
57436         (poll): Likewise.
57437         (signal): Likewise.
57438         (time): Likewise.
57439         (times): Likewise.
57441 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57443         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57444         sysdeps/unix/common/syscalls.list.
57445         (fchmod): Likewise.
57446         (fchown): Likewise.
57447         (ftruncate): Likewise.
57448         (getrusage): Likewise.
57449         (gettimeofday): Likewise.
57450         (setpgid): Likewise.
57451         (setregid): Likewise.
57452         (setreuid): Likewise.
57453         (sigaction): Likewise.
57454         (truncate): Likewise.
57455         (vhangup): Likewise.
57456         * sysdeps/unix/common/syscalls.list: Remove file.
57457         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57458         * sysdeps/unix/sysv/linux/Implies: Likewise.
57460 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57462         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57464         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57465         Moved to ...
57466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57467         Here.
57468         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57469         to ...
57470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57471         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57472         to ...
57473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57474         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57475         to ...
57476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57477         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57478         to ...
57479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57480         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57481         to ...
57482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57483         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57484         to ...
57485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57486         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57487         to ...
57488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57489         Here.
57490         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57491         to ...
57492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57493         Here.
57494         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57495         to ...
57496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57497         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57498         Moved to ...
57499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57500         Here.
57501         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57502         to ...
57503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57505 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57507         * sysdeps/unix/common/bits/dirent.h: Remove file.
57508         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57510         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57511         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57512         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57513         * sysdeps/unix/bsd/isatty.c: Likewise.
57514         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57515         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57516         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57518 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57520         [BZ #13563]
57521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57522         long double comparison inaccuracies.
57523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57526 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57528         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57529         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57531 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57533         [BZ #14049]
57534         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57535         nonzero digits before rounding a hex value.
57536         * stdlib/tst-strtod.c (tests): Add another test.
57538 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57540         * sysdeps/s390/fpu/libm-test-ulps: Update.
57542 2012-05-03  Andreas Jaeger  <aj@suse.de>
57544         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57545         does not get optimized out.
57546         (malloc_opt_barrier): New.
57548 2012-05-03  Andreas Jaeger  <aj@suse.de>
57549             Roland McGrath  <roland@hack.frob.com>
57551         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57552         intermediate file deletion.
57553         (generated): Add .symlist files.
57555 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57557         [BZ #13775]
57558         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57559         Redirect under this condition.
57560         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57561         [__USE_GNU] (__dprintf_chk): Not under this condition.
57562         [__USE_GNU] (__vdprintf_chk): Likewise.
57563         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57564         under this condition.
57565         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57566         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57567         [__USE_XOPEN2K8] (vdprintf): Likewise.
57568         [__USE_GNU] (__dprintf_chk): Not under this condition.
57569         [__USE_GNU] (__vdprintf_chk): Likewise.
57570         [__USE_GNU] (dprintf): Likewise.
57571         [__USE_GNU] (vdprintf): Likewise.
57573 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57575         * elf/Makefile (common-generated): Set this instead of generated for
57576         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57577         $(all-built-dso)-derived lists.
57579 2012-05-03  Andreas Jaeger  <aj@suse.de>
57581         * sysdeps/i386/fpu/libm-test-ulps: Update.
57583         * FAQ: Removed.
57584         * FAQ.in: Likewise.
57585         * scripts/gen-FAQ.pl: Likewise.
57586         * manual/install.texi (Installation): Point to online location of
57587         FAQ.
57588         * Makefile (files-for-dist): Remove FAQ.
57589         (FAQ): Remove.
57591 2012-05-02  Allan McRae  <allan@archlinux.org>
57593         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57594         (LDFLAGS-reldepmod5.so): Likewise.
57595         (LDFLAGS-reldep6mod1.so): Likewise.
57596         (LDFLAGS-reldep6mod4.so): Likewise.
57597         (LDFLAGS-reldep8mod3.so): Likewise.
57598         (LDFLAGS-unload4mod1.so): Likewise.
57599         (LDFLAGS-unload4mod2.so): Likewise.
57600         (LDFLAGS-tst-initorder): Likewise.
57601         (LDFLAGS-tst-initordera2.so): Likewise.
57602         (LDFLAGS-tst-initordera3.so): Likewise.
57603         (LDFLAGS-tst-initordera4.so): Likewise.
57604         (LDFLAGS-tst-initorderb2.so): Likewise.
57605         (LDFLAGS-noload): Likewise.
57606         (LDFLAGS-next): Likewise.
57607         (LDFLAGS-order2mod1.so): Likewise.
57608         (LDFLAGS-order2mod2.so): Likewise.
57609         (LDFLAGS-tst-initorder2): Likewise.
57610         (LDFLAGS-tst-initorder2a.so): Likewise.
57611         (LDFLAGS-tst-initorder2b.so): Likewise.
57612         (LDFLAGS-tst-initorder2c.so): Likewise.
57613         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57615 2012-05-02  David S. Miller  <davem@davemloft.net>
57617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57619 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57621         [BZ #14055]
57622         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57624 2012-05-02  Andreas Jaeger  <aj@suse.de>
57626         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57627         since we manipulate rounding mode.
57628         (CPPFLAGS-test-idouble.c): Likewise.
57629         (CPPFLAGS-test-ifloat.c): Likewise.
57630         (CFLAGS-test-ldouble.c): Likewise.
57631         (CFLAGS-test-double.c): Likewise.
57632         (CFLAGS-test-float.c): Likewise.
57633         (CFLAGS-test-misc.c): Likewise.
57634         (CFLAGS-test-test-fenv.c): Likewise.
57636 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57638         [BZ #2550]
57639         [BZ #2570]
57640         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57641         comparisons to determine direction to adjust input.
57643 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57645         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57646         output to the target.
57648         * scripts/localplt.awk: New file.
57649         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57650         (check-localplt-CFLAGS): Variable removed.
57651         ($(all-built-dso:=.jmprel)): New static pattern rule.
57652         (generated): Add those targets.
57653         (localplt-built-dso): New variable.
57654         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57656         * elf/check-localplt.c: File removed.
57658         * scripts/check-execstack.awk: New file.
57659         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57660         (check-execstack-CFLAGS): Variable removed.
57661         ($(objpfx)check-execstack.h): Target removed.
57662         ($(objpfx)execstack-default): New target.
57663         (generated): Add that instead of check-execstack.h.
57664         ($(all-built-dso:=.phdr)): New static pattern rule.
57665         (generated): Add those targets.
57666         * elf/check-execstack.c: File removed.
57668         * scripts/check-textrel.awk: New file.
57669         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57670         (check-textrel-CFLAGS): Variable removed.
57671         (all-built-dso): Use := to define.o
57672         ($(all-built-dso:=.dyn)): New static pattern rule.
57673         (generated): Add those targets.
57674         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57675         * config.make.in (READELF): New substituted variable.
57676         * elf/check-textrel.c: File removed.
57678 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57680         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57681         allow.
57682         * conform/data/ctype.h-data [C99-based standards] (isblank):
57683         Expect function.
57684         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57685         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57687         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57688         Specify type.  Require positive value.
57689         (EILSEQ): Likewise.
57690         (ERANGE): Likewise.
57691         [ISO || POSIX] (EILSEQ): Do not expect.
57692         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57693         Specify type.  Require positive value.
57694         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57695         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57696         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57697         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57698         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57699         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57700         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57701         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57702         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57703         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57704         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57705         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57706         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57707         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57708         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57709         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57710         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57711         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57712         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57713         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57714         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57715         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57716         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57717         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57718         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57719         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57720         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57721         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57722         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57723         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57724         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57725         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57726         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57727         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57728         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57729         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57730         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57731         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57732         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57733         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57734         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57735         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57736         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57737         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57738         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57739         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57740         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57741         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57742         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57743         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57744         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57745         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57746         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57747         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57748         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57749         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57750         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57751         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57752         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57753         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57754         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57755         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57756         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57757         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57758         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57759         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57760         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57761         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57762         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57763         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57764         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57765         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57766         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57767         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57768         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57769         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57770         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57771         Require >= 2.
57772         (FLT_ROUNDS): Expect as macro, not constant.
57773         (FLT_MANT_DIG): Use macro-int-constant.
57774         (DBL_MANT_DIG): Likewise.
57775         (LDBL_MANT_DIG): Likewise.
57776         (FLT_DIG): Likewise.
57777         (DBL_DIG): Likewise.
57778         (LDBL_DIG): Likewise.
57779         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57780         (DBL_MIN_EXP): Likewise.
57781         (LDBL_MIN_EXP): Likewise.
57782         (FLT_MAX_EXP): Use macro-int-constant.
57783         (DBL_MAX_EXP): Likewise.
57784         (LDBL_MAX_EXP): Likewise.
57785         (FLT_MAX_10_EXP): Likewise.
57786         (DBL_MAX_10_EXP): Likewise.
57787         (LDBL_MAX_10_EXP): Likewise.
57788         (FLT_MAX): Use macro-constant.
57789         (DBL_MAX): Likewise.
57790         (LDBL_MAX): Likewise.
57791         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57792         (DBL_EPSILON): Likewise.
57793         (LDBL_EPSILON): Likewise.
57794         (FLT_MIN): Likewise.
57795         (DBL_MIN): Likewise.
57796         (LDBL_MIN): Likewise.
57797         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57798         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57799         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57800         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57801         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57802         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57803         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57804         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57805         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57806         [ISO11] (FLT_TRUE_MIN): Likewise.
57807         [ISO11] (LDBL_TRUE_MIN): Likewise.
57808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57809         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57810         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57811         (SCHAR_MAX): Likewise.
57812         (UCHAR_MAX): Likewise.
57813         (CHAR_MIN): Likewise.
57814         (CHAR_MAX): Likewise.
57815         (MB_LEN_MAX): Use macro-int-constant.
57816         (SHRT_MIN): Use macro-int-constant.  Specify type.
57817         (SHRT_MAX): Likewise.
57818         (USHRT_MAX): Likewise.
57819         (INT_MAX): Likewise.
57820         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57821         bound negative.
57822         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57823         bound with "U".
57824         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57825         bound with "L".
57826         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57827         bound negative.  Suffix upper bound with "L".
57828         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57829         bound with "UL".
57830         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57831         Specify type.
57832         [C99-based standards] (LLONG_MAX): Likewise.
57833         [C99-based standards] (ULLONG_MAX): Likewise.
57834         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57835         == 0.
57836         [ISO11] (max_align_t): Require type.
57837         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57839         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57840         from $CFLAGS, without defining away __attribute__ calls.
57841         (checknamespace): Use $CFLAGS_namespace.
57843         * conform/conformtest.pl (@keywords): Only include C99 keywords
57844         for standards based on C99 or C11.
57846         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57847         Disable tests.
57848         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57849         UNIX98]: Likewise.
57851         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57852         usability of symbols in #if.
57854         * conform/conformtest.pl: If macro or constant types start
57855         "promoted:", expect the symbol to be of the following type
57856         promoted by the integer promotions.
57858         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57859         in one place.  Also handle "macro-constant".
57861         * conform/conformtest.pl: Only accept expected macro values with
57862         "==".  Parse all "macro" lines in one place.
57863         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57865         * conform/conformtest.pl: Handle braced types on "constant" lines
57866         instead of handling "typed-constant".
57867         * conform/data/signal.h-data: Use "constant" instead of
57868         "typed-constant".
57870         * conform/conformtest.pl: Handle "optional-" at start of lines in
57871         one place rather than duplicating several cases.  Handle each
57872         format of "macro" line with initial "optional-".
57874         * conform/conformtest.pl: Only accept expected constant or
57875         optional-constant values with "==".  Parse all "constant" lines in
57876         one place.  Parse all "optional-constant" lines in one place.
57877         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57878         * conform/data/fmtmsg.h-data: Likewise.
57879         * conform/data/netinet/in.h-data: Likewise.
57880         * conform/data/tar.h-data: Likewise.
57881         * conform/data/limits.h-data: Use "==" form on "constant" and
57882         "optional-constant" lines.
57884         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57885         Use -std=c99 for XOPEN2K.
57886         (@knownproblems): Remove.
57887         (newtoken): Don't check %isknown.
57889         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57890         Do not expect macro.
57891         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57892         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57893         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57894         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57895         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57896         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57897         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57898         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57899         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57900         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57901         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57902         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57903         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57904         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57905         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57906         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57907         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57908         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57909         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57910         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57911         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57912         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57913         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57914         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57915         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57916         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57917         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57918         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57919         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57920         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57921         [XPG3] (acosh): Likewise.
57922         [XPG3] (asinh): Likewise.
57923         [XPG3] (atanh): Likewise.
57924         [XPG3] (cbrt): Likewise.
57925         [XPG3] (expm1): Likewise.
57926         [XPG3] (ilogb): Likewise.
57927         [XPG3] (log1p): Likewise.
57928         [XPG3] (logb): Likewise.
57929         [XPG3] (nextafter): Likewise.
57930         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57931         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57932         [XPG3] (remainder): Likewise.
57933         [XPG3] (rint): Likewise.
57934         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57935         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57936         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57937         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57938         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57939         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57941         [UNIX98 || XOPEN2K] (scalb): Expect.
57942         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57943         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57946         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57969         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57970         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57971         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57972         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57975         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57976         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57977         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57981         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57984         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58060         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58061         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58062         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58063         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58065         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58066         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58067         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58069         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58070         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58071         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58072         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58073         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58074         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58075         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58076         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58078         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58080         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58081         _XOPEN_SOURCE_EXTENDED for XPG4.
58083         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58085         * Makeconfig (localtime): Remove variable.
58086         (inst_localtime-file): Likewise.
58088 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58091         Update.
58092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58093         Update.
58094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58095         Update.
58096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58097         Update.
58098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58099         Update.
58100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58101         Update.
58102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58103         Update.
58104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58105         Update.
58106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58107         Update.
58109 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58111         [BZ #2550]
58112         [BZ #2570]
58113         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58114         comparisons to determine direction to adjust input.
58115         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58116         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58117         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58118         Likewise.
58119         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58120         Likewise.
58121         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58122         Likewise.
58123         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58124         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58125         Likewise.
58126         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58127         Likewise.
58128         * math/libm-test.inc (nexttoward_test): Add more tests.
58130 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58132         [BZ #14040]
58133         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58134         in version GLIBC_2.1, not GLIBC_2.0.
58135         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58136         Likewise.
58138 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58140         [BZ #13942]
58141         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58142         (1 - x) * (1 + x).
58143         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58144         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58145         * math/libm-test.inc (acos_test): Add more tests.
58146         (asin_test): Likewise.
58147         * sysdeps/i386/fpu/libm-test-ulps: Update.
58148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58150         [BZ #14034]
58151         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58152         of square root.
58153         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58154         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58155         * math/libm-test.inc (acos_test_tonearest): New function.
58156         (acos_test_towardzero): Likewise.
58157         (acos_test_downward): Likewise.
58158         (acos_test_upward): Likewise.
58159         (asin_test_tonearest): Likewise.
58160         (asin_test_towardzero): Likewise.
58161         (asin_test_downward): Likewise.
58162         (asin_test_upward): Likewise.
58163         (main): Call the new functions.
58164         * sysdeps/i386/fpu/libm-test-ulps: Update.
58165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58167         [BZ #13884]
58168         [BZ #13924]
58169         * math/e_exp10.c: Include <float.h>.
58170         (__ieee754_exp10): Handle underflow here rather than multiplying
58171         large negative argument by M_LN10.
58172         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58173         of __ieee754_expf.
58174         * math/e_exp10l.c: Include <float.h>.
58175         (__ieee754_exp10l): Handle underflow here rather than multiplying
58176         large negative argument by M_LN10l.
58177         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58178         spurious overflow exception on underflow.
58180 2012-04-29  Marek Polacek  <polacek@redhat.com>
58182         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58183         (__fortify_function): New macro.
58184         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58185         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58186         __extern_always_inline.
58187         * libio/bits/stdio2.h: Likewise.
58188         * libio/bits/stdio.h: Likewise.
58189         * string/string.h: Likewise.
58190         * string/bits/string3.h: Likewise.
58191         * include/stdio.h: Likewise.
58192         * stdlib/bits/stdlib.h: Likewise.
58193         * stdlib/stdlib.h: Likewise.
58194         * rt/bits/mqueue2.h: Likewise.
58195         * rt/mqueue.h: Likewise.
58196         * posix/bits/unistd.h: Likewise.
58197         * posix/unistd.h: Likewise.
58198         * io/bits/poll2.h: Likewise.
58199         * io/bits/fcntl2.h: Likewise.
58200         * io/fcntl.h: Likewise.
58201         * io/sys/poll.h: Likewise.
58202         * misc/bits/syslog.h: Likewise.
58203         * misc/bits/syslog-ldbl.h: Likewise.
58204         * misc/sys/syslog.h: Likewise.
58205         * socket/bits/socket2.h: Likewise.
58206         * socket/sys/socket.h: Likewise.
58207         * debug/tst-chk1.c: Likewise.
58208         * wcsmbs/bits/wchar2.h: Likewise.
58209         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58210         * wcsmbs/wchar.h: Likewise.
58212 2012-04-29  Andreas Jaeger  <aj@suse.de>
58214         * Makerules (tests): Remove enable-check-abi protection.
58215         (check-abi-warn): Remove.
58216         (check-abi-%): Remove check-abi-warn usage.
58218         * configure.in: Remove check-abi configure option.
58219         * configure: Regenerated.
58220         * config.make.in (enable-check-abi): Remove.
58222 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58224         [BZ #14033]
58225         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58226         double functions to double *_finite functions.
58228         [BZ #13941]
58229         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58230         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58231         LDBL_MIN_EXP.
58232         * stdio-common/Makefile (tests): Add tst-sprintf3.
58233         * stdio-common/tst-sprintf3.c: New file.
58235         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58236         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58238 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58240         * conform/conformtest.pl: Remove duplicate typed-constant
58241         handling.
58243 2012-04-28  David S. Miller  <davem@davemloft.net>
58245         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58246         (check-abi-%): Remove AWK script prerequisite and explicit
58247         abilist directory.
58248         (check-abi): Rewrite to just diff the symlist with the abilist.
58249         (config-tls, config-abi-config): Delete, no longer used.
58250         (update-abi-%): Remove AWK script and explicit abilist directory.
58251         (update-abi): Rewrite to simply compare and conditionally copy the
58252         symlist and the sysdep abilist file.  Remove update-abi-config
58253         checks.
58254         * abilist/ld.abilist: Remove.
58255         * abilist/libBrokenLocale.abilist: Remove.
58256         * abilist/libanl.abilist: Remove.
58257         * abilist/libcrypt.abilist: Remove.
58258         * abilist/libdl.abilist: Remove.
58259         * abilist/librt.abilist: Remove.
58260         * abilist/libthread_db.abilist: Remove.
58261         * abilist/libutil.abilist: Remove.
58262         * scripts/extract-abilist.awk: Remove.
58263         * scripts/merge-abilist.awk: Remove.
58264         * sysdeps/generic/libcidn.abilist: New file.
58265         * sysdeps/generic/libnss_compat.abilist: New file.
58266         * sysdeps/generic/libnss_db.abilist: New file.
58267         * sysdeps/generic/libnss_dns.abilist: New file.
58268         * sysdeps/generic/libnss_files.abilist: New file.
58269         * sysdeps/generic/libnss_hesiod.abilist: New file.
58270         * sysdeps/generic/libnss_nis.abilist: New file.
58271         * sysdeps/generic/libnss_nisplus.abilist: New file.
58272         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58273         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58274         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58275         file.
58276         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58277         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58278         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58279         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58280         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58281         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58282         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58283         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58284         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58285         file.
58286         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58287         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58288         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58289         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58290         file.
58291         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58292         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58293         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58294         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58295         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58296         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58297         file.
58298         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58299         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58300         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58301         file.
58302         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58304         New file.
58305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58306         New file.
58307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58308         New file.
58309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58310         New file.
58311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58312         New file.
58313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58314         New file.
58315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58316         New file.
58317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58318         New file.
58319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58320         New file.
58321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58322         New file.
58323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58324         New file.
58325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58326         New file.
58327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58328         New file.
58329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58330         file.
58331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58332         New file.
58333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58334         New file.
58335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58336         file.
58337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58338         New file.
58339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58340         New file.
58341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58342         file.
58343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58344         New file.
58345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58346         New file.
58347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58348         New file.
58349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58350         New file.
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58352         New file.
58353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58354         New file.
58355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58357         file.
58358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58359         New file.
58360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58361         file.
58362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58363         file.
58364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58365         file.
58366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58367         file.
58368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58369         file.
58370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58371         New file.
58372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58373         file.
58374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58375         file.
58376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58377         New file.
58378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58379         file.
58380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58382         file.
58383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58384         New file.
58385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58386         file.
58387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58388         file.
58389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58390         file.
58391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58392         file.
58393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58394         file.
58395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58396         New file.
58397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58398         file.
58399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58400         file.
58401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58402         New file.
58403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58404         file.
58405         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58406         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58407         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58408         file.
58409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58410         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58411         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58412         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58413         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58414         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58415         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58416         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58417         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58418         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58421         file.
58422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58423         New file.
58424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58425         file.
58426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58427         file.
58428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58429         file.
58430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58431         file.
58432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58433         file.
58434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58435         New file.
58436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58437         New file.
58438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58439         file.
58440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58441         New file.
58442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58443         file.
58444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58446         file.
58447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58448         New file.
58449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58450         file.
58451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58452         file.
58453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58454         file.
58455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58456         file.
58457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58458         file.
58459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58460         New file.
58461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58462         New file.
58463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58464         file.
58465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58466         New file.
58467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58468         file.
58470 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58472         * conform/conformtest.pl: Fix typo in handling typed-constant from
58473         allow-header.
58475 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58477         * README: Cut down references to pre-2.6 Linux kernels and
58478         Linuxthreads.  Update lists of configurations in libc and ports
58479         and sort alphabetically.  Say "or newer" with Linux kernel version
58480         requirements.
58482         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58484 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58486         [BZ #887]
58487         * math/libm-test.inc (logb_test_downward): New test to expose
58488         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58489         rounding mode.
58491 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58493         [BZ #14027]
58494         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58495         to be done.
58496         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58497         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58499 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58501         * sysdeps/unix/i386/brk.S: Remove file.
58502         * sysdeps/unix/i386/dl-brk.S: Likewise.
58503         * sysdeps/unix/i386/pipe.S: Likewise.
58504         * sysdeps/unix/i386/sigreturn.S: Likewise.
58505         * sysdeps/unix/i386/syscall.S: Likewise.
58506         * sysdeps/unix/i386/vfork.S: Likewise.
58507         * sysdeps/unix/i386/wait.S: Likewise.
58509         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58510         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58512         * configure.in (arm*-none*): Do not allow without
58513         --enable-hacker-mode.
58514         (netbsd*): Remove case setting base_os.
58515         (386bsd*): Likewise.
58516         (freebsd*): Likewise.
58517         (bsdi*): Likewise.
58518         (osf*): Likewise.
58519         (sunos*): Likewise.
58520         (ultrix*): Likewise.
58521         (newsos*): Likewise.
58522         (dynix*): Likewise.
58523         (*bsd*): Likewise.
58524         (sysv*): Likewise.
58525         (isc*): Likewise.
58526         (esix*): Likewise.
58527         (sco*): Likewise.
58528         (minix*): Likewise.
58529         (irix4*): Likewise.
58530         (irix6*): Likewise.
58531         (solaris[2-9]*): Likewise.
58532         (none): Likewise.
58533         * configure: Regenerated.
58535 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58537         [BZ #11521]
58538         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58539         overflow or cancellation in calculating denominator.
58540         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58541         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58542         down expression to avoid unexpected rounding in newer GCCs.
58543         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58545 2012-04-26  David S. Miller  <davem@davemloft.net>
58547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58548         long-double compat symbols.
58549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58563 2012-04-25  David S. Miller  <davem@davemloft.net>
58565         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58566         HWCAP_* values only after the memory barriers have been defined.
58567         (atomic_full_barrier): Define.
58568         (atomic_read_barrier): Define.
58569         (atomic_write_barrier): Define.
58571 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58573         * shlib-versions: Add libgcc_s version information.
58574         * sysdeps/generic/libgcc_s.h: Remove.
58575         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58576         libgcc_s.h.
58577         * sysdeps/gnu/unwind-resume.c: Likewise.
58578         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58580 2012-04-25  David S. Miller  <davem@davemloft.net>
58582         * sysdeps/unix/sparc/brk.S: Delete.
58583         * sysdeps/unix/sparc/dl-brk.S: Delete.
58584         * sysdeps/unix/sparc/pipe.S: Delete.
58585         * sysdeps/unix/sparc/sysdep.S: Delete.
58586         * sysdeps/unix/sparc/sysdep.h: Delete.
58587         * sysdeps/unix/sparc/vfork.S: Delete.
58588         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58589         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58591         (ret_ERRVAL, r0, r1, MOVE): Define.
58592         (JUMPTARGET): Remove.
58593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58594         sysdeps/unix/sparc/sysdep.h
58595         (ENTRY, END): Remove.
58596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58598 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58600         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58601         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58602         -DIS_IN_build.
58604         * timezone/README: Update upstream location and email address for
58605         tzcode and tzdata.
58606         * timezone/zdump.c: Update from tzcode 2012b.
58607         * timezone/zic.c: Likewise.
58609         * configure.in (libc_cv_as_needed): Remove test.
58610         * configure: Regenerated.
58611         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58612         conditional definition.
58613         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58614         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58615         * config.make.in (have-as-needed): Remove variable.
58617 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58618             Paul Pluzhnikov  <ppluzhnikov@google.com>
58620         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58621         strings correctly.
58623 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58625         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58626         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58627         * sysdeps/sh/strlen.S: Likewise.
58629 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58631         * sysdeps/unix/fork.S: Remove file.
58632         * sysdeps/unix/i386/fork.S: Likewise.
58633         * sysdeps/unix/sparc/fork.S: Likewise.
58635         * sysdeps/unix/system.c: Remove file.
58636         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58638         * sysdeps/unix/getegid.S: Remove file.
58639         * sysdeps/unix/geteuid.S: Likewise.
58641 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58643         * scripts/check-localplt.awk: New file.
58644         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58645         of diff.
58646         * scripts/data/localplt-generic.data: Add a comment.
58648         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58649         NODE when __dir_mkfile failed.
58650         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58651         Reported by Ludovic Courtès <ludo@gnu.org>.
58653 2012-04-24  Andreas Jaeger  <aj@suse.de>
58655         * Makerules (common-clean): Also remove gen-as-const-headers
58656         files.
58658 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58660         * Makerules (native-compile): Do not change working directory for
58661         build.  Use $(OUTPUT_OPTION) in command.
58662         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58664 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58666         [BZ #13886]
58667         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58668         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58669         * math/libm-test.inc (floor_test): Add more tests.
58670         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58672 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58674         * sysdeps/unix/getdents.c: Remove file.
58675         * sysdeps/unix/sysv/getdents.c: Likewise.
58676         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58678         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58679         sysdeps/unix/mman/syscalls.list.
58680         (mmap): Likewise.
58681         (mprotect): Likewise.
58682         (msync): Likewise.
58683         (munmap): Likewise.
58684         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58685         * sysdeps/unix/mman/syscalls.list: Remove.
58686         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58688         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58689         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58690         * configure: Regenerated.
58691         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58692         $(libgcc_s_suffix).
58693         * config.make.in (libgcc_s_suffix): Remove variable.
58695 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58697         * sysdeps/unix/sysv/gethostname.c: Move to ...
58698         * sysdeps/posix/gethostname.c: ... here.
58700         * sysdeps/unix/execve.S: Remove file.
58702         * sysdeps/unix/_exit.S: Remove file.
58704 2012-04-23  Andreas Jaeger  <aj@suse.de>
58706         [BZ #13739]
58707         * manual/Makefile: Remove make dist support, there's no
58708         need for a stand-alone documentation tar ball.
58709         (TEXI2DVI): Define always, it's not in Makeconfig.
58710         (dist): Removed.
58711         (tar-it): Removed.
58712         (edition): Removed.
58713         (glibc-doc-$(edition).tar): Removed
58714         (%.Z): Removed.
58715         (%.gz): Removed.
58716         (%.uu): Removed.
58717         (ETAGS): Remove, it's in Makeconfig.
58718         (move-if-change): Remove, it's in Makeconfig.
58720 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58722         [BZ #13970]
58723         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58724         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58725         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58726         (strtod_l, strtof_l, strtold_l): Remove __wur.
58727         It is not necessarily an error to ignore strtol's return value.
58728         One can reliably look at the stored endptr to decide whether
58729         the number had valid syntax.
58731 2012-04-21  Andreas Jaeger  <aj@suse.de>
58733         [BZ #13739]
58734         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58736 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58738         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58739         * sysdeps/unix/sysv/Versions: Remove file.
58741 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58743         [BZ #13927]
58744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58746 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58748         [BZ #7064]
58749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58750         version from __vm86.
58752 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58754         * sysdeps/unix/common/lxstat.c: Remove file.
58755         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58757         * sysdeps/unix/sysv/Makefile: Remove file.
58759         * sysdeps/unix/sysv/direct.h: Remove file.
58761         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58762         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58763         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58764         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58765         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58766         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58767         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58769         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58771         * sysdeps/unix/xmknod.c: Remove file.
58772         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58774         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58776         * sysdeps/unix/sysv/i386/time.S: Remove file.
58778         * sysdeps/unix/fxstat.c: Remove file.
58779         * sysdeps/unix/xstat.c: Likewise.
58780         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58782         * sysdeps/unix/sysv/sigaction.c: Remove file.
58784         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58785         (sysdep_headers): Remove variable.
58786         [termio.h not in sysdep_headers] (generated): Likewise.
58787         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58788         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58789         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58790         * sysdeps/unix/sysv/tcflow.c: Likewise.
58791         * sysdeps/unix/sysv/tcflush.c: Likewise.
58792         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58793         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58794         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58795         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58796         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58798         * sysdeps/unix/siglist.c: Remove file.
58800         * sysdeps/unix/getppid.S: Remove file.
58802         * sysdeps/unix/mkdir.c: Remove file.
58803         * sysdeps/unix/rmdir.c: Likewise.
58805 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58807         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58808         ERR_MAX value.
58809         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58810         errlist-compat value.
58812 2012-04-18  David S. Miller  <davem@davemloft.net>
58814         * sysdeps/generic/memcopy.h (reg_char): Delete.
58815         * debug/strcat_chk.c: Use char, not reg_char.
58816         * debug/strcpy_chk.c: Likewise.
58817         * debug/strncat_chk.c: Likewise.
58818         * debug/strncpy_chk.c: Likewise.
58819         * string/memchr.c: Likewise.
58820         * string/memrchr.c: Likewise.
58821         * string/rawmemchr.c: Likewise.
58822         * string/strcat.c: Likewise.
58823         * string/strchr.c: Likewise.
58824         * string/strchrnul.c: Likewise.
58825         * string/strcmp.c: Likewise.
58826         * string/strcpy.c: Likewise.
58827         * string/strncat.c: Likewise.
58828         * string/strncmp.c: Likewise.
58829         * string/strncpy.c: Likewise.
58831 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58833         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58834         __builtin_memcopy is called when src and dest ranges are known to not
58835         overlap.
58837 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58839         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58840         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58841         fwd_align_merge macro call.
58842         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58843         bwd_align_merge macro call.
58844         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58846 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58848         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58849         bwd_align_merge macros.
58850         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58851         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58852         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58854 2012-04-18  David S. Miller  <davem@davemloft.net>
58856         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58858 2012-04-18  Andreas Jaeger  <aj@suse.de>
58860         [BZ# 6794]
58861         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58862         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58863         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58865         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58866         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58867         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58869         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58870         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58871         Adjust for changed ldbl-128 files.
58873         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58874         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58875         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58877 2012-04-17  David S. Miller  <davem@davemloft.net>
58879         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58881 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58883         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58884         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58885         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58886         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58887         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58888         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58890 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58892         [BZ #6794]
58893         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58894         * math/libm-test.inc: Add ilogb errno and exception tests.
58895         * math/w_ilogb.c: New file: ilogb wrapper.
58896         * math/w_ilogbf.c: New file: ilogbf wrapper.
58897         * math/w_ilogbl.c: New file: ilogbl wrapper.
58898         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58899         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58900         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58901         exception being thrown with 0.0 as argument.
58902         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58903         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58904         exception being thrown with 0.0 as argument.
58905         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58906         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58907         exception being thrown with 0.0 as argument.
58908         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58909         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58910         exception being thrown with 0.0 as argument.
58911         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58912         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58913         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58914         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58915         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58916         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58917         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58918         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58919         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58921 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58923         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58924         with altivec.
58926 2012-04-16  Marek Polacek  <polacek@redhat.com>
58928         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58930 2012-04-16  Marek Polacek  <polacek@redhat.com>
58932         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58933         operands of fdivp instruction.
58935 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58937         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58938         * elf/tst-auditmod3b.c: Likewise.
58939         * elf/tst-auditmod4b.c: Likewise.
58940         * elf/tst-auditmod5b.c: Likewise.
58941         * elf/tst-auditmod6b.c: Likewise.
58942         * elf/tst-auditmod6c.c: Likewise.
58943         * elf/tst-auditmod7b.c: Likewise.
58944         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58945         * sysdeps/x86_64/preconfigure.in: Likewise.
58946         * sysdeps/x86_64/preconfigure: Regenerated.
58948 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58950         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58951         __ILP32__.
58953 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58956         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58958 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58960         [BZ #13973]
58961         * locale/iso-639.def: Fix gl language name. Spotted by
58962         Yaron Shahrabani.
58964 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58966         [BZ #2074]
58967         * libio/libio.h (__io_write_fn): Update comment.
58969 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58971         [BZ #2074]
58972         * stdio.texi (Hook Functions): The user provided writer function
58973         is not allowed to return -1.
58975 2012-04-11  David S. Miller  <davem@davemloft.net>
58977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58979 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58981         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58982         Add a leading slash to rtkaio.
58984 2012-04-11  Jim Meyering  <meyering@redhat.com>
58986         [BZ #11959]
58987         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58988         It is not necessarily an error to ignore fwrite's return
58989         value.  One can reliably use ferror to test for errors after
58990         the fact.
58992 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58994         * bits/types.h (__snseconds_t): New type.
58995         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58997         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58999         (__SNSECONDS_T_TYPE): Likewise.
59000         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59001         (__SNSECONDS_T_TYPE): Likewise.
59002         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59003         (__SNSECONDS_T_TYPE): Likewise.
59005 2012-04-10  Andreas Jaeger  <aj@suse.de>
59007         [BZ #2636]
59008         * manual/time.texi (Processor Time): Return type of times is
59009         elapsed real time since an arbitrary point in the past.
59010         (CPU Time): Move CLK_TCK from here...
59011         (Processor Time): ...to here.  Correct description.
59012         * manual/conf.texi (Constants for Sysconf): Correct description of
59013         _SC_CLK_TCK.
59015 2012-04-10  David S. Miller  <davem@davemloft.net>
59017         [BZ #13967]
59018         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59019         where the is a gap between DT_REL(A) and DT_JMPREL.
59021 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59023         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59024         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59025         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59027 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59029         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59030         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59031         (dl_main): Handle --inhibit-cache.
59032         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59033         _dl_inhibit_cache.
59034         * elf/dl-load.c (_dl_map_object): Use it.
59035         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59037 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59039         [BZ #13872]
59040         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59041         (__ieee754_powl): Saturate large exponents rather than testing for
59042         overflow of y*log2(x).
59043         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59044         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59045         exceptions.
59047         [BZ #11521]
59048         * math/s_ctan.c: Include <float.h>.
59049         (__ctan): Avoid internal overflow or cancellation in calculating
59050         denominator.
59051         * math/s_ctanf.c: Likewise.
59052         * math/s_ctanl.c: Likewise.
59053         * math/s_ctanh.c: Likewise.
59054         * math/s_ctanhf.c: Likewise.
59055         * math/s_ctanhl.c: Likewise.
59056         * math/libm-test.inc (ctan_test): Add more tests.
59057         (ctanh_test): Likewise.
59058         * sysdeps/i386/fpu/libm-test-ulps: Update.
59059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59061 2012-04-09  Andreas Jaeger  <aj@suse.de>
59063         [BZ #6894]
59064         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59065         is an optional BSD extension.
59067         [BZ #10254]
59068         * manual/stdio.texi (Opening Streams): Document additional fopen
59069         parameters.
59071 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59073         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59074         %eax without telling the compiler.
59076 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59078         [BZ # 13963]
59079         * manual/install.texi: Use sourceware.org.
59081 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59083         [BZ #13873]
59084         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59085         (__ieee754_pow): Generate overflow and underflow using huge*huge
59086         and tiny*tiny rather than just returning constant infinity or zero
59087         for large exponents.
59088         * math/libm-test.inc (pow_test): Require overflow exceptions for
59089         applicable cases of large exponents.
59091         [BZ #706]
59092         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59093         (__ieee754_pow): Use iterative multiplication algorithm only for
59094         integer exponents with absolute value below 1024.  Check for odd
59095         integer exponents when using algorithm for real exponents.
59096         * math/libm-test.inc (pow_test): Add more tests.
59097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59099 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59101         [BZ #13705]
59102         * math/libm-test.inc (exp_test): Do not allow overflow exception
59103         on underflow test.
59105 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59107         [BZ #13705]
59108         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59109         instead of __kernel_standard_f.
59111 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59113         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59114         * sysdeps/x86_64/memset_chk.S: Likewise.
59116 2012-04-08  Andreas Jaeger  <aj@suse.de>
59118         [BZ #10153]
59119         * manual/startup.texi (Environment Access): Describe return value
59120         for putenv and setenv.
59122         [BZ #6895]
59123         * manual/filesys.texi (Directory Entries): Add description for
59124         DT_LNK.
59126         [BZ #6890]
59127         * manual/filesys.texi (Directory Entries): Clarify that it's file
59128         system not operating system in the description of DT_UNKNOWN.
59130         [BZ #6578]
59131         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59133 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59135         [BZ #6649]
59136         * manual/llio.texi (Opening and Closing Files): Add cross
59137         reference to explain mode argument.
59139 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59141         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59142         * sysdeps/x86_64/memset_chk.S: Likewise.
59144 2012-04-07  David S. Miller  <davem@davemloft.net>
59146         * elf/elf.h (R_SPARC_WDISP10): Define.
59147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59148         R_SPARC_SIZE32.
59149         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59150         R_SPARC_SIZE64 and R_SPARC_H34.
59152 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59154         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59155         conditions and remove no longer applicable assertion.
59157 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59159         * bits/byteswap.h: Include <features.h>.
59160         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59161         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59163 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59165         * bits/byteswap.h (__bswap_16): Removed.
59166         Include <bits/byteswap-16.h> to get __bswap_16.
59167         * sysdeps/i386/bits/byteswap.h: Likewise.
59168         * sysdeps/s390/bits/byteswap.h: Likewise.
59169         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59170         * bits/byteswap-16.h: New file.
59171         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59172         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59173         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59174         * string/Makefile (headers): Add bits/byteswap-16.h.
59176 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59178         [BZ #13895]
59179         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59180         extra indirection.
59181         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59182         * nss/tst-nss-static.c: New.
59184 2012-04-06  Robert Millan  <rmh@gnu.org>
59186         [BZ #6486]
59187         * manual/llio.texi (File Position Primitive): lseek
59188         refers to WHENCE when it really means OFFSET.
59190 2012-04-06  Andreas Jaeger  <aj@suse.de>
59192         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59193         strncmp declarations.
59195         * abilist/libc.abilist: Add __poll and __ppoll.
59197 2012-04-05  David S. Miller  <davem@davemloft.net>
59199         * scripts/check-local-headers.sh: Accept a host triplet in the
59200         path matched by the exclude regexp.
59202         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59203         definition.
59204         * sysdeps/powerpc/powerpc32/dl-machine.h
59205         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59206         * sysdeps/s390/s390-32/dl-machine.h
59207         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59208         * sysdeps/sparc/sparc32/dl-machine.h
59209         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59210         * sysdeps/sparc/sparc64/dl-machine.h
59211         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59213         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59214         lazy binding.
59215         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59216         undefined symbol errors.
59218         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59219         DT_NEEDED entries.
59221 2012-04-05  Michael Matz  <matz@suse.de>
59223         [BZ #13592]
59224         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59226 2012-04-05  Andreas Jaeger  <aj@suse.de>
59228         [BZ #13908]
59229         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59230         comment.
59232 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59234         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59235         which ROUND is no valid rounding mode.
59237 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59239         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59240         read again.
59241         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59243 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59245         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59246         an exception using FPU order intentionally.
59248 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59250         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59251         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59252         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59253         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59255 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59257         [BZ #12340]
59258         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59259         EINVAL when BUFLEN is too smal.
59261 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59263         [BZ #13553]
59264         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59265         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59267 2012-04-03  Andreas Jaeger  <aj@suse.de>
59269         [BZ #13938]
59270         * manual/setjmp.texi (System V contexts): Fix sentence.
59272         [BZ #13926]
59273         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59274         New macro for this case.
59275         [!__GNUC__] (__bswap_64): New inline function for this case.
59276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59277         * bits/byteswap.h: Likewise.
59278         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59279         ull, guard with __GLIBC_HAVE_LONG_LONG.
59281         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59282         __GLIBC_HAVE_LONG_LONG.
59284         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59285         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59287 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59289         [BZ #13691]
59290         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59291         inptr and inend, rather than using last_ch.
59293 2012-04-02  David S. Miller  <davem@davemloft.net>
59295         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59296         * stdio-common/printf-parse.h (read_int): Change return type to
59297         'int', return -1 on INT_MAX overflow.
59298         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59299         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59300         overflows INT_MAX.  Check for overflow of in-format-string precision
59301         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59302         SIZE_MAX not INT_MAX for integer overflow test.
59303         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59304         skip the construct in the format string but do not record anything.
59305         * stdio-common/bug22.c: Adjust to test both width/prevision
59306         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59307         explicitly for proper errno values.
59309 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59311         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59312         CHAR_MAX.
59313         * string/test-strcmp.c [! WIDE]: Likewise.
59314         * time/tst-mktime2.c: Likewise for INT_MAX.
59315         * string/test-string.h: #include <sys/param.h> for MIN.
59317         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59318         * sysdeps/i386/init-first.c (init): Likewise.
59319         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59320         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59321         * sysdeps/sh/init-first.c (init): Likewise.
59323 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59325         * po/ru.po: Update from translation team.
59326         * po/vi.po: Likewise.
59328 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59330         * resolv/nss_dns/dns-host.c: Merge copyright years.
59332 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59335         Optimize memcpy with prefetch if
59336         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59337         src, dst pointers have unequal 16 byte alignments.
59339 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59341         [BZ #13928]
59342         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59343         from a CNAME entry and return the minimum ttl for the query.
59344         (gaih_getanswer_slice): Likewise.
59346 2012-03-30  Jeff Law  <law@redhat.com>
59348         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59349         due to long keys.
59350         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59351         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59353         * resolv/nss_dns/dns-host.c: Update copyright year.
59355 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59357         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59358         requests to save a system call.  Fix check that all bytes are sent.
59360         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59361         comments for sendmmsg.
59363 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59365         [BZ #13691]
59366         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59367         with only 1 character between 0x0041 and 0x01b0.
59368         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59369         * wcsmbs/tst-mbsnrtowcs.c: New file.
59371 2012-03-29  David S. Miller  <davem@davemloft.net>
59373         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59374         small copies by hand.
59376 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59378         [BZ #13761]
59379         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59380         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59381         group memberships.
59383 2012-03-28  David S. Miller  <davem@davemloft.net>
59385         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59386         that branches into memcpy.
59387         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59390         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59392         bits.
59393         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59394         implementation too.
59395         * sysdeps/sparc/mempcpy.S: New file.
59397         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59398         the IFUNC routine in the libc case.
59399         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59401         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59402         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59403         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59404         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59405         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59406         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59407         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59408         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59410         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59411         loop to 256 bytes instead of 64 bytes and fix test signedness.
59413         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59414         * sysdeps/sparc/sparc32/Makefile: rather than here...
59415         * sysdeps/sparc/sparc64/Makefile: and here.
59417 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59419         * malloc/mallocbug.c: Avoid warnings about unused variables.
59421 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59423         [BZ #13760]
59424         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59425         in the right place. Discard and retry query if response is
59426         larger than input buffer size.
59428 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59430         [BZ #369]
59431         [BZ #2678]
59432         [BZ #3866]
59433         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59434         x for large integer exponent.
59435         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59436         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59437         sign of result as needed afterwards.
59438         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59439         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59440         result for underflowing pow the same as for overflow.
59441         (__kernel_standard_l): Handle powl overflow and underflow here
59442         rather than calling __kernel_standard.
59443         * math/libm-test.inc (pow_test): Add more tests.
59445         [BZ #3868]
59446         [BZ #13879]
59447         [BZ #13910]
59448         [BZ #13911]
59449         [BZ #13912]
59450         [BZ #13913]
59451         [BZ #13915]
59452         [BZ #13916]
59453         [BZ #13917]
59454         [BZ #13918]
59455         [BZ #13919]
59456         [BZ #13920]
59457         [BZ #13921]
59458         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59459         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59460         (__kernel_standard_l): New function.
59461         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59462         __kernel_standard.
59463         * math/w_acosl.c (__acosl): Likewise.
59464         * math/w_asinl.c (__asinl): Likewise.
59465         * math/w_atan2l.c (__atan2l): Likewise.
59466         * math/w_atanhl.c (__atanhl): Likewise.
59467         * math/w_coshl.c (__coshl): Likewise.
59468         * math/w_exp10l.c (__exp10l): Likewise.
59469         * math/w_exp2l.c (__exp2l): Likewise.
59470         * math/w_fmodl.c (__fmodl): Likewise.
59471         * math/w_hypotl.c (__hypotl): Likewise.
59472         * math/w_j0l.c (__j0l, __y0l): Likewise.
59473         * math/w_j1l.c (__j1l, __y1l): Likewise.
59474         * math/w_jnl.c (__jnl, __ynl): Likewise.
59475         * math/w_lgammal.c (__lgammal): Likewise.
59476         * math/w_log10l.c (__log10l): Likewise.
59477         * math/w_log2l.c (__log2l): Likewise.
59478         * math/w_logl.c (__logl): Likewise.
59479         * math/w_powl.c (__powl): Likewise.
59480         * math/w_remainderl.c (__remainderl): Likewise.
59481         * math/w_scalbl.c (sysv_scalbl): Likewise.
59482         * math/w_sinhl.c (__sinhl): Likewise.
59483         * math/w_sqrtl.c (__sqrtl): Likewise.
59484         * math/w_tgammal.c (__tgammal): Likewise.
59485         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59486         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59487         * math/libm-test.inc (acos_test): Add more tests.
59488         (acosh_test): Likewise.
59489         (asin_test): Likewise.
59490         (atanh_test): Likewise.
59491         (exp_test): Likewise.
59492         (exp10_test): Likewise.
59493         (exp2_test): Likewise.
59494         (expm1_test): Likewise.
59495         (lgamma_test): Likewise.
59496         (log_test): Likewise.
59497         (log10_test): Likewise.
59498         (log1p_test): Likewise.
59499         (log2_test): Likewise.
59500         (pow_test): Do not allow some spurious overflow exceptions.
59501         (sqrt_test): Add more tests.
59502         (tgamma_test): Likewise.
59503         (y0_test): Likewise.
59504         (y1_test): Likewise.
59505         (yn_test): Likewise.
59507 2012-03-27  Anton Blanchard  <anton@samba.org>
59509         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59510         MAP_HUGETLB.
59511         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59512         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59515 2012-03-27  David S. Miller  <davem@davemloft.net>
59517         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59519         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59520         have-as-vis3 check.
59522 2012-03-27  Andreas Jaeger  <aj@suse.de>
59524         * sysdeps/x86_64/elf/configure.in: Moved to ...
59525         * sysdeps/x86_64/configure.in: ... here.
59526         * sysdeps/x86_64/elf/start.S: Moved to ...
59527         * sysdeps/x86_64/start.S: ... here.
59528         * sysdeps/x86_64/elf/configure: Delete.
59530         * sysdeps/x86_64/configure.in: Merge contents from
59531         sysdeps/i386/configure.in (without i686 check).
59533         * sysdeps/i386/elf/Versions: Merge into ...
59534         * sysdeps/i386/Versions: ... this.
59535         * sysdeps/i386/elf/Versions: Delete file.
59536         * sysdeps/i386/elf/start.S: Moved to ...
59537         * sysdeps/i386/start.S: ...here.
59538         * sysdeps/i386/elf/configure.in: Merge into...
59539         * sysdeps/i386/configure.in: ...here.
59540         * sysdeps/i386/elf/configure.in: Delete file.
59541         * sysdeps/i386/elf/configure: Delete file.
59543         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59544         * debug/backtracesyms.c: ... here.
59545         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59546         * debug/backtracesymsfd.c: ... here.
59547         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59548         * sysdeps/generic/ifunc-sel.h: ... here.
59550         * sysdeps/unix/i386/start.c: Delete file.
59551         * sysdeps/unix/sparc/start.c: Delete file.
59552         * sysdeps/unix/start.c: Delete file.
59554         * sysdeps/sh/elf/configure.in: Moved to ...
59555         * sysdeps/sh/configure.in: ... here.
59556         * sysdeps/sh/elf/start.S: Moved to ...
59557         * sysdeps/sh/start.S: ... here.
59558         * sysdeps/sh/elf/configure: Delete file.
59560         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59561         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59562         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59563         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59564         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59565         * sysdeps/powerpc/powerpc64/start.S: here.
59566         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59567         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59568         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59569         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59570         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59572         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59573         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59574         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59575         * sysdeps/powerpc/powerpc32/start.S: ... here.
59576         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59577         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59578         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59580         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59581         * sysdeps/powerpc/ifunc-sel.h: ... here.
59582         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59583         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59585         * sysdeps/sparc/elf/configure.in: Moved to ...
59586         * sysdeps/sparc/configure.in: ... here.
59587         * sysdeps/sparc/elf/configure: Delete file.
59588         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59589         * sysdeps/sparc/sparc32/start.S: ... here.
59590         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59591         * sysdeps/sparc/sparc64/start.S: ... here.
59592         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59593         * sysdeps/sparc/sparc32/Makefile: ... this.
59594         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59595         * sysdeps/sparc/sparc64/Makefile: ... this.
59597         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59598         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59599         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59600         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59601         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59602         * sysdeps/s390/s390-32/setjmp.S: ... here.
59603         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59604         * sysdeps/s390/s390-32/configure.in: ... here.
59605         * sysdeps/s390/s390-32/elf/configure: Delete file.
59606         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59607         * sysdeps/s390/s390-32/start.S: ... here.
59609         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59610         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59611         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59612         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59613         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59614         * sysdeps/s390/s390-64/setjmp.S: ... here.
59615         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59616         * sysdeps/s390/s390-64/configure.in: ... here
59617         * sysdeps/s390/s390-64/elf/configure: Delete file.
59618         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59619         * sysdeps/s390/s390-64/start.S: ... here.
59620         * sysdeps/s390/s390-64/elf/configure: Delete.
59622         * configure.in: Remove support for elf directories in sysdeps.
59624         * configure: Regenerated.
59625         * sysdeps/i386/configure: Regenerated.
59626         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59627         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59628         * sysdeps/s390/s390-32/configure: Regenerated.
59629         * sysdeps/s390/s390-64/configure: Regenerated.
59630         * sysdeps/sh/configure: Regenerated.
59631         * sysdeps/sparc/configure: Regenerated.
59632         * sysdeps/x86_64/configure: Regenerated.
59634 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59639         denormal result into account.
59641 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59643         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59644         Reported by Allan McRae <allan@archlinux.org>.
59646 2012-03-23  Jeff Law  <law@redhat.com>
59648         * nss/getnssent.c (__nss_getent): Fix typo.
59650 2012-03-23  David S. Miller  <davem@davemloft.net>
59652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59654 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59656         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59657         to pad to uint64_t for each field.
59658         (dl_tls_index): Replace unsigned long with uint64_t.
59660 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59661         Paul Pluzhnikov  <ppluzhnikov@google.com>
59663         [BZ #6528]
59664         * grp/Makefile (otherlibs): Don't set it.
59665         * inet/Makefile (otherlibs): Likewise.
59666         * login/Makefile (otherlibs): Likewise.
59667         * nscd/Makefile (otherlibs): Likewise.
59668         * posix/Makefile (otherlibs): Likewise.
59669         * pwd/Makefile (otherlibs): Likewise.
59670         * rt/Makefile (otherlibs): Likewise.
59671         * sunrpc/Makefile (otherlibs): Likewise.
59672         * nss/Makefile (otherlibs): Likewise.
59673         Add libnss_files to routines and static-only-routines.
59674         ($(objpfx)getent): Remove rule.
59675         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59676         static-only-routines.
59678 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59680         [BZ #13892]
59681         * math/s_cexp.c: Include <float.h>.
59682         (__cexp): Handle exp result overflowing not necessarily
59683         overflowing both real and imaginary parts of result.
59684         * math/s_cexpf.c: Likewise.
59685         * math/s_cexpl.c: Likewise.
59686         * math/libm-test.inc (cexp_test): Add more tests.
59687         * sysdeps/i386/fpu/libm-test-ulps: Update.
59688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59690 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59692         * include/link.h (ELFW): New macro.
59693         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59694         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59696 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59698         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59699         with uint64_t.
59701 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59703         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59704         declaration.
59705         (struct La_x32_retval): Likewise.
59707 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59709         * sysdeps/x86_64/preconfigure.in: New file.
59710         * sysdeps/x86_64/preconfigure: New generated file.
59712 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59714         [BZ #13824]
59715         * math/e_exp2l.c: Include <float.h>.
59716         (__ieee754_exp2l): Handle overflow and underflow cases
59717         separately.  Only pass fractional part of argument to
59718         __ieee754_expl.
59719         * math/libm-test.inc (exp2_test): Add more tests.
59721         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59722         negating x to take absolute value.
59723         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59724         Likewise.
59725         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59726         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59727         Likewise.
59728         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59729         computing low part if x was negated.
59730         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59732 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59734         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59735         la_x32_gnu_pltexit.
59736         (pltexit): Cast int_retval to ptrdiff_t.
59737         * elf/tst-auditmod3b.c: Likewise.
59738         * elf/tst-auditmod4b.c: Likewise.
59739         * elf/tst-auditmod5b.c: Likewise.
59740         * elf/tst-auditmod6b.c: Likewise.
59741         * elf/tst-auditmod6c.c: Likewise.
59742         * elf/tst-auditmod7b.c: Likewise.
59744         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59745         and x32_gnu_pltexit.
59747         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59748         __ELF_NATIVE_CLASS.
59749         (La_x32_regs): New macro.
59750         (La_x32_retval): Likewise.
59751         (la_x32_gnu_pltenter): New function prototype.
59752         (la_x32_gnu_pltexit): Likewise.
59754 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59757         exponent.
59759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59761         * configure.in (libc_cv_cc_nofma): Check for option to disable
59762         generation of FMA instructions.
59763         * configure: Regenerate.
59764         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59765         * sysdeps/ieee754/dbl-64/Makefile: New file.
59766         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59767         Remove brandred-fma4.
59768         (CFLAGS-brandred-fma4.c): Remove.
59769         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59770         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59771         define.
59772         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59773         define.
59775 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59777         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59778         LLONG_MAX != LONG_MAX.
59779         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59780         (_fitoa_word): Likewise.
59781         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59782         LLONG_MAX != LONG_MAX.
59783         * stdio-common/_itowa.h: Include <_itoa.h>.
59784         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59785         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59786         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59787         only if not defined.
59788         (_ITOA_WORD_TYPE): Likewise.
59789         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59790         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59792 2012-03-21  David S. Miller  <davem@davemloft.net>
59794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59796 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59798         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59799         of x86_64 when setting libc_cv_slibdir, libdir and
59800         libc_cv_localedir.
59801         * sysdeps/unix/sysv/linux/configure: Regenerated.
59803 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59805         * manual/lang.texi (Old Varargs): Remove section.
59806         (How Variadic): Update menu.
59807         (va_start): Do not mention varargs.h.
59809 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59810             Joseph Myers  <joseph@codesourcery.com>
59812         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59813         link test.
59814         * configure: Regenerated.
59816 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59818         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59819         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59820         conformtest.pl
59822 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59824         * NOTES: Remove.
59825         * Makefile (files-for-dist): Remove NOTES.
59826         (NOTES): Remove rule.
59827         * README: Don't refer to NOTES.
59828         * manual/creature.texi: Don't include macros.texi.
59829         * manual/intro.texi (creature.texi): Remove comment referring to
59830         NOTES.
59832         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59833         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59834         * configure: Regenerated.
59835         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59836         LIBC_TRY_CC_OPTION.
59837         (libc_cv_as_i686): Likewise.
59838         (libc_cv_cc_avx): Likewise.
59839         (libc_cv_cc_sse2avx): Likewise.
59840         (libc_cv_cc_fma4): Likewise.
59841         (libc_cv_cc_novzeroupper): Likewise.
59842         * sysdeps/i386/configure: Regenerated.
59844         [BZ #13883]
59845         * sysdeps/i386/fpu/s_cexp.S: Remove.
59846         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59847         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59848         * math/libm-test.inc (cexp_test): Add more tests.
59849         * sysdeps/i386/fpu/libm-test-ulps: Update.
59850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59852 2012-03-21  Allan McRae  <allan@archlinux.org>
59854         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59856 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59858         [BZ #13871]
59859         * math/w_exp2.c: Do not include <float.h>.
59860         (o_threshold, u_threshold): Remove.
59861         (__exp2): Calculate result before checking finiteness and calling
59862         __kernel_standard.
59863         * math/w_exp2f.c: Likewise.
59864         * math/w_exp2l.c: Likewise.
59865         * math/libm-test.inc (exp2_test): Require overflow exception for
59866         1e6 input.
59868         [BZ #3866]
59869         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59870         range of signed 64-bit integers before using fistpll.  Remove
59871         checks for whether integers fit in mantissa bits.
59872         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59873         the range of signed 32-bit integers before using fistpl.  Remove
59874         checks for whether integers fit in mantissa bits.
59875         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59876         (__ieee754_powl): Test for y outside the range of signed 64-bit
59877         integers before using fistpll.  Reduce 64-bit values to 63-bit
59878         ones as needed.
59879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59880         divide-by-zero is raised for zero to large negative powers.
59881         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59882         (__ieee754_powl): Test for y outside the range of signed 64-bit
59883         integers before using fistpll.  Reduce 64-bit values to 63-bit
59884         ones as needed.
59885         * math/libm-test.inc (pow_test): Add more tests.
59887 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59889         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59890         <stdio-common/_itoa.h>.
59891         * debug/segfault.c: Likewise.
59892         * elf/dl-cache.c: Likewise.
59893         * elf/dl-minimal.c: Likewise.
59894         * elf/dl-misc.c: Likewise.
59895         * elf/dl-sysdep.c: Likewise.
59896         * elf/dl-version.c: Likewise.
59897         * elf/rtld.c: Likewise.
59898         * hurd/hurdsock.c: Likewise.
59899         * hurd/lookup-retry.c: Likewise.
59900         * malloc/malloc.c: Likewise.
59901         * malloc/mtrace.c: Likewise.
59902         * nscd/nscd_getgr_r.c: Likewise.
59903         * nscd/nscd_getpw_r.c: Likewise.
59904         * nscd/nscd_getserv_r.c: Likewise.
59905         * posix/getopt_init.c: Likewise.
59906         * posix/wordexp.c: Likewise.
59907         * stdio-common/_itoa.c: Likewise.
59908         * stdio-common/printf_fphex.c: Likewise.
59909         * stdio-common/vfprintf.c: Likewise.
59910         * string/_strerror.c: Likewise.
59911         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59912         * sysdeps/i386/i686/hp-timing.h: Likewise.
59913         * sysdeps/mach/_strerror.c: Likewise.
59914         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59915         * sysdeps/mach/hurd/sethostid.c: Likewise.
59916         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59917         * sysdeps/mach/xpg-strerror.c: Likewise.
59918         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59920         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59921         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59922         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59923         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59924         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59925         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59926         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59927         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59928         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59929         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59930         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59931         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59932         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59933         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59934         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59935         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59936         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59937         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59938         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59940         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59942         * stdio-common/_itoa.h: Moved to ...
59943         * sysdeps/generic/_itoa.h: Here.
59945         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59947         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59948         instead of "_itoa.h" and "_itowa.h".
59949         * stdio-common/vfprintf.: Likewise.
59951 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59953         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59954         <bits/wordsize.h>.
59955         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59956         (__signbit): Likwise.
59957         (llrintf): Likwise.
59958         (llrint): Likwise.
59960 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59962         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59963         __WORDSIZE != 64.
59965 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59967         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59968         OVERFLOW_EXCEPTION_OK.
59969         * math/libm-test.inc ("Philosophy"): Update comment about
59970         exception testing.
59971         (OVERFLOW_EXCEPTION): Define.
59972         (OVERFLOW_EXCEPTION_OK): Likewise.
59973         (INVALID_EXCEPTION_OK): Renumber.
59974         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59975         (IGNORE_ZERO_INF_SIGN): Likewise.
59976         (test_exceptions): Handle FE_OVERFLOW.
59977         (exp10_test): Expect overflow exceptions.
59978         (exp2_test): Likewise.
59979         (expm1_test): Likewise.
59980         (nextafter_test): Likewise.
59981         (pow_test): Likewise.
59982         (scalbn_test): Likewise.
59983         (scalbln_test): Likewise.
59985 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59987         * sysdeps/x86_64/bits/atomic.h
59988         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59989         64bit integer.
59990         (atomic_exchange_acq): Likewise.
59991         (__arch_exchange_and_add_body): Likewise.
59992         (__arch_add_body): Likewise.
59993         (atomic_add_negative): Likewise.
59994         (atomic_add_zero): Likewise.
59996 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59998         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59999         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60003         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60004         Check __x86_64__ instead of __WORDSIZE.
60006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60008         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60010 2012-03-19  David S. Miller  <davem@davemloft.net>
60012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60014         * sysdeps/sparc/fpu/fenv_private.h: New file.
60015         * sysdeps/sparc/fpu/math_private.h: Use it.
60016         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60017         Remove.
60018         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60019         (libc_feholdexcept_setroundl): Remove.
60020         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60021         Remove.
60022         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60023         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60025 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60027         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60028         int64_t instead of long int.
60029         (INSERT_WORDS64): Likwise.
60031 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60033         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60034         _Unwind_GetCFA return to _Unwind_Ptr first.
60036 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60038         [BZ #13629]
60039         * math/s_clog.c: Include <float.h>.
60040         (__clog): Scale large or subnormal inputs.
60041         * math/s_clogf.c: Likewise.
60042         * math/s_clogl.c: Likewise.
60043         * math/s_clog10.c: Include <float.h>.
60044         (M_LOG10_2): Define.
60045         (__clog10): Scale large or subnormal inputs.
60046         * math/s_clog10f.c: Likewise.
60047         * math/s_clog10l.c: Likewise.
60048         * math/libm-test.inc (clog_test): Add more tests.
60049         (clog10_test): Likewise.
60050         * sysdeps/i386/fpu/libm-test-ulps: Update.
60051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60053         [BZ #11451]
60054         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60055         x and y.
60056         * math/libm-test.inc (atan2_test): Add another test.
60058         * Makerules (common-objdir-compile): Remove.
60059         * sysdeps/unix/Makefile (config-generated): Do not add
60060         $(unix-generated) to variable.
60061         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60062         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60063         Remove rule.
60064         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60065         Likewise.
60066         [generic bits/local_lim.h] (before-compile): Do not append to
60067         variable.
60068         [generic bits/local_lim.h] (common-generated): Likewise.
60069         [generic sys/param.h] (before-compile): Do not append to variable.
60070         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60071         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60072         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60073         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60074         include.
60075         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60076         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60077         [generic sys/param.h] ($(addprefix
60078         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60079         [generic sys/param.h] (common-generated): Do not append to
60080         variable.
60081         [generic sys/param.h] (sysdep_headers): Likewise.
60082         [generic bits/errno.h] (before-compile): Do not append to
60083         variable.
60084         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60085         rule.
60086         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60087         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60088         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60089         [generic bits/errno.h] (common-generated): Do not append to
60090         variable.
60091         [generic bits/ioctls.h] (before-compile): Do not append to
60092         variable.
60093         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60094         rule.
60095         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60096         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60097         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60098         rule.
60099         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60100         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60101         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60102         [generic bits/ioctls.h] (common-generated): Do not append to
60103         variable.
60104         [generic sys/syscall.h] (syscall.h): Remove variable.
60105         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60106         rule.
60107         [generic sys/syscall.h] (before-compile): Do not append to
60108         variable.
60109         [generic sys/syscall.h] (common-generated): Likewise.
60110         * sysdeps/unix/errnos-tmpl.c: Remove file.
60111         * sysdeps/unix/errnos.awk: Likewise.
60112         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60113         * sysdeps/unix/ioctls.awk: Likewise.
60114         * sysdeps/unix/mk-local_lim.c: Likewise.
60115         * sysdeps/unix/snarf-ioctls: Likewise.
60117 2012-03-19  Richard Henderson  <rth@twiddle.net>
60119         * sysdeps/i386/fpu/fenv_private.h: New file.
60120         * sysdeps/i386/fpu/math_private.h: Use it.
60121         (math_opt_barrier, math_force_eval): Remove.
60122         (libc_feholdexcept_setround_53bit): Remove.
60123         (libc_feupdateenv_53bit): Remove.
60124         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60125         (math_opt_barrier, math_force_eval): Remove.
60126         (libc_feholdexcept): Remove.
60127         (libc_feholdexcept_setround): Remove.
60128         (libc_fetestexcept, libc_fesetenv): Remove.
60129         (libc_feupdateenv_test): Remove.
60130         (libc_feupdateenv, libc_feholdsetround): Remove.
60131         (libc_feresetround): Remove.
60133         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60134         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60136         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60137         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60138         (libc_feupdateenv_testl): New.
60139         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60140         (libc_feupdateenv_testf): New.
60141         (libc_feupdateenv): Use libc_feupdateenv_test.
60142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60143         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60145         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60146         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60147         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60148         (libc_feresetround_noex): New.
60149         (libc_feresetround_noexf): New.
60150         (libc_feresetround_noexl): New.
60151         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60152         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60153         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60154         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60155         SET_RESTORE_ROUND.
60156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60157         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60158         (__cos): Likewise.
60159         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60161         SET_RESTORE_ROUND_NOEX.
60162         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60163         SET_RESTORE_ROUND_NOEXF.
60164         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60165         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60166         (libc_feholdsetroundf): New.
60167         (libc_feresetround, libc_feresetroundf): New.
60169         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60170         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60171         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60173         * sysdeps/generic/math_private.h: Include <fenv.h>.
60174         (default_libc_feholdexcept): New.
60175         (default_libc_feholdexcept_setround): New.
60176         (default_libc_fesetenv, default_libc_feupdateenv): New.
60177         (libc_feholdexcept): Only define if undefined.
60178         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60179         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60180         (libc_feholdexcept_setroundl): Likewise.
60181         (libc_feholdexcept_setround_53bit): Likewise.
60182         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60183         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60184         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60185         (libc_feupdateenv_53bit): Likewise.
60186         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60187         (libc_feholdexcept): Convert from macro to inline function.
60188         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60189         (libc_fesetenv, libc_feupdateenv): Likewise.
60191         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60192         not previously defined.
60193         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60194         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60195         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60196         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60197         * sysdeps/ieee754/flt-32/math_private.h: New file.
60198         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60199         math_private.h below SET_FLOAT_WORD.
60200         (__isnan, __isinf_ns, __finite): Remove.
60201         (__isnanf, __isinf_nsf, __finitef): Remove.
60203 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60207 2012-03-17  David S. Miller  <davem@davemloft.net>
60209         [BZ #6471]
60210         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60211         for 2.16.
60213 2012-03-16  David S. Miller  <davem@davemloft.net>
60215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60216         warnings.
60218         [BZ #6471]
60219         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60220         properly.
60221         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60222         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60223         sysdep_routines when subdir is sysvipc.
60224         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60225         __getshmlba helper.
60227         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60231         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60232         [__LP64__].
60234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60236         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60237         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60238         (__lround): Renamed to ...
60239         (__llround): This.  Replace long int with long long int.
60240         Define lround functions as aliases of llround functions.
60241         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60243 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60245         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60246         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60247         adresses to uintptr_t.  Replace "long int" and "unsigned long
60248         int" with "greg_t" on va_arg.
60250 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60252         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60253         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60255         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60256         Move e_machine check before EI_CLASS check.  Handle x32
60257         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60258         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60259         SKIP_EM_IA_64 and include
60260         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60262         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60263         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60264         (add_system_dir): New macro.
60266         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60267         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60269 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60271         [BZ #2551]
60272         [BZ #2552]
60273         [BZ #2553]
60274         [BZ #2554]
60275         [BZ #2562]
60276         [BZ #2563]
60277         [BZ #2565]
60278         [BZ #2566]
60279         [BZ #2576]
60280         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60281         (y0): Likewise.
60282         * math/w_j0f.c (j0f): Likewise.
60283         (y0f): Likewise.
60284         * math/w_j0l.c (__j0l): Likewise.
60285         (__y0l): Likewise.
60286         * math/w_j1.c (j1): Likewise.
60287         (y1): Likewise.
60288         * math/w_j1f.c (j1f): Likewise.
60289         (y1f): Likewise.
60290         * math/w_j1l.c (__j1l): Likewise.
60291         (__y1l): Likewise.
60292         * math/w_jn.c (jn): Likewise.
60293         (yn): Likewise.
60294         * math/w_jnf.c (jnf): Likewise.
60295         (ynf): Likewise.
60296         * math/w_jnl.c (__jnl): Likewise.
60297         (__ynl): Likewise.
60298         * math/libm-test.inc (j0_test): Add more tests.
60299         (j1_test): Likewise.
60300         (jn_test): Likewise.  Add trailing semicolon to existing test.
60301         (y0_test): Likewise.
60302         (y1_test): Likewise.
60303         * sysdeps/i386/fpu/libm-test-ulps: Update.
60304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60306         [BZ #13851]
60307         [BZ #13854]
60308         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60309         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60310         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60311         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60312         (__tanl): Set errno for infinite argument.
60313         * sysdeps/i386/fpu/mptan.c: Remove.
60314         * sysdeps/i386/fpu/s_tan.S: Likewise.
60315         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60316         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60317         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60318         * math/libm-test.inc (tan_test): Add more tests and enable more
60319         tests for double and long double.
60320         * sysdeps/i386/fpu/libm-test-ulps: Update.
60321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60323 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60325         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60326         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60328 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60330         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60331         * configure.in: Use it for both main tree and add-ons.
60332         * configure: Regenerated.
60334 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60336         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60338 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60340         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60341         in comment.
60343         [BZ #13851]
60344         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60345         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60346         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60347         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60348         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60349         infinite argument.
60350         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60351         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60352         != 0 for prec == 2.
60353         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60354         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60355         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60356         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60357         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60358         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60359         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60360         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60361         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60362         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60363         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60364         * math/libm-test.inc (cos_test): Add more tests and enable more
60365         tests for long double.
60366         (sin_test): Likewise.
60367         (sincos_test): Likewise.
60368         * sysdeps/i386/fpu/libm-test-ulps: Update.
60369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60371 2012-03-16  David S. Miller  <davem@davemloft.net>
60373         * sysdeps/sparc/fpu/math_private.h: New file.
60375 2012-03-15  David S. Miller  <davem@davemloft.net>
60377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60378         file.
60379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60381         file.
60382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60387         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60388         sysdep routines.
60389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60391         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60392         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60394         * sysdeps/sparc/sparc-ifunc.h: New file.
60395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60396         sparc-ifunc.h
60397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60399         Likewise.
60400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60401         Likewise.
60402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60406         Likewise.
60407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60412         Likewise.
60413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60414         Likewise.
60415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60433         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60435         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60437         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60438         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60440 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60442         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60443         scaling.
60444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60446 2012-03-15  Andreas Jaeger  <aj@suse.de>
60448         [BZ #13852]
60449         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60450         ieee754/flt-32 implementation for sin, cos and sincos.
60451         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60452         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60453         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60454         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60455         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60456         ieee754/flt-32 implementation for tan.
60458         * math/libm-test.inc (cos_test): Enable some large input tests for
60459         float as well
60460         (sin_test): Likewise.
60461         (sincos_test): Likewise.
60462         (tan_test): Add tests for large input.
60464         * sysdeps/i386/fpu/libm-test-ulps: Update.
60466 2012-03-15  Andreas Jaeger  <aj@suse.de>
60468         [BZ #13658]
60469         * math/libm-test.inc (cos_test): Add more test cases.
60470         (sin_test): Likewise.
60471         (sincos_test): Likewise.
60473 2012-03-15  Andreas Jaeger  <aj@suse.de>
60475         [BZ #13837]
60476         * math/libm-test.inc (cos_test): Add a test case for large input
60477         value.
60478         (sin_test): Likewise.
60479         (sincos_test): Likewise.
60481 2012-03-15  Andreas Jaeger  <aj@suse.de>
60482             Joseph Myers  <joseph@codesourcery.com>
60484         [BZ #13658]
60485         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60486         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60487         * sysdeps/i386/fpu/branred.c: Likewise.
60488         * sysdeps/i386/fpu/dosincos.c: Likewise.
60489         * sysdeps/i386/fpu/mpa.c: Likewise.
60490         * sysdeps/i386/fpu/s_cos.S: Likewise.
60491         * sysdeps/i386/fpu/s_sin.S: Likewise.
60492         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60493         * sysdeps/i386/fpu/sincos32.c: Likewise.
60495         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60496         Define.
60497         (libc_feupdateenv_53bit): Define.
60498         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60499         Define.
60500         (libc_feupdateenv_53bit): Define.
60502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60503         53 bit (without extend i386 double precision).
60505         * math/libm-test.inc (sincos_test): Add tests for large input.
60506         (sin): Likewise.
60507         (cos): Likewise.
60509         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60511 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60515 2012-03-15  David S. Miller  <davem@davemloft.net>
60517         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60518         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60519         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60520         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60533         file.
60534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60536         file.
60537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60539         file.
60540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60542         file.
60543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60545         fmin/fmax sysdep routines.
60546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60548 2012-03-14  David S. Miller  <davem@davemloft.net>
60550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60555         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60556         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60570         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60571         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60572         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60573         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60575         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60576         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60577         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60579         routines.
60580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60581         file.
60582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60584         file.
60585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60587         file.
60588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60590         file.
60591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60593         file.
60594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60596         file.
60597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60598         file.
60599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60600         file.
60601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60602         file.
60603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60604         New file.
60605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60606         file.
60607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60608         file.
60609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60611         file.
60612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60614         file.
60615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60617         file.
60618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60620         VIS3 routines.
60622         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60623         New file.
60625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60627         * sysdeps/sparc/configure.in: New file.
60628         * sysdeps/sparc/configure: Generate.
60629         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60630         * configure: Regenerate.
60631         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60632         * config.make.in (have-as-vis3): New.
60633         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60634         available use -Av9d instead of -Av9a.
60635         * sysdeps/sparc/sparc64/Makefile: Likewise.
60636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60638         New file.
60639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60640         file.
60641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60642         New file.
60643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60644         file.
60645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60646         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60647         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60648         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60649         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60651         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60652         fzeros/fnegs to load 0x80000000 into a float register instead of
60653         using the stack.
60654         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60656 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60659         bits/syscall.h.
60660         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60661         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60662         ($(inst_includedir)/bits/syscall.h): Remove rule.
60663         ($(objpfx)bits/syscall.d): Include instead of
60664         $(objpfx)syscall-list.d.
60665         (generated): Change syscall-list.h and syscall-list.d to
60666         bits/syscall.h and bits/syscall.d.
60668 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60670         [BZ #13846]
60671         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60673 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60675         [BZ #13841]
60676         * math/s_csqrt.c: Include <float.h>.
60677         (__csqrt): Scale large or subnormal inputs.
60678         * math/s_csqrtf.c: Likewise.
60679         * math/s_csqrtl.c: Likewise.
60680         * math/libm-test.inc (csqrt_test): Add more tests.
60681         * sysdeps/i386/fpu/libm-test-ulps: Update.
60682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60684         [BZ #13840]
60685         * math/libm-test.inc (hypot_test): Add more tests.
60687 2012-03-13  David S. Miller  <davem@davemloft.net>
60689         [BZ #13840]
60690         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60691         double-precision for the calculation instead of scaling.
60693 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60695         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60696         manipulate bits before adding and subtracting TWO52[sx].
60697         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60699         Likewise.
60700         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60702 2012-03-13  David S. Miller  <davem@davemloft.net>
60704         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60705         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60707         rtld-global-offsets.h
60708         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60710         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60711         large parameters.
60713         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60715         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60716         'err' in the ifdef scope in which it is actually used.
60718         * nss/nss_db/db-init.c: Include string.h
60720 2012-03-12  David S. Miller  <davem@davemloft.net>
60722         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60723         masking out of the most significant byte of random value used.
60724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60725         Fix coding style in previous change.
60727         * sysdeps/unix/sysv/linux/kernel-features.h
60728         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60729         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60730         expression.
60731         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60732         later.
60734 2012-03-11  David S. Miller  <davem@davemloft.net>
60736         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60737         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60739         for 'resultvar' otherwise things get truncated on 64-bit.
60741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60742         Fix masking out of the most significant byte of random value used.
60744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60746 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60750 2012-03-09  David S. Miller  <davem@davemloft.net>
60752         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60753         variables with appropriate CPP guards.
60754         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60755         from the frame pointer, not the stack pointer.  Correct layout
60756         comments.  Fix test on resulting framesize and the management of
60757         the outregs buffer for pltexit.  Preserve floating point return
60758         values across _dl_call_pltexit call.
60759         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60760         framesize and the management of the outregs buffer for pltexit.
60761         Preserve floating point return values across _dl_call_pltexit
60762         call.
60763         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60764         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60765         (la_sparc64_gnu_pltexit): New functions.
60766         (print_exit): Fix format string for return register value.
60768 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60770         * sunrpc/Makefile (others): Add rpcgen.
60771         ($(objpfx)rpcgen): Remove special build rule and dependency on
60772         libc.
60773         * sunrpc/rpcgen.c: New file.
60775 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60777         [BZ #13673]
60778         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60779         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60780         * sysdeps/i386/crti.S: Likewise.
60781         * sysdeps/i386/crtn.S: Likewise.
60782         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60783         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60784         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60785         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60786         * sysdeps/sh/crti.S: Likewise.
60787         * sysdeps/sh/crtn.S: Likewise.
60788         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60790         [BZ #13673]
60791         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60792         with URL.
60793         * locale/programs/locfile-kw.gperf: Likewise.
60794         * locale/programs/charmap-kw.h: Regenerated.
60795         * locale/programs/locfile-kw.h: Likewise.
60797         [BZ #13673]
60798         * intl/plural.y: Replace FSF snail mail address with URL.
60799         * intl/plural.c: Regenerated.
60801 2012-03-09  Richard Henderson  <rth@twiddle.net>
60803         * include/math_private.h: Remove file.
60804         * math/math_private.h: Move file ...
60805         * sysdeps/generic/math_private.h: ... here.
60807         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60808         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60809         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60811         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60812         and <math_private.h>.
60813         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60814         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60815         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60816         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60817         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60818         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60819         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60820         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60821         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60822         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60823         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60824         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60825         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60826         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60827         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60828         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60830         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60831         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60832         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60833         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60834         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60835         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60837         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60838         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60839         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60840         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60841         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60842         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60843         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60845         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60846         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60849         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60850         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60851         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60853         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60854         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60860         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60862         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60863         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60864         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60865         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60866         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60867         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60868         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60869         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60870         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60871         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60878         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60879         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60880         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60881         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60882         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60883         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60884         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60885         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60886         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60887         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60889         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60890         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60892         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60893         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60894         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60895         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60896         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60897         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60899         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60900         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60901         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60902         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60903         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60904         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60905         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60906         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60907         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60908         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60909         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60910         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60911         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60912         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60913         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60914         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60915         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60916         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60917         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60918         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60919         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60920         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60921         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60922         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60923         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60924         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60925         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60926         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60927         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60928         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60929         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60930         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60931         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60932         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60933         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60934         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60935         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60936         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60937         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60938         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60939         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60940         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60941         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60942         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60943         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60944         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60945         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60946         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60947         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60948         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60949         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60950         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60951         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60952         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60953         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60954         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60955         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60956         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60957         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60958         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60959         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60960         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60961         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60962         * sysdeps/ieee754/k_standard.c: Likewise.
60963         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60967         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60972         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60975         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60976         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60977         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60985         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60987         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60989         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60990         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60991         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60992         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60994         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60995         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60996         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60997         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60998         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60999         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61000         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61001         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61002         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61004         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61005         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61006         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61007         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61008         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61009         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61010         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61011         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61014         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61015         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61016         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61017         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61054         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61056         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61058         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61059         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61061         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61064         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61066         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61068         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61070         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61071         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61073         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61078         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61082         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61083         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61084         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61085         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61087         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61088         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61089         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61090         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61091         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61092         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61093         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61095         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61097         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61099         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61102         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61103         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61104         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61105         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61106         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61107         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61108         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61109         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61110         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61111         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61112         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61113         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61114         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61115         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61116         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61117         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61118         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61119         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61120         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61121         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61122         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61123         * sysdeps/ieee754/s_lib_version.c: Likewise.
61124         * sysdeps/ieee754/s_matherr.c: Likewise.
61125         * sysdeps/ieee754/s_signgam.c: Likewise.
61126         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61127         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61128         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61129         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61130         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61131         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61132         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61133         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61134         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61135         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61136         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61137         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61138         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61139         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61140         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61141         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61142         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61143         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61144         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61148 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61150         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61151         * sunrpc/rpc_main.c: Likewise.
61152         * sunrpc/rpc_svcout.c: Likewise.
61154 2012-03-09  David S. Miller  <davem@davemloft.net>
61156         * include/math_private.h: New file.
61158 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61160         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61161         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61162         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61163         from <bits/socket_type.h>.
61164         (enum __socket_type): Don't define here.
61165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61167         bits/socket_type.h.
61169         [BZ #13566]
61170         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61171         checking __USE_GNU.
61173         * Makerules ($(inst_includedir)/%.h): New rule.
61174         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61175         (install-others): Remove variable setting.
61176         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61178 2012-03-08  Richard Henderson  <rth@twiddle.net>
61180         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61181         from macro to inline function; merge with the
61182         !__LIBC_INTERNAL_MATH_INLINES version.
61183         (__ieee754_sqrtf): Likewise.
61185         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61186         to inline function.
61187         (__rintf, __floor, __floorf): Likewise.
61189         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61190         macro to inline function.
61191         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61193         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61194         not <math/math_private.h>.
61196 2012-03-08  David S. Miller  <davem@davemloft.net>
61198         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61199         copyright year.
61200         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61202 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61204         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61205         normalization.
61206         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61207         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61209 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61211         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61212         be defined individually, they must be defined as a block.  Define
61213         S for printing a string instead of hidint the different by using a
61214         macro for adding the 'l'.
61215         * stdio-common/tst-fphex-wide.c: Adjust.
61217 2012-03-07  Marek Polacek  <polacek@redhat.com>
61219         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61221 2012-03-08  Marek Polacek  <polacek@redhat.com>
61223         [BZ #13806]
61224         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61225         * stdio-common/tst-fphex.c: Define a few macros to make the
61226         test reusable.  Use them.
61227         * stdio-common/tst-fphex-wide.c: New file.
61229 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61231         [BZ #6911]
61232         * manual/macros.texi (gnusystems): New macro.
61233         (nongnusystems): Likewise.
61234         (gnulinuxhurdsystems): Likewise.
61235         (gnuhurdsystems): Likewise..
61236         (gnulinuxsystems): Likewise.
61237         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61238         variants of the GNU system, not "GNU system".
61239         * manual/conf.texi: Likewise.
61240         * manual/errno.texi: Likewise.  Update example of errno macro
61241         expansion.
61242         * manual/filesys.texi: Likewise.
61243         (getumask): Document as specific to GNU/Hurd.
61244         * manual/install.texi: Likewise.  Reword some references to
61245         GNU/Linux.
61246         * manual/intro.texi: Likewise.
61247         * manual/io.texi: Likewise.
61248         (File Name Portability): Detail which constraints are inapplicable
61249         to all GNU systems and which are only inapplicable to GNU/Hurd.
61250         * manual/job.texi: Likewise.
61251         * manual/llio.texi: Likewise.
61252         (O_NOCTTY): Document as present on GNU/Linux.
61253         * manual/maint.texi: Likewise.
61254         * manual/memory.texi: Likewise.
61255         * manual/pattern.texi: Likewise.
61256         * manual/pipe.texi: Likewise.
61257         * manual/process.texi: Likewise.
61258         * manual/resource.texi: Likewise.
61259         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61260         child on GNU/Hurd.
61261         * manual/setjmp.texi: Likewise.
61262         * manual/signal.texi: Likewise.
61263         * manual/startup.texi: Likewise.
61264         * manual/stdio.texi: Likewise.
61265         * manual/terminal.texi: Likewise.
61266         (ONLCR): Document as POSIX.
61267         (OXTABS): Document availability on GNU/Linux as XTABS.
61268         (ONOEOT): Document availability separately from other bits.
61269         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61270         * manual/time.texi: Likewise.
61271         * manual/users.texi: Likewise.
61272         * INSTALL: Regenerated.
61273         * sysdeps/gnu/errlist.c: Regenerated.
61275         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61276         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61277         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61278         puts.
61279         * configure: Regenerated.
61281 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61283         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61284         default includes instead of AC_HEADER_CHECK.
61285         * sysdeps/i386/configure: Regenerated.
61287         [BZ #10716]
61288         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61289         * math/s_cacoshf.c (__cacoshf): Likewise.
61290         * math/s_cacoshl.c (__cacoshl): Likewise.
61291         * math/s_casinh.c (__casinh): Set signs of result from argument.
61292         * math/s_casinhf.c (__casinhf): Likewise.
61293         * math/s_casinhl.c (__casinhl): Likewise.
61294         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61295         (casinh_test): Add more tests.
61296         * sysdeps/i386/fpu/libm-test-ulps: Update.
61297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61299 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61301         * po/zh_TW.po: Update from translation team.
61303         * login/Makefile (distribute): Remove variable.
61304         * catgets/Makefile: Likewise.
61305         * mach/Makefile: Likewise.
61306         * malloc/Makefile: Likewise.
61307         * misc/Makefile: Likewise.
61308         * iconv/Makefile: Likewise.
61309         * nscd/Makefile: Likewise.
61310         * hurd/Makefile: Likewise.
61311         * manual/Makefile: Likewise.
61312         * locale/Makefile: Likewise.
61313         * intl/Makefile: Likewise.
61314         * conform/Makefile: Likewise.
61315         * nss/Makefile: Likewise.
61316         * time/Makefile: Likewise.
61317         * soft-fp/Makefile: Likewise.
61318         * dirent/Makefile: Likewise.
61319         * gmon/Makefile: Likewise.
61320         * po/Makefile: Likewise.
61321         * rt/Makefile: Likewise.
61322         * socket/Makefile: Likewise.
61323         * math/Makefile: Likewise.
61324         * signal/Makefile: Likewise.
61325         * debug/Makefile: Likewise.
61326         * elf/Makefile: Likewise.
61327         * timezone/Makefile: Likewise.
61328         * stdlib/Makefile: Likewise.
61329         * iconvdata/Makefile: Likewise.
61330         * sunrpc/Makefile: Likewise.
61331         * io/Makefile: Likewise.
61332         * argp/Makefile: Likewise.
61333         * inet/Makefile: Likewise.
61334         * hesiod/Makefile: Likewise.
61335         * grp/Makefile: Likewise.
61336         * csu/Makefile: Likewise.
61337         * wctype/Makefile: Likewise.
61338         * crypt/Makefile: Likewise.
61339         * libio/Makefile: Likewise.
61340         * string/Makefile: Likewise.
61341         * nis/Makefile: Likewise.
61342         * resolv/Makefile: Likewise.
61343         * stdio-common/Makefile: Likewise.
61344         * wcsmbs/Makefile: Likewise.
61345         * dlfcn/Makefile: Likewise.
61346         * posix/Makefile: Likewise.
61348         [BZ #6959]
61349         * timezone/Makefile: Don't install timezone files, just the programs
61350         and scripts.
61352 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61354         * nss/databases.def: Add missing gshadow entry.
61356         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61358 2012-03-06  Marek Polacek  <polacek@redhat.com>
61360         [BZ #13726]
61361         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61362         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61363         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61364         * stdio-common/tst-long-dbl-fphex.c: New file.
61366 2012-03-06  David S. Miller  <davem@davemloft.net>
61368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61369         (set_obp_int): New function.
61370         (get_obp_int): New function.
61371         (__get_clockfreq_via_dev_openprom): Likewise.
61372         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61373         Avoid unused variable warnings on 'val' and use builtin_expect.
61374         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61375         __builtin_expect.
61376         (INLINE_CLONE_SYSCALL): Likewise.
61378 2012-03-05  David S. Miller  <davem@davemloft.net>
61380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61382 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61386         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61387         only for |x| >= 40.
61388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61390 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61393         Replace gettimeofday with __vdso_gettimeofday.
61395         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61396         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61397         __vdso_clock_gettime and __vdso_getcpu.
61399         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61400         time with __vdso_time.
61402 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61404         * manual/lang.texi (size_t): Note types to which size_t may be
61405         equivalent with the GNU C Library, but do not describe when
61406         differences between them are significant.
61408 2012-03-05  Andreas Jaeger  <aj@suse.de>
61410         * sysdeps/i386/fpu/libm-test-ulps: Update.
61412 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61414         [BZ #3976]
61415         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61416         (__ieee754_pow): Save and restore rounding mode and use
61417         round-to-nearest for main computations.
61418         * math/libm-test.inc (pow_test_tonearest): New function.
61419         (pow_test_towardzero): Likewise.
61420         (pow_test_downward): Likewise.
61421         (pow_test_upward): Likewise.
61422         (main): Call the new functions.
61423         * sysdeps/i386/fpu/libm-test-ulps: Update.
61424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61426         [BZ #3976]
61427         * math/libm-test.inc (cosh_test_tonearest): New function.
61428         (cosh_test_towardzero): Likewise.
61429         (cosh_test_downward): Likewise.
61430         (cosh_test_upward): Likewise.
61431         (sinh_test_tonearest): Likewise.
61432         (sinh_test_towardzero): Likewise.
61433         (sinh_test_downward): Likewise.
61434         (sinh_test_upward): Likewise.
61435         (main): Call the new functions.
61436         * sysdeps/i386/fpu/libm-test-ulps: Update.
61437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61439 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61441         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61442         default stack guard is set in last bytes.
61443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61445 2012-03-05  Kees Cook  <keescook@chromium.org>
61447         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61449         [BZ #13656]
61450         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61451         possibly allocate from heap instead of stack.
61452         * stdio-common/bug-vfprintf-nargs.c: New file.
61453         * stdio-common/Makefile (tests): Add nargs overflow test.
61455 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61459 2012-03-03  Marek Polacek  <polacek@redhat.com>
61461         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61462         * math/math_private.h: Likewise.
61463         * stdlib/tst-strtod.c: Likewise.
61464         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61465         * sysdeps/x86_64/bits/atomic.h: Likewise.
61467 2012-03-02  David S. Miller  <davem@davemloft.net>
61469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61473         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61474         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61475         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61476         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61478 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61480         [BZ #13792]
61481         * manual/examples/README: New file, says the example source files
61482         can be used under GPL>=2.
61483         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61484         line containing just "*/".
61485         * manual/examples/add.c: Add copyright header (GPL>=2).
61486         * manual/examples/argp-ex1.c: Likewise.
61487         * manual/examples/argp-ex2.c: Likewise.
61488         * manual/examples/argp-ex3.c: Likewise.
61489         * manual/examples/argp-ex4.c: Likewise.
61490         * manual/examples/atexit.c: Likewise.
61491         * manual/examples/db.c: Likewise.
61492         * manual/examples/dir.c: Likewise.
61493         * manual/examples/dir2.c: Likewise.
61494         * manual/examples/execinfo.c: Likewise.
61495         * manual/examples/filecli.c: Likewise.
61496         * manual/examples/filesrv.c: Likewise.
61497         * manual/examples/fmtmsgexpl.c: Likewise.
61498         * manual/examples/genpass.c: Likewise.
61499         * manual/examples/inetcli.c: Likewise.
61500         * manual/examples/inetsrv.c: Likewise.
61501         * manual/examples/isockad.c: Likewise.
61502         * manual/examples/longopt.c: Likewise.
61503         * manual/examples/memopen.c: Likewise.
61504         * manual/examples/memstrm.c: Likewise.
61505         * manual/examples/mkfsock.c: Likewise.
61506         * manual/examples/mkisock.c: Likewise.
61507         * manual/examples/mygetpass.c: Likewise.
61508         * manual/examples/pipe.c: Likewise.
61509         * manual/examples/popen.c: Likewise.
61510         * manual/examples/rprintf.c: Likewise.
61511         * manual/examples/search.c: Likewise.
61512         * manual/examples/select.c: Likewise.
61513         * manual/examples/setjmp.c: Likewise.
61514         * manual/examples/sigh1.c: Likewise.
61515         * manual/examples/sigusr.c: Likewise.
61516         * manual/examples/stpcpy.c: Likewise.
61517         * manual/examples/strdupa.c: Likewise.
61518         * manual/examples/strftim.c: Likewise.
61519         * manual/examples/strncat.c: Likewise.
61520         * manual/examples/subopt.c: Likewise.
61521         * manual/examples/swapcontext.c: Likewise.
61522         * manual/examples/termios.c: Likewise.
61523         * manual/examples/testopt.c: Likewise.
61524         * manual/examples/testpass.c: Likewise.
61525         * manual/examples/timeval_subtract.c: Likewise.
61527         [BZ #13792]
61528         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61529         function to ...
61530         * manual/timeval_subtract.c.texi: ... here, new file.
61532 2012-03-02  David S. Miller  <davem@davemloft.net>
61534         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61536 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61538         [BZ #3976]
61539         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61540         (__sin): Save and restore rounding mode and use round-to-nearest
61541         for all computations.
61542         (__cos): Save and restore rounding mode and use round-to-nearest
61543         for all computations.
61544         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61545         <fenv.h>.
61546         (tan): Save and restore rounding mode and use round-to-nearest for
61547         all computations.
61548         * math/libm-test.inc (cos_test_tonearest): New function.
61549         (cos_test_towardzero): Likewise.
61550         (cos_test_downward): Likewise.
61551         (cos_test_upward): Likewise.
61552         (sin_test_tonearest): Likewise.
61553         (sin_test_towardzero): Likewise.
61554         (sin_test_downward): Likewise.
61555         (sin_test_upward): Likewise.
61556         (tan_test_tonearest): Likewise.
61557         (tan_test_towardzero): Likewise.
61558         (tan_test_downward): Likewise.
61559         (tan_test_upward): Likewise.
61560         (main): Call the new functions.
61561         * sysdeps/i386/fpu/libm-test-ulps: Update.
61562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61564         [BZ #10135]
61565         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61566         small n, then large n, before computing and testing k+n.
61567         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61568         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61569         Likewise.
61570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61571         Likewise.
61572         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61573         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61578         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61579         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61580         * math/libm-test.inc (scalbn_test): Add more tests.
61581         (scalbln_test): Likewise.
61583         * manual/filesys.texi (mode_t): Describe constraints on size and
61584         signedness, not exact equivalence to a particular type.
61585         (ino_t): Likewise.
61586         (ino64_t): Likewise.
61587         (dev_t): Likewise.
61588         (nlink_t): Likewise.
61589         (blkcnt_t): Likewise.
61590         (blkcnt64_t): Likewise.
61591         * manual/llio.texi (off_t): Likewise.
61593         [BZ #3976]
61594         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61595         (__ieee754_exp): Save and restore rounding mode and use
61596         round-to-nearest for all computations.
61597         * math/libm-test.inc (exp_test_tonearest): New function.
61598         (exp_test_towardzero): Likewise.
61599         (exp_test_downward): Likewise.
61600         (exp_test_upward): Likewise.
61601         (main): Call the new functions.
61602         * sysdeps/i386/fpu/libm-test-ulps: Update.
61603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61605 2012-03-01  Chris Demetriou  <cgd@google.com>
61607         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61608         have predictable order.
61610 2012-03-01  David S. Miller  <davem@davemloft.net>
61612         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61614         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61615         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61616         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61617         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61619         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61620         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61621         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61623         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61624         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61625         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61626         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61627         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61631         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61632         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61633         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61635         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61636         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61637         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61638         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61639         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61640         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61642         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61643         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61644         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61645         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61646         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61648         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61649         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61651         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61652         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61653         * sysdeps/sparc/elf/configure: Regenerated.
61655 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61657         * configure.in (AS, LD): Require binutils 2.20 or later.
61658         * configure: Regenerated.
61659         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61660         as required minimum version.
61661         * INSTALL: Regenerated.
61663         [BZ #2541]
61664         [BZ #4108]
61665         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61666         before squaring exponent.
61667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61668         bottom long double and 27 bits of top long double before squaring
61669         exponent.
61670         * math/libm-test.inc (erfc_test): Add more tests.
61671         * sysdeps/i386/fpu/libm-test-ulps: Update.
61672         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61675 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61677         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61678         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61679         containing bit-fields.
61680         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61681         * soft-fp/single.h (_FP_UNION_S): Likewise.
61682         * soft-fp/double.h (_FP_UNION_D): Likewise.
61684 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61686         [BZ #13786]
61687         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61688         not include ../strcmp.S.
61689         [USE_AS_STRNCASECMP_L]: Likewise.
61690         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61691         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61692         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61693         (__strncasecmp_l_ia32): Define as alias to
61694         __strncasecmp_l_nonascii.
61696         [BZ #5794]
61697         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61698         * sysdeps/i386/fpu/libm-test-ulps: Update.
61699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61701         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61704 2012-02-29  Jeff Law  <law@redhat.com>
61706         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61707         out of bounds read.
61709 2012-02-29  Marek Polacek  <polacek@redhat.com>
61711         [BZ #13706]
61712         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61713         * elf/Makefile: Add rules to run tst-unused-dep.out.
61715 2012-02-28  David S. Miller  <davem@davemloft.net>
61717         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61718         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61719         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61720         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61721         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61722         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61724 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61726         * math/libm-test.inc (llround_test): Move one test from
61727         lround_test.  Use TEST_f_L in moved test.
61728         (lround_test): Move misplaced test to llround_test.  Add testcase
61729         from bug 2561.
61731 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61733         * sysdeps/x86_64/fpu/e_expf.S: New file.
61734         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61736 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61738         [BZ #13637]
61739         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61740         of remain_len that may cause incomplete multi-byte character and
61741         false match.
61742         * posix/bug-regex33.c: New file.
61743         * posix/Makefile (tests): Add bug-regex33.
61745 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61747         * manual/macros.texi: New file.
61748         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61749         * manual/libc.texinfo: Include macros.texi.
61750         * manual/creatute.texi: Likewise.
61751         * manual/install.texi: Likewise.
61752         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61753         @glibcadj{} in references to the GNU C Library.
61754         * manual/charset.texi: Likewise.
61755         * manual/conf.texi: Likewise.
61756         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61757         when not using those macros.
61758         * manual/creature.texi: Likewise.
61759         * manual/crypt.texi: Likewise.
61760         * manual/errno.texi: Likewise.
61761         * manual/filesys.texi: Likewise.
61762         * manual/header.texi: Likewise.
61763         * manual/install.texi: Likewise.
61764         * manual/intro.texi: Likewise.
61765         * manual/io.texi: Likewise.
61766         * manual/job.texi: Likewise.
61767         * manual/lang.texi: Likewise.
61768         * manual/libc.texiinfo: Likewise.
61769         * manual/llio.texi: Likewise.
61770         * manual/locale.texi: Likewise.
61771         * manual/maint.texi: Likewise.
61772         * manual/math.texi: Likewise.
61773         * manual/memory.texi: Likewise.
61774         * manual/message.texi: Likewise.
61775         * manual/nss.texi: Likewise.
61776         * manual/pattern.texi: Likewise.
61777         * manual/process.texi: Likewise.
61778         * manual/resource.texi: Likewise.
61779         * manual/search.texi: Likewise.
61780         * manual/setjmp.texi: Likewise.
61781         * manual/signal.texi: Likewise.
61782         * manual/socket.texi: Likewise.
61783         * manual/startup.texi: Likewise.
61784         * manual/stdio.texi: Likewise.
61785         * manual/string.texi: Likewise.
61786         * manual/sysinfo.texi: Likewise.
61787         * manual/syslog.texi: Likewise.
61788         * manual/terminal.texi: Likewise.
61789         * manual/time.texi: Likewise.
61790         * manual/users.texi: Likewise.
61791         * INSTALL: Regenerated.
61792         * NOTES: Regenerated.
61793         * sysdeps/gnu/errlist.c: Regenerated.
61795 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61797         * include/dirent.h: Include <dirstream.h> before
61798         <dirent/dirent.h>.
61800 2012-02-28  David S. Miller  <davem@davemloft.net>
61802         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61803         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61804         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61805         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61807 2012-02-27  David S. Miller  <davem@davemloft.net>
61809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61811         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61812         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61815         frame pointer instead of stack pointer relative arg slot.
61816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61817         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61818         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61820 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61822         [BZ #3992]
61823         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61825 2012-02-27  David S. Miller  <davem@davemloft.net>
61827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61831         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61832         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61833         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61834         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61836 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61838         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61839         later.  Allow versions 5-9.
61840         * configure: Regenerated.
61841         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61842         required minimum version and 4.6 as recommended version.  Do not
61843         mention bugs in GCC 2.7 and 2.8.
61844         * INSTALL: Regenerated.
61846 2012-02-27  David S. Miller  <davem@davemloft.net>
61848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61852         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61853         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61854         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61855         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61857         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61858         manipulate bits before adding and subtracting TWO112[sx].
61859         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61861 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61863         [BZ #13775]
61864         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61865         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61866         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61867         being in POSIX, because they are in 1003.1-2008.
61869         * rt/tst-aio.c: Include <fcntl.h>.
61870         * rt/tst-aio7.c: Likewise.
61871         * rt/tst-aio64.c: Likewise.
61873         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61875 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61877         * manual/install.texi (--with-headers): Describe headers as
61878         interface headers, not private headers.
61879         (Specific advice for GNU/Linux systems): Describe use of headers
61880         from "make headers_install", not private headers from older
61881         kernels.
61882         * INSTALL: Regenerated.
61883         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61884         Change to 2.6.19.
61885         * sysdeps/unix/sysv/linux/configure: Regenerated.
61887         * manual/llio.texi (fclean): Remove documentation.
61889         * manual/Makefile (libc-texi-generated): New variable.  Include
61890         version.texi.
61891         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61892         $(libc-texi-generated), not duplicated list of files.
61893         (version.texi, stamp-version): New rules.
61894         (realclean): Remove $(libc-texi-generated), not individual files
61895         from that list.  Do not remove dir-add.texinfo.
61896         * manual/libc.texinfo: Comment out uses of edition numbers and
61897         references to printed manual.  Remove last-updated dates.
61898         (EDITION): Comment out.
61899         (ISBN): Likewise.
61900         (VERSION, UPDATED): Remove.
61901         (version.texi): Include.
61903 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61905         * sysdeps/posix/spawni.c: Include <signal.h>.
61906         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61907         * sysdeps/pthread/aio_fsync.c: Likewise.
61909 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61911         * conform/Makefile (tests): Run only when not cross-compiling and
61912         when fast-check is not defined.
61914         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61915         * conform/data/limits.h-data: Fixes for POSIX2008.
61916         * conform/run-conformtest.sh: Run all tests.
61917         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61918         headers.
61919         * include/bits/dlfcn.h: Likewise.
61920         * include/langinfo.h: Likewise.
61921         * include/monetary.h: Likewise.
61922         * include/sys/poll.h: Likewise.
61924         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61925         for __USE_GNU.
61926         * posix/spawn.h: Define __need_sigset_t.
61927         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61928         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61929         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61930         to get sigevent_t only.
61931         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61932         only for __USE_GNU.
61933         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61934         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61935         process_vm_writev only for __USE_GNU.
61936         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61938         * conform/Makefile: For now ignore errors from run-conformtest.
61939         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61940         POSIX to avoid namespace pollution.  Don't prepend headers.
61941         * conform/data/aio.h-data: Fixes for POSIX testing.
61942         * conform/data/fcntl.h-data: Likewise.
61943         * conform/data/glob.h-data: Likewise.
61944         * conform/data/grp.h-data: Likewise.
61945         * conform/data/pthread.h-data: Likewise.
61946         * conform/data/pwd.h-data: Likewise.
61947         * conform/data/signal.h-data: Likewise.
61948         * conform/data/spawn.h-data: Likewise.
61949         * conform/data/stdio.h-data: Likewise.
61950         * conform/data/stdlib.h-data: Likewise.
61951         * conform/data/stropts.h-data: Likewise.
61952         * conform/data/sys/mman.h-data: Likewise.
61953         * conform/data/sys/stat.h-data: Likewise.
61954         * conform/data/sys/types.h-data: Likewise.
61955         * conform/data/sys/wait.h-data: Likewise.
61956         * conform/data/time.h-data: Likewise.
61957         * conform/data/unistd.h-data: Likewise.
61958         * conform/data/utime.h-data: Likewise.
61960         * io/sys/stat.h: fchmod was always in POSIX.
61961         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61962         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61963         * rt/aio.h: Define __need_timespec before including <time.h>.
61964         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61965         struct.  Add forward declaration of pthread_attr_t and use it in
61966         sigevent.
61967         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61968         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61969         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61970         always remove CLK_TCK definition.
61972 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61974         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61976 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61978         * conform/run-conformtest.sh: New file.
61979         * conform/Makefile: Run run-conformtest for tests.
61980         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61981         support.
61983         * conform/data/uchar.h-data: New file.
61984         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61985         * conform/data/arpa/inet.h-data: Likewise.
61986         * conform/data/assert.h-data: Likewise.
61987         * conform/data/complex.h-data: Likewise.
61988         * conform/data/cpio.h-data: Likewise.
61989         * conform/data/ctype.h-data: Likewise.
61990         * conform/data/dirent.h-data: Likewise.
61991         * conform/data/dlfcn.h-data: Likewise.
61992         * conform/data/errno.h-data: Likewise.
61993         * conform/data/fcntl.h-data: Likewise.
61994         * conform/data/float.h-data: Likewise.
61995         * conform/data/fmtmsg.h-data: Likewise.
61996         * conform/data/fnmatch.h-data: Likewise.
61997         * conform/data/ftw.h-data: Likewise.
61998         * conform/data/glob.h-data: Likewise.
61999         * conform/data/grp.h-data: Likewise.
62000         * conform/data/iconv.h-data: Likewise.
62001         * conform/data/inttypes.h-data: Likewise.
62002         * conform/data/langinfo.h-data: Likewise.
62003         * conform/data/libgen.h-data: Likewise.
62004         * conform/data/limits.h-data: Likewise.
62005         * conform/data/locale.h-data: Likewise.
62006         * conform/data/math.h-data: Likewise.
62007         * conform/data/monetary.h-data: Likewise.
62008         * conform/data/mqueue.h-data: Likewise.
62009         * conform/data/ndbm.h-data: Likewise.
62010         * conform/data/net/if.h-data: Likewise.
62011         * conform/data/netdb.h-data: Likewise.
62012         * conform/data/netinet/in.h-data: Likewise.
62013         * conform/data/nl_types.h-data: Likewise.
62014         * conform/data/poll.h-data: Likewise.
62015         * conform/data/pthread.h-data: Likewise.
62016         * conform/data/pwd.h-data: Likewise.
62017         * conform/data/regex.h-data: Likewise.
62018         * conform/data/sched.h-data: Likewise.
62019         * conform/data/search.h-data: Likewise.
62020         * conform/data/semaphore.h-data: Likewise.
62021         * conform/data/setjmp.h-data: Likewise.
62022         * conform/data/signal.h-data: Likewise.
62023         * conform/data/spawn.h-data: Likewise.
62024         * conform/data/stdarg.h-data: Likewise.
62025         * conform/data/stdio.h-data: Likewise.
62026         * conform/data/stdlib.h-data: Likewise.
62027         * conform/data/string.h-data: Likewise.
62028         * conform/data/strings.h-data: Likewise.
62029         * conform/data/stropts.h-data: Likewise.
62030         * conform/data/sys/ipc.h-data: Likewise.
62031         * conform/data/sys/mman.h-data: Likewise.
62032         * conform/data/sys/msg.h-data: Likewise.
62033         * conform/data/sys/resource.h-data: Likewise.
62034         * conform/data/sys/select.h-data: Likewise.
62035         * conform/data/sys/sem.h-data: Likewise.
62036         * conform/data/sys/shm.h-data: Likewise.
62037         * conform/data/sys/socket.h-data: Likewise.
62038         * conform/data/sys/stat.h-data: Likewise.
62039         * conform/data/sys/statvfs.h-data: Likewise.
62040         * conform/data/sys/time.h-data: Likewise.
62041         * conform/data/sys/timeb.h-data: Likewise.
62042         * conform/data/sys/times.h-data: Likewise.
62043         * conform/data/sys/types.h-data: Likewise.
62044         * conform/data/sys/uio.h-data: Likewise.
62045         * conform/data/sys/un.h-data: Likewise.
62046         * conform/data/sys/utsname.h-data: Likewise.
62047         * conform/data/sys/wait.h-data: Likewise.
62048         * conform/data/syslog.h-data: Likewise.
62049         * conform/data/tar.h-data: Likewise.
62050         * conform/data/termios.h-data: Likewise.
62051         * conform/data/utime.h-data: Likewise.
62052         * conform/data/utmpx.h-data: Likewise.
62053         * conform/data/varargs.h-data: Likewise.
62054         * conform/data/wchar.h-data: Likewise.
62055         * conform/data/wctype.h-data: Likewise.
62056         * conform/data/wordexp.h-data: Likewise.
62058         * include/stropts.h: New file.
62059         * include/uchar.h: New file.
62060         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62061         * include/assert.h: Likewise.
62062         * include/ctype.h: Likewise.
62063         * include/dirent.h: Likewise.
62064         * include/dlfcn.h: Likewise.
62065         * include/fcntl.h: Likewise.
62066         * include/fnmatch.h: Likewise.
62067         * include/glob.h: Likewise.
62068         * include/grp.h: Likewise.
62069         * include/libio.h: Likewise.
62070         * include/locale.h: Likewise.
62071         * include/math.h: Likewise.
62072         * include/net/if.h: Likewise.
62073         * include/netdb.h: Likewise.
62074         * include/netinet/in.h: Likewise.
62075         * include/pthread.h: Likewise.
62076         * include/pwd.h: Likewise.
62077         * include/regex.h: Likewise.
62078         * include/sched.h: Likewise.
62079         * include/search.h: Likewise.
62080         * include/setjmp.h: Likewise.
62081         * include/signal.h: Likewise.
62082         * include/stdio.h: Likewise.
62083         * include/stdlib.h: Likewise.
62084         * include/string.h: Likewise.
62085         * include/sys/cdefs.h: Likewise.
62086         * include/sys/mman.h: Likewise.
62087         * include/sys/msg.h: Likewise.
62088         * include/sys/resource.h: Likewise.
62089         * include/sys/select.h: Likewise.
62090         * include/sys/socket.h: Likewise.
62091         * include/sys/stat.h: Likewise.
62092         * include/sys/statvfs.h: Likewise.
62093         * include/sys/time.h: Likewise.
62094         * include/sys/times.h: Likewise.
62095         * include/sys/uio.h: Likewise.
62096         * include/sys/utsname.h: Likewise.
62097         * include/sys/wait.h: Likewise.
62098         * include/termios.h: Likewise.
62099         * include/time.h: Likewise.
62100         * include/ulimit.h: Likewise.
62101         * include/unistd.h: Likewise.
62102         * include/utime.h: Likewise.
62103         * include/wchar.h: Likewise.
62104         * include/wctype.h: Likewise.
62105         * include/wordexp.h: Likewise.
62107         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62109         * time/time.h: TIME_UTC must be a macro.
62110         Make timespec_get available for ISO C11 only as well.
62112 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62114         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62115         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62117 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62119         * configure.in: Use -o not -a in test for unsupported multi-arch.
62121 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62123         * manual/texinfo.tex: Update to version 2012-01-19.16.
62125 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62127         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62129 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62131         [BZ #13738]
62132         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62133         * manual/fdl-1.3.texi: New file.
62134         * manual/fdl-1.1.texi: File removed.
62136         [BZ #13738]
62137         * manual/libc.texinfo (FDL_VERSION): New @set.
62138         Use it for mention of FDL in cover text.
62139         (Documentation License): Use it in @include file name.
62141 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62142             Roland McGrath  <roland@hack.frob.com>
62144         [BZ #5461]
62145         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62146         (not LONG_LONG_MAX and LONG_LONG_MIN.
62147         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62148         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62149         name.
62150         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62154         [BZ #2547]
62155         [BZ #11365]
62156         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62157         manipulate bits before adding and subtracting TWO23[sx].
62158         * math/libm-test.inc (nearbyint_test): Add more tests.
62160 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62162         [BZ #2548]
62163         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62164         bits before adding and subtracting TWO23[sx].
62165         * math/libm-test.inc (rint_test): Add more tests.
62166         (rint_test_tonearest): Likewise.
62167         (rint_test_towardzero): Likewise.
62168         (rint_test_downward): Likewise.
62169         (rint_test_upward: Likewise.
62171 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62173         [BZ #10110]
62174         * include/stdc-predef.h: New file.  Extracted from features.h.
62175         * include/features.h: Include stdc-predef.h.
62176         * Makefile (headers): Add stdc-predef.h.
62177         * CONFORMANCE (Compiler limitations): Update.
62179 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62181         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62183 2012-02-21  David S. Miller  <davem@davemloft.net>
62185         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62186         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62188 2012-02-20  David S. Miller  <davem@davemloft.net>
62190         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62191         using a normal save/restore sequence, rather than allocating a
62192         dummy stack frame just to store a frame pointer and restore.
62193         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62195 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62197         * manual/install.texi: Fix stray word in line-wrapped comment.
62199 2012-02-20  David S. Miller  <davem@davemloft.net>
62201         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62202         both binutils and gcc support GOTDATA.
62204         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62205         "rd %pc" in the PIC register setup sequences.
62207         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62208         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62209         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62210         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62211         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62213         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62214         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62216         (SYSCALL_ERROR_HANDLER): Likewise.
62217         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62218         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62220         (SYSCALL_ERROR_HANDLER): Likewise.
62222         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62223         (HAVE_GCC_GOTDATA): New.
62224         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62225         relocation support in both binutils and gcc.
62226         * sysdeps/sparc/elf/configure: Regenerate.
62228         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62229         * sysdeps/sparc/sparc32/elf/configure: Delete.
62230         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62231         * sysdeps/sparc/sparc64/elf/configure: Delete.
62232         * sysdeps/sparc/elf/configure.in: New file.
62233         * sysdeps/sparc/elf/configure: Generate.
62235         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62236         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62237         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62238         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62239         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62241 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62243         * manual/install.texi: Do not mention specific glibc version
62244         numbers.
62245         * manual/libc.texinfo (VERSION, UPDATED): Update.
62246         (@copying): Use @copyright{} and range of years.
62248 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62250         [BZ #13695]
62251         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62252         [crti.S not in sysdirs] (generated): Do not append.
62253         [crti.S not in sysdirs] (omit-deps): Likewise.
62254         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62255         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62256         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62257         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62258         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62259         Likewise.
62260         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62261         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62262         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62263         * csu/defs.awk: Remove file.
62264         * sysdeps/generic/initfini.c: Likewise.
62265         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62266         variable.
62267         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62268         Likewise.
62270 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62272         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62273         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62274         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62275         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62276         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62277         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62278         <bits/epoll.h>.
62279         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62280         (__EPOLL_PACKED): Define to empty if not defined by
62281         <bits/epoll.h>.
62282         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62284         bits/epoll.h.
62286 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62288         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62289         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62290         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62291         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62292         <bits/timerfd.h>.
62293         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62295         bits/timerfd.h.
62297 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62299         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62300         in C locale.
62301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62302         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62303         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62306 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62308         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62309         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62311 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62313         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62314         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62315         defined.
62316         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62317         Likewise.
62318         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62319         entry for 2.16.
62321 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62323         * math/w_acos.c: Use non-signaling floating-point comparisons.
62324         * math/w_acosf.c: Likewise.
62325         * math/w_acosh.c: Likewise.
62326         * math/w_acoshf.c: Likewise.
62327         * math/w_acoshl.c: Likewise.
62328         * math/w_acosl.c: Likewise.
62329         * math/w_asin.c: Likewise.
62330         * math/w_asinf.c: Likewise.
62331         * math/w_asinl.c: Likewise.
62332         * math/w_atanh.c: Likewise.
62333         * math/w_atanhf.c: Likewise.
62334         * math/w_atanhl.c: Likewise.
62335         * math/w_exp2.c: Likewise.
62336         * math/w_exp2f.c: Likewise.
62337         * math/w_exp2l.c: Likewise.
62338         * math/w_j0.c: Likewise.
62339         * math/w_j0f.c: Likewise.
62340         * math/w_j0l.c: Likewise.
62341         * math/w_j1.c: Likewise.
62342         * math/w_j1f.c: Likewise.
62343         * math/w_j1l.c: Likewise.
62344         * math/w_jn.c: Likewise.
62345         * math/w_jnf.c: Likewise.
62346         * math/w_log.c: Likewise.
62347         * math/w_log10.c: Likewise.
62348         * math/w_log10f.c: Likewise.
62349         * math/w_log10l.c: Likewise.
62350         * math/w_log2.c: Likewise.
62351         * math/w_log2f.c: Likewise.
62352         * math/w_log2l.c: Likewise.
62353         * math/w_logf.c: Likewise.
62354         * math/w_logl.c: Likewise.
62355         * math/w_sqrt.c: Likewise.
62356         * math/w_sqrtf.c: Likewise.
62357         * math/w_sqrtl.c: Likewise.
62358         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62359         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62360         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62361         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62362         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62364 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62366         [BZ #9739]
62367         * manual/string.texi (strnlen): Use correct parameter name in
62368         equivalent expression.
62370 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62372         [BZ #11174]
62373         * manual/users.texi (seteuid): Consistently use neweuid for
62374         argument name.
62376 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62378         [BZ #13704]
62379         * manual/nss.texi (Services in the NSS configuration): Correct
62380         list of services in example configuration file.
62382 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62384         [BZ #11322]
62385         * manual/arith.texi: Remove statements about negative zero
62386         behaving identically to zero.
62388 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62390         [BZ #5993]
62391         * manual/install.texi: Do not document upgrading from libc5.
62393 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62395         [BZ #4596]
62396         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62398 2012-02-18  David S. Miller  <davem@davemloft.net>
62400         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62401         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62402         %o7 across the call.
62403         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62404         instead.
62405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62406         SETUP_PIC_REG_LEAF.
62407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62408         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62409         * sysdeps/sparc/crtn.S: Likewise.
62411 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62413         * aout/Makefile: Remove.
62415 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62417         [BZ #13058]
62418         * manual/examples/argp-ex1.c (main): Format definition in GNU
62419         style.
62420         * manual/examples/argp-ex2.c (main): Likewise.
62421         * manual/examples/argp-ex3.c (main): Likewise.
62422         * manual/examples/argp-ex4.c (main): Likewise.
62423         * manual/examples/longopt.c (main): Use new-style prototype
62424         definition.
62425         * manual/examples/strncat.c (main): Specify return type and use
62426         (void) for arguments.
62427         * manual/examples/subopt.c (main): Use char **argv argument.
62429 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62431         [BZ #5077]
62432         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62433         rounding modes.
62435 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62437         [BZ #6907]
62438         * manual/string.texi (strchr): Change when strchrnul is
62439         recommended.
62441 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62443         [BZ #174]
62444         * manual/locale.texi (setlocale): Document LOCPATH.
62446 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62448         [BZ #10210]
62449         * manual/process.texi (execle): Move @dots{} before last argument.
62451 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62453         [BZ #12047]
62454         * manual/charset.texi (Generic Charset Conversion): Fix typo
62455         (LC_TYPE -> LC_CTYPE).
62457 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62459         [BZ #5805]
62460         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62461         (scalbnf): Likewise.
62462         (scalbnl): Likewise.
62463         (scalbln): Likewise.
62464         (scalblnf): Likewise.
62465         (scalblnl): Likewise.
62466         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62467         (vwarnx): Likewise.
62468         (verr): Likewise.
62469         (verrx): Likewise.
62470         * manual/filesys.texi (telldir): Use braces around return type.
62471         * manual/llio.texi (mmap): Add space after comma.
62472         (mmap64): Likewise.
62473         * manual/math.texi (jn): Use @var{} on parameter names.
62474         (jnf): Likewise.
62475         (jnl): Likewise.
62476         (yn): Likewise.
62477         (ynf): Likewise.
62478         (ynl): Likewise.
62479         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62480         line.
62481         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62482         "...".
62483         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62484         (sched_get_priority_max): Likewise.
62485         * manual/signal.texi (sigvec): Add space after comma.
62486         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62487         names.
62488         (if_indextoname): Likewise.
62489         (if_freenameindex): Likewise.
62490         (sendto): Use ',' instead of '.' in prototype.
62491         * manual/startup.texi (syscall): Use @dots{} instead of literal
62492         "...".
62493         * manual/stdio.texi (__fpending): Separate initial words of
62494         paragraph from @deftypefun line.
62495         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62496         "...".
62497         (vsyslog): Use @var{} on parameter names.
62498         * manual/terminal.texi (stty): Use @var{} on parameter names.
62499         * manual/users.texi (getutmp): Use @var{} on parameter names.
62500         (getutmpx): Likewise.
62502 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62504         [BZ #6884]
62505         * manual/stdio.texi (fopen): Fix typos in description of
62506         ",ccs=STRING".
62508 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62510         [BZ #4026]
62511         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62512         get clock_id definition.
62514 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62516         [BZ #4822]
62517         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62518         (madvise): Cast every argument to void on its own.
62520 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62522         [BZ #9902]
62523         * manual/startup.texi (Exit Status): Fix typo.
62525 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62527         [BZ #10140]
62528         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62529         * manual/examples/argp-ex2.c: Likewise.
62530         * manual/examples/argp-ex3.c: Likewise.
62532 2012-02-16  Richard Henderson  <rth@redhat.com>
62534         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62535         * sysdeps/s390/s390-32/initfini.c: Remove.
62536         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62537         * sysdeps/s390/s390-64/initfini.c: Remove.
62539 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62541         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62542         compiler output for sysdeps/generic/initfini.c.
62543         * sysdeps/sh/elf/initfini.c: Remove file.
62545 2012-02-16  David S. Miller  <davem@davemloft.net>
62547         [BZ #11494]
62548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62550         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62551         * sysdeps/sparc/crti.S: New file.
62552         * sysdeps/sparc/crtn.S: New file.
62553         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62554         * sysdeps/sparc/sparc64/Makefile: Likewise.
62556 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62558         [BZ #3335]
62559         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62561 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62563         [BZ #4822]
62564         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62566         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62567         (write, read, close): Likewise.
62568         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62570 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62572         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62573         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62574         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62575         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62576         <bits/signalfd.h>.
62577         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62579         bits/signalfd.h.
62581 2012-02-14  Marek Polacek  <polacek@redhat.com>
62583         * sysdeps/x86_64/crti.S: New file.
62584         * sysdeps/x86_64/crtn.S: New file.
62585         * sysdeps/x86_64/elf/initfini.c: Remove file.
62587 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62589         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62590         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62591         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62592         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62593         <bits/inotify.h>.
62594         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62596         bits/inotify.h.
62598 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62600         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62601         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62602         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62603         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62604         <bits/eventfd.h>.
62605         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62607         bits/eventfd.h.
62609 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62611         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62612         __feraiseexcept instead of feraiseexcept.
62614         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62615         nanosleep invocations.
62616         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62617         strings, and add error checking for a nanosleep invocations.
62619 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62621         Replace FSF snail mail address with URLs, as per GNU coding standards.
62622         Most of the snail mail addresses were wrong anyway, and omitting
62623         them makes the source code easier to maintain.  Almost all of the
62624         changes are to license notices and to locale LC_IDENTIFICATION
62625         addresses, except for this one:
62626         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62627         not its snail mail address.
62629 2012-02-09  Richard Henderson  <rth@twiddle.net>
62631         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62632         of kernel-features.h.
62634         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62636 2012-02-08  Marek Polacek  <polacek@redhat.com>
62638         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62639         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62640         * sysdeps/gnu/_G_config.h: Likewise.
62641         * sysdeps/generic/_G_config.h: Likewise.
62643 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62645         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62646         tests.
62647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62649         * sysdeps/powerpc/powerpc32/crti.S: New file.
62650         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62651         * sysdeps/powerpc/powerpc64/crti.S: New file.
62652         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62654         * Makeconfig (have-initfini): Don't set.
62655         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62656         * configure.in (nopic_initfini): Don't substitute.
62657         * config.h.in (HAVE_INITFINI): Don't #undef.
62658         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62659         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62661 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62663         Support crti.S and crtn.S provided directly by architectures.
62664         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62665         [crti.S in sysdirs] (omit-deps): Likewise.
62666         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62667         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62668         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62669         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62670         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62671         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62672         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62673         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62674         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62675         compiler output for sysdeps/generic/initfini.c.
62676         * sysdeps/i386/elf/Makefile: Remove file.
62677         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62679 2012-02-07  Marek Polacek  <polacek@redhat.com>
62681         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62682         * sysdeps/gnu/_G_config.h: Likewise.
62683         * sysdeps/mach/hurd/_G_config.h: Likewise.
62685 2012-02-07  Marek Polacek  <polacek@redhat.com>
62687         * math/Makefile (tests): Add tst-CMPLX2.
62688         * math/tst-CMPLX2.c: New file.
62690 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62692         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62694         * math/libm-test.inc (jn_test): Add missing L suffix.
62696 2012-02-06  Marek Polacek  <polacek@redhat.com>
62698         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62699         * sysdeps/i386/fpu/e_powf.S: Likewise.
62700         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62701         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62702         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62703         * sysdeps/i386/fpu/e_pow.S: Likewise.
62704         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62705         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62706         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62707         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62708         * sysdeps/i386/fpu/e_log2.S: Likewise.
62709         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62710         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62711         * sysdeps/i386/fpu/e_powl.S: Likewise.
62712         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62713         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62714         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62715         * sysdeps/i386/fpu/e_logl.S: Likewise.
62716         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62717         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62718         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62719         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62720         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62721         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62722         * sysdeps/i386/fpu/e_log.S: Likewise.
62723         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62724         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62725         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62726         * sysdeps/i386/fpu/e_logf.S: Likewise.
62727         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62728         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62729         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62730         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62731         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62732         * sysdeps/i386/fpu/e_log10.S: Likewise.
62733         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62734         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62735         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62736         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62737         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62738         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62739         * sysdeps/i386/asm-syntax.h: Likewise.
62740         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62741         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62742         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62743         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62744         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62745         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62746         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62747         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62749         * sysdeps/powerpc/sysdep.h: Likewise.
62750         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62751         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62753 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62755         [BZ #411]
62756         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62758 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62760         * sysdeps/i386/sysdep.h: Include <features.h>.
62761         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62762         version.
62764 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62766         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62767         Define.
62768         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62769         LOAD_PIC_REG_STR.
62771 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62773         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62774         (SETUP_PIC_REG): Use GET_PC_THUNK.
62775         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62776         macro.
62778 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62780         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62781         for non-PIC compilation.
62782         (SETUP_PIC_REG): Add .p2align directive.
62783         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62784         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62785         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62786         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62787         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62788         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62789         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62790         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62791         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62792         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62793         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62794         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62795         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62796         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62797         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62798         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62799         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62800         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62801         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62802         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62803         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62804         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62805         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62806         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62807         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62809         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62810         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62811         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62812         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62813         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62814         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62815         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62816         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62817         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62818         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62819         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62820         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62821         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62822         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62823         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62825 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62827         * math/tst-CMPLX.c: Include <stdio.h>.
62829 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62831         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62832         float.
62833         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62834         * sysdeps/sparc/bits/mathdef.h: Likewise.
62836 2012-01-31  Marek Polacek  <polacek@redhat.com>
62838         * libio/libio.h: Don't define _PARAMS.
62839         * locale/programs/config.h: Don't define PARAMS.
62840         * stdlib/strtol_l.c: Likewise.
62841         (__strtol_l): Remove PARAMS from the prototype.
62843 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62845         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62846         names.  Just use the correct names.  Remove unnecessary wrapper
62847         functions.
62848         * malloc/arena.c: Likewise.
62849         * malloc/hooks.c: Likewise.
62851         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62852         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62853         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62855 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62857         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62858         into tail calls.
62859         (update_get_addr): New function.
62860         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62861         GET_ADDR_MODULE parameter.
62863 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62865         * crypt/cert.c: Remove __STDC__ conditionals.
62866         * crypt/crypt-entry.c: Likewise.
62867         * crypt/crypt_util.c: Likewise.
62868         * libio/filedoalloc.c: Likewise.
62869         * libio/fileops.c: Likewise.
62870         * libio/genops.c: Likewise.
62871         * libio/iofclose.c: Likewise.
62872         * libio/iofdopen.c: Likewise.
62873         * libio/iofopen.c: Likewise.
62874         * libio/iofopen64.c: Likewise.
62875         * libio/iogetdelim.c: Likewise.
62876         * libio/iopopen.c: Likewise.
62877         * libio/obprintf.c: Likewise.
62878         * libio/oldfileops.c: Likewise.
62879         * libio/oldiofclose.c: Likewise.
62880         * libio/oldiofdopen.c: Likewise.
62881         * libio/oldiofopen.c: Likewise.
62882         * libio/oldiopopen.c: Likewise.
62883         * libio/wfiledoalloc.c: Likewise.
62884         * libio/wgenops.c: Likewise.
62885         * locale/programs/xmalloc.c: Likewise.
62886         * misc/syslog.c: Likewise.
62887         * stdio-common/xbug.c: Likewise.
62888         * string/memchr.c: Likewise.
62889         * string/memcmp.c: Likewise.
62890         * string/memrchr.c: Likewise.
62891         * string/rawmemchr.c: Likewise.
62892         * sysdeps/posix/getcwd.c: Likewise.
62893         * time/strftime_l.c: Likewise.
62895 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62897         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62898         * config.make.in (config-cflags-sse2avx): Define.
62899         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62900         Fix typo.
62902 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62904         * scripts/config.guess: Update from upstream config git repository.
62905         * scripts/config.sub: Likewise.
62907 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62909         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62910         (EM_NUM): Update.
62911         (R_TILEPRO_*, R_TILEGX_*): New macros.
62913         * scripts/firstversions.awk: Fix bug in version range handling.
62915         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62917         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62919         * include/sys/epoll.h: New file.
62920         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62921         libc_hidden_def.
62923 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62925         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62926         Avoid unnecessary __WORDSIZE == 64 test.
62927         (fmaxf): Use VEX format if possible.
62928         (fmax): Likewise.
62929         (fminf): Likewise.
62930         (fmin): Likewise.
62932         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62933         * math/math_private.h: Remove libc_fegetround* and
62934         libc_fesetround*.
62935         * sysdeps/i386/configure.in: Check for -msse2avx.
62936         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62937         also if SSE2AVX is defined.
62938         Remove libc_fegetround* and libc_fesetround*.
62939         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62940         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62942         of HAS_YMM_USABLE.
62943         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62944         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62945         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62946         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62947         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62949         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62951 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62953         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62954         size is not set.
62955         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62957 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62959         [BZ #13618]
62960         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62961         relocation.
62962         * Makeconfig (libm): Define.
62963         * elf/Makefile: Add rules to build and run tst-relsort1.
62964         * elf/tst-relsort1.c: New file.
62965         * elf/tst-relsort1mod1.c: New file.
62966         * elf/tst-relsort1mod2.c: New file.
62968 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62970         * math/s_ldexp.c: Remove __STDC__ conditionals.
62971         * math/s_ldexpf.c: Likewise.
62972         * math/s_ldexpl.c: Likewise.
62973         * math/s_nextafter.c: Likewise.
62974         * math/s_nexttowardf.c: Likewise.
62975         * math/s_significand.c: Likewise.
62976         * math/s_significandf.c: Likewise.
62977         * math/s_significandl.c: Likewise.
62978         * math/w_jnl.c: Likewise.
62979         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62980         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62981         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62982         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62983         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62984         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62985         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62986         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62987         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62988         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62989         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62991         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62992         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62993         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62994         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62995         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62996         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62997         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62998         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62999         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63000         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63001         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63002         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63003         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63004         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63005         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63006         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63007         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63008         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63009         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63010         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63011         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63012         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63013         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63014         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63015         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63016         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63017         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63018         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63019         * sysdeps/ieee754/k_standard.c: Likewise.
63020         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63021         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63022         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63023         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63024         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63025         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63027         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63028         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63029         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63030         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63031         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63032         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63033         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63034         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63035         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63036         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63037         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63038         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63039         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63040         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63041         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63042         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63043         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63044         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63045         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63049         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63050         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63053         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63055         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63056         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63058         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63059         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63060         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63062         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63063         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63064         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63065         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63066         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63067         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63068         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63069         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63075         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63076         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63077         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63078         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63080         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63081         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63082         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63084         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63085         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63086         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63087         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63088         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63089         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63090         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63091         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63092         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63093         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63094         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63095         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63096         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63097         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63098         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63099         * sysdeps/ieee754/s_matherr.c: Likewise.
63100         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63101         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63105 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63107         * crypt/md5.h: Remove __STDC__ conditionals.
63108         * libio/libioP.h: Likewise.
63109         * locale/programs/config.h: Likewise.
63110         * sysdeps/generic/sysdep.h: Likewise.
63111         * sysdeps/i386/asm-syntax.h: Likewise.
63112         * sysdeps/s390/asm-syntax.h: Likewise.
63113         * sysdeps/unix/sysdep.h: Likewise.
63114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63117 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63119         * libio/libio.h: Remove __STDC__ conditionals.
63120         * malloc/obstack.h: Likewise.
63121         * math/complex.h: Likewise.
63122         * math/math.h: Likewise.
63123         * sysdeps/generic/_G_config.h: Likewise.
63124         * sysdeps/gnu/_G_config.h: Likewise.
63125         * sysdeps/mach/hurd/_G_config.h: Likewise.
63126         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63127         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63128         * sysdeps/sparc/bits/mathdef.h: Likewise.
63130 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63132         [BZ #13583]
63133         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63134         Clean up HAS_* macros.
63135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63136         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63137         possible.
63138         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63139         HAS_AVX.
63140         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63141         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63142         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63143         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63144         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63146 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63148         * elf/tst-unique3.cc (gets): Remove declaration.
63149         * elf/tst-unique3lib.cc (gets): Likewise.
63150         * elf/tst-unique3lib2.cc (gets): Likewise.
63151         * elf/tst-unique4.cc (gets): Likewise.
63153 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63155         * include/stdio.h: Add C++ protection.  Add gets declarations and
63156         definitions.
63157         * debug/tst-chk1.c: Don't declare gets here.
63158         * stdio-common/tst-gets.c: Likewise.
63160 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63162         * posix/glob: Remove directory.
63164 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63166         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63168 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63170         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63171         of the non-standard EPFNOSUPPORT.
63173 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63175         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63176         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63177         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63179 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63181         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63183 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63185         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63186         transient errors.
63187         * nscd/grpcache.c (cache_addgr): Likewise.
63188         * nscd/hstcache.c (cache_addhst): Likewise.
63189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63190         * nscd/pwdcache.c (cache_addpw): Likewise.
63191         * nscd/servicescache.c (cache_addserv): Likewise.
63193 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63195         * malloc/malloc.c: Various cleanups.
63196         * malloc/hooks.c: Likewise.
63198         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63199         * stdlib/bug-fmtmsg1.c: New file.
63201         * stdlib/fmtmsg.c (init): Add missing unlock.
63202         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63204 2012-01-12  Marek Polacek  <polacek@redhat.com>
63206         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63207         and _GNU_SOURCE.
63209 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63211         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63212         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63213         macro to ensure uniqueness of label name.
63214         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63215         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63217 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63219         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63221         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63222         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63223         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63224         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63226 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63228         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63230         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63231         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63232         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63234         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63236         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63237         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63238         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63241         * math/bits/math-finite.h: Add ldexp support.
63243 2012-01-10  Marek Polacek  <polacek@redhat.com>
63245         * locale/programs/localedef.h (show_archive_content): Add noreturn
63246         attribute.
63248 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63250         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63252 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63254         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63256         * io/Makefile (headers): Add bits/poll2.h.
63258 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63261         typo #include statement.
63263 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63265         * include/sys/cdefs.h: Define __attribute_alloc_size.
63266         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63267         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63268         * elf/pldd.c: Likewise.
63269         * iconv/iconv_charmap.c: Likewise.
63270         * iconv/iconvconfig.c: Likewise.
63271         * iconv/strtab.c: Likewise.
63272         * locale/programs/locale.c: Likewise.
63273         * locale/programs/localedef.h: Likewise.
63274         * locale/programs/simple-hash.c: Likewise.
63275         * nscd/nscd.h: Likewise.
63276         * nss/makedb.c: Likewise.
63277         * sysdeps/generic/ldconfig.h: Likewise.
63278         * locale/programs/localedef.c: Remove xmalloc prototype.
63279         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63281 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63283         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63284         appropriate.
63286 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63288         * math/Makefile (tests): Add tst-CMPLX.
63289         * math/tst-CMPLX.c: New file.
63291         * math/complex.h (CMPLXL): Fix typo.
63293         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63294         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63295         GLIBC_2.16.
63296         * debug/tst-chk1.c: Add poll and ppoll tests.
63297         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63298         * include/sys/poll.h: Add hidden proto for ppoll.
63299         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63300         * sysdeps/mach/hurd/ppoll.c: Likewise.
63301         * io/ppoll.c: Likewise.
63302         * debug/poll_chk.c: New file.
63303         * debug/ppoll_chk.c: New file.
63304         * include/bits/poll2.h: New file.
63305         * io/bits/poll2.h: New file.
63307         [BZ #1350]
63308         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63310         * configure.in: static is always set to yes.  Remove.
63311         * config.make.in: Don't set build-static.
63312         * Makeconfig: Remove use of build-static.
63313         * dlfcn/Makefile: Likewise.
63314         * elf/Makefile: Likewise.
63315         * math/Makefile: Likewise.
63316         * misc/Makefile: Likewise.
63317         * nptl/Makefile: Likewise.
63318         * sysdeps/mach/hurd/Makefile: Likewise.
63320         * configure.in: PWD_P is not used anymore.
63321         * config.make.in: Remove PWD_P entry.
63323         * configure.in: Remove last remnants of RANLIB.
63324         No need to check for signed size_t anymore.
63325         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63326         and IA-64.
63327         Remove __builtin_expect test because we require at least gcc 3.4.
63328         * aclocal.m4: Likewise.
63330         * wcsmbs/mbrtoc16.c: Implement using towc function.
63331         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63332         * wcsmbs/wcsmbsload.c: Likewise.
63333         * iconv/gconv_simple.c: Likewise.
63334         * iconv/gconv_int.h: Likewise.
63335         * iconv/gconv_builtin.h: Likewise.
63336         * iconv/iconv_prog.c: Remove CHAR16 handling.
63338         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63340         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63342         * configure.in: Remove --with-elf and --enable-bounded options.
63343         Dont set base_machine for ia64.  More non-ELF conditions removed.
63344         Remove testing and setting of leading underscore information.
63345         * config.make.in (build-bounded): Set to no.
63346         * config.h.in: Remove NO_UNDERSCORES entry.
63347         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63348         them.
63349         * csu/start.c: Remove !NO_UNDERSCORE code.
63350         * locale/localeinfo.h: Likewise.
63351         * sysdeps/generic/machine-gmon.h: Likewise.
63352         * sysdeps/generic/sysdep.h: Likewise.
63353         * sysdeps/i386/sysdep.h: Likewise.
63354         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63355         * sysdeps/mach/sysdep.h: Likewise.
63356         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63357         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63358         * sysdeps/sh/sysdep.h: Likewise.
63359         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63360         * sysdeps/unix/i386/sysdep.S: Likewise.
63361         * sysdeps/unix/sparc/start.c: Likewise.
63362         * sysdeps/unix/sparc/sysdep.S: Likewise.
63363         * sysdeps/unix/sparc/sysdep.h: Likewise.
63364         * sysdeps/unix/start.c: Likewise.
63365         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63366         * sysdeps/x86_64/sysdep.h: Likewise.
63368 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63370         [BZ #13553]
63371         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63372         for non-gcc.
63373         * argp/argp-fmtstream.h: Use const instead __const.
63374         * argp/argp.h: Likewise.
63375         * assert/assert.h: Likewise.
63376         * bits/fenv.h: Likewise.
63377         * bits/sched.h: Likewise.
63378         * bits/sigset.h: Likewise.
63379         * bits/sigthread.h: Likewise.
63380         * catgets/nl_types.h: Likewise.
63381         * conform/data/pthread.h-data: Likewise.
63382         * crypt/crypt-private.h: Likewise.
63383         * crypt/crypt.h: Likewise.
63384         * crypt/crypt_util.c: Likewise.
63385         * ctype/ctype.h: Likewise.
63386         * debug/execinfo.h: Likewise.
63387         * debug/mbsnrtowcs_chk.c: Likewise.
63388         * debug/mbsrtowcs_chk.c: Likewise.
63389         * debug/wcsnrtombs_chk.c: Likewise.
63390         * debug/wcsrtombs_chk.c: Likewise.
63391         * debug/wcstombs_chk.c: Likewise.
63392         * dirent/dirent.h: Likewise.
63393         * dlfcn/dlfcn.h: Likewise.
63394         * elf/neededtest4.c: Likewise.
63395         * grp/grp.h: Likewise.
63396         * gshadow/gshadow.h: Likewise.
63397         * iconv/gconv.h: Likewise.
63398         * iconv/gconv_int.h: Likewise.
63399         * iconv/gconv_simple.c: Likewise.
63400         * iconv/iconv.h: Likewise.
63401         * iconv/loop.c: Likewise.
63402         * iconv/skeleton.c: Likewise.
63403         * include/aio.h: Likewise.
63404         * include/aliases.h: Likewise.
63405         * include/argz.h: Likewise.
63406         * include/arpa/inet.h: Likewise.
63407         * include/assert.h: Likewise.
63408         * include/dirent.h: Likewise.
63409         * include/dlfcn.h: Likewise.
63410         * include/execinfo.h: Likewise.
63411         * include/fcntl.h: Likewise.
63412         * include/fenv.h: Likewise.
63413         * include/glob.h: Likewise.
63414         * include/grp.h: Likewise.
63415         * include/libintl.h: Likewise.
63416         * include/mntent.h: Likewise.
63417         * include/netdb.h: Likewise.
63418         * include/pwd.h: Likewise.
63419         * include/rpc/netdb.h: Likewise.
63420         * include/sched.h: Likewise.
63421         * include/search.h: Likewise.
63422         * include/shadow.h: Likewise.
63423         * include/signal.h: Likewise.
63424         * include/stdio.h: Likewise.
63425         * include/stdlib.h: Likewise.
63426         * include/string.h: Likewise.
63427         * include/sys/socket.h: Likewise.
63428         * include/sys/stat.h: Likewise.
63429         * include/sys/statfs.h: Likewise.
63430         * include/sys/statvfs.h: Likewise.
63431         * include/sys/syslog.h: Likewise.
63432         * include/sys/time.h: Likewise.
63433         * include/sys/uio.h: Likewise.
63434         * include/time.h: Likewise.
63435         * include/unistd.h: Likewise.
63436         * include/utmp.h: Likewise.
63437         * include/wchar.h: Likewise.
63438         * include/wctype.h: Likewise.
63439         * inet/aliases.h: Likewise.
63440         * inet/arpa/inet.h: Likewise.
63441         * inet/netinet/ether.h: Likewise.
63442         * inet/netinet/in.h: Likewise.
63443         * intl/libintl.h: Likewise.
63444         * io/bits/fcntl2.h: Likewise.
63445         * io/fcntl.h: Likewise.
63446         * io/ftw.h: Likewise.
63447         * io/sys/poll.h: Likewise.
63448         * io/sys/stat.h: Likewise.
63449         * io/sys/statfs.h: Likewise.
63450         * io/sys/statvfs.h: Likewise.
63451         * io/utime.h: Likewise.
63452         * libio/bits/stdio.h: Likewise.
63453         * libio/bits/stdio2.h: Likewise.
63454         * libio/libio.h: Likewise.
63455         * libio/libioP.h: Likewise.
63456         * libio/stdio.h: Likewise.
63457         * locale/lc-ctype.c: Likewise.
63458         * locale/locale.h: Likewise.
63459         * login/utmp.h: Likewise.
63460         * malloc/arena.c: Likewise.
63461         * malloc/malloc.c: Likewise.
63462         * malloc/malloc.h: Likewise.
63463         * malloc/mcheck.c: Likewise.
63464         * malloc/mtrace.c: Likewise.
63465         * math/bits/mathcalls.h: Likewise.
63466         * math/fenv.h: Likewise.
63467         * math/math_private.h: Likewise.
63468         * misc/bits/error.h: Likewise.
63469         * misc/bits/syslog.h: Likewise.
63470         * misc/err.h: Likewise.
63471         * misc/error.h: Likewise.
63472         * misc/fstab.h: Likewise.
63473         * misc/mntent.h: Likewise.
63474         * misc/regexp.h: Likewise.
63475         * misc/search.h: Likewise.
63476         * misc/sgtty.h: Likewise.
63477         * misc/sys/mman.h: Likewise.
63478         * misc/sys/syslog.h: Likewise.
63479         * misc/sys/uio.h: Likewise.
63480         * misc/sys/xattr.h: Likewise.
63481         * misc/ttyent.h: Likewise.
63482         * nis/rpcsvc/ypclnt.h: Likewise.
63483         * nss/nss.h: Likewise.
63484         * posix/bits/unistd.h: Likewise.
63485         * posix/fnmatch.h: Likewise.
63486         * posix/glob.h: Likewise.
63487         * posix/sched.h: Likewise.
63488         * posix/spawn.h: Likewise.
63489         * posix/sys/wait.h: Likewise.
63490         * posix/unistd.h: Likewise.
63491         * posix/wordexp.h: Likewise.
63492         * pwd/pwd.h: Likewise.
63493         * resolv/netdb.h: Likewise.
63494         * resource/sys/resource.h: Likewise.
63495         * rt/aio.h: Likewise.
63496         * rt/bits/mqueue2.h: Likewise.
63497         * rt/mqueue.h: Likewise.
63498         * shadow/shadow.h: Likewise.
63499         * signal/signal.h: Likewise.
63500         * socket/send.c: Likewise.
63501         * socket/sendto.c: Likewise.
63502         * socket/sys/socket.h: Likewise.
63503         * stdio-common/printf.h: Likewise.
63504         * stdlib/bits/stdlib.h: Likewise.
63505         * stdlib/fmtmsg.h: Likewise.
63506         * stdlib/monetary.h: Likewise.
63507         * stdlib/stdlib.h: Likewise.
63508         * stdlib/ucontext.h: Likewise.
63509         * streams/stropts.h: Likewise.
63510         * string/argz.h: Likewise.
63511         * string/bits/string2.h: Likewise.
63512         * string/string.h: Likewise.
63513         * string/strings.h: Likewise.
63514         * sunrpc/rpc/auth.h: Likewise.
63515         * sunrpc/rpc/auth_des.h: Likewise.
63516         * sunrpc/rpc/clnt.h: Likewise.
63517         * sunrpc/rpc/netdb.h: Likewise.
63518         * sunrpc/rpc/pmap_clnt.h: Likewise.
63519         * sunrpc/rpc/xdr.h: Likewise.
63520         * sysdeps/generic/inttypes.h: Likewise.
63521         * sysdeps/generic/net/if.h: Likewise.
63522         * sysdeps/generic/sys/swap.h: Likewise.
63523         * sysdeps/gnu/net/if.h: Likewise.
63524         * sysdeps/gnu/utmpx.h: Likewise.
63525         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63526         * sysdeps/i386/i486/bits/string.h: Likewise.
63527         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63528         * sysdeps/s390/bits/string.h: Likewise.
63529         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63530         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63531         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63532         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63533         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63534         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63535         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63536         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63537         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63538         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63539         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63540         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63541         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63542         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63543         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63544         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63545         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63546         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63547         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63548         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63549         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63550         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63551         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63552         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63553         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63554         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63555         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63556         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63557         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63558         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63559         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63560         * sysvipc/sys/ipc.h: Likewise.
63561         * sysvipc/sys/msg.h: Likewise.
63562         * sysvipc/sys/sem.h: Likewise.
63563         * sysvipc/sys/shm.h: Likewise.
63564         * termios/termios.h: Likewise.
63565         * time/sys/time.h: Likewise.
63566         * time/time.h: Likewise.
63567         * wcsmbs/bits/wchar2.h: Likewise.
63568         * wcsmbs/uchar.h: Likewise.
63569         * wcsmbs/wchar.h: Likewise.
63570         * wctype/wctype.h: Likewise.
63572         [BZ #13551]
63573         * Makeconfig: Remove all but ELF support including AIX support.
63574         * Makerules: Likewise.
63575         * config.h.in: Likewise.
63576         * config.make.in: Likewise.
63577         * configure: Likewise.
63578         * configure.in: Likewise.
63579         * csu/Makefile: Likewise.
63580         * csu/version.c: Likewise.
63581         * debug/Makefile: Likewise.
63582         * dlfcn/Makefile: Likewise.
63583         * elf/Makefile: Likewise.
63584         * extra-lib.mk: Likewise.
63585         * iconv/Makefile: Likewise.
63586         * include/libc-symbols.h: Likewise.
63587         * include/shlib-compat.h: Likewise.
63588         * resolv/Makefile: Likewise.
63589         * resolv/res_libc.c: Likewise.
63590         * rt/Makefile: Likewise.
63591         * sysdeps/i386/asm-syntax.h: Likewise.
63592         * sysdeps/i386/sysdep.h: Likewise.
63593         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63594         * sysdeps/mach/sysdep.h: Likewise.
63595         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63596         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63597         * sysdeps/s390/asm-syntax.h: Likewise.
63598         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63599         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63600         * sysdeps/sh/sysdep.h: Likewise.
63601         * sysdeps/unix/sparc/sysdep.h: Likewise.
63602         * sysdeps/wordsize-32/divdi3.c: Likewise.
63603         * sysdeps/x86_64/sysdep.h: Likewise.
63605         * argp/Versions: Remove _argp_unlock_xxx.
63607         [BZ #13559]
63608         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63609         * abilist/libBrokenLocale.abilist: Likewise.
63610         * abilist/libanl.abilist: Likewise.
63611         * abilist/libc.abilist: Likewise.
63612         * abilist/libcrypt.abilist: Likewise.
63613         * abilist/libdl.abilist: Likewise.
63614         * abilist/libm.abilist: Likewise.
63615         * abilist/libnsl.abilist: Likewise.
63616         * abilist/libpthread.abilist: Likewise.
63617         * abilist/libresolv.abilist: Likewise.
63618         * abilist/librt.abilist: Likewise.
63619         * abilist/libthread_db.abilist: Likewise.
63620         * abilist/libutil.abilist: Likewise.
63621         * abilist/libnss_db.abilist: New file.
63623         * scripts/abilist.awk: Add support for indirect functions.
63625         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63627         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63629         * shlib-versions: Remove entries for ports architectures.
63631         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63632         files in ports.
63633         * elf/stackguard-macros.h: Remove support for IA-64.
63634         * elf/tst-auditmod1.c: Likewise.
63635         * sysdeps/generic/ldsodefs.h: Likewise.
63637         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63638         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63639         configure files.
63641         [BZ #13552]
63642         * configure.in: Remove --enable-omitfp support.
63643         * FAQ.in: Adjust.
63644         * config.make.in: Likewise.
63645         * Makeconfig: Likewise.
63646         * manual/install.texi: Likewise.
63648         In case anyone cares, the IA-64 architecture could move to ports.
63649         * sysdeps/ia64/*: Removed.
63650         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63651         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63653         [BZ #13555]
63654         * configure.in: Remove entries for unsupported architectures.
63656         [BZ #13533]
63657         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63658         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63659         routines.
63660         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63661         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63662         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63663         fall back to using wcrtomb.
63664         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63665         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63666         renaming.
63667         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63668         * wcsmbs/tst-c16c32-1.c: New file.
63670         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63671         local variable.
63673         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63675         * elf/tst-unique3.cc: Add explicit declaration of gets.
63676         * elf/tst-unique3lib.cc: Likewise.
63677         * elf/tst-unique3lib2.cc: Likewise.
63678         * elf/tst-unique4.cc: Likewise.
63680         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63682 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63684         [BZ #13566]
63685         * assert/assert.h (static_assert): Don't define for C++.
63686         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63687         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63689 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63691         * iconv/loop.c (single loop): Fix assertion in storing of
63692         remaining bytes.
63694         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63696 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63698         * posix/getconf.c: Update copyright year.
63699         * nss/getent.c: Likewise.
63700         * nss/makedb.c: Likewise.
63701         * iconv/iconvconfig.c: Likewise.
63702         * iconv/iconv_prog.c: Likewise.
63703         * elf/ldconfig.c: Likewise.
63704         * elf/pldd.c: Likewise.
63705         * elf/sotruss.ksh: Likewise.
63706         * catgets/gencat.c: Likewise.
63707         * csu/version.c: Likewise.
63708         * elf/ldd.bash.in: Likewise.
63709         * elf/sprof.c (print_version): Likewise.
63710         * locale/programs/locale.c: Likewise.
63711         * locale/programs/localedef.c: Likewise.
63712         * login/programs/pt_chown.c: Likewise.
63713         * nscd/nscd.c (print_version): Likewise.
63714         * debug/xtrace.sh: Likewise.
63715         * malloc/memusage.sh: Likewise.
63716         * malloc/mtrace.pl: Likewise.
63717         * debug/catchsegv.sh: Likewise.
63719 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63721         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63722         pure attribute.
63724 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63726         [BZ #13533]
63727         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63728         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63729         transformations.
63730         * iconv/gconv_int.h: Likewise.
63731         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63732         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63733         from libc for GLIBC_2.16.
63734         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63735         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63736         * wcsmbs/uchar.h: Really define mbstate_t.
63737         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63738         * wcsmbs/c16rtomb.c: New file.
63739         * wcsmbs/mbrtoc16.c: New file.
63740         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63741         for C/POSIX locale.
63742         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63743         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63745         * wcsmbs/wchar.h: Add missing __restrict.
63747 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63749         [BZ #13532]
63750         * time/Makefile (routines): Add timespec_get.
63751         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63752         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63753         timespec for ISO C11.
63754         * time/timespec_get.c: New file.
63755         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63756         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63758         [BZ #13531]
63759         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63760         * stdlib/stdlib.h: Declare aligned_alloc.
63761         * Versions.def: Add GLIBC_2.16 for libc.
63762         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63764         [BZ 13527]
63765         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63766         ISO C11.
63768         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63769         code.
63771         [BZ #13528]
63772         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63774         [BZ #13529]
63775         * assert/assert.h (static_assert): Define.
63777         * version.h: Update for 2.16 development version.
63779         [BZ #13526]
63780         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63781         _ISOC11_SOURCE.
63783         * version.h (RELEASE): Bump for 2.15 release.
63784         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63786         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63787         Patch by Marek Polacek <mpolacek@redhat.com>.
63789         * bits/byteswap.h: Protect long long constants with __extension__.
63790         * sysdeps/i386/bits/byteswap.h: Likewise.
63791         * sysdeps/ia64/bits/byteswap.h: Likewise.
63792         * sysdeps/s390/bits/byteswap.h: Likewise.
63793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63795 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63797         [BZ #13540]
63798         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63799         destination buffer.
63800         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63802 2011-12-23  Marek Polacek  <polacek@redhat.com>
63804         * elf/dl-addr.c (determine_info): Add inline keyword.
63805         * elf/tst-auditmod4b.c (check_avx): Likewise.
63806         * elf/tst-auditmod6b.c (check_avx): Likewise.
63807         * elf/tst-auditmod6c.c (check_avx): Likewise.
63808         * elf/tst-auditmod7b.c (check_avx): Likewise.
63810 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63812         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63813         !__SSE_MATH__.
63815 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63817         [BZ #13540]
63818         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63819         processing for last bytes.
63821 2011-08-06  Bruno Haible  <bruno@clisp.org>
63823         [BZ #13061]
63824         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63825         U+0385, not to U+1FEE.
63827         [BZ #13062]
63828         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63829         entry for U+00A5 U+0301.
63831 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63833         [BZ #13166]
63834         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63835         buffer for the output is too small.
63837         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63838         optimization.
63840         [BZ #13185]
63841         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63842         SSE flags if possible.
63844 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63846         [BZ #13540]
63847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63848         processing for last bytes.
63850 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63852         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63853         (syscall-list-default-options, syscall-list-default-condition)
63854         (syscall-list-includes): Define.
63855         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63856         list of ABIs and options and #if conditions for each ABI.  Do not
63857         handle common syscalls between ABIs specially.
63858         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63859         Remove.
63860         (syscall-list-variants, syscall-list-32bit-options)
63861         (syscall-list-32bit-condition, syscall-list-64bit-options)
63862         (syscall-list-64bit-condition): Define.
63863         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63864         (syscall-list-variants, syscall-list-32bit-options)
63865         (syscall-list-32bit-condition, syscall-list-64bit-options)
63866         (syscall-list-64bit-condition): Define.
63867         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63868         Remove.
63869         (syscall-list-variants, syscall-list-32bit-options)
63870         (syscall-list-32bit-condition, syscall-list-64bit-options)
63871         (syscall-list-64bit-condition): Define.
63872         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63873         Remove.
63874         (syscall-list-variants, syscall-list-32bit-options)
63875         (syscall-list-32bit-condition, syscall-list-64bit-options)
63876         (syscall-list-64bit-condition): Define.
63878 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63880         * locale/iso-639.def: Add brx entry.
63882         [BZ #13328]
63883         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63884         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63886         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63887         __feraiseexcept_renamed.
63889 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63891         [BZ #13538]
63892         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63893         EPOLLET with unsigned values.
63894         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63895         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63897         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63898         to large cancellation.
63899         * math/s_cacoshf.c: Likewise.
63900         * math/s_cacoshl.c: Likewise.
63902 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63904         [BZ #13305]
63905         [BZ #12786]
63906         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63907         * math/s_cacoshf.c: Likewise.
63908         * math/s_cacoshl.c: Likewise.
63910 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63912         [BZ #13439]
63913         * iconv/gconv.h: Define __GCONV_SWAP.
63914         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63915         * iconvdata/utf-16.c: Likewise.
63916         * iconvdata/utf-32.c: Likewise.
63918 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63920         [BZ #13524]
63921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63922         numerator after shifting it by one limb.
63924 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63926         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63927         under [__USE_EXTERN_INLINES].
63929 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63931         [BZ #13446]
63932         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63934 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63936         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63937         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63938         optimized code.
63939         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63940         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63941         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63942         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63943         for strncasecmp/strncasecmp_l compilation.
63944         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63945         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63947 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63949         [BZ #13484]
63950         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63951         of __asm__.
63953 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63955         [BZ #13506]
63956         * time/tzfile.c (__tzfile_read): Check values from file header.
63958 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63960         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63961         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63962         * powerpc/powerpc32/dl-start.S: Likewise.
63963         * powerpc/powerpc32/elf/start.S: Likewise.
63964         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63965         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63966         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63967         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63968         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63969         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63970         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63971         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63972         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63973         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63974         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63975         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63976         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63977         * powerpc/powerpc32/memset.S: Likewise.
63978         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63979         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63980         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63981         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63982         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63983         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63984         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63985         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63986         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63987         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63988         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63989         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63990         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63992 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63994         * math/libm-test.inc: Added more nearbyint tests.
63995         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63997         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64000 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64002         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64003         FD_CLOEXEC.
64005 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64007         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64008         Add wcscpy-ssse3 wcscpy-c.
64009         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64010         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64011         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64012         * sysdeps/x86_64/wcschr.S: New file.
64013         * sysdeps/x86_64/wcsrchr.S: New file.
64014         * string/test-strcmp.c: Remove checking of wcscmp function for
64015         wrong alignments.
64016         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64017         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64018         wcsrchr-sse2 wcsrchr-c.
64019         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64020         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64021         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64022         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64023         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64024         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64025         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64026         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64027         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64028         * wcsmbc/wcschr.c (WCSCHR): New macro.
64030 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64032         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64033         * wcsmbs/test-wcsrchr.c: New file.
64034         * string/test-strrchr.c: Add wcsrchr support.
64035         (WIDE): New macro.
64036         * wcsmbs/test-wcscpy.c: New file.
64037         * string/test-strcpy.c: Add wcscpy support.
64038         (WIDE): New macro.
64040 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64042         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64043         the inner loop.
64045 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64047         [BZ #13472]
64048         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64050 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64052         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64053         Minor optimizations.
64055         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64056         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64057         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64059 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64061         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64062         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64063         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64064         for gcc to avoid warnings.
64065         * inet/Makefile (tests): Add tst-checks.
64066         * inet/tst-checks.c: New file.
64068         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64069         warning.
64071         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64072         __wmemcmp_sse2.
64074         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64075         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64077         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64079 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64081         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64082         problem.
64084         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64086 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64088         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64089         conditional on GCC version.
64090         (__arch_compare_and_exchange_val_8_acq)
64091         (__arch_compare_and_exchange_val_16_acq)
64092         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64093         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64094         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64096 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64098         * sysdeps/sh/backtrace.c: New file.
64100 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64102         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64103         parenthesis.
64105 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64107         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64108         falling back to utime.
64110 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64112         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64113         expectations for float.
64115 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64117         * locale/weight.h (findidx): Add parameter len.
64118         * locale/weightwc.h (findidx): Likewise.
64119         * posix/fnmatch_loop.c (FCT): Adjust caller.
64120         * posix/regcomp.c (build_equiv_class): Likewise.
64121         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64122         * posix/regexec.c (check_node_accept_bytes): Likewise.
64123         * string/strcoll_l.c (STRCOLL): Likewise.
64124         * string/strxfrm_l.c (STRXFRM): Likewise.
64126 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64128         * Makefile.in: Remove CVSOPT handling.
64129         * configure.in: Remove use of AC_REVISION.
64130         * iconvdata/Makefile (distribute): No need to filter out CVS.
64131         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64132         handling.
64134 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64137         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64138         [USE_AS_STRNCASECMP_L]: Likewise.
64139         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64140         NO_TLS_DIRECT_SEG_REFS.
64141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64142         Fix argument offsets for non-PIC.
64143         [USE_AS_STRNCASECMP_L]: Likewise.
64144         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64145         NO_TLS_DIRECT_SEG_REFS.
64147 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64149         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64150         O_CLOEXEC.
64151         * locale/loadlocale.c (_nl_load_locale): Likewise.
64153 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64155         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64156         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64157         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64158         (SYSCALL_GETTIME): Set errno on error.
64160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64161         count references to noai6ai_cached.
64163 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64165         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64167         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64168         FD_CLOEXEC for /proc/self/maps.
64170         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64171         FD_CLOEXEC for /proc/meminfo.
64173         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64174         gai.conf.
64176         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64177         FD_CLOEXEC for given file.
64179         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64181         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64182         FD_CLOEXEC for /etc/hosts.
64183         (_gethtent): Likewise.
64185         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64187         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64188         cancellation and set FD_CLOEXEC for /etc/netgroup.
64190         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64191         reading /etc/publickey.
64193         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64194         allow cancellation when reading /etc/group.
64196         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64197         cancellation.
64198         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64200         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64201         when using data file.
64203         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64205         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64206         (write_nis_obj): Use "c" and "e" in fopen.
64208         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64210         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64212         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64214         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64216         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64217         locale.alias.
64219         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64221         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64223         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64225         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64226         file parsing and set FD_CLOEXEC.
64228 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64230         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64232 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64234         * malloc/arena.c (arena_get2): Don't call reused_arena when
64235         _int_new_arena failed.
64237 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64239         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64240         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64241         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64243         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64244         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64245         to compile strcasecmp and strncasecmp.
64246         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64247         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64251 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64253         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64254         locale-defines.sym to gen-as-const-headers.
64255         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64256         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64258         to compile strcasecmp and strncasecmp.
64259         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64260         strcasecmp_l and strncasecmp_l.
64261         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64262         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64263         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64264         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64265         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64266         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64267         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64268         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64269         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64270         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64271         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64273 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64275         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64276         result of SYSDEP_GETTIME_CPU to retval.
64277         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64278         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64280         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64281         variable.
64283         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64284         mantissa words.
64285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64287         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64288         from unused variable.
64290         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64291         DWARF definitions.
64292         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64293         for assembling.
64295         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64296         over namespaces.
64298         * sunrpc/rpc_prot.c (rejected): Fix case value.
64300         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64301         unsigned long long int to avoid warnings in shift.
64303         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64304         of use of trans.
64305         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64306         variable tmp.
64308         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64309         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64310         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64312         * nis/nis_table.c (nis_list): Use variable of correct type for
64313         result of __follow_path call.
64315 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64317         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64318         of math functions ceil, trunc, floor, round, and sqrt, when
64319         avaliable on the platform.
64320         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64321         name clash.
64322         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64323         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64324         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64326 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64328         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64329         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64331 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64333         * include/unistd.h: Fix __readlink return type.
64334         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64336 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64338         * stdlib/ucontext.h: Undo last change for makecontext.
64340 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64342         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64344         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64345         * setjmp/setjmp.h: Mark functions as non-leaf.
64346         * setjmp/bits/setjmp2.h: Likewise.
64347         * stdlib/ucontext.h: Likewise.
64349 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64351         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64352         (reused_arena): Don't check arena limit.
64353         (arena_get2): Atomically check arena limit.
64355 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64357         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64358         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64360         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64361         instructions.
64363 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64365         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64366         handler when locking.
64368         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64369         Fix size of allocated buffer.
64371 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64373         [BZ #10103]
64374         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64375         declarations for long double functions.
64376         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64378         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64380 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64382         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64383         installed.
64385         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64386         is disabled.
64388 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64390         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64392 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64394         * include/alloca.h (stackinfo_alloca_round): Define.
64395         (extend_alloca): Use it.
64396         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64397         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64398         here.
64400         * scripts/check-local-headers.sh: Ignore libaudit.h.
64402         * nscd/Makefile (extra-objs): Make recursively expanded.
64404 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64406         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64407         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64409         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64410         * posix/tst-rfc3484-2.c: Likewise.
64411         * posix/tst-rfc3484-3.c: Likewise.
64413         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64414         process_vm_writev.
64415         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64416         process_vm_writev.
64417         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64418         process_vm_writev from libc using GLIBC_2.15 version.
64420         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64422 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64424         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64425         stack usage.
64427 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64429         [BZ #13367]
64430         * nss/getent.c (initgroups_keys): Show error message in case no group
64431         names are given.
64433         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64434         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64435         __bump_nl_timestamp.
64436         * nscd/connections (nscd_init): When host database is served open
64437         netlink socket and request notification about configuration changes.
64438         (main_loop_poll): Track netlink file descriptor and bump timestamp
64439         in case data becomes available.
64440         (main_loop_epoll): Likewise.
64441         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64442         (database_pers_head): Add extra_data fileds.
64443         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64444         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64445         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64446         Adjust caller.
64447         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64448         in6ai data, call __free_in6ai.
64449         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64450         Add -DHAVE_NETLINK.
64451         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64452         interface information.  Reuse previous data if netlink timestamp
64453         is not changed.
64454         (__bump_nl_timestamp): New function.
64455         (__free_in6ai): New function.
64457 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64459         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64460         close_not_cancel_no_status here.
64461         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64463 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64465         [BZ #13276]
64466         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64467         return value.
64469         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64470         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64471         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64473 2011-07-03  Andreas Jaeger  <aj@suse.de>
64475         [BZ #10709]
64476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64477         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64478         * math/libm-test.inc (sin_test): Add test case.
64480 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64482         [BZ #13337]
64483         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64484         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64486         * elf/chroot_canon.c (chroot_canon): Cleanups.
64488         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64490         [BZ #13335]
64491         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64492         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64494         * string/test-strchr.c: Make usable for strchrnul testing.
64495         * string/test-strchrnul.c: New file.
64496         * string/Makefile (strop-tests): Add strchrnul.
64498         * po/it.po: Update from translation team.
64499         * po/es.po: Likewise.
64501 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64503         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64504         the three constants needed as parameters.  Drop the others.
64505         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64506         __m128i_strloadu_tolower.
64507         Create and initialize variable zero and use it in all the places
64508         where _mm_setzero_si128 was used.
64510         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64511         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64512         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64513         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64514         anymore.
64515         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64516         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64517         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64518         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64519         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64520         __mpranred, __mptan.
64521         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64522         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64523         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64524         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64525         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64526         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64527         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64528         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64529         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64531 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64533         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64534         redefine if SHARED.
64535         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64538         wide char related routines to wcsmbs subdir.
64540 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64542         [BZ #13344]
64543         * misc/sys/cdefs.h (__THROWNL): Define.
64544         * posix/unistd.h: Use __THREADNL instead of __THREAD
64545         for memory synchronization functions.
64547 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64549         [BZ #13349]
64550         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64551         doesn't exist.
64552         * manual/stdio.texi (Obstack Streams): Node removed.
64554 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64556         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64557         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64558         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64560         * math/math_private.h (math_force_eval): Allow non-addressable
64561         arguments.
64562         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64564 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64566         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64567         file is not needed.
64569         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64570         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64571         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64572         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64573         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64574         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64575         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64576         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64577         Add AVX variants.
64578         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64579         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64580         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64581         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64582         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64583         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64584         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64585         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64586         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64587         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64588         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64589         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64590         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64591         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64592         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64593         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64594         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64595         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64596         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64598         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64599         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64601         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64602         place.  Use VEX encoding when compiling for AVX.
64604 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64606         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64607         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64609         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64611 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64613         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64614         useless if() expression.
64615         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64616         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64617         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64618         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64619         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64620         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64621         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64622         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64623         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64624         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64625         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64626         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64627         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64628         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64629         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64630         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64632         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64633         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64635         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64637 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64639         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64640         condition.
64641         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64643 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64645         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64646         .text section.  Avoid duplicate constants.
64647         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64649         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64651         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64655         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64656         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64657         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64658         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64659         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64660         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64661         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64662         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64663         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64664         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64665         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64666         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64667         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64668         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64669         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64670         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64671         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64672         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64673         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64674         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64675         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64676         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64677         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64678         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64680         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64681         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64682         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64683         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64684         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64685         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64686         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64687         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64688         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64689         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64690         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64691         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64693 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64695         * sysdeps/x86_64/dla.h: Move to ...
64696         * sysdeps/x86_64/fpu/dla.h: ...here.
64697         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64698         situations.  Use __builtin_fma only for gcc 4.6 and up.
64700         * config.make.in: Add have-mfma4 entry.
64701         * configure.in: Substitute libc_cv_cc_fma4.
64702         * math/Makefile (dbl-only-routines): Add sincostab.
64703         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64704         Use __sincostab not sincos.
64705         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64706         name is a macro.
64707         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64708         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64709         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64711         using __copysign.
64712         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64713         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64714         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64715         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64716         and __inv.
64717         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64718         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64719         __copysign.
64720         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64721         define aliases when function name is a macro.
64722         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64723         sysdeps/ieee754/dbl-64/sincos.tbl.
64724         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64725         fma4-enabled routines.
64726         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64727         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64728         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64729         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64730         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64731         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64732         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64733         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64734         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64735         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64736         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64737         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64738         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64739         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64740         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64741         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64742         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64743         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64744         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64746         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64747         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64748         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64749         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64750         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64751         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64752         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64753         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64754         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64755         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64757         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64758         rename.
64759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64766         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64768 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64770         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64772 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64774         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64776         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64777         prediction.
64778         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64780         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64781         Remove unused variable magic_bits.
64782         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64784         * string/strnlen.c: Define and use STRNLEN macro.
64785         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64786         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64787         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64788         * wcsmbs/wcslen.c: Define and use WCSLEN.
64789         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64790         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64791         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64792         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64793         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64794         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64795         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64797 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64800         strnlen-sse2-no-bsf.
64801         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64802         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64803         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64804         Add strnlen support.
64805         (USE_AS_STRNLEN): New macro.
64806         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64807         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64808         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64809         * sysdeps/x86_64/wcslen.S: New file.
64811 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64813         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64814         XMM-moves are used for copying on small sizes.
64816 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64818         * wcsmbs/Makefile (strop-tests): Add wcschr.
64819         * wcsmbs/test-wcschr.c: New file.
64820         * string/test-strchr.c: Update.
64821         Add wcschr support.
64822         (WIDE): New macro.
64824 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64826         * wcsmbs/Makefile (strop-tests): Add wcslen.
64827         * wcsmbs/test-wcslen.c: New file.
64828         * string/test-strlen.c: Update.
64829         Add wcslen support.
64830         (WIDE): New macro.
64832 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64834         * po/it.po: Update from translation team.
64836 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64838         * sysdeps/x86_64/wcscmp.S: Update.
64839         Fix wrong comparison semantics.
64840         wcscmp shall use signed comparison not unsigned.
64841         Don't use substraction to avoid overflow bug.
64842         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64843         * wcsmbc/wcscmp.c: Likewise.
64844         * string/test-strcmp.c: Likewise.
64845         Add new tests to check cases with negative values.
64847 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64849         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64850         * sysdeps/x86_64/dla.h: ...here.  New file.
64851         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64855         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64856         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64857         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64858         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64859         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64861 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64864         __ynl_finite aliases.
64866 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64870         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64871         define DLA_FMA.
64872         [DLA_FMA] (EMULV): Use DLA_FMA.
64873         [DLA_FMA] (MUL12): Use EMULV.
64874         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64875         that are not needed.
64876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64877         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64880         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64881         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64882         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64884 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64886         * math/s_nan.c: Undef __nan.
64887         * math/s_nanf.c: Undef __nanf.
64888         * math/s_nanl.c: Undef __nanl.
64889         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64890         "math_private.h".
64892 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64894         * math/s_catan.c: Add branch predictions.
64895         * math/s_catanf.c: Likewise.
64896         * math/s_catanh.c: Likewise.
64897         * math/s_catanhf.c: Likewise.
64898         * math/s_catanhl.c: Likewise.
64899         * math/s_catanl.c: Likewise.
64900         * math/s_cexp.c: Likewise.
64901         * math/s_cexpf.c: Likewise.
64902         * math/s_cexpl.c: Likewise.
64903         * math/s_clog.c: Likewise.
64904         * math/s_clog10.c: Likewise.
64905         * math/s_clog10f.c: Likewise.
64906         * math/s_clog10l.c: Likewise.
64907         * math/s_clogf.c: Likewise.
64908         * math/s_clogl.c: Likewise.
64909         * math/s_csqrt.c: Likewise.
64910         * math/s_csqrtf.c: Likewise.
64911         * math/s_csqrtl.c: Likewise.
64912         * math/s_ctanf.c: Likewise.
64913         * math/s_ctanh.c: Likewise.
64914         * math/s_ctanhf.c: Likewise.
64915         * math/s_ctanhl.c: Likewise.
64916         * math/s_ctanl.c: Likewise.
64918         * math/math_private.h: Define __nan, __nanf, __nanl.
64919         * math/s_cacosh.c: Include <math_private.h>.
64920         * math/s_cacoshl.c: Likewise.
64921         * math/s_casinh.c: Likewise.
64922         * math/s_casinhf.c: Likewise.
64923         * math/s_casinhl.c: Likewise.
64924         * math/s_ccos.c: Rely entire on ccosh.
64925         * math/s_ccosf.c: Rely entire on ccoshf.
64926         * math/s_ccosl.c: Rely entirely on ccoshl.
64927         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64928         Remove tests for FE_INVALID.
64929         * math/s_ccoshf.c: Likewise.
64930         * math/s_ccoshl.c: Likewise.
64931         * math/s_csin.c: Likewise.
64932         * math/s_csinf.c: Likewise.
64933         * math/s_csinh.c Likewise.
64934         * math/s_csinhf.c: Likewise.
64935         * math/s_csinhl.c: Likewise.
64936         * math/s_csinl.c: Likewise.
64937         * math/s_ctan.c: Likewise.
64938         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64939         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64940         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64942 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64945         compilation problems.
64947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64948         __builtin_expect.
64950 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64952         * sysdeps/i386/configure.in: Test for -mfma4 option.
64953         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64954         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64955         COMMON_CPUID_INDEX_80000001.
64956         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64957         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64958         use it if FMA3 is not supported.
64959         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64961         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64962         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64964 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64966         [BZ #12892]
64967         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64968         it would create a cycle with a link time dependency.
64970 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64972         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64973         instruction.
64974         * string/Makefile (strop-tests): Add rawmemchr.
64975         * string/test-rawmemchr.c: New file.
64977         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64978         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64979         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64980         when compiling str{,n}casecmp and when AVX is available.  Hook up
64981         new optimized code in initializers.
64983 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64985         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64986         __feraiseexcept instead of feraiseexcept.
64988 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64990         * math/math_private.h: Define defaults for libc_fetestexcept and
64991         libc_feupdateenv.
64992         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64993         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64994         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64995         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64996         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64997         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64998         libc_fetestexcept and libc_feupdateenv.
65000         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65001         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65002         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65003         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65004         libc_feholdexcept_setround.
65006         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65007         Add s_nearbyint-c and s_nearbyintf-c.
65008         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65009         nearbyintf inlines.
65010         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65011         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65012         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65013         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65015         * math/math_private.h: Define defaults for libc_fegetround,
65016         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65017         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65018         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65019         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65020         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65021         standard functions.
65022         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65023         Remove comments and hacks for old compiler versions.
65024         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65025         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65026         libc_feholdexceptl.
65028 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65030         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65031         (__feraiseexcept_renamed): Add __NTH.
65032         (feraiseexcept): Add __NTH.  Rename local variables to fix
65033         namespace violations.
65035 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65037         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65039         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65041         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65042         recently added interfaces.
65043         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65045         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65046         about macro parameter expansion.
65048         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65049         __NO_MATH_INLINES is defined.  Cleanups.
65051         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65052         and __floorf is target has SSE4.1.
65053         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65054         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65055         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65056         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65058         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65059         name.
65060         (floorf): Likewise.
65062         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65064 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65066         * misc/sys/cdefs.h: Fix last change.
65068         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65069         database lookup.
65071 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65073         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65075         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65076         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65077         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65078         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65079         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65080         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65081         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65082         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65083         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65084         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65085         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65086         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65087         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65088         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65089         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65090         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65091         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65092         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65093         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65094         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65095         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65096         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65098         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65099         ceil, ceilf, floor, floorf.
65101         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65102         Perform IRELATIVE relocations last.
65104         * elf/do-rel.h: Add another parameter nrelative, replacing the
65105         local variable with the same name.  Change name of the function
65106         to end in Rel or Rela (uppercase).
65107         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65108         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65109         elf_dynamic_do_##reloc function.
65111 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65113         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65114         is sufficient, at least on modern CPUs.
65116         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65118         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65119         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65121         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65122         __expl_finite.
65123         * math/bits/math-finite.h: Add entries for exp.
65124         * math/e_expl.c: Add __*_finite alias.
65125         * sysdeps/i386/fpu/e_exp.S: Likewise.
65126         * sysdeps/i386/fpu/e_expf.S: Likewise.
65127         * sysdeps/i386/fpu/e_expl.c: Likewise.
65128         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65129         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65130         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65131         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65132         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65133         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65134         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65136         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65137         is sufficient, at least on modern CPUs.
65139         * ctype/ctype-info.c (__ctype_init): Define.
65140         * include/ctype.h (__ctype_init): Declare.
65141         (__ctype_b_loc): The variable is always initialized.
65142         (__ctype_toupper_loc): Likewise.
65143         (__ctype_tolower_loc): Likewise.
65144         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65145         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65147 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65149         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65151         * configure.in: Also look in $cxxmachine/include for C++ system
65152         headers.
65154 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65156         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65157         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65158         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65159         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65160         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65161         (USE_AS_WMEMCMP): New macro.
65162         Fixing indents.
65163         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65164         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65165         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65166         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65167         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65168         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65169         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65170         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65171         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65172         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65173         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65174         (USE_AS_WMEMCMP): New macro.
65175         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65176         * sysdeps/string/test-memcmp.c: Update.
65177         Fix simple_wmemcmp.
65178         Add new tests.
65179         * wcsmbs/wmemcmp.c: Update.
65180         (WMEMCMP): New macro.
65181         Fix overflow bug.
65183 2011-10-12  Andreas Jaeger  <aj@suse.de>
65185         [BZ #13268]
65186         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65188 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65190         * libio/iofwide.c (do_length): Avoid warning.
65192         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65194 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65196         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65198         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65199         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65200         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65201         * sysdeps/i386/i686/fpu/e_log.S: New file.
65202         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65203         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65205         * ctype/ctype.h: Add support for inlined isXXX functions when
65206         compiling C++ code.
65208 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65210         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65212         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65214 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65216         [BZ #13291]
65217         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65219 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65221         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65222         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65223         feraiseexcept.
65225         * sysdeps/x86_64/memrchr.S: Check for zero size.
65227         * string/stratcliff.c: Add memrchr tests.
65229 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65232         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65233         rawmemchr-sse2 rawmemchr-sse2-bsf.
65234         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65235         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65236         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65237         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65238         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65239         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65240         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65241         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65242         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65243         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65244         * string/memrchr.c (MEMRCHR): New macro.
65246 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65248         Add integration with gcc's -ffinite-math-only and optimize wrapper
65249         functions in libm.
65250         * Versions.def: Define GLIBC_2.15 version for libm.
65251         * math/Makefile (headers): Add bits/math-finite.h.
65252         * math/bits/math-finite.h: New file.
65253         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65254         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65255         * math/e_acoshl.c: Add __*_finite alias.
65256         * math/e_acosl.c: Likewise.
65257         * math/e_asinl.c: Likewise.
65258         * math/e_atan2l.c: Likewise.
65259         * math/e_atanhl.c: Likewise.
65260         * math/e_coshl.c: Likewise.
65261         * math/e_exp10.c: Likewise.
65262         * math/e_exp10f.c: Likewise.
65263         * math/e_exp10l.c: Likewise.
65264         * math/e_exp2l.c: Likewise.
65265         * math/e_fmodl.c: Likewise.
65266         * math/e_gammal_r.c: Likewise.
65267         * math/e_hypotl.c: Likewise.
65268         * math/e_j0l.c: Likewise.
65269         * math/e_j1l.c: Likewise.
65270         * math/e_jnl.c: Likewise.
65271         * math/e_lgammal_r.c: Likewise.
65272         * math/e_log10l.c: Likewise.
65273         * math/e_log2l.c: Likewise.
65274         * math/e_logl.c: Likewise.
65275         * math/e_powl.c: Likewise.
65276         * math/e_sinhl.c: Likewise.
65277         * math/e_sqrtl.c: Likewise.
65278         * math/e_scalb.c: Completely rewritten and optimized.
65279         * math/e_scalbf.c: Likewise.
65280         * math/e_scalbl.c: Likewise.
65281         * math/w_acos.c: Likewise.
65282         * math/w_acosf.c: Likewise.
65283         * math/w_acosl.c: Likewise.
65284         * math/w_acosh.c: Likewise.
65285         * math/w_acoshf.c: Likewise.
65286         * math/w_acoshl.c: Likewise.
65287         * math/w_asin.c: Likewise.
65288         * math/w_asinf.c: Likewise.
65289         * math/w_asinl.c: Likewise.
65290         * math/w_atan2.c: Likewise.
65291         * math/w_atan2f.c: Likewise.
65292         * math/w_atan2l.c: Likewise.
65293         * math/w_atanh.c: Likewise.
65294         * math/w_atanhf.c: Likewise.
65295         * math/w_atanhl.c: Likewise.
65296         * math/w_exp10.c: Likewise.
65297         * math/w_exp10f.c: Likewise.
65298         * math/w_exp10l.c: Likewise.
65299         * math/w_fmod.c: Likewise.
65300         * math/w_fmodf.c: Likewise.
65301         * math/w_fmodl.c: Likewise.
65302         * math/w_j0.c: Likewise.
65303         * math/w_j0f.c: Likewise.
65304         * math/w_j0l.c: Likewise.
65305         * math/w_j1.c: Likewise.
65306         * math/w_j1f.c: Likewise.
65307         * math/w_j1l.c: Likewise.
65308         * math/w_jn.c: Likewise.
65309         * math/w_jnf.c: Likewise.
65310         * math/w_log.c: Likewise.
65311         * math/w_logf.c: Likewise.
65312         * math/w_logl.c: Likewise.
65313         * math/w_log10.c: Likewise.
65314         * math/w_log10f.c: Likewise.
65315         * math/w_log10l.c: Likewise.
65316         * math/w_log2.c: Likewise.
65317         * math/w_log2f.c: Likewise.
65318         * math/w_log2l.c: Likewise.
65319         * math/w_pow.c: Likewise.
65320         * math/w_powf.c: Likewise.
65321         * math/w_powl.c: Likewise.
65322         * math/w_remainder.c: Likewise.
65323         * math/w_remainderf.c: Likewise.
65324         * math/w_remainderl.c: Likewise.
65325         * math/w_scalb.c: Likewise.
65326         * math/w_scalbf.c: Likewise.
65327         * math/w_scalbl.c: Likewise.
65328         * math/w_sqrt.c: Likewise.
65329         * math/w_sqrtf.c: Likewise.
65330         * math/w_sqrtl.c: Likewise.
65331         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65332         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65333         used.
65334         * math/math_private.h: Declare __kernel_standard_f.
65335         * math/w_cosh.c: Remove cruft and optimize a bit.
65336         * math/w_coshf.c: Likewise.
65337         * math/w_coshl.c: Likewise.
65338         * math/w_exp2.c: Likewise.
65339         * math/w_exp2f.c: Likewise.
65340         * math/w_exp2l.c: Likewise.
65341         * math/w_hypot.c: Likewise.
65342         * math/w_hypotf.c: Likewise.
65343         * math/w_hypotl.c: Likewise.
65344         * math/w_lgamma.c: Likewise.
65345         * math/w_lgamma_r.c: Likewise.
65346         * math/w_lgammaf.c: Likewise.
65347         * math/w_lgammaf_r.c: Likewise.
65348         * math/w_lgammal.c: Likewise.
65349         * math/w_lgammal_r.c: Likewise.
65350         * math/w_sinh.c: Likewise.
65351         * math/w_sinhf.c: Likewise.
65352         * math/w_sinhl.c: Likewise.
65353         * math/w_tgamma.c: Likewise.
65354         * math/w_tgammaf.c: Likewise.
65355         * math/w_tgammal.c: Likewise.
65356         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65357         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65358         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65359         Minor optimizations.  Pretty printing.  Remove cruft.
65360         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65361         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65362         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65363         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65364         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65365         * sysdeps/i386/fpu/e_asin.S: Likewise.
65366         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65367         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65368         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65369         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65370         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65371         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65372         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65373         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65374         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65375         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65376         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65377         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65378         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65379         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65380         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65381         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65382         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65383         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65384         * sysdeps/i386/fpu/e_log.S: Likewise.
65385         * sysdeps/i386/fpu/e_log10.S: Likewise.
65386         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65387         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65388         * sysdeps/i386/fpu/e_log2.S: Likewise.
65389         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65391         * sysdeps/i386/fpu/e_logf.S: Likewise.
65392         * sysdeps/i386/fpu/e_logl.S: Likewise.
65393         * sysdeps/i386/fpu/e_pow.S: Likewise.
65394         * sysdeps/i386/fpu/e_powf.S: Likewise.
65395         * sysdeps/i386/fpu/e_powl.S: Likewise.
65396         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65397         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65398         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65399         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65400         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65401         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65402         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65403         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65404         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65405         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65406         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65408         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65409         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65410         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65412         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65418         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65419         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65421         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65422         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65423         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65425         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65426         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65427         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65428         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65429         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65430         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65431         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65432         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65433         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65434         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65435         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65436         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65437         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65438         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65439         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65440         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65441         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65442         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65443         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65444         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65445         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65446         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65451         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65452         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65453         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65454         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65455         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65460         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65461         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65462         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65463         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65464         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65469         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65471         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65473         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65474         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65475         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65477         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65479         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65480         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65481         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65482         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65483         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65484         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65485         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65486         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65487         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65488         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65489         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65490         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65491         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65492         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65493         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65494         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65495         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65496         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65497         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65498         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65499         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65500         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65501         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65502         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65503         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65504         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65505         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65506         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65507         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65508         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65509         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65510         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65511         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65512         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65513         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65514         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65515         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65516         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65517         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65518         (__isnanf): Likewise.
65519         (__isinf_ns): Likewise.
65520         (__isinf_nsf): Likewise.
65521         (__finite): Likewise.
65522         (__finitef): Likewise.
65523         (__ieee754_sqrt): Define as macro.
65524         (__ieee754_sqrtf): Define as macro.
65525         (__ieee754_sqrtl): Define as macro.
65526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65527         inlined copy.
65528         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65529         __FINITE_MATH_ONLY__ consistent.
65530         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65532 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65534         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65535         of rawmemchr.
65537         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65539 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65541         * po/ja.po: Update from translation team.
65543 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65545         * locale/programs/locarchive.c (prepare_address_space): New function.
65546         (create_archive, enlarge_archive, open_archive): Use it.
65548         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65549         inside [SHARED], where it is used.
65551         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65553         * nss/getent.c (netgroup_keys): Remove unused variable.
65554         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65556 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65558         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65559         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65561         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65562         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65563         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65564         * math/Makefile (libm-calls): Add s_isinf_ns.
65565         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65566         * math/multc3.c: Likewise.
65567         * math/s_casin.c: Likewise.
65568         * math/s_casinf.c: Likewise.
65569         * math/s_casinl.c: Likewise.
65570         * math/s_ccos.c: Likewise.
65571         * math/s_ccosf.c: Likewise.
65572         * math/s_ccosl.c: Likewise.
65573         * math/s_ctan.c: Likewise.
65574         * math/s_ctanf.c: Likewise.
65575         * math/s_ctanh.c: Likewise.
65576         * math/s_ctanhf.c: Likewise.
65577         * math/s_ctanhl.c: Likewise.
65578         * math/s_ctanl.c: Likewise.
65579         * math/w_fmod.c: Likewise.
65580         * math/w_fmodf.c: Likewise.
65581         * math/w_fmodl.c: Likewise.
65582         * math/w_remainder.c: Likewise.
65583         * math/w_remainderf.c: Likewise.
65584         * math/w_remainderl.c: Likewise.
65585         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65586         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65587         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65589         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65590         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65591         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65592         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65594         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65595         of the number.
65596         * stdio-common/printf_fphex.c: Likewise.
65597         * stdio-common/printf_size.c: Likewise.
65599         * math/e_exp10.c: Include math_private.h using <...> not "...".
65600         * math/e_exp10f.c: Likewise.
65601         * math/e_exp10l.c: Likewise.
65602         * math/e_exp2l.c: Likewise.
65603         * math/e_j0l.c: Likewise.
65604         * math/e_j1l.c: Likewise.
65605         * math/e_jnl.c: Likewise.
65606         * math/e_lgammal_r.c: Likewise.
65607         * math/e_rem_pio2l.c: Likewise.
65608         * math/e_scalb.c: Likewise.
65609         * math/e_scalbf.c: Likewise.
65610         * math/e_scalbl.c: Likewise.
65611         * math/k_cosl.c: Likewise.
65612         * math/k_sinl.c: Likewise.
65613         * math/k_tanl.c: Likewise.
65614         * math/s_cacoshf.c: Likewise.
65615         * math/s_catan.c: Likewise.
65616         * math/s_catanf.c: Likewise.
65617         * math/s_catanh.c: Likewise.
65618         * math/s_catanhf.c: Likewise.
65619         * math/s_catanhl.c: Likewise.
65620         * math/s_catanl.c: Likewise.
65621         * math/s_ccosh.c: Likewise.
65622         * math/s_ccoshf.c: Likewise.
65623         * math/s_ccoshl.c: Likewise.
65624         * math/s_cexp.c: Likewise.
65625         * math/s_cexpf.c: Likewise.
65626         * math/s_cexpl.c: Likewise.
65627         * math/s_clog.c: Likewise.
65628         * math/s_clog10.c: Likewise.
65629         * math/s_clog10f.c: Likewise.
65630         * math/s_clog10l.c: Likewise.
65631         * math/s_clogf.c: Likewise.
65632         * math/s_clogl.c: Likewise.
65633         * math/s_csin.c: Likewise.
65634         * math/s_csinf.c: Likewise.
65635         * math/s_csinh.c: Likewise.
65636         * math/s_csinhf.c: Likewise.
65637         * math/s_csinhl.c: Likewise.
65638         * math/s_csinl.c: Likewise.
65639         * math/s_csqrt.c: Likewise.
65640         * math/s_csqrtf.c: Likewise.
65641         * math/s_csqrtl.c: Likewise.
65642         * math/s_ctan.c: Likewise.
65643         * math/s_ctanf.c: Likewise.
65644         * math/s_ctanh.c: Likewise.
65645         * math/s_ctanhf.c: Likewise.
65646         * math/s_ctanhl.c: Likewise.
65647         * math/s_ctanl.c: Likewise.
65648         * math/s_ldexp.c: Likewise.
65649         * math/s_ldexpf.c: Likewise.
65650         * math/s_ldexpl.c: Likewise.
65651         * math/s_significand.c: Likewise.
65652         * math/s_significandf.c: Likewise.
65653         * math/s_significandl.c: Likewise.
65654         * math/w_acos.c: Likewise.
65655         * math/w_acosf.c: Likewise.
65656         * math/w_acosh.c: Likewise.
65657         * math/w_acoshf.c: Likewise.
65658         * math/w_acoshl.c: Likewise.
65659         * math/w_acosl.c: Likewise.
65660         * math/w_asin.c: Likewise.
65661         * math/w_asinf.c: Likewise.
65662         * math/w_asinl.c: Likewise.
65663         * math/w_atan2.c: Likewise.
65664         * math/w_atan2f.c: Likewise.
65665         * math/w_atan2l.c: Likewise.
65666         * math/w_atanh.c: Likewise.
65667         * math/w_atanhf.c: Likewise.
65668         * math/w_atanhl.c: Likewise.
65669         * math/w_cosh.c: Likewise.
65670         * math/w_coshf.c: Likewise.
65671         * math/w_coshl.c: Likewise.
65672         * math/w_dremf.c: Likewise.
65673         * math/w_exp10.c: Likewise.
65674         * math/w_exp10f.c: Likewise.
65675         * math/w_exp10l.c: Likewise.
65676         * math/w_exp2.c: Likewise.
65677         * math/w_exp2f.c: Likewise.
65678         * math/w_fmod.c: Likewise.
65679         * math/w_fmodf.c: Likewise.
65680         * math/w_fmodl.c: Likewise.
65681         * math/w_hypot.c: Likewise.
65682         * math/w_hypotf.c: Likewise.
65683         * math/w_hypotl.c: Likewise.
65684         * math/w_j0.c: Likewise.
65685         * math/w_j0f.c: Likewise.
65686         * math/w_j0l.c: Likewise.
65687         * math/w_j1.c: Likewise.
65688         * math/w_j1f.c: Likewise.
65689         * math/w_j1l.c: Likewise.
65690         * math/w_jn.c: Likewise.
65691         * math/w_jnf.c: Likewise.
65692         * math/w_jnl.c: Likewise.
65693         * math/w_lgamma.c: Likewise.
65694         * math/w_lgamma_r.c: Likewise.
65695         * math/w_lgammaf.c: Likewise.
65696         * math/w_lgammaf_r.c: Likewise.
65697         * math/w_lgammal.c: Likewise.
65698         * math/w_lgammal_r.c: Likewise.
65699         * math/w_log.c: Likewise.
65700         * math/w_log10.c: Likewise.
65701         * math/w_log10f.c: Likewise.
65702         * math/w_log10l.c: Likewise.
65703         * math/w_log2.c: Likewise.
65704         * math/w_log2f.c: Likewise.
65705         * math/w_log2l.c: Likewise.
65706         * math/w_logf.c: Likewise.
65707         * math/w_logl.c: Likewise.
65708         * math/w_pow.c: Likewise.
65709         * math/w_powf.c: Likewise.
65710         * math/w_powl.c: Likewise.
65711         * math/w_remainder.c: Likewise.
65712         * math/w_remainderf.c: Likewise.
65713         * math/w_remainderl.c: Likewise.
65714         * math/w_scalb.c: Likewise.
65715         * math/w_scalbf.c: Likewise.
65716         * math/w_scalbl.c: Likewise.
65717         * math/w_sinh.c: Likewise.
65718         * math/w_sinhf.c: Likewise.
65719         * math/w_sinhl.c: Likewise.
65720         * math/w_sqrt.c: Likewise.
65721         * math/w_sqrtf.c: Likewise.
65722         * math/w_sqrtl.c: Likewise.
65723         * math/w_tgamma.c: Likewise.
65724         * math/w_tgammaf.c: Likewise.
65725         * math/w_tgammal.c: Likewise.
65727         * po/ja.po: Update from translation team.
65729 2011-09-29  Andreas Jaeger  <aj@suse.de>
65731         [BZ #13179]
65732         * sunrpc/netname.c (netname2host): Fix logic.
65734         [BZ #6779]
65735         [BZ #6783]
65736         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65737         correctly.
65738         * math/w_remainder.c (__remainder): Likewise.
65739         * math/w_remainderf.c (__remainderf): Likewise.
65740         * math/libm-test.inc (remainder_test): Add test cases.
65742 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65744         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65745         sdiv_qrnnd.
65747 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65749         * string/test-memcmp.c: Avoid unncessary #defines.
65750         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65752 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65754         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65755         Use new sse2 version for core i3 - i7 as it's faster
65756         than sse42 version.
65757         (bit_Prefer_PMINUB_for_stringop): New.
65758         * sysdeps/x86_64/rawmemchr.S: Update.
65759         Replace with faster SSE2 version.
65760         * sysdeps/x86_64/memrchr.S: New file.
65761         * sysdeps/x86_64/memchr.S: Update.
65762         Replace with faster SSE2 version.
65764 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65766         * elf/dl-load.c (lose): Add cast to avoid warning.
65768 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65770         * po/ca.po: Update from translation team.
65772         * inet/getnetgrent_r.c: Hook up nscd.
65773         * nscd/Makefile (routines): Add nscd_netgroup.
65774         (nscd-modules): Add netgroupcache.
65775         (CFLAGS-netgroupcache.c): Define.
65776         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65777         (cache_search): Add const to second parameter.
65778         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65779         INNETGR.
65780         (dbs): Add netgrdb entry.
65781         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65782         (verify_persistent_db): Handle netgrdb.
65783         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65784         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65785         GETFDNETGR.
65786         (netgroup_response_header): Define.
65787         (innetgroup_response_header): Define.
65788         (datahead): Add netgroup_response_header and innetgroup_response_header
65789         elements.
65790         * nscd/nscd.conf: Add entries for netgroup cache.
65791         * nscd/nscd.h (dbtype): Add netgrdb.
65792         (_PATH_NSCD_NETGROUP_DB): Define.
65793         (netgroup_iov_disabled): Declare.
65794         (xmalloc, xcalloc, xrealloc): Move declarations here.
65795         (cache_search): Adjust prototype.
65796         Add netgroup-related prototypes.
65797         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65798         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65799         (__nscd_innetgr): Declare.
65800         * nscd/selinux.c (perms): Use access_vector_t as element type and
65801         add netgroup-related initializers.
65802         * nscd/netgroupcache.c: New file.
65803         * nscd/nscd_netgroup.c: New file.
65804         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65805         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65806         For four parameters use innetgr.
65807         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65808         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65809         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65810         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65812         * nscd/connections.c (register_traced_file): Don't register file
65813         for disabled databases.
65815 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65817         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65819         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65820         from tree and freeing node.
65822 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65824         * nss/nsswitch.c (__nss_database_lookup): Handle
65825         nss_parse_service_list out of memory case.
65827 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65829         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65830         out of memory case.
65832 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65834         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65835         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65836         pass it down.
65837         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65838         elf_machine_rela, elf_machine_lazy_rel.
65839         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65840         (ELF_DYNAMIC_DO_REL): Likewise.
65841         (ELF_DYNAMIC_DO_RELA): Likewise.
65842         (ELF_DYNAMIC_RELOCATE): Likewise.
65843         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65844         to ELF_DYNAMIC_DO_REL.
65845         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65846         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65847         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65848         elf_machine_rela.
65849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65850         skip_ifunc, don't call ifunc function if non-zero.
65851         (elf_machine_rela): Likewise.
65852         (elf_machine_lazy_rel): Likewise.
65853         (elf_machine_lazy_rela): Likewise.
65854         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65855         (elf_machine_lazy_rel): Likewise.
65856         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65857         Likewise.
65858         (elf_machine_lazy_rel): Likewise.
65859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65860         Likewise.
65861         (elf_machine_lazy_rel): Likewise.
65862         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65863         (elf_machine_lazy_rel): Likewise.
65864         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65865         (elf_machine_lazy_rel): Likewise.
65866         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65867         (elf_machine_lazy_rel): Likewise.
65868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65869         (elf_machine_lazy_rel): Likewise.
65870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65871         (elf_machine_lazy_rel): Likewise.
65872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65873         (elf_machine_lazy_rel): Likewise.
65875 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65877         * nss/nss_files/files-init.c (_nss_files_init): Use static
65878         initialization for all the *_traced_file variables.
65880 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65882         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65884 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65886         [BZ #13226]
65887         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65889 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65891         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65892         Reread the line before reparsing it.
65894 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65896         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65898 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65899             Maxim Kuvyrkov  <maxim@codesourcery.com>
65900             Joseph Myers  <joseph@codesourcery.com>
65902         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65903         if needed for __stack_chk_guard.
65905 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65907         * sysdeps/posix/spawni.c (script_execute): Always define it.
65908         It will be optimized away if unused.
65909         (maybe_script_execute): New function.
65910         (__spawni): Call it.
65912         * Makerules: Don't include tls.make.
65913         (config-tls): Always set to thread.
65914         * tls.make.c: File removed.
65916 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65918         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65919         * config.make.in (CPPFLAGS-config): New substituted variable.
65921 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65923         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65925         [BZ #13192]
65926         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65927         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65929 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65931         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65932         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65933         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65934         (CALL_FAIL): Likewise.
65935         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65936         (CALL_FAIL): Macro removed.
65937         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65939 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65941         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65942         for __FINITE_MATH_ONLY__ == 1.
65944 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65946         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65947         __ieee754_sqrt instead of sqrt.
65948         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65949         __ieee754_sqrtf instead of sqrtf.
65950         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65951         __floorf instead of floorf.
65952         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65953         __floorf, __truncf instead of floorf, truncf.
65955 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65957         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65959         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65960         __extern_always_inline.
65961         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65962         32-bit.
65964 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65966         * elf/rtld.c (dl_main): Also relocate in dependency order when
65967         doing symbol dependency testing.
65969 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65972         Always define `refsym'.
65974 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65976         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65977         (__FD_ELT): Renamed from __FDELT.
65978         * misc/bits/select2.h (__FD_ELT): Likewise.
65979         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65980         __FD_MASK instead of __FDELT, __FDMASK.
65981         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65982         Likewise.
65983         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65984         Likewise.
65986         * elf/Makefile (gen-ldd): Fix pattern.
65988         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65989         (init_tls): Likewise.
65991 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65993         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65995 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65997         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65998         `struct cmsghdr *' instead of `void *'.
65999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66000         Likewise.
66002 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66004         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66005         if non-absolute.
66006         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66007         ldd_rewrite_script.
66009 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66011         * configure.in: Remove --with-tls option.
66012         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66013         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66014         out in case it is missing.
66015         * sysdeps/ia64/elf/configure.in: Likewise.
66016         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66017         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66018         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66019         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66020         * sysdeps/sh/elf/configure.in: Likewise.
66021         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66022         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66023         * sysdeps/x86_64/elf/configure.in: Likewise.
66024         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66025         * sysdeps/mach/hurd/tls.h: Likewise.
66027         [BZ #13067]
66028         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66030         [BZ #13090]
66031         * configure.in: Fix use of AC_INIT.
66033         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66035 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66037         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66038         __set_errno.
66039         * malloc/hooks.c: Likewise.
66041         [BZ #11929]
66042         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66043         variables statically.
66044         (narenas): Initialize.
66045         (list_lock): Initialize.
66046         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66047         initializtion of main_arena and list_lock.  Small cleanups.
66048         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66049         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66050         Add initializers to main_arena and mp_.
66051         (malloc_state): Remove pagesize member.  Change all users to use
66052         GLRO(dl_pagesize).
66054         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66055         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66056         is always initialized.
66058         * malloc/malloc.c: Removed unused configurations and dead code.
66059         * malloc/arena.c: Likewise.
66060         * malloc/hooks.c: Likewise.
66061         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66063         * include/tls.h: Removed.  USE___THREAD must always be defined.
66064         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66065         * elf/dl-libc.c: Likewise.
66066         * elf/dl-tsd.c: Likewise.
66067         * include/errno.h: Likewise.
66068         * include/netdb.h: Likewise.
66069         * include/resolv.h: Likewise.
66070         * inet/herrno-loc.c: Likewise.
66071         * inet/herrno.c: Likewise.
66072         * malloc/arena.c: Likewise.
66073         * malloc/hooks.c: Likewise.
66074         * malloc/malloc.c: Likewise.
66075         * resolv/res-state.c: Likewise.
66076         * resolv/res_libc.c: Likewise.
66077         * sysdeps/i386/dl-machine.h: Likewise.
66078         * sysdeps/ia64/dl-machine.h: Likewise.
66079         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66080         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66081         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66082         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66083         * sysdeps/sh/dl-machine.h: Likewise.
66084         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66085         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66086         * sysdeps/unix/i386/sysdep.S: Likewise.
66087         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66088         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66090         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66091         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66093         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66097         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66098         * sysdeps/x86_64/dl-machine.h: Likewise.
66099         * tls.make.c: Likewise.
66101         * configure.in: Remove --with-__thread option.  Make tests for
66102         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66103         tls_model attribute fail if no support is available.  Remove
66104         USE_IN_LIBIO.
66105         * Makeconfig: Adjust for dropped configure option.  All features are
66106         now mandatory.
66107         * Makerules: Likewise.
66108         * Versions.def: Likewise.
66109         * argp/argp-fmtstream.c: Likewise.
66110         * argp/argp-fmtstream.h: Likewise.
66111         * argp/argp-help.c: Likewise.
66112         * assert/assert.c: Likewise.
66113         * config.h.in: Likewise.
66114         * config.make.in: Likewise.
66115         * configure: Likewise.
66116         * configure.in: Likewise.
66117         * csu/Versions: Likewise.
66118         * csu/init.c: Likewise.
66119         * elf/tst-audit2.c: Likewise.
66120         * elf/tst-tls10.c: Likewise.
66121         * elf/tst-tls10.h: Likewise.
66122         * elf/tst-tls11.c: Likewise.
66123         * elf/tst-tls12.c: Likewise.
66124         * elf/tst-tls14.c: Likewise.
66125         * elf/tst-tlsmod11.c: Likewise.
66126         * elf/tst-tlsmod12.c: Likewise.
66127         * elf/tst-tlsmod13.c: Likewise.
66128         * elf/tst-tlsmod13a.c: Likewise.
66129         * elf/tst-tlsmod14a.c: Likewise.
66130         * elf/tst-tlsmod15b.c: Likewise.
66131         * elf/tst-tlsmod16a.c: Likewise.
66132         * elf/tst-tlsmod16b.c: Likewise.
66133         * elf/tst-tlsmod7.c: Likewise.
66134         * elf/tst-tlsmod8.c: Likewise.
66135         * elf/tst-tlsmod9.c: Likewise.
66136         * gmon/gmon.c: Likewise.
66137         * grp/fgetgrent_r.c: Likewise.
66138         * grp/putgrent.c: Likewise.
66139         * hurd/fopenport.c: Likewise.
66140         * include/libc-symbols.h: Likewise.
66141         * include/tls.h: Likewise.
66142         * intl/gettextP.h: Likewise.
66143         * intl/loadinfo.h: Likewise.
66144         * locale/global-locale.c: Likewise.
66145         * locale/localeinfo.h: Likewise.
66146         * mach/devstream.c: Likewise.
66147         * malloc/arena.c: Likewise.
66148         * malloc/set-freeres.c: Likewise.
66149         * misc/err.c: Likewise.
66150         * misc/getttyent.c: Likewise.
66151         * misc/mntent_r.c: Likewise.
66152         * posix/getopt.c: Likewise.
66153         * posix/wordexp.c: Likewise.
66154         * pwd/fgetpwent_r.c: Likewise.
66155         * resolv/Versions: Likewise.
66156         * resolv/res_hconf.c: Likewise.
66157         * shadow/fgetspent_r.c: Likewise.
66158         * shadow/putspent.c: Likewise.
66159         * stdio-common/printf_fphex.c: Likewise.
66160         * stdio-common/tmpfile.c: Likewise.
66161         * stdlib/abort.c: Likewise.
66162         * stdlib/fmtmsg.c: Likewise.
66163         * sunrpc/auth_unix.c: Likewise.
66164         * sunrpc/clnt_perr.c: Likewise.
66165         * sunrpc/clnt_tcp.c: Likewise.
66166         * sunrpc/clnt_udp.c: Likewise.
66167         * sunrpc/clnt_unix.c: Likewise.
66168         * sunrpc/openchild.c: Likewise.
66169         * sunrpc/svc_simple.c: Likewise.
66170         * sunrpc/svc_tcp.c: Likewise.
66171         * sunrpc/svc_udp.c: Likewise.
66172         * sunrpc/svc_unix.c: Likewise.
66173         * sunrpc/xdr.c: Likewise.
66174         * sunrpc/xdr_array.c: Likewise.
66175         * sunrpc/xdr_rec.c: Likewise.
66176         * sunrpc/xdr_ref.c: Likewise.
66177         * sunrpc/xdr_stdio.c: Likewise.
66179 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66181         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66183 2011-07-03  Andreas Jaeger  <aj@suse.de>
66185         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66186         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66187         regenerate with gen-libm-tests.pl.
66189 2010-05-12  Petr Baudis  <pasky@suse.cz>
66191         [BZ #11589]
66192         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66193         around j0() zero points by switching to j1().
66194         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66195         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66199 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66201         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66202         instead of 0.
66203         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66204         instead of 0.
66205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66206         Patch in part by Pavel Roskin <proski@gnu.org>.
66208         [BZ #13138]
66209         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66210         realloc.
66211         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66212         Free memory block if necessary.
66214         [BZ #12847]
66215         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66216         be NULL.  Don't lock in this case.
66218 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66220         * elf/elf.h (ELFOSABI_GNU): New macro.
66221         (ELFOSABI_LINUX): Define to that.
66223 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66225         * string/strncat.c (strncat): Undef the symbol in case it has been
66226         defined in bits/string.h.
66228 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66230         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66232         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66233         link map.
66235 2011-08-17  Andreas Jaeger  <aj@suse.de>
66237         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66239 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66240             Ian Lance Taylor  <iant@google.com>
66242         * math/libm-test.inc (lround_test): New testcase.
66243         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66245 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66247         * Makefile: Remove support for automatic cvs check-ins.
66248         * Makerules: Likewise.
66249         * config.make.in: Likewise.
66250         * configure.in: Likewise.
66251         * intl/Makefile: Likewise.
66252         * locale/Makefile: Likewise.
66253         * po/Makefile: Likewise.
66254         * posix/Makefile: Likewise.
66255         * sysdeps/gnu/Makefile: Likewise.
66256         * sysdeps/mach/hurd/Makefile: Likewise.
66257         * sysdeps/sparc/sparc32/Makefile: Likewise.
66259         [BZ #13118]
66260         * posix/Makefile (bug-regex32-ENV): Define.
66261         Patch by John Stanley <jpsinthemix@verizon.net>.
66263         * misc/Makefile (headers): Add bits/select2.h.
66264         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66265         * misc/bits/select2.h: New file.
66266         * include/bits/select2.h: New file.
66267         * debug/Makefile (routines): Add fdelt_chk.
66268         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66269         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66270         FD_ISSET.
66271         * debug/fdelt_chk.c: New file.
66273         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66274         * wcsmbs/test-wmemcmp.c: Likewise.
66275         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66276         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66278 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66280         * string/Makefile (strop-tests): Add memcmp.
66281         * string/test-wmemcmp.c: New file.
66282         * string/test-memcmp.c: Add wmemcmp support.
66284 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66286         [BZ #13153]
66287         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66288         2011-07-19 change.
66290         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66291         garbage value in a __mach_port_mod_refs call in the cases of the
66292         task-self and thread-self ports.
66294 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66296         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66298 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66300         * elf/dl-load.c (lose): Check for non-null L.
66302 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66304         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66306         * elf/dl-libc.c (dlerror_run): Pass back error code from
66307         dl_catch_error.
66309         [BZ #13123]
66310         * elf/dl-load.c (lose): Free l_origin if it is valid.
66312         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66313         names.
66314         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66315         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66316         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66317         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66318         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66319         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66321 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66323         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66324         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66325         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66326         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66327         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66328         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66329         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66330         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66331         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66332         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66334 2011-08-15  Alan Modra  <amodra@gmail.com>
66336         [BZ #13092]
66337         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66338         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66339         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66340         ppc_mcount to static-only-routines.
66341         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66342         __mcount_internal.
66343         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66344         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66346 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66348         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66349         for finite and infinity parameters.
66351 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66354         and add nop instructions for throughput optimization.
66355         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66357 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66360         aligned copy for power7 with vector-scalar instructions.
66361         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66363 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66366         AVX check.
66368 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66370         [BZ #13144]
66371         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66372         last change.
66374 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66376         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66377         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66378         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66379         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66380         clock_gettime.
66382 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66384         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66385         Forgot to demangle the pointer.
66387         * sysdeps/i386/sysdep.h: Define atom_text_section.
66388         * sysdeps/x86_64/sysdep.h: Likewise.
66389         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66390         section with atom_text_section.
66391         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66392         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66393         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66394         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66395         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66397         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66398         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66399         already be defined.  Change to take two parameters and don't assign
66400         result to variable.  Adjust all users.
66401         Define INTERNAL_GETTIME if not already defined.
66402         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66403         call.
66404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66405         HAVE_CLOCK_GETTIME_VSYSCALL.
66406         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66409         gettimeofday vsyscall, just use time.
66411 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66414         <errno.h>.
66416 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66418         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66419         syscall on x86-64.
66420         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66421         syscall.
66422         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66423         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66424         syscall if possible.
66426 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66428         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66429         e_ident.  Don't pass to find_mapsXX.
66430         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66432 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66435         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66436         * sysdeps/x86_64/multiarch/strchr.S: Update.
66437         Check bit_slow_BSF bit.
66438         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66439         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66440         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66442 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66444         [BZ #13134]
66445         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66446         before glibc 2.15.
66447         (tryshell): Define.
66448         (__spawni): Change last parameter to be flag.  Test
66449         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66450         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66451         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66452         * posix/spawni.c: Likewise.
66453         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66454         * posix/spawnp.c: Likewise.  Change normal version to use
66455         SPAWN_XFLAGS_USE_PATH.
66456         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66457         SPAWN_XFLAGS_TRY_SHELL.
66459         [BZ #13150]
66460         * posix/glob.h: Remove gcc 1.x support.
66462         [BZ #13068]
66463         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66465 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66468         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66469         strrchr-sse2-bsf
66470         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66471         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66472         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66473         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66474         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66475         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66477 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66479         * sysdeps/x86_64/wcscmp.S: New file.
66481         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66482         wcscmp-c wcscmp-sse2
66483         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66484         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66485         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66486         * wcsmbs/wcscmp.c: Allow renaming.
66488 2011-09-05  David S. Miller  <davem@davemloft.net>
66490         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66491         stack slot, rather than the struct return pointer slot.
66492         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66493         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66495         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66497 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66499         * po/ja.po: Update from translation team.
66501         [BZ #13144]
66502         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66503         kernel in 64-bit binaries.
66505 2011-09-01  David S. Miller  <davem@davemloft.net>
66507         * elf/elf.h (HWCAP_SPARC_*): Move to..
66508         * sysdeps/sparc/sysdep.h: this new file and add new values.
66509         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66510         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66511         _DL_HWCAP_COUNT to 24.
66512         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66513         entries.
66514         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66515         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66516         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66518         instead of magic constants.
66519         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66521 2011-08-31  David S. Miller  <davem@davemloft.net>
66523         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66525         Reimplement to do errno handling inline.
66526         (SYSCALL_ERROR_HANDLER): New macro.
66527         (__SYSCALL_STRING): Do not do errno handling in asm.
66528         (__CLONE_SYSCALL_STRING): Delete.
66529         (__INTERNAL_SYSCALL_STRING): Delete.
66530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66531         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66532         (PSEUDO): Reimplement to do errno handling inline.
66533         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66534         (SYSCALL_ERROR_HANDLER): New macro.
66535         (__SYSCALL_STRING): Do not do errno handling in asm.
66536         (__CLONE_SYSCALL_STRING): Delete.
66537         (__INTERNAL_SYSCALL_STRING): Delete.
66538         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66539         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66540         i386.
66541         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66542         (inline_syscall*): Add 'err' argument.
66543         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66544         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66545         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66546         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66548         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66549         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66551 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66553         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66555 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66557         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66558         directive.
66560 2011-08-24  David S. Miller  <davem@davemloft.net>
66562         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66564 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66566         * elf/Makefile: Add rules to build and run unload8 test.
66567         * elf/unload8.c: New file.
66568         * elf/unload8mod1.c: New file.
66569         * elf/unload8mod1x.c: New file.
66570         * elf/unload8mod2.c: New file.
66571         * elf/unload8mod3.c: New file.
66573         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66574         it wasn't used.
66576 2011-08-23  David S. Miller  <davem@davemloft.net>
66578         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66579         subtract stack bias.
66580         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66581         %sp not %fp in calculations.
66582         (_JMPBUF_UNWINDS_ADJ): Likewise.
66584         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66585         (aio_suspend): Call it to force an exception region around the
66586         AIO_MISC_WAIT() invocation.
66588 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66590         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66591         backslash.
66593 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66595         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66596         protection macro.
66597         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66598         and <dl-machine.h>.
66599         (Elf64_FuncDesc): Remove.
66601 2011-08-22  David S. Miller  <davem@davemloft.net>
66603         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66604         sigaltstack check, add missing cfi directives.
66605         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66606         missing cfi directives, and sigaltstack handling.
66608 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66610         [BZ #11724]
66611         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66612         object is seen twice.
66613         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66615         * elf/Makefile (distribute): Add tst-initorder2.c.
66616         (tests): Add tst-initorder2.
66617         (modules-names): Add tst-initorder2a tst-initorder2b
66618         tst-initorder2c tst-initorder2d.  Add rules to build them.
66619         ($(objpfx)tst-initorder2.out): New rule.
66620         * elf/tst-initorder2.c: New file.
66621         * elf/tst-initorder2.exp: New file.
66623 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66625         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66627         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66628         dependencies back to end of function.
66630         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66631         $(elfobjdir)/ld.so.
66633 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66635         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66636         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66638         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66639         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66640         of __vdso_gettimeofday.
66641         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66642         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66643         attribute_hidden.
66644         (_libc_vdso_platform_setup): Remove initialization of
66645         __vdso_gettimeofday and __vdso_time.
66647 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66649         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66650         and fgetc_unlocked.
66651         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66652         getc_unlocked.
66654         * elf/dl-open.c (add_to_global): Report additions to the global scope
66655         for LD_DEBUG=scopes.
66656         (dl_open_worker): Also print scope of newly loaded dependencies.
66657         (_dl_show_scope): Indicate if there is no scope.
66659         [BZ #13114]
66660         * stdio-common/Makefile (tests): Add bug24.
66661         * stdio-common/bug24.c: New file.
66663 2011-08-19  Andreas Jaeger  <aj@suse.de>
66665         [BZ #13114]
66666         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66667         non-existant file when using close-on-exec mode.
66669 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66672         the very first instruction.
66674         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66675         the CFI state in the end.
66676         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66677         inclusion of dl-trampoline.h.
66678         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66680 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66682         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66683         expectations for long double.
66685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66686         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66688 2011-08-14  David S. Miller  <davem@davemloft.net>
66690         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66691         artificual limit depends upon the system page size.
66693 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66695         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66696         * resolv/Makefile: Define CFLAGS-libresolv.
66698 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66700         * nss/makedb.c (compute_tables): Make variables used in nested
66701         function static.
66703 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66705         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66706         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66707         if buffer was too small.
66709         * elf/pldd.c (main): Attach to all threads in the process.
66710         Rewrite /proc handling to use *at functions.
66712 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66714         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66715         specifies first scope to show.
66716         (dl_open_worker): Update callers.  Move printing scope of new
66717         object to before the relocation.
66718         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66719         * sysdeps/generic/ldsodefs.h: Update declaration.
66721         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66722         string for the scope number.
66724 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66726         * nscd/servicescache.c (cache_addserv): Make sure written is always
66727         initialized.
66729 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66731         * sysdeps/i386/i486/bits/atomic.h
66732         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66733         statement expression, so as to suppress "set but not used" warning.
66734         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66736         * string/strncat.c (STRNCAT): Use prototype definition.
66738         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66739         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66740         -Iprograms here.
66741         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66742         (localedef-modules): Add localedef.
66743         (locale-modules): Add locale.
66745         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66746         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66747         to avoid a warning.
66749 2011-08-14  David S. Miller  <davem@davemloft.net>
66751         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66752         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66754 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66756         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66757         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66758         * elf/rtld.c (dl_main): Set l_name of vDSO.
66759         Call _dl_show_scope when DL_DEBUG_SCOPES.
66760         (process_dl_debug): Recognize scopes flag and also set it for all.
66761         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66762         Declare _dl_show_scope.
66764         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66765         (do_dlopen): Pass caller_dlopen to dl_open.
66766         (__libc_dlopen_mode): Initialize caller_dlopen.
66768         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66769         of libc.  Make tolower call locale-independent.  Optimize a bit by
66770         using isdigit instead of isalnum.
66771         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66773 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66775         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66776         was a dependency or dynamically loaded.
66778 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66780         * intl/l10nflist.c: Allow architecture-specific pop function.
66781         * sysdeps/x86_64/l10nflist.c: New file.
66783         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66784         classification.
66786 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66788         * include/dirent.h: Add libc_hidden_proto for scandirat and
66789         scandirat64.  Don't declare __scandirat64.
66790         * dirent/scandirat.c: Add libc_hidden_def.
66791         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66792         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66794 2011-08-10  David S. Miller  <davem@davemloft.net>
66796         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66797         enum.
66798         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66799         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66800         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66802 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66804         * Versions.def [libc]: Add GLIBC_2.15.
66805         * dirent/Makefile (routines): Add scandirat and scandirat64.
66806         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66807         GLIBC_2.15.
66808         * dirent/dirent.h: Declare scandirat and scandirat64.
66809         * dirent/scandirat.c: New file.
66810         * dirent/scandirat64.c: New file.
66811         * sysdeps/wordsize-64/scandirat.c: New file.
66812         * sysdeps/wordsize-64/scandirat64.c: New file.
66813         * dirent/opendir.c: Define opendirat.
66814         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66815         using scandirat.
66816         * dirent/scandir64.c: Adjust for scandir.c change.
66817         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66818         __scandirat64, and __scandir_cancel_handler.
66819         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66820         additional parameter and use openat instead of open (outside of ld.so).
66821         Add new __opendir as wrapper around __opendirat.
66822         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66823         here without requiring old scandirat implementation.
66825 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66827         * dirent/scandir.c (cancel_handler): Renamed to
66828         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66829         defined.  Adjust users.
66830         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66831         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66833 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66835         * string/test-string.h (IMPL): Use __STRING to expand name and then
66836         stringify it.
66838         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66839         of cleanups.
66841 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66843         * string/Makefile: Update.
66844         (strop-tests): Append strncat.
66845         * string/test-wcscmp.c: New file.
66846         New comprehensive test for wcscmp.
66847         * string/test-strcmp.c: Update.
66848         (WIDE): New define.
66850 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66852         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66853         line.
66855 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66858         encoding to ACE if AI_IDN.
66860 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66862         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66863         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66865 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66867         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66868         Fix overflow bug in strncat.
66869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66871         * string/test-strncat.c: Update.
66872         Add new tests for checking overflow bugs.
66874 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66876         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66877         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66878         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66879         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66880         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66881         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66882         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66883         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66884         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66886         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66887         (USE_AS_STRCAT): Define.
66888         Add strcat and strncat support.
66889         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66891 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66893         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66894         __n bigger than INT_MAX+1.
66895         (__strncmp_g): Likewise.
66897 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66899         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66900         * libio/stido.h: Likewise.
66902         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66903         (AF_NFC): Define.
66904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66905         (AF_NFC): Define.
66907         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66910         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66913         [BZ #13021]
66914         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66915         installed.
66917         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66918         typo.
66919         (_dl_x86_64_save_sse): Likewise.
66921 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66924         OSXSAVE.
66925         (_dl_x86_64_save_sse): Likewise.
66927         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66929         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66931 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66933         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66934         change.
66935         (_dl_x86_64_save_sse): Use correct AVX check.
66937 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66939         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66940         bug in strncpy/strncat.
66941         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66943 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66945         * string/tester.c (test_strcat): Add tests for different alignments
66946         of source and destination.
66947         (test_strncat): Likewise.
66949 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66951         [BZ #12852]
66952         * posix/glob.c (glob): Check passed in values before using them in
66953         expressions to avoid some overflows.
66954         (glob_in_dir): Likewise.
66956         [BZ #13007]
66957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66958         check for AVX enablement so that we don't crash with old kernels and
66959         new hardware.
66960         * elf/tst-audit4.c: Add same checks here.
66961         * elf/tst-audit6.c: Likewise.
66963         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66965 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66967         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66969 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66971         * po/cs.po: Update from translation team.
66972         * po/bg.po: Likewise.
66974 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66976         * misc/sys/cdefs.h: Add support for const attribute.
66977         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66978         to gnu_dev_{major,minor,makedev} functions.
66980 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66982         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66984 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66986         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66987         strlen results.
66989 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66992         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66993         register in order to avoid conflicts with the soft frame pointer
66994         being held in r11 when necessary.
66995         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66996         (INTERNAL_VSYSCALL_NCS): Likewise.
66998 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67000         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67001         * elf/dl-fini.c (_dl_fini): Adjust caller.
67002         * elf/dl-close.c (_dl_close_worker): Likewise.
67003         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67005 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67007         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67008         "aux_cache->nlibs < 0".
67010         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67011         in the reload-count case.
67013 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67016         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67017         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67018         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67019         * sysdeps/x86_64/multiarch/strcat.S: New file.
67020         * sysdeps/x86_64/multiarch/strncat.S: New file.
67021         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67022         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67023         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67024         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67025         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67026         (USE_AS_STRCAT): Define.
67027         Add strcat and strncat support.
67028         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67030         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67031         * string/strncat.c: Update.
67032         (USE_AS_STRNCAT): Define.
67033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67034         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67035         and i7.
67036         * sysdeps/x86_64/multiarch/init-arch.h
67037         (bit_Prefer_PMINUB_for_stringop): New.
67038         (index_Prefer_PMINUB_for_stringop): Likewise.
67039         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67040         bit_Prefer_PMINUB_for_stringop.
67042 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67044         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67045         buffer64.
67046         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67047         of casting of buffer.
67048         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67049         buffer32 and buffer64.
67050         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67051         writes instead of casting of buffer.
67052         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67053         buffer32.
67054         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67055         casting of buffer.
67057 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67059         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67061 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67063         * nscd/nscd.c (termination_handler): Don't do anything for a database
67064         if it has not yet been initialized.
67066 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67068         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67070 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67072         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67074 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67076         * po/nl.po: Update from translation team.
67077         * po/sv.po: Likewise.
67079 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67081         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67082         now disallowed by GCC.
67084         * configure.in (use-default-link): Default to yes if a test -shared
67085         link meets our qualifications.
67086         * configure: Regenerated.
67088         * config.make.in (output-format): New variable.
67089         * configure.in: Check for ld --print-output-format support.
67090         * configure: Regenerated.
67091         * Makerules ($(common-objpfx)format.lds)
67092         [$(output-format) != unknown]: Just use $(output-format),
67093         instead of the linker-script munging.
67095 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67097         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67098         of $(common-objpfx)shlib.lds.
67099         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67101         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67102         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67104         * configure.in (-z relro check): Adjust test code to add a large
67105         writable data section after it.
67106         * configure: Regenerated.
67108 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67110         * configure.in (-z relro check): Fix test code to make the variable
67111         truly const.
67112         * configure: Regenerated.
67114 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67116         * nscd/nscd.h (struct traced_file): Define.
67117         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67118         elements.  Add traced_files.
67119         (inotify_fd): Declare.
67120         (register_traced_file): Declare.
67121         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67122         (inotify_fd): Export.
67123         (resolv_conf_descr): Remove.
67124         (nscd_init): Move inotify descriptor creation to main.
67125         Don't register files for notification here.
67126         (register_traced_file): New function.
67127         (invalidate_cache): Don't use reset_res to determine whether to call
67128         res_init, go through the list of registered files.
67129         (main_loop_poll): The inotify descriptors are now stored in the
67130         structures for the traced files.
67131         (main_loop_epoll): Likewise
67132         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67133         to __nss_disable_nscd.
67134         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67135         for a database anymore.  Check the records for all the registered
67136         files instead.
67137         * nss/Makefile (libnss_files-routines): Add files-init.
67138         (libnss_db-routines): Add db-init.
67139         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67140         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67141         * nss/nss_db/db-init.c: New file.
67142         * nss/nss_files/files-init.c: New file.
67143         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67144         __nss_lookup_function.
67145         (__nss_lookup_function): Call nss_load_library.
67146         (nss_load_all_libraries): New function.
67147         (__nss_disable_nscd): Take parameter with callback function for files
67148         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67149         used for the cached services.
67150         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67151         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67152         options for features to all the files in nscd.
67154         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67156 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67158         * csu/elf-init.c (__libc_csu_init): Comment typo.
67160 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67162         * po/pl.po: Update from translation team.
67163         * po/ja.po: Likewise.
67164         * po/ru.po: Likewise.
67165         * po/ko.po: Likewise.
67166         * po/fr.po: Likewise.
67168 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67170         * configure.in (.ctors/.dtors header and trailer check):
67171         Use an empirical test on a built program.
67172         * configure: Regenerated.
67174         * configure.in (-z relro check): Use an empirical test on a built DSO.
67175         Detect, but do not require, on ia64.
67176         * configure: Regenerated.
67178         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67179         Update tests that use readelf to use $READELF instead.
67180         * configure: Regenerated.
67182 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67184         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67185         if the result is not used.
67187 2011-07-05  Andreas Jaeger  <aj@suse.de>
67189         [BZ#9696]
67190         * stdlib/tst-strtod.c: Add testcase.
67192 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67194         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67195         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67196         The latter has a higher limit.  Take additional parameter to pass to
67197         the new function.
67198         (__pathconf): Pass file to __statfs_link_max.
67199         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67200         __statfs_link_max.
67201         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67202         __statfs_link_max.
67204         [BZ #12868]
67205         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67206         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67207         Handle Lustre.
67208         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67209         (__statfs_filesize_max): Likewise.
67210         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67212 2011-07-05  Andreas Jaeger  <aj@suse.de>
67214         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67216 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67218         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67219         `status' variable.
67220         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67221         Likewise.
67223 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67225         * Makefile (strop-tests): Add strncat.
67226         * string/test-strncat.c: New file.
67228 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67230         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67232 2011-06-21  Andreas Jaeger  <aj@suse.de>
67234         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67235         Copy rule from iconvdata/Makefile.
67237 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67239         [BZ #12922]
67240         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67241         but no long options are defined, just return 'W'.
67243 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67245         [BZ #9696]
67246         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67248 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67250         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67251         netgroups to read.
67252         (innetgr): Likewise.
67254 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67256         * config.make.in (install_root): Default to $(DESTDIR).
67258 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67260         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67262 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67264         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67266         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67267         containing directory rather than embedding absolute directory names.
67269         * scripts/check-local-headers.sh: Rewritten using awk.
67270         Match by word, not by line.  Print error messages for matches.
67271         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67273         * Makerules [shlib-lds-flags empty]:
67274         ($(common-objpfx)libc_pic.opts): New target.
67275         ($(common-objpfx)libc_pic.os.clean): New target.
67276         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67278         * config.make.in (OBJCOPY): New variable.
67279         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67280         * configure: Regenerated.
67282         * config.make.in (use-default-link): New variable.
67283         * configure.in (use_default_link): Grok --with-default-link to set it.
67284         * configure: Regenerated.
67285         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67286         (shlib-lds, shlib-lds-flags): Define to empty.
67288         * Makerules (shlib-lds): New variable.
67289         (shlib-lds-flags): New variable.
67290         (build-shlib, build-moduile, build-module-asneeded): Use it.
67291         ($(common-objpfx)libc.so): Use $(shlib-lds).
67292         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67293         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67295         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67296         DT_FLAGS/DT_FLAGS_1 with zero flags.
67298         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67299         linker script munging.
67301 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67303         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67304         as 128-bit value.
67305         * crypt/sha512.c (sha512_process_block): Perform total addition using
67306         128-bit if possible.
67307         (__sha512_finish_ctx): Likewise.
67308         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67309         as 64-bit value.
67310         * crypt/sha256.c (SWAP64): Define.
67311         (sha256_process_block): Perform total addition using 64-bit if
67312         possible.
67313         (__sha256_finish_ctx): Likewise.
67315 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67317         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67319         * nscd/hstcache.c (cache_addhst): Likewise.
67320         * nscd/grpcache.c (cache_addgr): Likewise.
67321         * nscd/aicache.c (addhstaiX): Likewise
67322         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67324 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67326         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67327         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67328         * nscd/hstcache.c (cache_addhst): Likewise.
67329         * nscd/grpcache.c (cache_addgr): Likewise.
67330         * nscd/aicache.c (addhstaiX): Likewise
67332 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67334         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67335         domain only when needed.
67337 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67340         is always restored.
67342 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67344         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67345         are re-adding the entry.
67346         * nscd/servicescache.c (cache_addserv): Likewise.
67348 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67350         * sysdeps/generic/dl-irel.h: fix protection against multiple
67351         inclusions.
67352         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67354 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67356         [BZ #12935]
67357         * malloc/memusage.sh: Fix quoting in message.
67358         * debug/xtrace.sh: Likewise.
67360         * configure.in: Remove support for --experimental-malloc option, make
67361         it the default.
67362         * config.make.in: Likewise.
67363         * malloc/Makefile: Likewise.
67365 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67367         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67368         two-byte characters.
67370 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67372         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67373         AC_CACHE_CHECK invocation.
67374         * configure: Regenerated.
67376         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67378 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67380         [BZ #12350]
67381         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67382         bit from old_res_options.
67384         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67386         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67387         value type for setfct.
67389 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67392         __gettimeofday instead of gettimeofday.
67394 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67396         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67398 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67400         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67402         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67403         info.
67405 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67408         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67409         strcpy-sse2-unaligned strncpy-sse2-unaligned
67410         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67411         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67412         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67413         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67414         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67415         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67416         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67417         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67418         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67419         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67420         (STRCPY): Support SSE2 and SSSE3 versions.
67422 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67424         [BZ #12874]
67425         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67426         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67427         kernels which artificially limit size of requests.
67429 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67431         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67432         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67433         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67434         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67435         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67436         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67437         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67438         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67439         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67440         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67441         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67442         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67443         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67444         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67445         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67447         Enable unaligned load optimization for Intel Core i3, i5 and i7
67448         processors.
67449         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67450         Define.
67451         (index_Fast_Unaligned_Load): Define.
67452         (HAS_FAST_UNALIGNED_LOAD): Define.
67454 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67456         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67458 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67460         [BZ #12907]
67461         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67462         until it is clear that the information is realy needed.
67463         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67465 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67469 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67472         /sys/devices/system/cpu/online if it is usable.
67474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67475         reading the information from the /proc filesystem to once a second.
67477 2011-06-21  Andreas Jaeger  <aj@suse.de>
67479         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67480         NULL after inclusion of kernel headers.
67482 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67484         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67485         calls to internal_setent.
67487         [BZ #12885]
67488         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67489         addresses using gethostbyname4_r ignore IPv4 addresses.
67491         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67492         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67494         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67496 2011-06-20  David S. Miller  <davem@davemloft.net>
67498         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67499         inclusions.
67500         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67502         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67503         (elf_irel): Use it.
67504         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67505         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67506         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67507         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67508         * sysdeps/x86_64/dl-irel.h: Likewise.
67510         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67511         * elf/dl-sym.c: Likewise.
67513 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67515         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67516         need to dereference resplen2.
67518 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67520         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67522 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67524         * Makeconfig: Define vardbdir and inst_vardbdir.
67525         * nss/Makefile: Add rules to install db-Makefile.
67527         * nss/nss_db/db-XXX.c: Cleanup.
67529         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67530         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67531         GLIBC_PRIVATE.
67532         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67533         * nss/makedb.c: Implement -g option to specify that value strings
67534         are generated and should not be added to table iterated over for
67535         get*ent calls.
67536         * nss/nss_db/db-initgroups.c: New file.
67538         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67539         interface.
67541         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67542         (internal_getgrouplist): Adjust to name change.
67543         Update use_initgroups_entry if this is not the first call.
67544         * nss/databases.def: Add initgroups entry.
67546         * nss/makedb.c (compute_tables): Check result of multiple hash table
67547         sizes to minimize maximum chain length.
67549 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67551         * Versions.def: Add entry for libnss_db.
67552         * shlib-versions: Likewise.
67553         * nss/Makefile: Add rules to build libnss_db.
67554         * nss/Versions: Add libnss_db information.  Organize libnss_files
67555         entries better.
67556         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67557         makedb progra.  Some minor improvements to generate smaller files.
67558         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67559         here from...
67560         * nss/makedb.c: ...here.
67561         Improve database format to be smaller and require less memory at
67562         runtime.
67563         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67564         db anymore.
67565         * nss/nss_db/db-netgrp.c: Likewise.
67566         * nss/nss_db/db-open.c: Likewise.
67567         * nss/nss_files/flies-XXX.x: Adjust comments.
67568         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67569         * nss/nss_files/files-grp.c: Likewise.
67570         * nss/nss_files/files-hosts.c: Likewise.
67571         * nss/nss_files/files-network.c: Likewise.
67572         * nss/nss_files/files-proto.c: Likewise.
67573         * nss/nss_files/files-pwd.c: Likewise.
67574         * nss/nss_files/files-rpc.c: Likewise.
67575         * nss/nss_files/files-service.c: Likewise.
67576         * nss/nss_files/files-sgrp.c: Likewise.
67577         * nss/nss_files/files-spwd.c: Likewise.
67578         * nss/nss_db/db-alias.c: Removed.
67579         * nss/nss_db/dummy-db.h: Removed.
67581 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67583         * nss/makedb.c: Rewritten to not use database library.
67584         * nss/Makefile: Update to build new makedb program.
67586 2011-06-14  Andreas Jaeger  <aj@suse.de>
67588         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67589         memset declaration.
67591 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67594         tmpbuf.
67596 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67598         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67599         * elf/Makefile ($(objpfx)ld.so): Likewise.
67601         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67602         Don't list ld.so twice in dependencies.
67604         * posix/bug-regex31.c: Include <stdlib.h>.
67606         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67608         * nis/nss_compat/compat-spwd.c
67609         (getspent_next_nss_netgr): Remove unused variable.
67610         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67612         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67613         nonmembers" output to use the right array.
67615         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67617         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67619         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67620         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67621         * catgets/gencat.c (read_input_file): Likewise.
67622         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67624         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67625         variable definition inside #if's controlling its use.
67627         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67629         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67631         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67633         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67634         unreachable code.
67636         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67638         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67639         * configure: Regenerated.
67641         * Makerules: Revert last change.
67642         * elf/Makefile: Likewise.
67644 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67646         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67647         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67648         (reloc-link): Likewise.
67650 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67652         * elf/Makefile: Add rules to build pldd.
67653         * elf/pldd.c: New file.
67654         * elf/pldd-xx.c: New file.
67656 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67658         * version.h: Update for 2.15 development version.
67660 2011-06-07  David S. Miller  <davem@davemloft.net>
67662         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67663         ifuncs.
67664         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67665         elf_machine_lazy_rel): Likewise.
67666         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67667         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67668         elf_machine_lazy_rel): Likewise.
67669         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67670         dl_hwcap via passed in argument.
67671         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67672         Likewise.
67674 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67676         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67678 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67680         [BZ #12849]
67681         * manual/fdl-1.1.texi: New file, verbatim from:
67682         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67683         * manual/lgpl-2.1.texi: New file, verbatim from:
67684         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67685         * manual/Makefile (licenses): New variable, list those new file names.
67686         (texis): Use it.
67687         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67689         * manual/fdl.texi: File removed.
67690         * manual/lesser.texi: File removed.
67691         * manual/libc.texinfo (Copying, Documentation License):
67692         Use new @include file names, put @appendix directive before @include.
67694 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67696         [BZ #12841]
67697         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67698         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67699         (mq_open): Add __NTH.
67701 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67704         Assume Intel Core i3/i5/i7 processor if AVX is available.
67706 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67708         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67709         typo.
67711 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67713         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67714         memory.  Use alloca_account.  Fix memory leak when retrying.
67716 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67718         * version.h (RELEASE): Bump for 2.14 release.
67719         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67721         * config.make.in (RANLIB): Remove entry.
67723 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67725         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67726         (libc.pot): Work around missing support for .ksh extension in xgettext.
67728         [BZ #12684]
67729         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67730         if both request failed.
67731         (send_dg): In case of server errors clear resplen or *resplen2.
67733         [BZ #12454]
67734         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67735         when there are multiple maps.
67736         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67737         (_dl_fini): Remove test here.
67739         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67741 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67743         [BZ #12350]
67744         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67745         bit from old_res_options.
67746         (gaih_inet): Likewise.
67748         [BZ #11099]
67749         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67750         as signed.
67752         * resolv/res_init.c (res_setoptions): Make the code more compact.
67754         [BZ #11558]
67755         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67756         set RES_USEVC.
67758         [BZ #11634]
67759         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67761         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67763         [BZ #11781]
67764         * malloc/malloc.h: Declare malloc hook variables as volatile.
67766         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67767         in last patch.
67769         [BZ #11799]
67770         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67771         raise in the comment.
67772         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67773         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67774         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67776 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67778         [BZ #12811]
67779         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67780         grow the buffers more if it already has to be sufficient.
67781         (build_wcs_upper_buffer): Likewise.
67782         * posix/regexec.c (check_matching): Likewise.
67783         (clean_state_log_if_needed): Likewise.
67784         (extend_buffers): Don't enlarge buffers beyond size of the input
67785         buffer.
67786         Patches mostly by Emil Wojak <emil@wojak.eu>.
67787         * posix/bug-regex32.c: New file.
67788         * posix/Makefile (tests): Add bug-regex32.
67790         * locale/findlocale.c (_nl_find_locale): Return right away if
67791         _nl_explode_name failed.
67792         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67794         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67796         * debug/xtrace.sh: Unify messages.
67797         * malloc/memusage.sh: Likewise.
67799         [BZ #12813]
67800         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67801         time symbol from vDSO.  Substitute with vsyscall if not available.
67802         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67803         __vdso_time.
67805         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67806         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67807         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67808         Add sendmmsg and internal_sendmmsg.
67809         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67810         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67811         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67813         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67814         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67815         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67817 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67819         [BZ #12813]
67820         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67821         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67822         available.
67823         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67824         __vdso_getcpu.
67826         [BZ #12814]
67827         * iconvdata/Makefile (tests): Add bug-iconv9.
67828         * iconvdata/bug-iconv9.c: New file.
67830 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67832         [BZ #12814]
67833         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67835 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67838         (struct user_regs_struct): Change intcs field back to cs.
67840 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67842         * po/ja.po: Update from translation team.
67844 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67846         [BZ #12795]
67847         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67848         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67850 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67852         * stdlib/longlong.h: Update from GCC.
67854 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67856         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67857         parameter name.
67858         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67859         Add parameter name.
67860         (__sysconf): Pass it down.
67862 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67864         [BZ #12671]
67865         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67866         some situations.
67867         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67868         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67869         add in in __libc_use_alloca calls.  Adjust callers.
67870         (glob): Use malloc in some situations.
67872         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67873         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67874         pltexit.
67876 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67878         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67879         and CLOCK_BOOTTIME_ALARM.
67881         [BZ #12782]
67882         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67883         is returned.
67885         * string/_strerror.c (__strerror_r): Print negative errors as signed
67886         numbers.
67888         [BZ #12777]
67889         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67890         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67891         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67893         * configure.in: Fix typo in redirection and correct removal of test
67894         files in two cases.
67896         [BZ #12788]
67897         * locale/setlocale.c (new_composite_name): Fix test to check for
67898         identical name of all categories.
67900         [BZ #12792]
67901         * libio/filedoalloc.c (local_isatty): New function.
67902         (_IO_file_doallocate): Use local_isatty.
67903         * stdio-common/perror.c (perror): In case a new stream is used
67904         forward the stream error.
67905         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67906         error flag.
67908 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67910         [BZ #11869]
67911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67912         alloca.
67913         * include/alloca.h (extend_alloca_account): Define.
67915         [BZ #11857]
67916         * posix/regex.h: Fix comments with documentation of user-accessible
67917         fields after compilation and describe correct free'ing of pattern
67918         after re_compile_pattern.
67919         Patch by Reuben Thomas <rrt@sc3d.org>.
67921 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67923         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67924         and -mno-altivec to prevent the compiler from using Altivec and/or
67925         VSX instructions when the corresponding registers are not available.
67927 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67929         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67931 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67933         * libio/freopen.c (freopen): Use __dup2, not dup2.
67934         * libio/freopen64.c (freopen64): Likewise.
67936 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67938         [BZ #12775]
67939         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67940         * math/Makefile (tests): Add test-powl.
67941         (CFLAGS-test-powl.c): Define.
67942         * math/test-powl.c: New file.
67944 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67946         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67948 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67950         [BZ #11837]
67951         * iconvdata/gb18030.c: Update to GB18020-2005.
67953 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67955         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67956         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67957         Patch by Aharon Robbins <arnold@skeeve.com>.
67959         [BZ #11892]
67960         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67961         on the stack.
67963         [BZ #11895]
67964         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67965         through underflows.
67967         [BZ #12766]
67968         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67969         point to strings before performing equality test for error_one_per_line
67970         mode.
67972         [BZ #11697]
67973         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67975         [BZ #11820]
67976         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67977         (struct user_fpregs_struct): Avoid __uint*_t types.
67979         [BZ #6420]
67980         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67981         symbol info.  Use it instead of calling _dl_addr locally.
67982         (lock_and_info): New function.
67983         (tr_freehook): Call lock_and_info and pass symbol info as additional
67984         parameter to tr_where.
67985         (tr_mallochook): Likewise.
67986         (tr_reallochook): Likewise.
67987         (tr_memalignhook): Likewise.
67989         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67990         used and couldn't be at all thread-safe.
67992 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67994         * libio/freopen.c (freopen): Don't close old file descriptor
67995         before the new one is opened.  Instead dup the new file descriptor
67996         to the old one after the new stream is created.
67997         * libio/freopen64.c (freopen64): Likewise.
67998         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67999         * libio/fileops.c (_IO_new_file_close_it): Handle new
68000         _IO_FLAGS2_NOCLOSE flag.
68001         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68002         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68003         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68004         _IO_FLAGS2_NOCLOSE flag.
68005         * include/unistd.h: Add hidden_proto for dup3.
68006         Define __have_dup3.
68007         * io/dup3.c: Define hidden symbol.
68008         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68010         [BZ #7101]
68011         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68012         when an incomplete long option is used.
68013         * posix/tst-getopt_long1.c: New file.
68014         * posix/Makefile (tests): Add tst-getopt_long1.
68016         [BZ #10138]
68017         * scripts/config.guess: Update from autoconf-2.68.
68018         * scripts/config.sub: Likewise.
68020         [BZ #10157]
68021         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68022         tests into ...
68023         (has_cpuclock): ...this.  New function.
68024         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68025         macro here based on has_cpuclock code.
68027         [BZ #10149]
68028         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68029         First byte (not low byte) is now always NUL.
68030         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68032         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68033         Use non-cancelable interfaces.
68035         [BZ #9809]
68036         * locale/iso-639.def: Add entry for Sorani.
68038         [BZ #11901]
68039         * include/stdlib.h: Move include protection to the right place.
68040         Define abort_msg_s.  Declare __abort_msg with it.
68041         * stdlib/abort.c (__abort_msg): Adjust type.
68042         * assert/assert.c (__assert_fail_base): New function.  Majority
68043         of code from __assert_fail.  Allocate memory for __abort_msg with
68044         mmap.
68045         (__assert_fail): Now call __assert_fail_base.
68046         * assert/assert-perr.c: Remove bulk of implementation.  Use
68047         __assert_fail_base.
68048         * include/assert.hL Declare __assert_fail_base.
68049         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68050         mmap.
68051         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68053 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68055         [BZ #11952]
68056         [BZ #12453]
68057         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68058         until all modules are registered in the DTV.
68059         * elf/Makefile: Add rules to build and run tst-tls19.
68060         * elf/tst-tls19.c: New file.
68061         * elf/tst-tls19mod1.c: New file.
68062         * elf/tst-tls19mod2.c: New file.
68063         * elf/tst-tls19mod3.c: New file.
68064         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68066         [BZ #12083]
68067         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68068         correctly.
68070         [BZ #12601]
68071         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68072         two-byte sequence errors.
68073         * iconvdata/Makefile (tests): Add bug-iconv8.
68074         * iconvdata/bug-iconv8.c: New file.
68076         [BZ #12626]
68077         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68078         buf2 definition.
68080         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68082         [BZ #12432]
68083         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68084         (dummy_getcfa): New function.
68085         (init): Get _Unwind_GetCFA address, use dummy if not found.
68086         (backtrace_helper): In recursion check, also check whether CFA changes.
68087         (__backtrace): Completely initialize arg.
68089         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68090         storing incomplete byte sequence in state object.  Avoid testing for
68091         guaranteed too small input if we know there is enough data available.
68093 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68095         * Makeconfig (+link-pie): Indent.
68096         * Rules (binaries-pie): Define if $(have-fpie) and
68097         $(build-shared).
68098         (binaries-shared): Also filter out $(binaries-pie).
68099         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68100         * nscd/Makefile (others-pie): Add nscd.
68101         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68102         ($(objpfx)nscd): Remove command override.
68103         * login/Makefile (others-pie): Add pt_chown.
68104         ($(objpfx)pt_chown): Remove command override.
68105         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68106         remove command overrides.
68108 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68110         * libio/tst_putwc.c: Fix error messages.
68112         [BZ #12724]
68113         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68114         currently writing and seek to current position when not.
68115         * libio/Makefile (tests): Add bug-fclose1.
68116         * libio/bug-fclose1.c: New file.
68118 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68120         [BZ #12511]
68121         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68122         don't set DF_1_NODELETE here.
68123         (do_lookup_x): When entering new entry test for copy relocation
68124         and if necessary set DF_1_NODELETE flag.
68125         * elf/tst-unique4.cc: New file.
68126         * elf/tst-unique4.h: New file.
68127         * elf/tst-unique4lib.cc: New file.
68128         * elf/Makefile: Add rules to build and run tst-unique4.
68129         Patch by Piotr Bury <pbury@goahead.com>.
68131 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68133         [BZ #12052]
68134         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68136         [BZ #12625]
68137         * misc/mntent_r.c (addmntent): Flush the stream after the output
68139         [BZ #12393]
68140         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68141         (is_trusted_path_normalize): Skip initial colon.  Append slash
68142         to empty buffer.  Duplicate is_trusted_path code but allow
68143         constructed patch to be prefix.
68144         (is_dst): Allow $ORIGIN followed by /.
68145         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68146         Correct testing of result of is_trusted_path_normalize
68147         (decompose_rpath): Fix warning.
68149 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68151         [BZ #11257]
68152         * grp/initgroups.c (internal_getgrouplist): When we found the service
68153         list through the initgroups entry in nsswitch.conf do not always
68154         continue on a successful lookup.  Don't always use the
68155         __nss_group_database value if it is set.
68156         * nss/nsswitch.conf (initgroups): Change action for successful db
68157         lookup to continue for compatibility.
68159 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68161         [BZ #11532]
68162         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68163         and CP774 modules.
68164         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68165         and CP774 modules.
68166         * iconvdata/tst-tables.sh: Likewise.
68167         * iconvdata/cp770.c: New file.
68168         * iconvdata/cp771.c: New file.
68169         * iconvdata/cp772.c: New file.
68170         * iconvdata/cp773.c: New file.
68171         * iconvdata/cp774.c: New file.
68172         * iconvdata/testdata/CP770: New file.
68173         * iconvdata/testdata/CP770..UTF8: New file.
68174         * iconvdata/testdata/CP771: New file.
68175         * iconvdata/testdata/CP771..UTF8: New file.
68176         * iconvdata/testdata/CP772: New file.
68177         * iconvdata/testdata/CP772..UTF8: New file.
68178         * iconvdata/testdata/CP773: New file.
68179         * iconvdata/testdata/CP773..UTF8: New file.
68180         * iconvdata/testdata/CP774: New file.
68181         * iconvdata/testdata/CP774..UTF8: New file.
68183         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68184         END CHARMAP line.
68185         * iconvdata/gen-8bit-gap.sh: Likewise.
68186         * iconvdata/gen-8bit.sh: Likewise.
68188         * locale/iso-639.def: Add ary entry.
68190         [BZ #11258]
68191         * locale/C-translit.h.in: Add U20A1 transliteration.
68193         [BZ #12178]
68194         * locale/iso-639.def: Add wae entry.
68195         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68197         [BZ #12545]
68198         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68199         for n.
68201         [BZ #12711]
68202         * locale/C-translit.h.in: Add entry for U20B9.
68203         Patch by pravin.d.s@gmail.com.
68205 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68207         [BZ #12713]
68208         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68209         ENAMETOOLONG use generic getcwd.
68210         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68211         in rtld.  Use *stat64.
68212         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68213         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68214         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68215         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68216         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68217         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68218         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68219         __fstatat64 macros.
68220         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68221         * dirent/rewinddir.c: Add libc_hidden_def.
68222         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68223         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68225         * include/dirent.h (__alloc_dir): Add flags parameter.
68226         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68227         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68228         __alloc_dir.
68229         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68230         from fdopendir if O_CLOEXEC is already set.
68232 2011-03-15  Alan Modra  <amodra@gmail.com>
68234         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68235         l_tls_firstbyte_offset non-zero.  Save padding offset in
68236         l_tls_firstbyte_offset for later use.
68237         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68238         freeing static tls block.
68240 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68242         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68243         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68244         being defined by the kernel headers.
68246 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68248         [BZ #12734]
68249         * resolv/resolv.h: Define RES_NOTLDQUERY.
68250         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68251         no-tld-query and set RES_NOTLDQUERY.
68252         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68253         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68254         modern BIND to search name as TLD unless forbidden.
68256 2011-05-07  Petr Baudis  <pasky@suse.cz>
68257             Ulrich Drepper  <drepper@gmail.com>
68259         [BZ #12393]
68260         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68261         (is_trusted_path): ...to here.
68262         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68263         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68264         using is_trusted_path_normalize() in setuid scripts.
68266 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68268         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68269         __BEGIN/__END_DECLS.
68271 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68273         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68274         NSS_STATUS_NOTFOUND if no record was found.
68276 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68278         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68279         (headers-not-in-tirpc): Remove rpc/netdb.h
68280         * resolv/netdb.h: Revert last change.
68282 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68284         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68285         circular dependency between libgcc.a and libc.a.
68287 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68289         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68290         * nis/Makefile: Don't install rpcsvc/*.
68291         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68292         instead of <rpc/types.h>.
68293         (MAXHOSTNAMELEN): Define.
68295 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68297         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68299 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68301         [BZ #12714]
68302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68303         gethostbyname4_r when IPv6 results are possible.
68305 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68307         [BZ #12723]
68308         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68309         _PC_PIPE_BUF handling.
68311 2011-04-30  Bruno Haible  <bruno@clisp.org>
68313         [BZ #12717]
68314         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68315         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68316         to 'int'.
68317         * inet/getnameinfo.c (getnameinfo): Likewise.
68319 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68321         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68322         to groups setting in database lookup.
68323         * nss/nsswitch.conf: Add initgroups entry.
68325 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68327         [BZ #12685]
68328         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68329         mode string.
68330         Patch by Eric Blake <eblake@redhat.com>.
68332 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68334         * sunrpc/Makefile (need-export-routines): Add svc_run.
68335         (routines): Remove svc_run.
68336         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68337         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68338         * sunrpc/svc_run.c (svc_run): Likewise.
68339         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68341 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68343         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68344         problem in reallocation in last patch.
68346 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68348         * sunrpc/Makefile: Move inclusion of Rules.
68350 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68352         * nss/nss_files/files-initgroups.c: New file.
68353         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68354         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68355         _nss_files_initgroups_dyn.
68357 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68359         * elf/elf.h (R_ARM_IRELATIVE): Define.
68361 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68363         * po/ru.po: Update from translation team.
68365 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68367         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68368         dependencies.
68370 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68372         [BZ #12653]
68373         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68374         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68376         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68377         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68379 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68381         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68382         differing bytes.
68383         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68385         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68387 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68389         [BZ #12420]
68390         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68391         storing it.
68392         * stdlib/bug-getcontext.c: New file.
68393         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68395 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68397         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68398         instructions into .machine "z9-109".
68399         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68400         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68402 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68404         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68405         between environment variables and auxiliary vector.
68407 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68409         * Makefile: Add rules to build linkobj/libc.so.
68410         * include/libc-symbols.h: Define libc_hidden_nolink.
68411         * include/rpc/auth.h: Mark functions which are to be hidden.
68412         * include/rpc/auth_des.h: Likewise.
68413         * include/rpc/auth_unix.h: Likewise.
68414         * include/rpc/clnt.h: Likewise.
68415         * include/rpc/des_crypt.h: Likewise.
68416         * include/rpc/key_prot.h: Likewise.
68417         * include/rpc/pmap_clnt.h: Likewise.
68418         * include/rpc/pmap_prot.h: Likewise.
68419         * include/rpc/pmap_rmt.h: Likewise.
68420         * include/rpc/rpc_msg.h: Likewise.
68421         * include/rpc/svc.h: Likewise.
68422         * include/rpc/svc_auth.h: Likewise.
68423         * include/rpc/xdr.h: Likewise.
68424         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68425         * nss/Makefile: Likewise.
68426         * sunrpc/Makefile: Don't install headers.  Build library with normal
68427         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68428         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68429         for the compat linking library.  Remove use of INTDEF/INTUSE.
68430         * sunrpc/auth_none.c: Likewise.
68431         * sunrpc/auth_unix.c: Likewise.
68432         * sunrpc/authdes_prot.c: Likewise.
68433         * sunrpc/authuxprot.c: Likewise.
68434         * sunrpc/clnt_gen.c: Likewise.
68435         * sunrpc/clnt_perr.c: Likewise.
68436         * sunrpc/clnt_raw.c: Likewise.
68437         * sunrpc/clnt_simp.c: Likewise.
68438         * sunrpc/clnt_tcp.c: Likewise.
68439         * sunrpc/clnt_udp.c: Likewise.
68440         * sunrpc/clnt_unix.c: Likewise.
68441         * sunrpc/des_crypt.c: Likewise.
68442         * sunrpc/des_soft.c: Likewise.
68443         * sunrpc/get_myaddr.c: Likewise.
68444         * sunrpc/key_call.c: Likewise.
68445         * sunrpc/key_prot.c: Likewise.
68446         * sunrpc/netname.c: Likewise.
68447         * sunrpc/pm_getmaps.c: Likewise.
68448         * sunrpc/pm_getport.c: Likewise.
68449         * sunrpc/pmap_clnt.c: Likewise.
68450         * sunrpc/pmap_prot.c: Likewise.
68451         * sunrpc/pmap_prot2.c: Likewise.
68452         * sunrpc/pmap_rmt.c: Likewise.
68453         * sunrpc/publickey.c: Likewise.
68454         * sunrpc/rpc_cmsg.c: Likewise.
68455         * sunrpc/rpc_common.c: Likewise.
68456         * sunrpc/rpc_dtable.c: Likewise.
68457         * sunrpc/rpc_prot.c: Likewise.
68458         * sunrpc/rpc_thread.c: Likewise.
68459         * sunrpc/rtime.c: Likewise.
68460         * sunrpc/svc.c: Likewise.
68461         * sunrpc/svc_auth.c: Likewise.
68462         * sunrpc/svc_authux.c: Likewise.
68463         * sunrpc/svc_raw.c: Likewise.
68464         * sunrpc/svc_run.c: Likewise.
68465         * sunrpc/svc_simple.c: Likewise.
68466         * sunrpc/svc_tcp.c: Likewise.
68467         * sunrpc/svc_udp.c: Likewise.
68468         * sunrpc/svc_unix.c: Likewise.
68469         * sunrpc/svcauth_des.c: Likewise.
68470         * sunrpc/xcrypt.c: Likewise.
68471         * sunrpc/xdr.c: Likewise.
68472         * sunrpc/xdr_array.c: Likewise.
68473         * sunrpc/xdr_float.c: Likewise.
68474         * sunrpc/xdr_intXX_t.c: Likewise.
68475         * sunrpc/xdr_mem.c: Likewise.
68476         * sunrpc/xdr_rec.c: Likewise.
68477         * sunrpc/xdr_ref.c: Likewise.
68478         * sunrpc/xdr_sizeof.c: Likewise.
68479         * sunrpc/xdr_stdio.c: Likewise.
68481 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68483         [BZ #12650]
68484         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68485         * sysdeps/ia64/dl-tls.h: Likewise.
68486         * sysdeps/powerpc/dl-tls.h: Likewise.
68487         * sysdeps/s390/dl-tls.h: Likewise.
68488         * sysdeps/sh/dl-tls.h: Likewise.
68489         * sysdeps/sparc/dl-tls.h: Likewise.
68490         * sysdeps/x86_64/dl-tls.h: Likewise.
68491         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68493 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68495         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68496         rpath element also skip the following colon.
68497         (expand_dynamic_string_token): Add is_path parameter and pass
68498         down to DL_DST_REQUIRED and _dl_dst_substitute.
68499         (decompose_rpath): Call expand_dynamic_string_token with
68500         non-zero is_path.  Ignore empty rpaths.
68501         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68502         with zero is_path.
68504 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68507         Make cancelable.
68509 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68511         [BZ #12655]
68512         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68513         Patch by Filipe David Manana <fdmanana@apache.org>.
68515 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68517         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68518         Maintain aligned stack.
68519         (CHECK_RSP): Remove unused macro.
68521 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68523         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68524         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68526 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68528         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68530         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68532 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68534         [BZ #12518]
68535         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68536         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68537         * sysdeps/x86_64/memmove.c: New file.
68538         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68539         (memcpy): Renamed to ...
68540         (__new_memcpy): This.
68541         (memcpy): Provide GLIBC_2_14 memcpy.
68542         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68543         (memcpy): Provide GLIBC_2_2_5 memcpy.
68545 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68547         [BZ #12631]
68548         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68550 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68552         * misc/syncfs.c: New file.
68553         * misc/Makefile (routines): Add syncfs.
68554         * posix/unistd.h: Declare syncfs.
68555         * sysdeps/unix/syscalls.list: Add syncfs.
68557 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68559         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68560         open_by_handle_at.
68561         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68562         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68564         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68566         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68567         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68569 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68571         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68573         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68577         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68579         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68580         sync_file_range.c with -fexceptions.
68581         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68582         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68583         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68584         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68585         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68586         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68588         sync_file_range as cancellation point
68589         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68590         now a wrapper around __call_sync_file_range with cancellation handling.
68591         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68592         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68593         function name to __call_sync_file_range.
68594         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68595         Add call_sync_file_range.
68597 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68600         bits/timex.h.
68602 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68604         * iconv/iconv.h: Fix typo in comment.
68605         * io/fcntl.h: Likewise.
68606         * libio/stdio.h: Likewise.
68607         * posix/spawn.h: Likewise.
68608         * posix/unistd.h: Likewise.
68609         * stdlib/stdlib.h: Likewise.
68610         * time/time.h: Likewise.
68611         * wcsmbs/wchar.h: Likewise.
68613         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68614         open_by_handle): Add.
68615         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68616         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68617         Augment a few comments.
68618         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68623         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68624         open_by_handle.
68626         * io/fcntl.h (AT_EMPTY_PATH): Define.
68628 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68630         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68631         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68632         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68633         to...
68634         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68635         * Versions.def: Add GLIBC_2.14.
68636         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68637         Export.
68639 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68641         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68642         round counter.
68643         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68645 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68647         [BZ #12597]
68648         * string/test-strncmp.c (do_page_test): New function.
68649         (check2): Likewise.
68650         (test_main): Call check2.
68651         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68653 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68655         [BZ #12587]
68656         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68657         Handle cache information in CPU leaf 4.
68658         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68660 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68662         [BZ #12583]
68663         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68664         character representation.
68665         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68667 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68669         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68670         END(__isnan) to END(__isnanf) to match function entry point/label
68671         EALIGN(__isnanf,...).
68673 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68675         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68677 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68679         [BZ #12510]
68680         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68681         copy from the symbol referenced in the relocation to initialize the
68682         used variable.
68683         Patch by Piotr Bury <pbury@goahead.com>.
68684         * elf/Makefile: Add rules to build and tst-unique3.
68685         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68686         * elf/tst-unique3.cc: New file.
68687         * elf/tst-unique3.h: New file.
68688         * elf/tst-unique3lib.cc: New file.
68689         * elf/tst-unique3lib2.cc: New file.
68691         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68693 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68695         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68696         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68697         to _start.
68699 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68701         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68702         to-be-loaded object along a path to loader is ld.so.
68704 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68705             Ulrich Drepper  <drepper@gmail.com>
68707         * sysdeps/x86_64/memset.S: After aligning destination, code
68708         branches to different locations depending on the value of
68709         misalignment, when multiarch is enabled. Fix this.
68711 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68713         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68714         Set _x86_64_preferred_memory_instruction for AMD processsors.
68715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68716         Set bit_Prefer_SSE_for_memop for AMD processors.
68718 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68720         * libio/fmemopen.c (fmemopen): Optimize a bit.
68722 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68724         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68726 2011-03-03  Roland McGrath  <roland@redhat.com>
68728         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68730 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68732         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68733         __bzero_ultra1 instead of __memset_ultra1.
68735 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68736             Ulrich Drepper  <drepper@gmail.com>
68738         [BZ #12509]
68739         * include/link.h (struct link_map): Add l_orig_initfini.
68740         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68741         returning unsuccessfully.
68742         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68743         close of a file loaded at startup, restore the original l_initfini
68744         list.
68745         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68746         list, store the pointer.
68747         * elf/Makefile ($(objpfx)noload-mem): New rule.
68748         (noload-ENV): Define.
68749         (tests): Add $(objpfx)noload-mem.
68750         * elf/noload.c: Include <memcheck.h>.
68751         (main): Call mtrace.  Close all opened handles.
68753 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68755         [BZ #12454]
68756         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68757         dependencies are missing.
68759 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68761         Fix __if_freereq crash: Unlike the generic version which uses free,
68762         Hurd needs munmap.
68763         * sysdeps/mach/hurd/ifreq.h: New file.
68765 2011-01-27  Petr Baudis  <pasky@suse.cz>
68766             Ulrich Drepper  <drepper@gmail.com>
68768         [BZ 12445]#
68769         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68770         to extend_alloca().
68771         * stdio-common/bug23.c: New file.
68772         * stdio-common/Makefile (tests): Add bug23.
68774 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68775             Ulrich Drepper  <drepper@gmail.com>
68777         [BZ #12489]
68778         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68779         before performing relro protection.  At old place add assertion
68780         to make sure nothing changed.
68782 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68783             Glauber de Oliveira Costa  <glommer@gmail.com>
68785         * elf/elf.h: Add new ARM TLS relocs.
68787 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68790         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68791         cast from r3.
68792         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68793         'tests' variable.
68794         * sysdeps/wordsize-64/tst-writev.c: New file.
68796 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68798         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68799         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68800         insns in _dl_start to prevent a TOC reference before relocs are
68801         resolved.
68803 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68805         [BZ #12469]
68806         * Makeconfig: Remove RANLIB definition.
68807         * Makerules: Don't use RANLIB.
68808         * aclocal.m4: Remove ranlib test.
68809         * configure.in: No need to check for ranlib.
68810         * elf/rtld-Rules: Don't use RANLIB.
68812 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68814         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68815         protection macro.
68816         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68817         inclusion protection macro.
68819         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68820         SIGRTMIN and SIGRTMAX and print information in that case only when
68821         SIGRTMIN is defined.
68823 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68825         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68826         arginfo fn returning -1.
68828         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68829         and thousands string is zero terminated.
68831 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68833         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68834         sysdeps/unix/sysv/linux/bits/socket.h.
68836 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68838         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68839         (__CPU_COUNT): Remove old macros.
68840         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68841         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68842         (__CPU_ALLOC, __CPU_FREE): Add macros.
68843         (__sched_cpualloc, __sched_cpufree): Add declarations.
68845 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68847         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68848         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68849         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68850         (readdhstai): Return value of addhstaiX call.
68851         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68852         (addgrbyX): Return value returned by cache_addgr.
68853         (readdgrbyname): Return value returned by addgrbyX.
68854         (readdgrbygid): Likewise.
68855         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68856         (addpwbyX): Return value returned by cache_addpw.
68857         (readdpwbyname): Return value returned by addhstbyX.
68858         (readdpwbyuid): Likewise.
68859         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68860         (addservbyX): Return value returned by cache_addserv.
68861         (readdservbyname): Return value returned by addservbyX:
68862         (readdservbyport): Likewise.
68863         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68864         (addhstbyX): Return value returned by cache_addhst.
68865         (readdhstbyname): Return value returned by addhstbyX.
68866         (readdhstbyaddr): Likewise.
68867         (readdhstbynamev6): Likewise.
68868         (readdhstbyaddrv6): Likewise.
68869         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68870         (readdinitgroups): Return value returned by addinitgroupsX.
68871         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68872         (prune_cache): Keep track of timeout value of re-added entries.
68873         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68874         * nscd/nscd.h: Adjust prototypes of readd* functions.
68876 2011-02-04  Roland McGrath  <roland@redhat.com>
68878         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68879         (nis_stats): Likewise.
68880         * nis/nis_modify.c (nis_modify): Likewise.
68881         * nis/nis_remove.c (nis_remove): Likewise.
68882         * nis/nis_add.c (nis_add): Likewise.
68884         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68886         * posix/fnmatch_loop.c: Add some consts.
68888         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68890 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68892         [BZ #12460]
68893         * config.make.in (config-cflags-novzeroupper): Define.
68894         * configure.in: Substitute libc_cv_cc_novzeroupper.
68895         * elf/Makefile (AVX-CFLAGS): Define.
68896         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68897         (CFLAGS-tst-auditmod4a.c): Likewise.
68898         (CFLAGS-tst-auditmod4b.c): Likewise.
68899         (CFLAGS-tst-auditmod6b.c): Likewise.
68900         (CFLAGS-tst-auditmod6c.c): Likewise.
68901         (CFLAGS-tst-auditmod7b.c): Likewise.
68902         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68904 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68906         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68907         function to the callback.
68908         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68910 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68912         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68913         of errno.
68915 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68917         [BZ #11724]
68918         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68919         of constructors.
68920         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68921         of destructors.
68922         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68924         [BZ #11724]
68925         * elf/Makefile: Add rules to build and run new test.
68926         * elf/tst-initorder.c: New file.
68927         * elf/tst-initorder.exp: New file.
68928         * elf/tst-initordera1.c: New file.
68929         * elf/tst-initordera2.c: New file.
68930         * elf/tst-initordera3.c: New file.
68931         * elf/tst-initordera4.c: New file.
68932         * elf/tst-initorderb1.c: New file.
68933         * elf/tst-initorderb2.c: New file.
68934         * elf/tst-order-a1.c: New file.
68935         * elf/tst-order-a2.c: New file.
68936         * elf/tst-order-a3.c: New file.
68937         * elf/tst-order-a4.c: New file.
68938         * elf/tst-order-b1.c: New file.
68939         * elf/tst-order-b2.c: New file.
68940         * elf/tst-order-main.c: New file.
68941         New test case by George Gensure <werkt0@gmail.com>.
68943 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68946         decoding ACE if AI_CANONIDN.
68948 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68950         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68952 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68954         * version.h (RELEASE): Bump for 2.13 release.
68955         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68957         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68959         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68960         MADV_NOHUGEPAGE.
68961         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68962         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68963         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68964         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68965         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68966         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68968         * posix/getconf.c: Update copyright year.
68969         * catgets/gencat.c: Likewise.
68970         * csu/version.c: Likewise.
68971         * debug/catchsegv.sh: Likewise.
68972         * debug/xtrace.sh: Likewise.
68973         * elf/ldconfig.c: Likewise.
68974         * elf/ldd.bash.in: Likewise.
68975         * elf/sprof.c (print_version): Likewise.
68976         * iconv/iconv_prog.c: Likewise.
68977         * iconv/iconvconfig.c: Likewise.
68978         * locale/programs/locale.c: Likewise.
68979         * locale/programs/localedef.c: Likewise.
68980         * malloc/memusage.sh: Likewise.
68981         * malloc/mtrace.pl: Likewise.
68982         * nscd/nscd.c (print_version): Likewise.
68983         * nss/getent.c: Likewise.
68985         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68986         PF_CAIF, and PF_ALG.
68987         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68989 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68991         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68992         (modules-names): Use them.
68993         (ifunc-test-modules, ifunc-pie-tests): Define.
68994         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68995         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68996         (test-extras): Likewise.
68997         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68998         $(compile-command.c).
68999         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69000         (all-built-dso): Define.
69001         (check-textrel.out, check-execstack.out): Depend on it.
69003         * configure.in: Don't override --enable-multi-arch.
69005 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69007         [BZ #6812]
69008         * nscd/hstcache.c (tryagain): Define.
69009         (cache_addhst): Return tryagain not notfound for temporary errors.
69010         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69011         failed.
69013 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69015         [BZ #10563]
69016         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69017         to make the syscall.
69018         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69020         [BZ #12378]
69021         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69022         and fall back to matching as normal character if the string ends before
69023         the matching ']' is found.  This is what POSIX requires.
69024         * posix/testfnm.c: Adjust test result.
69025         * posix/globtest.sh: Adjust test result.  Add new test.
69026         * posix/tst-fnmatch.input: Likewise.
69027         * posix/tst-fnmatch2.c: Add new test.
69029 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69031         * elf/Makefile (check-execstack): Revert last change.  Depend on
69032         check-execstack.h.
69033         (check-execstack.h): New target.
69034         (generated): Add check-execstack.h.
69035         * elf/check-execstack.c: Include "check-execstack.h".
69036         (main): Revert last change.
69037         (handle_file): Return zero if GNU_STACK is absent and
69038         DEFAULT_STACK_PERMS doesn't include PF_X.
69040 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69042         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69043         in child fails because the descriptor is already closed.
69044         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69045         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69046         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69048         [BZ #12397]
69049         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69050         syscall.
69052         [BZ #10484]
69053         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69054         temporary buffer used to handle multi lookups locally.
69055         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69057 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69059         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69060         loader is ld.so.
69062 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69064         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69065         alignment for SSE2.
69067 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69069         [BZ #12394]
69070         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69071         characters.  When rounding increased number of integer digits recompute
69072         number of groups.
69073         * stdio-common/tst-grouping.c: New file.
69074         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69076 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69078         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69079         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69081         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69082         void.
69083         * bits/select.h: Likewise.
69085 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69087         * po/ja.po: Update from translation team.
69089 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69091         [BZ #11155]
69092         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69093         implementation just like for lxstat, fxstatat, et al.
69095 2010-12-27  Jim Meyering  <meyering@redhat.com>
69097         [BZ #12348]
69098         * posix/regexec.c (build_trtable): Return failure indication upon
69099         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69101 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69103         [BZ #12201]
69104         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69105         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69106         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69107         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69109         [BZ #12207]
69110         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69112         [BZ #12204]
69113         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69114         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69116 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69118         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69119         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69120         script has SORT_BY_INIT_PRIORITY.
69121         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69122         NO_CTORS_DTORS_SECTIONS is defined.
69123         * elf/soinit.c: Likewise.
69124         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69125         NO_CTORS_DTORS_SECTIONS is defined.
69126         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69127         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69128         * sysdeps/sh/init-first.c: Likewise.
69129         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69131 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69133         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69134         always use the slow path.
69136 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69138         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69139         similar rule which adds the sysdep directories to the header search in
69140         order to pick up the correct platform stackinfo.h.
69141         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69142         perform test if it is, otherwise return successfully without testing.
69143         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69144         DEFAULT_STACK_PERMS define in stackinfo.h.
69145         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69146         defined in stackinfo.h.
69147         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69148         DEFAULT_STACK_PERMS defined in stackinfo.h.
69149         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69150         * sysdeps/ia64/stackinfo.h: Likewise.
69151         * sysdeps/s390/stackinfo.h: Likewise.
69152         * sysdeps/sh/stackinfo.h: Likewise.
69153         * sysdeps/sparc/stackinfo.h: Likewise.
69154         * sysdeps/x86_64/stackinfo.h: Likewise.
69155         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69156         PF_X for powerpc64.  Retain PF_X for powerpc32.
69158 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69160         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69161         accurately.
69162         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69163         GETDENTS_64BIT_ALIGNED.
69165 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69167         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69169 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69171         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69172         _GNU_SOURCE.
69174         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69175         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69176         Remove __restrict.
69177         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69178         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69180 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69182         [BZ #11655]
69183         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69184         are initialized.
69186 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69188         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69190 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69192         * po/it.po: Update from translation team.
69194 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69196         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69197         unused codes.
69199 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69201         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69203 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69205         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69206         specially.
69207         (gaih_getanswer_slice): Likewise.
69209 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69213 2010-05-31  Petr Baudis  <pasky@suse.cz>
69215         [BZ #11149]
69216         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69217         silently even in the chroot mode.
69219 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69221         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69222         last patch a bit.  Pretty printing
69224 2010-05-31  Petr Baudis <pasky@suse.cz>
69226         [BZ #10085]
69227         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69228         initialization of skip_initgroups_dyn.
69230 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69232         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69233         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69235 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69237         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69239 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69241         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69242         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69243         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69244         ($(objpfx)tst-fnmatch-mem): New rule.
69245         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69246         * posix/tst-fnmatch.c (main): Call mtrace.
69248 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69251         Support Intel processor model 6 and model 0x2c.
69253 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69255         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69256           signed comparison.
69258 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69260         [BZ #12205]
69261         * string/test-strncasecmp.c (check_result): New function.
69262         (do_one_test): Use it.
69263         (check1): New function.
69264         (test_main): Use it.
69265         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69266         Support strcasecmp and strncasecmp.
69268 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69270         [BZ #12194]
69271         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69272         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69274 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69276         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69277         IFUNC support.
69278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69279         memset-x86-64.
69280         * sysdeps/x86_64/multiarch/bzero.S: New file.
69281         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69282         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69283         * sysdeps/x86_64/multiarch/memset.S: New file.
69284         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69286         Set bit_Prefer_SSE_for_memop for Intel processors.
69287         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69288         Define.
69289         (index_Prefer_SSE_for_memop): Define.
69290         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69292 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69294         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69295         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69297 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69299         [BZ #12191]
69300         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69301         (__x86_64_raw_data_cache_size_half): Likewise.
69302         (__x86_64_raw_shared_cache_size): Likewise.
69303         (__x86_64_raw_shared_cache_size_half): Likewise.
69305         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69306         (__x86_64_raw_data_cache_size_half): Likewise.
69307         (__x86_64_raw_shared_cache_size): Likewise.
69308         (__x86_64_raw_shared_cache_size_half): Likewise.
69309         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69310         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69311         and __x86_64_raw_shared_cache_size_half.  Round
69312         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69313         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69314         to multiple of 256 bytes.
69316 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69318         [BZ #12167]
69319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69320         of inacessible symlinks.  Verify result of symlink before returning it.
69321         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69322         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69324 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69326         * math/math.h (isinf): Fix typo in comment.
69328 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69330         * po/da.po: Update from translation team.
69332 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69334         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69335         is added to the list.
69337 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69338             Ulrich Drepper  <drepper@gmail.com>
69340         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69341         the global list here.  Move code to...
69342         (_dl_add_to_namespace_list): ...here.  New function.
69343         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69344         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69345         * elf/dl-load.c (lose): Don't remove the element from the list.
69346         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69347         (_dl_map_object): Likewise.
69349 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69351         [BZ #12159]
69352         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69353         into all bytes of SSE register.
69354         Patch by Richard Li <richardpku@gmail.com>.
69356 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69358         [BZ #12140]
69359         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69360         perturbing.
69362 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69364         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69365         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69366         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69367         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69369         submachine.
69370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69372 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69374         * include/dlfcn.h (__RTLD_SECURE): Define.
69375         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69376         mode & __RTLD_SECURE instead.
69377         (open_path): Rename preloaded parameter to secure.
69378         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69379         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69380         * elf/dl-deps.c (openaux): Likewise.
69381         * elf/rtld.c (struct map_args): Remove is_preloaded.
69382         (map_doit): Don't use it.
69383         (dl_main): Likewise.
69384         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69385         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69387 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69389         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69390         (sysd-rules-targets): Remove duplicates.
69391         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69392         rtld-%.$o dependency.
69394 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69396         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69397         _dl_map_object do it.
69399 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69401         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69402         fast fma builtins, define the macros in the C99 standard.
69403         (FP_FAST_FMAF): Likewise.
69404         (FP_FAST_FMAL): Likewise.
69405         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69407         * bits/mathdef.h: Update copyright year.
69408         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69410 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69412         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69413         builtins, define the macros in the C99 standard.
69414         (FP_FAST_FMAF): Likewise.
69415         (FP_FAST_FMAL): Likewise.
69416         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69417         multiply/add.
69418         (FP_FAST_FMAF): Likewise.
69420 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69422         [BZ #3268]
69423         * math/libm-test.inc (fma_test): Some new testcases.
69424         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69425         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69426         y and infinite z.  Do multiplication by C already in long double.
69427         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69429         y and infinite z.  Do bitwise or of inexact bit into u.d.
69430         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69431         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69432         * sysdeps/i386/fpu/s_fma.S: Removed.
69433         * sysdeps/i386/fpu/s_fmal.S: Removed.
69435 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69437         [BZ #3268]
69438         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69440         computation is not scheduled after fetestexcept.  Fix value
69441         of minimum denormal long double.
69443 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69445         [BZ #3268]
69446         * math/libm-test.inc (fma_test): Add some more tests.
69447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69448         correctly.
69450 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69452         * scripts/data/localplt-s390-linux-gnu.data: New file.
69453         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69455 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69457         [BZ #3268]
69458         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69459         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69460         instead of dbl-64.
69461         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69462         inlines.
69463         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69465         if one of x and y is very large and the other is subnormal.
69466         * sysdeps/s390/fpu/s_fmaf.c: New file.
69467         * sysdeps/s390/fpu/s_fma.c: New file.
69468         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69469         * sysdeps/powerpc/fpu/s_fma.S: New file.
69470         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69471         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69472         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69474 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69476         [BZ #3268]
69477         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69478         fma tests.
69479         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69480         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69481         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69482         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69483         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69484         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69485         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69487 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69489         [BZ #12078]
69490         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69491         * posix/bug-regex31.input: Add test case.
69493 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69495         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69496         * posix/bug-regex31.input: New file.
69498         [BZ #12078]
69499         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69500         (parse_sub_exp): Fix last change, use postorder.
69502         * posix/bug-regex31.c: New file.
69503         * posix/Makefile: Add rules to build and run bug-regex31.
69505         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69507         [BZ #12078]
69508         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69510         [BZ #12108]
69511         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69512         to have entries in sys_siglist.
69514         [BZ #12093]
69515         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69516         be NULL.
69518 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69520         [BZ #3268]
69521         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69522         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69523         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69524         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69525         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69526         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69527         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69528         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69529         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69530         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69531         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69532         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69533         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69534         * math/ftestexcept.c (fetestexcept): Likewise.
69535         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69536         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69537         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69538         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69539         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69540         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69541         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69543 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69545         [BZ #12107]
69546         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69547         newline.
69549 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69551         * string/bug-strstr1.c: New file.
69552         * string/Makefile: Add rules to build and run bug-strstr1.
69554 2010-10-05  Eric Blake  <eblake@redhat.com>
69556         [BZ #12092]
69557         * string/str-two-way.h (two_way_long_needle): Always clear memory
69558         when skipping input due to the shift table.
69560 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69562         [BZ #12005]
69563         * malloc/mcheck.c: Handle large requests.
69565         [BZ #12077]
69566         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69567         for strncmp and strncasecmp.
69568         * string/stratcliff.c: Add tests for strcmp and strncmp.
69569         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69571 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69573         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69574         __set_fpscr.
69576 2010-09-30  Andreas Jaeger  <aj@suse.de>
69578         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69579         (CGROUP_SUPER_MAGIC): Define.
69580         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69581         Handle btrfs and cgroup file systems.
69582         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69583         Likewise.
69585 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69587         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69588         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69590 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69592         [BZ #12067]
69593         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69594         trying to locate the ELF header.
69596 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69598         [BZ #11611]
69599         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69600         Mask out sign-bit copies when constructing f_fsid.
69602 2010-09-24  Petr Baudis <pasky@suse.cz>
69604         * debug/stack_chk_fail_local.c: Add missing licence exception.
69605         * debug/warning-nop.c: Likewise.
69607 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69609         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69610         implementing getdents64 using getdents syscall, set d_type if
69611         __ASSUME_GETDENTS32_D_TYPE.
69613 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69615         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69616         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69618 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69620         [BZ #12037]
69621         * posix/unistd.h: Undo change of feature selection for ftruncate from
69622         2010-01-11.
69624 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69626         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69627         detection.
69629 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69631         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69632         fanotify_mark.
69633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69635 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69637         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69638         variables after CHECK_SP call.
69639         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69641 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69642             Ulrich Drepper  <drepper@redhat.com>
69644         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69645         re-relocationg ld.so.
69646         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69647         _dl_init_paths call.
69648         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69649         here anymore.
69651 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69653         * resolv/res_init.c (__res_vinit): Count the default server we added.
69655 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69656             Ulrich Drepper  <drepper@redhat.com>
69658         [BZ #11968]
69659         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69660         (____longjmp_chk): Use %ebx for saving value across system call.
69661         Add unwind info.
69663 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69665         * manual/Makefile: Don't mix pattern rules with normal rules.
69667 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69669         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69670         operation.
69671         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69672         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69673         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69674         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69676         Likewise.
69678 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69680         [BZ #11979]
69681         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69682         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69684 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69686         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69687         * sysdeps/x86_64/addmul_1.S: Likewise.
69688         * sysdeps/x86_64/lshift.S: Likewise.
69689         * sysdeps/x86_64/mul_1.S: Likewise.
69690         * sysdeps/x86_64/rshift.S: Likewise.
69691         * sysdeps/x86_64/sub_n.S: Likewise.
69692         * sysdeps/x86_64/submul_1.S: Likewise.
69694 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69696         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69697         Define __sched_param instead of SCHED_* and sched_param when
69698         <bits/sched.h> is included with __need_schedparam defined.
69699         * bits/sched.h [__need_schedparam]
69700         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69701         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69702         (__defined_schedparam): Define to 1.
69703         (__sched_param): New structure, identical to sched_param.
69704         (__need_schedparam): Undefine.
69706 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69708         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69709         (epoll_create1): Declare.
69711         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69713 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69715         [BZ #7066]
69716         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69717         shifting retval into place.
69719 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69721         * nis/rpcsvc/nis.h: Update copyright notice.
69722         * nis/rpcsvc/nis.x: Likewise.
69723         * nis/rpcsvc/nis_callback.h: Likewise.
69724         * nis/rpcsvc/nis_callback.x: Likewise.
69725         * nis/rpcsvc/nis_object.x: Likewise.
69726         * nis/rpcsvc/nis_tags.h: Likewise.
69727         * nis/rpcsvc/yp.h: Likewise.
69728         * nis/rpcsvc/yp.x: Likewise.
69729         * nis/rpcsvc/ypupd.h: Likewise.
69730         * nis/yp_xdr.c: Likewise.
69731         * nis/ypupdate_xdr.c: Likewise.
69733         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69734         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69735         (pmap_getport): Use __libc_rpc_getport.
69736         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69737         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69738         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69740 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69743         fanotify_mark.
69745 2010-08-27  Roland McGrath  <roland@redhat.com>
69747         * sysdeps/i386/i686/multiarch/Makefile
69748         (CFLAGS-varshift.c): New variable.
69750 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69752         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69753         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69757         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69759 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69761         * sysdeps/x86_64/strlen.S: Unroll the loop.
69762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69763         strlen-sse2 strlen-sse2-bsf.
69764         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69765         __strlen_no_bsf if bit_Slow_BSF is set.
69766         (__strlen_sse42): Removed.
69767         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69768         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69770 2010-08-25  Roland McGrath  <roland@redhat.com>
69772         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69773         * sysdeps/x86_64/multiarch/varshift.c: New file.
69774         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69775         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69776         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69777         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69779 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69782         strlen-sse2 strlen-sse2-bsf.
69783         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69784         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69785         (__strlen_sse2): Removed.
69786         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69787         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69789         bit_Slow_BSF for Atom.
69790         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69791         (index_Slow_BSF): Define.
69792         (HAS_SLOW_BSF): Define.
69794 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69796         [BZ #10851]
69797         * resolv/res_init.c (__res_vinit): When no server address at all
69798         is given default to loopback.
69800 2010-08-24  Roland McGrath  <roland@redhat.com>
69802         * configure.in: Remove config-name.h generation.
69803         * configure: Regenerated.
69804         * config-name.in: File removed.
69805         * scripts/config-uname.sh: New file.
69806         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69807         ($(objdir)config-name.h): New target.
69809         * sunrpc/rpc_parse.h: Avoid nested comment.
69811 2010-08-24  Richard Henderson  <rth@redhat.com>
69812             Ulrich Drepper  <drepper@redhat.com>
69813             H.J. Lu  <hongjiu.lu@intel.com>
69815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69817         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69818         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69819         _mm_alignr_epi8 with _mm_loadu_si128.
69820         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69821         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69822         (__m128i_shift_right): Removed.
69823         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69824         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69825         * sysdeps/x86_64/multiarch/varshift.h: New file.
69826         * sysdeps/x86_64/multiarch/varshift.S: New file.
69828 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69830         * configure.in: Move assembler checks to before sysdep dir checking.
69832 2010-08-20  Petr Baudis  <pasky@suse.cz>
69834         * LICENSES: Sync the sunrpc license.
69836 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69838         * sunrpc/auth_des.c: Update copyright notice once again.
69839         * sunrpc/auth_none.c: Likewise.
69840         * sunrpc/auth_unix.c: Likewise.
69841         * sunrpc/authdes_prot.c: Likewise.
69842         * sunrpc/authuxprot.c: Likewise.
69843         * sunrpc/bindrsvprt.c: Likewise.
69844         * sunrpc/clnt_gen.c: Likewise.
69845         * sunrpc/clnt_perr.c: Likewise.
69846         * sunrpc/clnt_raw.c: Likewise.
69847         * sunrpc/clnt_simp.c: Likewise.
69848         * sunrpc/clnt_tcp.c: Likewise.
69849         * sunrpc/clnt_udp.c: Likewise.
69850         * sunrpc/clnt_unix.c: Likewise.
69851         * sunrpc/des_crypt.c: Likewise.
69852         * sunrpc/des_soft.c: Likewise.
69853         * sunrpc/get_myaddr.c: Likewise.
69854         * sunrpc/getrpcport.c: Likewise.
69855         * sunrpc/key_call.c: Likewise.
69856         * sunrpc/key_prot.c: Likewise.
69857         * sunrpc/openchild.c: Likewise.
69858         * sunrpc/pm_getmaps.c: Likewise.
69859         * sunrpc/pm_getport.c: Likewise.
69860         * sunrpc/pmap_clnt.c: Likewise.
69861         * sunrpc/pmap_prot.c: Likewise.
69862         * sunrpc/pmap_prot2.c: Likewise.
69863         * sunrpc/pmap_rmt.c: Likewise.
69864         * sunrpc/rpc/auth.h: Likewise.
69865         * sunrpc/rpc/auth_unix.h: Likewise.
69866         * sunrpc/rpc/clnt.h: Likewise.
69867         * sunrpc/rpc/des_crypt.h: Likewise.
69868         * sunrpc/rpc/key_prot.h: Likewise.
69869         * sunrpc/rpc/netdb.h: Likewise.
69870         * sunrpc/rpc/pmap_clnt.h: Likewise.
69871         * sunrpc/rpc/pmap_prot.h: Likewise.
69872         * sunrpc/rpc/pmap_rmt.h: Likewise.
69873         * sunrpc/rpc/rpc.h: Likewise.
69874         * sunrpc/rpc/rpc_des.h: Likewise.
69875         * sunrpc/rpc/rpc_msg.h: Likewise.
69876         * sunrpc/rpc/svc.h: Likewise.
69877         * sunrpc/rpc/svc_auth.h: Likewise.
69878         * sunrpc/rpc/types.h: Likewise.
69879         * sunrpc/rpc/xdr.h: Likewise.
69880         * sunrpc/rpc_clntout.c: Likewise.
69881         * sunrpc/rpc_cmsg.c: Likewise.
69882         * sunrpc/rpc_common.c: Likewise.
69883         * sunrpc/rpc_cout.c: Likewise.
69884         * sunrpc/rpc_dtable.c: Likewise.
69885         * sunrpc/rpc_hout.c: Likewise.
69886         * sunrpc/rpc_main.c: Likewise.
69887         * sunrpc/rpc_parse.c: Likewise.
69888         * sunrpc/rpc_parse.h: Likewise.
69889         * sunrpc/rpc_prot.c: Likewise.
69890         * sunrpc/rpc_sample.c: Likewise.
69891         * sunrpc/rpc_scan.c: Likewise.
69892         * sunrpc/rpc_scan.h: Likewise.
69893         * sunrpc/rpc_svcout.c: Likewise.
69894         * sunrpc/rpc_tblout.c: Likewise.
69895         * sunrpc/rpc_util.c: Likewise.
69896         * sunrpc/rpc_util.h: Likewise.
69897         * sunrpc/rpcinfo.c: Likewise.
69898         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69899         * sunrpc/rpcsvc/key_prot.x: Likewise.
69900         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69901         * sunrpc/rpcsvc/mount.x: Likewise.
69902         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69903         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69904         * sunrpc/rpcsvc/rex.x: Likewise.
69905         * sunrpc/rpcsvc/rstat.x: Likewise.
69906         * sunrpc/rpcsvc/rusers.x: Likewise.
69907         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69908         * sunrpc/rpcsvc/spray.x: Likewise.
69909         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69910         * sunrpc/rtime.c: Likewise.
69911         * sunrpc/svc.c: Likewise.
69912         * sunrpc/svc_auth.c: Likewise.
69913         * sunrpc/svc_authux.c: Likewise.
69914         * sunrpc/svc_raw.c: Likewise.
69915         * sunrpc/svc_run.c: Likewise.
69916         * sunrpc/svc_simple.c: Likewise.
69917         * sunrpc/svc_tcp.c: Likewise.
69918         * sunrpc/svc_udp.c: Likewise.
69919         * sunrpc/svc_unix.c: Likewise.
69920         * sunrpc/svcauth_des.c: Likewise.
69921         * sunrpc/xcrypt.c: Likewise.
69922         * sunrpc/xdr.c: Likewise.
69923         * sunrpc/xdr_array.c: Likewise.
69924         * sunrpc/xdr_float.c: Likewise.
69925         * sunrpc/xdr_mem.c: Likewise.
69926         * sunrpc/xdr_rec.c: Likewise.
69927         * sunrpc/xdr_ref.c: Likewise.
69928         * sunrpc/xdr_sizeof.c: Likewise.
69929         * sunrpc/xdr_stdio.c: Likewise.
69931         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69932         handling.
69934 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69936         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69938 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69940         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69942         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69943         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69944         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69945         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69946         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69947         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69949         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69950         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69951         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69952         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69953         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69955 2010-07-26  Anton Blanchard  <anton@samba.org>
69957         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69958         * malloc/arena.c (heap_trim): Likewise.
69960 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69962         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69963         here.  Not...
69964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69965         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69967 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69969         * sysdeps/i386/elf/Makefile: New file.
69971 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69973         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69974         from fanotify_init.
69975         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69978 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69980         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69981         of strncasecmp_l.
69982         * sysdeps/multiarch/strcmp.S: Likewise.
69984 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69986         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69987         strncase_l-nonascii.
69988         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69989         Add strncase_l-ssse3.
69990         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69991         * sysdeps/x86_64/strcmp.S: Likewise.
69992         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69993         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69994         * sysdeps/x86_64/strncase.S: New file.
69995         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69996         * sysdeps/x86_64/strncase_l.S: New file.
69997         * string/Makefile (strop-tests): Add strncasecmp.
69998         * string/test-strncasecmp.c: New file.
70000         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70001         warning.
70003         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70004         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70006 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70008         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70010 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70012         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70013         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70014         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70016 2010-05-01  Alan Modra  <amodra@gmail.com>
70018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70019         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70020         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70021         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70022         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70023         tidying.  Don't tail-call __sigjmp_save for static lib.
70024         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70025         save location.
70026         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70027         (CALL_MCOUNT): Add eh info, and nop after bl.
70028         (TAIL_CALL_SYSCALL_ERROR): New macro.
70029         (PSEUDO_RET): Use it.
70030         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70031         Correct save location of integer regs and cr.
70032         (_dl_profile_resolve): Correct cr save location.  Delete nops
70033         after bl when SHARED.  Reduce cfi size a little by better
70034         placement of cfi directives.
70035         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70036         make a stack frame.  Instead use parm save area as a temp.
70037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70038         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70040         Don't make a stack frame for parent, use parm save area.
70041         Increase child stack frame to 112 bytes.  Don't save unused reg,
70042         and adjust reg usage.  Set up cfi on error recovery and
70043         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70045         (__makecontext): Add dummy nop after jump to exit.
70046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70047         Use correct parm save area and cr save, reduce stack frame.
70048         Correct cfi for possible PSEUDO_RET frame setup.
70049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70050         Branch to local label emitted by PSEUDO_RET rather than
70051         __syscall_error.
70053 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70055         [BZ #11904]
70056         * locale/programs/locale.c (print_assignment): New function.
70057         (show_locale_vars): Use it.
70059 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70061         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70062         field.
70063         (struct statfs64): Likewise.
70064         (_STATFS_F_FLAGS): Define.
70065         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70066         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70067         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70068         (ST_VALID): Define locally.
70069         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70070         __statvfs_getflags, use the provided value.
70071         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70072         __ASSUME_STATFS_F_FLAGS.
70074         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70076         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70077         Add sys/fanotify.h.
70078         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70079         fanotify_mask for GLIBC_2.13.
70080         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70081         fanotify_init and fanotify_mark.
70082         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70083         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70085         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70086         Add prlimit.
70087         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70088         prlimit64 for GLIBC_2.13.
70089         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70090         prlimit64.
70091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70092         syscall.
70093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70094         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70095         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70096         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70098         add prlimit alias.
70099         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70101         [BZ #11903]
70102         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70103         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70105         * nss/Makefile: Add rules to build and run tst-nss-test1.
70106         * shlib-versions: Add entry for libnss_test1.
70107         * nss/nss_test1.c: New file.
70108         * nss/tst-nss-test1.c: New file.
70110         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70111         (__nss_configure_lookup): Set appropriate entry in
70112         __nss_configure_lookup to true.
70113         * nss/nsswitch.h: Define enum with indeces of databases in
70114         databases and __nss_database_custom arrays.  Declare
70115         __nss_database_custom.
70116         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70117         to avoid using nscd when custom rules are installed.
70118         * nss/getXXbyYY_r.c: Likewise.
70119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70121         * nss/nss_files/files-parse.c: Whitespace fixes.
70123 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70125         [BZ #11883]
70126         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70127         * posix/fnmatch_loop.c: Likewise.
70129 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70131         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70132         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70133         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70134         * Versions.def [GLIBC_2.13]: Add.
70136 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70138         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70139         Also fail if tpwd after pwuid call is NULL.
70141 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70143         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70144         when converting to ms.
70146 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70148         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70149         EOPNOTSUPP errors with ENOTTY.
70150         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70151         EOPNOTSUPP errors with ENOTTY.
70153 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70155         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70156         Add strcasecmp_l-ssse3.
70157         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70158         strcasecmp.
70159         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70160         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70161         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70163 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70165         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70167         * string/Makefile (strop-tests): Add strcasecmp.
70168         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70169         strcasecmp_l-nonascii.
70170         (gen-as-const-headers): Add locale-defines.sym.
70171         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70172         * sysdeps/x86_64/strcasecmp.S: New file.
70173         * sysdeps/x86_64/strcasecmp_l.S: New file.
70174         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70175         * sysdeps/x86_64/locale-defines.sym: New file.
70176         * string/test-strcasecmp.c: New file.
70178         * string/test-strcasestr.c: Test both ends of the range of characters.
70179         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70181 2010-07-29  Roland McGrath  <roland@redhat.com>
70183         [BZ #11856]
70184         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70186 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70188         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70189         for ld.so.
70191 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70193         * manual/memory.texi (Malloc Tunable Parameters): Document
70194         M_PERTURB.
70196 2010-07-26  Roland McGrath  <roland@redhat.com>
70198         [BZ #11840]
70199         * configure.in (-fgnu89-inline check): Set and substitute
70200         gnu89_inline, not libc_cv_gnu89_inline.
70201         * configure: Regenerated.
70202         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70204 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70206         * string/test-strnlen.c: New file.
70207         * string/Makefile (strop-tests): Add strnlen.
70208         * string/tester.c (test_strnlen): Add a few more test cases.
70209         * string/tst-strlen.c: Better error reporting.
70211         * sysdeps/x86_64/strnlen.S: New file.
70213 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70215         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70216         lower-latency instructions.
70218 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70220         * string/test-strcasestr.c: New file.
70221         * string/test-strstr.c: New file.
70222         * string/Makefile (strop-tests): Add strstr and strcasestr.
70223         * string/str-two-way.h: Don't undefine MAX.
70224         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70226 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70229         strcasestr-nonascii.
70230         (CFLAGS-strcasestr-nonascii.c): Define.
70231         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70233         Remove unused attribute.
70235 2010-07-20  Roland McGrath  <roland@redhat.com>
70237         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70238         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70239         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70240         like LD_HWCAP_MASK can disable hwcaps.
70242 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70244         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70246 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70248         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70249         call in strcasestr.
70250         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70251         __strcasestr_sse42_nonascii.
70252         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70253         strcasestr-nonascii.c.
70254         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70256 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70258         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70259         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70260         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70261         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70263 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70266         fcntl.
70268 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70270         [BZ #11577]
70271         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70272         dl_signal_cerror.
70274 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70276         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70277         _PC_PIPE_BUF using F_GETPIPE_SZ.
70279 2010-07-05  Roland McGrath  <roland@redhat.com>
70281         * manual/arith.texi (Rounding Functions): Fix rint description
70282         implicit in round description.
70284 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70286         * elf/Makefile: Fix linking for a few tests to make recent linker
70287         happy.
70289 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70291         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70292         $(common-objpfx)libc_nonshared.a.
70294 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70296         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70297         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70298         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70299         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70300         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70301         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70302         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70303         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70318         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70319         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70320         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70321         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70322         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70323         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70324         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70325         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70326         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70327         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70328         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70329         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70345 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70347         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70348         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70349         * string/memmove.c (memmove): Renamed to ...
70350         (MEMMOVE): ...this.  Default to memmove.
70351         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70352         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70353         (END_CHK): Define.
70354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70355         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70356         mempcpy-ssse3-back memmove-ssse3-back.
70357         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70360         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70361         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70362         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70363         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70364         * sysdeps/x86_64/multiarch/memmove.c: New file.
70365         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70366         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70367         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70368         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70369         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70370         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70371         Define.
70372         (index_Fast_Copy_Backward): Define.
70373         (HAS_ARCH_FEATURE): Define.
70374         (HAS_FAST_REP_STRING): Define.
70375         (HAS_FAST_COPY_BACKWARD): Define.
70377 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70379         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70380         Restore proper fallback handling.
70382 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70384         [BZ #11701]
70385         * posix/group_member.c (__group_member): Correct checking loop.
70387         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70388         OOM in getpwuid_r correctly.  Return error number when the caller
70389         should return, otherwise -1.
70390         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70391         call returning > 0 value.
70392         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70394 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70396         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70397         libc_nonshared.a from targets in modules-names.
70399 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70401         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70402         requires it.
70404 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70406         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70407         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70408         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70409         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70411 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70413         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70415 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70417         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70418         and F_GETPIPE_SZ.
70419         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70420         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70421         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70422         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70423         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70424         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70426 2010-06-14  Roland McGrath  <roland@redhat.com>
70428         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70430 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70432         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70433         __REDIRECT followed by __THROW.
70434         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70435         * posix/getopt.h (getopt): Likewise.
70437 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70439         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70440         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70441         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70442         in AT_FLAGS.
70443         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70444         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70446 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70448         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70450 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70452         [BZ #11640]
70453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70454         Properly check family and model.
70456 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70458         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70460 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70462         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70464 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70466         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70467         symbol reference.
70469 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70471         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70472         symbol reference.
70474 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70476         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70477         and internal_recvmmsg.
70478         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70479         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70480         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70481         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70483         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70484         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70485         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70487 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70489         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70491 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70493         POWER7 optimizations.
70494         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70495         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70497 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70499         * version.h: Update for 2.13 development version.
70501 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70503         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70504         exceptions.  Return 0.
70506 2010-05-07  Roland McGrath  <roland@redhat.com>
70508         * elf/ldconfig.c (main): Add a const.
70510 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70512         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70513         (args_options): Add no-idn option.
70514         (ahosts_keys_int): Add idn_flags to ai_flags.
70515         (parse_option): Handle 'i' option to clear idn_flags.
70517         * malloc/malloc.c (_int_free): Possible race in the most recently
70518         added check.  Only act on the data if no current modification
70519         happened.
70521 See ChangeLog.17 for earlier changes.