Refactor strtod parsing of NaN payloads.
[glibc.git] / ChangeLog
blob343a936105002b13458ba654016a890c4d69d0c0
1 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3         * stdlib/strtod_nan.c: New file.
4         * stdlib/strtod_nan_double.h: Likewise.
5         * stdlib/strtod_nan_float.h: Likewise.
6         * stdlib/strtod_nan_main.c: Likewise.
7         * stdlib/strtod_nan_narrow.h: Likewise.
8         * stdlib/strtod_nan_wide.h: Likewise.
9         * stdlib/strtof_nan.c: Likewise.
10         * stdlib/strtold_nan.c: Likewise.
11         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14         * wcsmbs/wcstod_nan.c: Likewise.
15         * wcsmbs/wcstof_nan.c: Likewise.
16         * wcsmbs/wcstold_nan.c: Likewise.
17         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18         strtold_nan.
19         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20         wcstof_nan.
21         * include/stdlib.h (__strtof_nan): Declare and use
22         libc_hidden_proto.
23         (__strtod_nan): Likewise.
24         (__strtold_nan): Likewise.
25         (__wcstof_nan): Likewise.
26         (__wcstod_nan): Likewise.
27         (__wcstold_nan): Likewise.
28         * include/wchar.h (____wcstoull_l_internal): Declare.
29         * stdlib/strtod_l.c: Do not include <ieee754.h>.
30         (____strtoull_l_internal): Remove declaration.
31         (STRTOF_NAN): Define macro.
32         (SET_MANTISSA): Remove macro.
33         (STRTOULL): Likewise.
34         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
35         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
36         (STRTOF_NAN): Define macro.
37         (SET_MANTISSA): Remove macro.
38         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
39         (SET_MANTISSA): Remove macro.
40         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
41         macro.
42         (SET_MANTISSA): Remove macro.
43         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
44         macro.
45         (SET_MANTISSA): Remove macro.
46         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
47         (SET_MANTISSA): Remove macro.
48         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
49         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
50         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
52         [BZ #19266]
53         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
54         upper case and lower case letters inside NAN(), not using TOLOWER.
55         * stdlib/tst-strtod-nan-locale-main.c: New file.
56         * stdlib/tst-strtod-nan-locale.c: Likewise.
57         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
58         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
59         Depend on $(gen-locales).
60         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
61         * wcsmbs/tst-wcstod-nan-locale.c: New file.
62         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
63         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
64         Depend on $(gen-locales).
65         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
67 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
69         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
71         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
72         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
73         __finitel, __isinfl, and __isnanl.
74         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
75         Likewise.
76         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
77         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
78         __finitel.
79         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
80         Likewise.
81         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
83 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
85         * malloc/memusage.c (me): Remove redundant getenv call.
87 2015-10-24  Florian Weimer  <fweimer@redhat.com>
89         [BZ #19143]
90         [BZ #19164]
91         * nptl/check-cpuset.h: Remove.
92         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
93         Remove CPU set size check.
94         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
95         Likewise.
96         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
97         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
98         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
99         (__pthread_setaffinity_new): Remove CPU set size check.
100         * sysdeps/unix/sysv/linux/sched_setaffinity.c
101         (__kernel_cpumask_size): Remove.
102         (__sched_setaffinity_new): Remove CPU set size check.
103         * manual/threads.texi (Default Thread Attributes): Remove stale
104         reference to check_cpuset_attr, determine_cpumask_size in comment.
105         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
106         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
107         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
108         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
109         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
110         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
111         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
112         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
113         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
114         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
115         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
116         skeleton test file.
117         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
118         tst-affinity-pid.
120 2015-11-24  Florian Weimer  <fweimer@redhat.com>
122         * scripts/update-abilist.sh: New file.
123         * Makefile (+subdir_targets): Add subdir_update-all-abi.
124         * Makerules (update-all-abi-%, update-all-abi)
125         (subdir_update-all-abi): New targets.
126         * elf/Makefile (update-all-abi): New target.
128 2015-11-24  Florian Weimer  <fweimer@redhat.com>
130         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
131         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
132         (__libc_lock_define_initialized): Use it.
133         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
134         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
135         * malloc/malloc.c (main_arena): Likewise.
136         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
137         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
139 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
141         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
142         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
143         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
144         (PTRACE_O_MASK): Update value.
145         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
146         New value in enum __ptrace_setoptions.
147         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
148         (PTRACE_O_MASK): Update value.
149         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
150         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
151         (PTRACE_O_MASK): Update value.
152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
153         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
154         (PTRACE_O_MASK): Update value.
155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
156         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
157         (PTRACE_O_MASK): Update value.
158         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
159         New value in enum __ptrace_setoptions.
160         (PTRACE_O_MASK): Update value.
161         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
162         New value in enum __ptrace_setoptions.
163         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
164         (PTRACE_O_MASK): Update value.
166         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
167         New macro.
168         (PACKET_AUXDATA): Likewise.
169         (PACKET_ORIGDEV): Likewise.
170         (PACKET_VERSION): Likewise.
171         (PACKET_HDRLEN): Likewise.
172         (PACKET_RESERVE): Likewise.
173         (PACKET_TX_RING): Likewise.
174         (PACKET_LOSS): Likewise.
175         (PACKET_VNET_HDR): Likewise.
176         (PACKET_TX_TIMESTAMP): Likewise.
177         (PACKET_TIMESTAMP): Likewise.
178         (PACKET_FANOUT): Likewise.
179         (PACKET_TX_HAS_OFF): Likewise.
180         (PACKET_QDISC_BYPASS): Likewise.
181         (PACKET_ROLLOVER_STATS): Likewise.
182         (PACKET_FANOUT_DATA): Likewise.
183         (PACKET_MR_UNICAST): Likewise.
185         [BZ #19242]
186         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
187         (TOUPPER): Likewise.
188         * stdlib/tst-strtol-locale-main.c: New file.
189         * stdlib/tst-strtol-locale.c: Likewise.
190         * stdlib/Makefile (tests): Add tst-strtol-locale.
191         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
192         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
193         Depend on $(gen-locales).
194         * wcsmbs/tst-wcstol-locale.c: New file.
195         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
196         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
197         tr_TR.ISO-8859-9.
198         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
199         Depend on $(gen-locales).
201 2015-11-20  Roland McGrath  <roland@hack.frob.com>
203         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
204         __glibc_likely instead of __builtin_expect.  After falling back to
205         dyncode_create in a non-ET_DYN case, use the allocate_code_data
206         system interface to register the code pages as occupied.
208 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
210         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
211         [!ARM_MATH_PRIVATE_H].
212         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
213         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
214         [!HPPA_MATH_PRIVATE_H].
215         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
216         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
217         to [!I386_MATH_PRIVATE_H].
218         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
219         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
220         Change guard to [!M68K_MATH_PRIVATE_H].
221         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
222         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
223         guard to [!MICROBLAZE_MATH_PRIVATE_H].
224         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
225         macro.
226         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
227         [!MIPS_MATH_PRIVATE_H].
228         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
229         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
230         [!NIO2_MATH_PRIVATE_H].
231         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
232         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
233         [!TILE_MATH_PRIVATE_H].
234         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
236         [BZ #15421]
237         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
238         initialize with 0 and define as weak alias of __signgam.
239         * include/math.h [!_ISOMAC] (__signgam): Declare.
240         * math/Makefile (libm-calls): Add w_lgamma_compat.
241         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
242         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
243         test-signgam-ullong-init.
244         (tests-static): Add test-signgam-uchar-static,
245         test-signgam-uchar-init-static, test-signgam-uint-static,
246         test-signgam-uint-init-static, test-signgam-ullong-static and
247         test-signgam-ullong-init-static.
248         (CFLAGS-test-signgam-uchar.c): New variable.
249         (CFLAGS-test-signgam-uchar-init.c): Likewise.
250         (CFLAGS-test-signgam-uchar-static.c): Likewise.
251         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
252         (CFLAGS-test-signgam-uint.c): Likewise.
253         (CFLAGS-test-signgam-uint-init.c): Likewise.
254         (CFLAGS-test-signgam-uint-static.c): Likewise.
255         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
256         (CFLAGS-test-signgam-ullong.c): Likewise.
257         (CFLAGS-test-signgam-ullong-init.c): Likewise.
258         (CFLAGS-test-signgam-ullong-static.c): Likewise.
259         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
260         * math/Versions (libm): Add GLIBC_2.23.
261         * math/lgamma-compat.h: New file.
262         * math/test-signgam-main.c: Likewise.
263         * math/test-signgam-uchar-init-static.c: Likewise.
264         * math/test-signgam-uchar-init.c: Likewise.
265         * math/test-signgam-uchar-static.c: Likewise.
266         * math/test-signgam-uchar.c: Likewise.
267         * math/test-signgam-uint-init-static.c: Likewise.
268         * math/test-signgam-uint-init.c: Likewise.
269         * math/test-signgam-uint-static.c: Likewise.
270         * math/test-signgam-uint.c: Likewise.
271         * math/test-signgam-ullong-init-static.c: Likewise.
272         * math/test-signgam-ullong-init.c: Likewise.
273         * math/test-signgam-ullong-static.c: Likewise.
274         * math/test-signgam-ullong.c: Likewise.
275         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
276         wrapper of w_lgamma_main.c.
277         * math/w_lgamma_compat.c: New file.
278         * math/w_lgamma_compatf.c: Likewise.
279         * math/w_lgamma_compatl.c: Likewise.
280         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
281         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
282         defining compatibility symbols.
283         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
284         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
285         wrapper of w_lgammaf_main.c.
286         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
287         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
288         defining compatibility symbols.
289         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
290         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
291         wrapper of w_lgammal_main.c.
292         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
293         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
294         defining compatibility symbols.
295         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
296         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
297         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
298         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
299         <lgamma-compat.h>.
300         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
301         (__ieee754_gamma): Define as alias.
302         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
303         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
304         <lgamma-compat.h>.
305         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
306         (__ieee754_gammaf): Define as alias.
307         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
308         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
309         <lgamma-compat.h>.
310         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
311         (__ieee754_gammal): Define as alias.
312         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
313         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
314         <math/w_lgamma_compat.c>.
315         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
316         Define as alias of __lgamma_compat and use in defining lgammal.
317         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
318         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
319         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
320         (USE_AS_COMPAT): New macro.
321         (LGAMMA_OLD_VER): Undefine and redefine.
322         (lgammal): Do not define here.
323         (gammal): Only define here if [GAMMA_ALIAS].
324         * conform/linknamespace.pl (@whitelist): Remove signgam.
325         * sysdeps/nacl/libm.abilist: Update.
326         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
327         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
328         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
329         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
330         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
331         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
332         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
334         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
335         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
336         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
337         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
339         Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
341         Likewise.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
343         Likewise.
344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
345         Likewise.
346         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
347         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
348         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
349         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
350         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
352         Likewise.
353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
354         Likewise.
355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
356         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
357         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
359 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
361         [BZ #16364]
362         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
363         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
365 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
367         * sysdeps/s390/fpu/bits/mathinline.h:
368         Use __asm__ [__volatile__] instead of asm [volatile].
369         * sysdeps/s390/abort-instr.h: Likewise.
370         * sysdeps/s390/atomic-machine.h: Likewise.
371         * sysdeps/s390/bits/string.h: Likewise.
372         * sysdeps/s390/dl-tls.h: Likewise.
373         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
374         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
375         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
376         * sysdeps/s390/fpu/fesetround.c: Likewise.
377         * sysdeps/s390/fpu/fpu_control.h: Likewise.
378         * sysdeps/s390/fpu/s_fma.c: Likewise.
379         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
380         * sysdeps/s390/memusage.h: Likewise.
381         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
382         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
383         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
384         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
385         * sysdeps/s390/nptl/tls.h: Likewise.
386         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
387         * sysdeps/s390/s390-32/backtrace.c: Likewise.
388         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
389         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
390         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
391         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
392         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
393         * sysdeps/s390/s390-64/backtrace.c: Likewise.
394         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
395         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
396         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
397         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
398         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
399         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
400         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
401         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
402         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
404         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
406         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
408         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
410 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
413         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
414         Add lwarx hint, and use macro for acquire instruction.
415         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
416         Likewise.
417         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
418         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
419         update to use new atomic macros.
421 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
423         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
424         (__lll_trylock_elision): Fix setting of adapt_count.
425         * sysdeps/unix/sysv/linux/powerpc/htm.h
426         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
427         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
428         (_ABORT_SYSCALL): Renumber, and clarify definition.
429         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
431 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
433         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
434         after system headers to prevent MIN/MAX redefinition.  Define
435         HAVE_ALLOCA to preserve builtin alloca usage.
437 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
440         static and don't set or restore rounding.
441         (__cos)[IN_SINCOS]: Likewise.
442         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
443         (__sincos): Set and restore rounding mode.  Remove check for infinite
444         or NaN input.
446         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
448         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
449         as used.
451 2015-11-16  Florian Weimer  <fweimer@redhat.com>
453         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
455 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
457         * config.make.in (have-glob-dat-reloc): New.
458         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
459         target supports GLOB_DAT relocaton. AC_SUBST.
460         * configure: Regenerated.
461         * elf/Makefile (tests): Add tst-prelink.
462         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
463         (tst-prelink-ENV): New.
464         ($(objpfx)tst-prelink-conflict.out): Likewise.
465         ($(objpfx)tst-prelink-cmp.out): Likewise.
466         * sysdeps/x86/tst-prelink.c: Moved to ...
467         * elf/tst-prelink.c: Here.
468         * sysdeps/x86/tst-prelink.exp: Moved to ...
469         * elf/tst-prelink.exp: Here.
470         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
471         (tst-prelink-ENV): Removed.
472         ($(objpfx)tst-prelink-conflict.out): Likewise.
473         ($(objpfx)tst-prelink-cmp.out): Likewise.
474         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
476 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
478         [BZ #14551]
479         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
480         (__mpn_construct_long_double): If high part overflows to infinity,
481         set errno and recompute overflowed result of the correct sign.
482         * sysdeps/ieee754/ldbl-128ibm/Makefile
483         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
484         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
485         $(libm).
486         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
488 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
490         [BZ #15479]
491         [BZ #19238]
492         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
493         floating-point state after first operation on input.  Restore full
494         state rather than just rounding mode.
495         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
496         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
497         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
499         [BZ #19235]
500         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
501         add 0.5 to integer arguments.
502         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
503         Likewise.
504         (.LC2): New object.
506 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
508         * scripts/pylintrc (reports): Set to no.
510 2015-11-10  Roland McGrath  <roland@hack.frob.com>
512         * elf/dl-load.c (open_verify): Take new argument FD.
513         Skip __open call if passed FD is not -1.
514         (_dl_map_object, open_path): Update callers.
515         * elf/dl-sysdep-open.h: New file.
516         * elf/dl-load.c: Include it.
517         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
518         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
519         * sysdeps/nacl/dl-sysdep-open.h: New file.
520         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
521         from libc to rtld.
523 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
525         [BZ #19228]
526         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
527         and restore full floating-point state.
528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
529         Likewise.
530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
531         Likewise.
532         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
533         Likewise.
534         * math/test-nearbyint-except-2.c: New file.
535         * math/Makefile (tests): Add test-nearbyint-except-2.
537 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
539         [BZ #19178]
540         * sysdeps/x86/Makefile (tests): Add tst-prelink.
541         (tst-prelink-ENV): New.
542         ($(objpfx)tst-prelink-conflict.out): Likewise.
543         ($(objpfx)tst-prelink-cmp.out): Likewise.
544         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
545         * sysdeps/x86/tst-prelink.c: New file.
546         * sysdeps/x86/tst-prelink.exp: Likewise.
548 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
550         * math/auto-libm-test-in: Add another test of pow.
551         * math/auto-libm-test-out: Regenerated.
552         * math/libm-test.inc (pow_test_data): Add another test.
554 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
556         [BZ #19219]
557         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
558         weak_alias to nearbyintl.
560 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
562         * sysdeps/aarch64/bits/string.h: New file.
563         (_STRING_ARCH_unaligned): Define.
565 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
567         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
568         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
569         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
570         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
573 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
575         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
576         for original name of the DSO.  Add it to the name list of the DSO
577         if it is actually given.
578         (_dl_map_object): Keep track of whether an audit module rewrote
579         the file name.  If yes, pass the original name to
580         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
581         debugging is enabled, log the change of the file name.
582         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
583         _dl_map_object_from_fd.
584         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
585         * elf/tst-audit11.c: New file
586         * elf/tst-auditmod11.c: New file.
587         * elf/tst-audit11mod1.c: New file.
588         * elf/tst-audit11mod2.c: New file.
589         * elf/tst-audit11mod2.map: New file.
590         * elf/tst-audit12.c: New file
591         * elf/tst-auditmod12.c: New file.
592         * elf/tst-audit12mod1.c: New file.
593         * elf/tst-audit12mod2.c: New file.
594         * elf/tst-audit12mod2.map: New file.
595         * elf/tst-audit12mod3.c: New file.
597 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
599         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
600         Don't create weak aliases,
601         because versioned symbols are created later.
602         * sysdeps/s390/s390-32/setjmp.S
603         (setjmp, _setjmp): Remove weak and rename to an unique name
604         in SHARED case due to existing versioned symbols.
605         * sysdeps/s390/s390-64/setjmp.S: Likewise.
606         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
607         (getcontext): Create weak alias only in non SHARED case.
608         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
610 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
612         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
613         (__ASSUME_*_SYSCALL) Define new macros.
614         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
615         Remove socketcall syscalls.
616         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
617         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
618         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
619         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
620         * sysdeps/unix/sysv/linux/send.c (__libc_send):
621         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
623 2015-11-09  Florian Weimer  <fweimer@redhat.com>
625         [BZ #12926]
626         Terminate process on invalid netlink response.
627         * sysdeps/unix/sysv/linux/netlinkaccess.h
628         (__netlink_assert_response): Declare.
629         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
630         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
631         (sysdep_routines): Add netlink_assert_response.
632         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
633         __netlink_assert_response.
634         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
635         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
636         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
637         __netlink_assert_response.
639 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
641         [BZ #19178]
642         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
643         (RTYPE_CLASS_PLT): Likewise.
644         (RTYPE_CLASS_COPY): Likewise.
645         (RTYPE_CLASS_TLS): Likewise.
646         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
647         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
648         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
649         DL_DEBUG_PRELINK.
651 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
653         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
654         calls with argument -0.5.
655         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
657         * configure.ac (libc_cv_z_nodelete): Remove configure test.
658         (libc_cv_z_nodlopen): Likewise.
659         (libc_cv_z_initfirst): Likewise.
660         * configure: Regenerated.
662 2015-11-06  Florian Weimer  <fweimer@redhat.com>
664         Simplify abilist format to be line-based.
665         * scripts/abilist.awk: Collect descriptors in the descs variable.
666         (emit): Write descs variable and sort it
667         externally, with sort.
668         * sysdeps/**/*.abilist: Convert to new format.
670 2015-11-06  Mark Wielaard  <mjw@redhat.com>
672         [BZ #11460]
673         * io/Makefile (routines): Add fts64.
674         (tests): Add tst-fts and tst-fts-lfs.
675         (CFLAGS-fts64.c): New.
676         * io/Versions (GLIBC_2.23): New.
677         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
678         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
679         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
680         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
681         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
682         (FTSENT64): Likewise.
683         (fts64_children): Likewise.
684         (fts64_close): Likewise.
685         (fts64_open): Likewise.
686         (fts64_read): Likewise.
687         (fts64_set): Likewise.
688         * io/fts64.c: New file.
689         * io/tst-fts.c: New test.
690         * io/tst-fts-lfs.c: Likewise.
691         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
692         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
693         fts64_set.
694         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
708         Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
710         Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
713         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
714         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
715         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
716         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
717         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
720         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
721         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
722         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
723         * sysdeps/wordsize-64/fts.c: New file.
724         * sysdeps/wordsize-64/fts64.c: Likewise.
725         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
726         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
727         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
728         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
730 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
732         * math/libm-test.inc (NON_FINITE): New macro.
733         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
734         * math/gen-libm-test.pl (show_exceptions): Add argument
735         $non_finite.
736         (parse_args): Update call to show_exceptions.
737         * math/test-math-finite.h: New file.
738         * math/test-math-no-finite.h: Likewise.
739         * math/test-double-finite.c: Likewise.
740         * math/test-float-finite.c: Likewise.
741         * math/test-ldouble-finite.c: Likewise.
742         * math/test-double.c: Include "test-math-no-finite.h".
743         * math/test-float.c: Include "test-math-no-finite.h".
744         * math/test-ldouble.c: Include "test-math-no-finite.h".
745         * math/test-math-inline.h (TEST_FINITE): New macro.
746         * math/test-math-vector.h (TEST_FINITE): Likewise.
747         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
748         (libm-tests): Add test-float-finite and test-double-finite.
749         ($(objpfx)test-float-finite.o): New dependency on
750         $(objpfx)libm-test.stmp.
751         ($(objpfx)test-double-finite.o): Likewise.
752         ($(objpfx)test-ldouble-finite.o): Likewise.
753         (libm-test-no-inline-cflags): New variable.
754         (libm-test-finite-cflags): Likewise.
755         (CFLAGS-test-float-finite.c): Likewise.
756         (CFLAGS-test-double-finite.c): Likewise.
757         (CFLAGS-test-ldouble-finite.c): Likewise.
758         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
759         (CFLAGS-test-double.c): Likewise.
760         (CFLAGS-test-ldouble.c): Likewise.
762 2015-11-05  Roland McGrath  <roland@hack.frob.com>
764         * io/fcntl.c (__fcntl): Add ... to prototype.
765         * misc/ioctl.c (__ioctl): Likewise.
766         * misc/syscall.c (syscall): Likewise.
768 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
770         * scripts/list-fixed-bugs.py: New file.
772         [BZ #19213]
773         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
774         returned for argument 1.
775         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
776         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
777         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
778         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
779         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
780         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
782         [BZ #19211]
783         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
784         __USE_XOPEN], not if [!__USE_ISOC99].
785         (lgammaf): Likewise.
786         (lgammal): Likewise.
787         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
788         (gammaf): Likewise.
789         (gammal): Likewise.
790         * math/test-signgam-finite-c11.c: New file.
791         * math/test-signgam-finite-c99.c: Likewise.
792         * math/test-signgam-finite.c: Likewise.
793         * math/Makefile (tests): Add test-signgam-finite,
794         test-signgam-finite-c99 and test-signgam-finite-c11.
795         (CFLAGS-test-signgam-finite.c): New variable.
796         (CFLAGS-test-signgam-finite-c99.c): Likewise.
797         (CFLAGS-test-signgam-finite-c11.c): Likewise.
799         [BZ #19212]
800         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
801         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
802         500].
803         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
804         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
805         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
806         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
807         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
808         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
809         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
810         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
811         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
812         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
814         [BZ #19209]
815         * math/bits/math-finite.h (ldexp): Remove declaration.
816         (ldexpf): Likewise.
817         (ldexpl): Likewise.
819         [BZ #19205]
820         * math/bits/math-finite.h (acosf): Condition declaration on
821         [__USE_ISOC99].
822         (acosl): Likewise.
823         (acoshf): Likewise.
824         (acoshl): Likewise.
825         (asinf): Likewise.
826         (asinl): Likewise.
827         (atan2f): Likewise.
828         (atan2l): Likewise.
829         (atanhf): Likewise.
830         (atanhl): Likewise.
831         (coshf): Likewise.
832         (coshl): Likewise.
833         (expf): Likewise.
834         (expl): Likewise.
835         (fmodf): Likewise.
836         (fmodl): Likewise.
837         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
838         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
839         (j0l): Likewise.
840         (y0f): Likewise.
841         (y0l): Likewise.
842         (j1f): Likewise.
843         (j1l): Likewise.
844         (y1f): Likewise.
845         (y1l): Likewise.
846         (jnf): Likewise.
847         (jnl): Likewise.
848         (ynf): Likewise.
849         (ynl): Likewise.
850         (lgammaf_r): Condition declaration on [__USE_ISOC99].
851         (lgammal_r): Likewise.
852         (__lgamma_r_finite): New declaration.
853         (__lgammaf_r_finite): Likewise.
854         (__lgammal_r_finite): Likewise.
855         (lgamma): Use __lgamma_r_finite.
856         (lgammaf): Condition definition on [__USE_ISOC99].  Use
857         __lgammaf_r_finite.
858         (lgammal): Condition definition on [__USE_ISOC99].  Use
859         __lgammal_r_finite.
860         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
861         __lgamma_r_finite.
862         (gammaf): Condition definition on [__USE_ISOC99].  Use
863         __lgammaf_r_finite.
864         (gammal): Condition definition on [__USE_ISOC99].  Use
865         __lgammal_r_finite.
866         (logf): Condition declaration on [__USE_ISOC99].
867         (logl): Likewise.
868         (log10f): Likewise.
869         (log10l): Likewise.
870         (ldexpf): Likewise.
871         (ldexpl): Likewise.
872         (powf): Likewise.
873         (powl): Likewise.
874         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
875         __USE_ISOC99].
876         (remainderf): Condition declaration on [__USE_ISOC99].
877         (remainderl): Likewise.
878         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
879         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
880         (scalbl): Likewise.
881         (sinhf): Condition declaration on [__USE_ISOC99].
882         (sinhl): Likewise.
883         (sqrtf): Likewise.
884         (sqrtl): Likewise.
886 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
888         * sysdeps/arm/atomic-machine.h
889         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
890         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
891         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
892         Remove conditional code.
893         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
894         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
895         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
896         Change conditional to [__ASSEMBLER__].
897         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
898         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
899         [!__ASSEMBLER__].
900         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
901         code.
902         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
903         conditional macro definitions.
904         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
905         (__arch_compare_and_exchange_val_16_acq): Likewise.
906         (__arch_compare_and_exchange_val_32_acq): Likewise.
907         (atomic_exchange_and_add): Likewise.
908         (atomic_add): Likewise.
909         (atomic_add_negative): Likewise.
910         (atomic_add_zero): Likewise.
911         (atomic_bit_set): Likewise.
912         (atomic_bit_test_set): Likewise.
913         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
914         code unconditional.
915         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
917         * math/test-math-errno.h: New file.
918         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
919         empty.
920         (TEST_ERRNO): New macro.
921         (TEST_EXCEPTIONS): Likewise.
922         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
923         (TEST_EXCEPTIONS): Likewise.
924         * math/test-math-vector.h (TEST_ERRNO): Likewise.
925         * math/test-double.c: Include "test-math-errno.h".
926         * math/test-float.c: Likewise.
927         * math/test-ldouble.c: Likewise.
928         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
929         code unconditional.
930         (test_exceptions): Only run code if TEST_EXCEPTIONS.
931         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
932         unconditional.
933         (test_errno): Only run code if TEST_ERRNO.
934         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
936 2015-11-04  Florian Weimer  <fweimer@redhat.com>
938         * nptl/tst-once5.cc: Remove attribution.
940 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
942         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
943         sqrt, tan, tanh, y0, y1 and yn.
944         * math/auto-libm-test-out: Regenerated.
945         * math/libm-test.inc (scalb_test_data): Add more tests.
946         (scalbn_test_data): Likewise.
947         (scalbln_test_data): Likewise.
948         (signbit_test_data): Likewise.
949         (sin_test_data): Likewise.
950         (sincos_test_data): Likewise.
951         (sinh_test_data): Likewise.
952         (sqrt_test_data): Likewise.
953         (tan_test_data): Likewise.
954         (tanh_test_data): Likewise.
955         (tgamma_test_data): Likewise.
956         (y0_test_data): Likewise.
957         (y1_test_data): Likewise.
958         (yn_test_data): Likewise.
959         (significand_test_data): Likewise.
960         * sysdeps/i386/fpu/libm-test-ulps: Update.
962 2015-11-03  David Kastrup  <dak@gnu.org>
964         [BZ #18604]
965         * assert/assert.h (assert): Don't macro-expand failed assertion
966         expression in error message.
967         * malloc/malloc.c (assert): Likewise.
969 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
971         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
972         test.
973         * configure: Regenerated.
975 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
977         * math/libm-test.inc (modf_test_data): Add more tests.
978         (nearbyint_test_data): Likewise.
979         (nextafter_test_data): Likewise.
980         (nexttoward_test_data): Likewise.
981         (pow_test_data): Likewise.
982         (remainder_test_data): Likewise.
983         (remquo_test_data): Likewise.
984         (rint_test_data): Likewise.
986         [BZ #19201]
987         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
988         Check for zero remainder in case of large exponents and ensure
989         correct sign of result in that case.
990         * math/libm-test.inc (remainder_test_data): Add more tests.
992         [BZ #6799]
993         * math/s_nextafter.c: Include <errno.h>.
994         (__nextafter): Set errno on overflow and underflow.
995         * math/s_nexttowardf.c: Include <errno.h>.
996         (__nexttowardf): Set errno on overflow and underflow.
997         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
998         (__nextafterl): Set errno on overflow and underflow.
999         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1000         (__nexttoward): Set errno on overflow and underflow.
1001         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1002         (__nexttowardf): Set errno on overflow and underflow.
1003         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1004         (__nextafterf): Set errno on overflow and underflow.
1005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1006         (__nextafterl): Set errno on overflow and underflow.
1007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1008         (__nexttoward): Set errno on overflow and underflow.
1009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1010         (__nexttowardf): Set errno on overflow and underflow.
1011         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1012         (__nextafterl): Set errno on overflow and underflow.
1013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1014         (__nexttoward): Set errno on overflow and underflow.
1015         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1016         (__nexttowardf): Set errno on overflow and underflow.
1017         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1018         (__nexttoward): Set errno on overflow and underflow.
1019         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1020         (__nexttowardf): Set errno on overflow and underflow.
1021         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1022         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1023         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1024         (__nextafterl): Set errno on overflow and underflow.
1025         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1026         setting to be missing on overflow.  Add more tests.
1027         (nexttoward_test_data): Likewise.
1029         * configure.ac (libc_cv_initfini_array): Remove configure test.
1030         * configure: Regenerated.
1032 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1034         [BZ #19189]
1035         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1036         non-finite argument handle arguments with negative sign.
1038         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1039         result from infinite argument.
1040         (j1_test_data): Likewise.
1041         (jn_test_data): Likewise.
1042         (y0_test_data): Likewise.
1043         (y1_test_data): Likewise.
1044         (yn_test_data): Likewise.
1046         [BZ #16171]
1047         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1048         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1049         * math/w_remainderf.c (dremf): Define as weak alias of
1050         __remainderf.
1051         * math/w_remainderl.c (dreml): Define as weak alias of
1052         __remainderl.
1053         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1054         __remainder.
1055         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1056         __remainderf.
1057         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1058         __remainderl.
1059         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1060         weak alias of remainderl.
1061         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1062         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1063         alias of __remainder.
1064         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1065         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1066         strong alias of __remainderl.
1067         (dreml): Use long_double_symbol.
1068         * math/Makefile (libm-calls): Remove w_drem.
1069         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1070         (CFLAGS-nldbl-drem.c): Remove variable.
1071         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1072         * math/w_drem.c: Remove file.
1073         * math/w_dremf.c: Likewise.
1074         * math/w_dreml.c: Likewise.
1075         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1076         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1077         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1079         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1080         * sysdeps/i386/configure: Regenerated.
1081         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1082         * sysdeps/x86_64/configure: Regenerated.
1084         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1085         test.
1086         (libc_cv_visibility_attribute): Likewise.
1087         (libc_cv_protected_data): Test unconditionally.
1088         (libc_cv_broken_visibility_attribute): Remove configure test.
1089         (libc_cv_have_sdata_section): Test unconditionally.
1090         * configure: Regenerated.
1092         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1093         * include/scratch_buffer.h: Include <stddef.h> instead of
1094         <libc-internal.h>.
1095         (struct scratch_buffer): Use max_align_t instead of
1096         libc_max_align_t.
1098 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1100         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1101         instead of extend_alloca.  Change control flow to avoid a goto.
1102         Remove assert which is trivially always true.
1104 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1106         [BZ #16068]
1107         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1108         (FE_ALL_EXCEPT_X86): New macro.
1109         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1110         FE_ALL_EXCEPT.  Ensure precision control is included in
1111         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1112         handle "denormal operand exception" and clear FZ and DAZ bits.
1113         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1114         (FE_ALL_EXCEPT_X86): New macro.
1115         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1116         FE_ALL_EXCEPT.  Ensure precision control is included in
1117         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1118         handle "denormal operand exception" and clear FZ and DAZ bits.
1119         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1120         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1121         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1122         test-fenv-x87 and test-fenv-sse-2.
1123         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1125         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1126         * math/test-double.h (BUILD_COMPLEX): New macro.
1127         * math/test-float.h (BUILD_COMPLEX): Likewise.
1128         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1130         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1131         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1132         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1134         instead of DBL_DENORM_MIN in comment.
1135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1136         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1137         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1138         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1140         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1142 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1144         [BZ# 19048]
1145         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1146         attached_threads member.
1147         (main_arena): Initialize attached_threads.
1148         * malloc/arena.c (list_lock): Update comment.
1149         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1150         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1151         (deattach_arena): New function.
1152         (_int_new_arena): Initialize arena reference count and deattach
1153         replaced arena.
1154         (get_free_list, reused_arena): Update reference count and deattach
1155         replaced arena.
1156         (arena_thread_freeres): Update arena reference count and only put
1157         unreferenced arenas on the free list.
1159 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1161         [BZ #19181]
1162         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1163         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1164         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1165         * math/test-fenv-clear-main.c: New file.
1166         * math/test-fenv-clear.c: Likewise.
1167         * math/Makefile (tests): Add test-fenv-clear.
1168         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1169         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1170         test-fenv-clear-sse.
1171         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1173         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1174         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1175         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1177 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1179         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1180         static libc.
1182 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1184         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1185         test.
1186         * sysdeps/i386/configure: Regenerated.
1187         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1188         test.
1189         * sysdeps/x86_64/configure: Regenerated.
1190         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1192         memset-avx2 unconditionally instead of conditionally on
1193         [$(config-cflags-avx2) = yes].
1194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1195         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1196         unconditional.
1197         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1198         * sysdeps/x86_64/multiarch/memset_chk.S
1199         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1200         to [IS_IN (libc) && SHARED].
1202 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1204         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1205         configure test.
1206         * sysdeps/arm/configure: Regenerated.
1207         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1208         Define variable if not already defined.
1210         [BZ #17404]
1211         * sysdeps/mips/atomic-machine.h
1212         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1213         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1214         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1216         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1217         unconditional.
1218         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1219         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1220         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1221         unconditional.
1222         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1223         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1224         unconditional.
1225         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1226         * stdlib/setenv.c
1227         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1228         code unconditional.
1229         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1230         Remove conditional code.
1231         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1232         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1233         unconditional.
1234         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1235         code.
1236         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1237         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1238         unconditional.
1239         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1240         code.
1241         * sysdeps/ieee754/ldbl-128/k_tanl.c
1242         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1243         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1244         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1245         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1246         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1247         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1248         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1249         unconditional.
1250         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1251         code.
1252         * sysdeps/ieee754/ldbl-96/k_tanl.c
1253         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1254         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1256         * nptl/tst-initializers1-c11.c: New file.
1257         * nptl/tst-initializers1-gnu11.c: Likewise.
1258         * nptl/Makefile (tests): Add these new tests.
1259         (CFLAGS-tst-initializers1-c11.c): New variable.
1260         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1262         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1263         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1264         instead of -std=gnu99.
1265         * configure.ac (systemtap): Test with -std=gnu11 instead of
1266         -std=gnu99.
1267         * configure: Regenerated.
1268         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1269         in compilation command in comment.
1271         * sysdeps/nptl/configure.ac: Remove file.
1272         * sysdeps/nptl/configure: Remove generated file.
1273         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1274         * configure: Regenerated.
1275         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1276         * config.make.in (have-forced-unwind): Remove variable.
1277         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1278         unconditional.
1279         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1280         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1281         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1282         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1283         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1284         unconditional.
1286 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1288         [BZ #19174]
1289         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1290         .skip_lock_out_of_tbegin_retries.
1291         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1292         (__lll_lock_elision): Likewise, and respect a value of
1293         try_tbegin <= 0.
1295 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1297         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1298         statement.
1300 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1302         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1303         variable.
1304         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1305         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1307         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1308         of -std=c1x -D_ISOC11_SOURCE.
1310         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1311         * configure: Regenerated.
1312         * manual/install.texi (Tools for Compilation): Document
1313         requirement for GCC 4.7 or later.
1314         * INSTALL: Regenerated.
1316 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1318         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1319         on CNT to a conditional jump to 'puntdata'.
1321 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1323         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1324         (libc_cv_gcc_tls_model_attr): Likewise.
1325         * configure: Regenerated.
1327         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1328         * configure: Regenerated.
1329         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1331 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1333         * configure.ac (old_glibc_headers): Remove configure test.
1334         * configure: Regenerated.
1335         * config.make.in (old-glibc-headers): Remove variable.
1336         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1337         (install): Remove dependency on remove-old-headers.
1338         (headers2_0): Remove variable.
1339         (remove-old-headers): Remove rule.
1341         * configure.ac (libc_cv_dot_text): Remove configure test.
1342         (libc_cv_asm_set_directive): Use .text instead of
1343         ${libc_cv_dot_text} in configure test.
1344         * configure: Regenerated.
1346 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1348         [BZ #19168]
1349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1351 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1353         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1354         not support static linking.
1355         * configure: Regenerate.
1357 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1359         * math/libm-test.inc (check_float_internal): Do not special-case
1360         errors up to 0.5 ulp.
1362         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1363         log2.
1364         * math/auto-libm-test-out: Regenerated.
1365         * math/libm-test.inc (MAX_EXP): New macro.
1366         (ilogb_test_data): Add more tests.
1367         (isfinite_test_data): Likewise.
1368         (isgreater_test_data): Likewise.
1369         (isgreaterequal_test_data): Likewise.
1370         (isinf_test_data): Likewise.
1371         (isless_test_data): Likewise.
1372         (islessequal_test_data): Likewise.
1373         (islessgreater_test_data): Likewise.
1374         (isnan_test_data): Likewise.
1375         (isnormal_test_data): Likewise.
1376         (issignaling_test_data): Likewise.
1377         (isunordered_test_data): Likewise.
1378         (j0_test_data): Likewise.
1379         (j1_test_data): Likewise.
1380         (jn_test_data): Likewise.
1381         (lgamma_test_data): Likewise.
1382         (log_test_data): Likewise.
1383         (log10_test_data): Likewise.
1384         (log1p_test_data): Likewise.
1385         (log2_test_data): Likewise.
1386         (logb_test_data): Likewise.
1387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1389         [BZ #18611]
1390         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1391         avoid excess range and precision on underflow.
1392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1393         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1394         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1396         underflow.
1397         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1399         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1400         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1401         * math/auto-libm-test-in: Do not allow missing errno setting for
1402         tests of j1 and jn.
1403         * math/auto-libm-test-out: Regenerated.
1405 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1407         [BZ #15491]
1408         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1409         floating-point environment instead of clearing all exceptions.
1410         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1411         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1412         merging in "invalid" exceptions from frndint.
1413         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1414         * math/test-nearbyint-except.c: New file.
1415         * math/Makefile (tests): Add test-nearbyint-except.
1417 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1419         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1421         * sysdeps/tile/libm-test-ulps: Regenerated.
1423 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1426         (__NR_sync_file_range2): Assume it is always defined.
1427         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1428         (__NR_sync_file_range): Assume it is always defined.
1430 2015-10-22  Andreas Schwab  <schwab@suse.de>
1432         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1433         INTERNAL_SYSCALL_ERRNO.
1434         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1435         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1436         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1437         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1441 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1443         * io/tst-fcntl.c (fd): New static variable.
1444         (do_prepare): Open temporary file here....
1445         (do_test): ...not here.
1447         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1449 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1451         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1452         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1453         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1454         Moved before "#ifdef __ASSEMBLER__".
1456 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1458         [BZ #19156]
1459         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1460         arguments very close to 0.
1462 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1464         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1465         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1467 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1469         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1470         New.  Defined for GCC 5 and above when not compiling for
1471         profiling.
1472         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1474         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1475         Renamed to ...
1476         (CFLAGS-epoll_pwait.o): This.
1477         (CFLAGS-mmap.c): Renamed to ...
1478         (CFLAGS-mmap.o): This.
1479         (CFLAGS-mmap64.c): Renamed to ...
1480         (CFLAGS-mmap64.o): This.
1481         (CFLAGS-epoll_pwait.os): New.
1482         (CFLAGS-mmap.os): Likewise.
1483         (CFLAGS-mmap64.os): Likewise.
1484         (CFLAGS-semtimedop.os): Likewise.
1485         (CFLAGS-semtimedop.c): Renamed to ...
1486         (CFLAGS-semtimedop.o): This.
1488 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1490         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1491         warning message.
1493 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1495         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1496         * Makefile ($(objpfx)c++-types-check.out): Filter out
1497         $(+gccwarn-c) instead of -Wstrict-prototypes.
1499         * io/fts.c (fts_open): Convert to prototype-style function
1500         definition.
1501         * malloc/mcheck.c (mcheck): Likewise.
1502         (mcheck_pedantic): Likewise.
1503         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1504         internal_function.
1505         (re_search_internal): Likewise.
1506         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1507         prototype-style function definition.
1508         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1509         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1510         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1511         (xdr_utmpptr): Likewise.
1512         (xdr_utmparr): Likewise.
1513         (xdr_utmpidle): Likewise.
1514         (xdr_utmpidleptr): Likewise.
1515         (xdr_utmpidlearr): Likewise.
1517         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1518         log, log10 and log2.
1519         * math/auto-libm-test-out: Regenerated.
1520         * math/libm-test.inc (fmod_test_data): Add more tests.
1521         (fpclassify_test_data): Likewise.
1522         (frexp_test_data): Likewise.
1523         (hypot_test_data): Likewise.
1524         (ilogb_test_data): Likewise.
1526 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1528         * debug/fortify_fail.c (__fortify_fail): Convert to
1529         prototype-style function definition.  Use internal_function.
1530         * libio/genops.c (save_for_backup): Convert to prototype-style
1531         function definition.
1532         * libio/wgenops.c (save_for_wbackup): Likewise.
1533         * login/grantpt.c (grantpt): Likewise.
1534         * login/ptsname.c (ptsname): Likewise.
1535         (__ptsname_r): Likewise.
1536         * login/unlockpt.c (unlockpt): Likewise.
1537         * mach/msgserver.c (__mach_msg_server): Likewise.
1538         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1539         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1540         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1541         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1542         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1543         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1544         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1545         Likewise.
1546         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1547         internal_function.
1548         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1549         prototype-style function definition.
1550         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1551         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1552         (__pthread_create_2_0): Likewise.
1553         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1554         * nptl/register-atfork.c (__register_atfork): Likewise.
1555         * posix/glob.c (glob): Likewise.
1556         * posix/regcomp.c (re_comp): Likewise.
1557         * posix/regexec.c (re_exec): Likewise.
1558         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1559         [!__STDC__]: Remove conditional code.
1560         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1561         [!__STDC__]: Remove conditional code.
1562         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1563         [!__STDC__]: Remove conditional code.
1564         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1565         [!__STDC__]: Remove conditional code.
1566         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1567         [!__STDC__]: Remove conditional code.
1568         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1569         [!__STDC__]: Remove conditional code.
1570         * stdlib/mul.c [__STDC__]: Make code unconditional.
1571         [!__STDC__]: Remove conditional code.
1572         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1573         [!__STDC__]: Remove conditional code.
1574         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1575         [!__STDC__]: Remove conditional code.
1576         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1577         function definition.
1578         (STRTOF): Likewise.
1579         * stdlib/strtod_l.c (__STRTOF): Likewise.
1580         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1581         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1582         (__strtol_l): Likewise.
1583         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1584         [!__STDC__]: Remove conditional code.
1585         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1586         definition.
1587         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1588         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1589         type.
1590         (__strcasecmp): Convert to prototype-style function definition.
1591         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1592         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1593         type.
1594         (__strncasecmp): Convert to prototype-style function definition.
1595         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1596         * sunrpc/xdr.c (xdr_union): Likewise.
1597         * sunrpc/xdr_array.c (xdr_array): Likewise.
1598         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1599         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1600         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1601         Likewise.
1602         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1603         Likewise.
1604         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1605         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1606         Likewise.
1607         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1608         (LOCALE_PARAM_PROTO): Likewise.
1609         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1610         argument type.
1611         (ut_argument_spec): Remove macro.
1612         (ut_argument_spec_iso): Rename to ut_argument_spec.
1613         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1614         prototype-style function definition.
1615         (memcpy_uppcase): Likewise.
1616         (__strftime_internal): Likewise.
1617         (my_strftime): Likewise.
1618         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1619         (LOCALE_PARAM_DECL): Likewise.
1620         [_LIBC] (LOCALE_PARAM): Include argument type.
1621         (__strptime_internal): Convert to prototype-style function
1622         definition.
1623         (strptime): Likewise.
1624         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1625         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1626         type.
1627         (__wcscasecmp): Convert to prototype-style function definition.
1628         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1629         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1630         type.
1631         (__wcsncasecmp): Convert to prototype-style function definition.
1633         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1634         function definition.
1635         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1636         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1637         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1638         * elf/dl-minimal.c (_itoa): Likewise.
1639         * hurd/hurdmalloc.c (malloc): Likewise.
1640         (free): Likewise.
1641         (realloc): Likewise.
1642         * inet/inet6_option.c (inet6_option_space): Likewise.
1643         (inet6_option_init): Likewise.
1644         (inet6_option_append): Likewise.
1645         (inet6_option_alloc): Likewise.
1646         (inet6_option_next): Likewise.
1647         (inet6_option_find): Likewise.
1648         * io/ftw.c (FTW_NAME): Likewise.
1649         (NFTW_NAME): Likewise.
1650         (NFTW_NEW_NAME): Likewise.
1651         (NFTW_OLD_NAME): Likewise.
1652         * libio/iofwide.c (_IO_fwide): Likewise.
1653         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1654         (_IO_str_init_static): Likewise.
1655         (_IO_str_init_readonly): Likewise.
1656         (_IO_str_overflow): Likewise.
1657         (_IO_str_underflow): Likewise.
1658         (_IO_str_count): Likewise.
1659         (_IO_str_seekoff): Likewise.
1660         (_IO_str_pbackfail): Likewise.
1661         (_IO_str_finish): Likewise.
1662         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1663         (_IO_wstr_overflow): Likewise.
1664         (_IO_wstr_underflow): Likewise.
1665         (_IO_wstr_count): Likewise.
1666         (_IO_wstr_seekoff): Likewise.
1667         (_IO_wstr_pbackfail): Likewise.
1668         (_IO_wstr_finish): Likewise.
1669         * locale/programs/localedef.c (normalize_codeset): Likewise.
1670         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1671         (add_locales_to_archive): Likewise.
1672         (delete_locales_from_archive): Likewise.
1673         * malloc/malloc.c (__libc_mallinfo): Likewise.
1674         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1675         * misc/tsearch.c (__tfind): Likewise.
1676         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1677         * nptl/pthread_attr_getdetachstate.c
1678         (__pthread_attr_getdetachstate): Likewise.
1679         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1680         Likewise.
1681         * nptl/pthread_attr_getinheritsched.c
1682         (__pthread_attr_getinheritsched): Likewise.
1683         * nptl/pthread_attr_getschedparam.c
1684         (__pthread_attr_getschedparam): Likewise.
1685         * nptl/pthread_attr_getschedpolicy.c
1686         (__pthread_attr_getschedpolicy): Likewise.
1687         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1688         Likewise.
1689         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1690         Likewise.
1691         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1692         Likewise.
1693         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1694         Likewise.
1695         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1696         (__pthread_attr_init_2_0): Likewise.
1697         * nptl/pthread_attr_setdetachstate.c
1698         (__pthread_attr_setdetachstate): Likewise.
1699         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1700         Likewise.
1701         * nptl/pthread_attr_setinheritsched.c
1702         (__pthread_attr_setinheritsched): Likewise.
1703         * nptl/pthread_attr_setschedparam.c
1704         (__pthread_attr_setschedparam): Likewise.
1705         * nptl/pthread_attr_setschedpolicy.c
1706         (__pthread_attr_setschedpolicy): Likewise.
1707         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1708         Likewise.
1709         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1710         Likewise.
1711         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1712         Likewise.
1713         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1714         Likewise.
1715         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1716         Likewise.
1717         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1718         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1719         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1720         use internal_function.
1721         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1722         prototype-style function definition.
1723         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1724         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1725         internal_function.
1726         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1727         Convert to prototype-style function definition.
1728         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1729         Likewise.
1730         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1731         Likewise.
1732         (__pthread_mutex_unlock): Likewise.
1733         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1734         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1735         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1736         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1737         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1738         * nss/makedb.c (process_input): Likewise.
1739         * posix/fnmatch.c (__strchrnul): Likewise.
1740         (__wcschrnul): Likewise.
1741         (fnmatch): Likewise.
1742         * posix/fnmatch_loop.c (FCT): Likewise.
1743         * posix/glob.c (globfree): Likewise.
1744         (__glob_pattern_type): Likewise.
1745         (__glob_pattern_p): Likewise.
1746         * posix/regcomp.c (re_compile_pattern): Likewise.
1747         (re_set_syntax): Likewise.
1748         (re_compile_fastmap): Likewise.
1749         (regcomp): Likewise.
1750         (regerror): Likewise.
1751         (regfree): Likewise.
1752         * posix/regexec.c (regexec): Likewise.
1753         (re_match): Likewise.
1754         (re_search): Likewise.
1755         (re_match_2): Likewise.
1756         (re_search_2): Likewise.
1757         (re_search_stub): Likewise.  Use internal_function
1758         (re_copy_regs): Likewise.
1759         (re_set_registers): Convert to prototype-style function
1760         definition.
1761         (prune_impossible_nodes): Likewise.  Use internal_function.
1762         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1763         prototype-style function definition.
1764         (inet_net_pton_ipv4): Likewise.
1765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1766         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1767         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1768         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1769         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1770         Make variadic.
1771         * time/strptime_l.c (localtime_r): Convert to prototype-style
1772         function definition.
1773         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1774         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1775         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1776         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1778         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1779         definition.
1780         (_ufc_doit_r): Likewise.
1781         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1782         (_ufc_output_conversion_r): Likewise.
1783         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1784         * inet/rcmd.c (rcmd_af): Likewise.
1785         (rcmd): Likewise.
1786         (ruserok_af): Likewise.
1787         (ruserok): Likewise.
1788         (ruserok2_sa): Likewise.
1789         (ruserok_sa): Likewise.
1790         (iruserok_af): Likewise.
1791         (iruserok): Likewise.
1792         (__ivaliduser): Likewise.
1793         (__validuser2_sa): Likewise.
1794         * inet/rexec.c (rexec_af): Likewise.
1795         (rexec): Likewise.
1796         * inet/ruserpass.c (ruserpass): Likewise.
1797         * locale/programs/xmalloc.c (xcalloc): Likewise.
1798         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1799         * math/w_drem.c (__drem): Likewise.
1800         * math/w_dremf.c (__dremf): Likewise.
1801         * math/w_dreml.c (__dreml): Likewise.
1802         * misc/daemon.c (daemon): Likewise.
1803         * resolv/res_debug.c (p_fqnname): Likewise.
1804         * stdlib/div.c (div): Likewise.
1805         * string/memcmp.c (memcmp_bytes): Likewise.
1806         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1807         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1809         * crypt/cert.c (main): Convert to prototype-style function
1810         definition.
1811         * io/pipe.c (__pipe): Likewise.
1812         * io/pipe2.c (__pipe2): Likewise.
1813         * misc/futimesat.c (futimesat): Likewise.
1814         * misc/utimes.c (__utimes): Likewise.
1815         * posix/execve.c (__execve): Likewise.
1816         * posix/execvp.c (execvp): Likewise.
1817         * posix/execvpe.c (__execvpe): Likewise.
1818         * posix/fexecve.c (fexecve): Likewise.
1819         * socket/socketpair.c (socketpair): Likewise.
1820         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1821         * stdlib/erand48.c (erand48): Likewise.
1822         * stdlib/erand48_r.c (__erand48_r): Likewise.
1823         * stdlib/jrand48.c (jrand48): Likewise.
1824         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1825         * stdlib/lcong48.c (lcong48): Likewise.
1826         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1827         * stdlib/nrand48.c (nrand48): Likewise.
1828         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1829         * stdlib/seed48.c (seed48): Likewise.
1830         * stdlib/seed48_r.c (__seed48_r): Likewise.
1831         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1832         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1833         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1835 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1837         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1838         * configure: Regenerated.
1839         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1840         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1841         unconditional.
1842         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1843         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1844         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1845         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1846         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1847         unconditional.
1848         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1850         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1851         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1853         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1854         function definition.
1855         * crypt/crypt_util.c (__encrypt_r): Likewise.
1856         * libio/genops.c (_IO_no_init): Likewise.
1857         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1858         (_IO_old_fopencookie): Likewise.
1859         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1860         * libio/iogetline.c (_IO_getline): Likewise.
1861         (_IO_getline_info): Likewise.
1862         * libio/iogetwline.c (_IO_getwline): Likewise.
1863         (_IO_getwline_info): Likewise.
1864         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1865         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1866         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1867         (find_entry): Likewise.
1868         (iterate_table): Likewise.
1869         (lookup): Likewise.
1870         * login/forkpty.c (forkpty): Likewise.
1871         * misc/hsearch_r.c (__hsearch_r): Likewise.
1872         * misc/select.c (__select): Likewise.
1873         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1874         Likewise.
1875         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1876         Likewise.
1877         * nptl/old_pthread_cond_timedwait.c
1878         (__pthread_cond_timedwait_2_0): Likewise.
1879         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1880         * nptl/pthread_barrierattr_getpshared.c
1881         (pthread_barrierattr_getpshared): Likewise.
1882         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1883         Likewise.
1884         * nptl/pthread_mutex_setprioceiling.c
1885         (pthread_mutex_setprioceiling): Likewise.
1886         * nptl/pthread_mutexattr_getprioceiling.c
1887         (pthread_mutexattr_getprioceiling): Likewise.
1888         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1889         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1890         Likewise.
1891         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1892         Likewise.
1893         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1894         Likewise.
1895         * socket/recvfrom.c (__recvfrom): Likewise.
1896         * socket/sendto.c (__sendto): Likewise.
1897         * socket/setsockopt.c (__setsockopt): Likewise.
1898         * stdio-common/_itoa.c (_itoa): Likewise.
1899         * stdio-common/_itowa.c (_itowa): Likewise.
1900         * stdio-common/reg-printf.c (__register_printf_specifier):
1901         Likewise.
1902         (__register_printf_function): Likewise.
1903         * stdio-common/tempname.c (__path_search): Likewise.
1904         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1905         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1906         * stdlib/random_r.c (__initstate_r): Likewise.
1907         * stdlib/setenv.c (__add_to_environ): Likewise.
1908         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1909         * streams/getpmsg.c (getpmsg): Likewise.
1910         * streams/putmsg.c (putmsg): Likewise.
1911         * streams/putpmsg.c (putpmsg): Likewise.
1912         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1913         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1914         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1915         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1916         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1917         * sunrpc/svc_udp.c (cache_get): Likewise.
1918         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1919         * sysdeps/mach/hurd/getcwd.c
1920         (__canonicalize_directory_name_internal): Likewise.
1921         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1922         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1923         * sysdeps/mach/hurd/select.c (__select): Likewise.
1924         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1925         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1926         * sysdeps/sparc/nptl/pthread_barrier_init.c
1927         (__pthread_barrier_init): Likewise.
1928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1929         (__pthread_cond_timedwait): Likewise.
1930         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1931         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1932         Likewise.
1933         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1934         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1935         Likewise.
1936         * sysvipc/semtimedop.c (semtimedop): Likewise.
1937         * time/setitimer.c (__setitimer): Likewise.
1938         * time/strftime_l.c (emacs_strftime): Likewise.
1940 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1942         * config.make.in (have-ssp): Delete.
1943         (stack-protector): New variable.
1944         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1945         cache test for -fstack-protector-strong.  Export stack_protector to
1946         the best ssp flag.
1947         * configure: Regenerated.
1948         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1949         * nscd/Makefile (CFLAGS-nscd): Likewise.
1950         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1952 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1954         [BZ #19122]
1955         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1956         attribute_hidden.
1958 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1960         [BZ #18743]
1961         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1962         code to...
1963         (ELIDE_LOCK): ...here.
1964         (__get_new_count): New function with part of the code from
1965         __elide_lock that updates the value of adapt_count after a
1966         transaction abort.
1967         (__elided_trylock): Moved this code to...
1968         (ELIDE_TRYLOCK): ...here.
1970 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1972         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1973         * configure: Regenerate.
1974         * INSTALL: Regenerate.
1975         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1976         and tweak grammar.
1978 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1980         * login/programs/pt_chown.c: Include signal.h
1981         (main): Clear any signal mask from the parent process.
1983 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1985         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1986         * configure: Regenerated.
1987         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1988         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1989         $(gnu89-inline-CFLAGS).
1991         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1992         test.
1993         (libc_cv_asm_weakext_directive): Likewise.
1994         * configure: Regenerated.
1995         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1996         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1997         * include/libc-symbols.h
1998         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1999         #error.
2000         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2001         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2003         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2004         prototype-style function definition.
2005         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2006         * sysdeps/i386/ffs.c (__ffs): Likewise.
2007         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2008         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2009         Likewise.
2010         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2011         Likewise.
2012         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2013         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2014         Likewise.
2015         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2016         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2017         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2018         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2019         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2020         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2021         * sysdeps/mach/hurd/access.c (__access): Likewise.
2022         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2023         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2024         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2025         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2026         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2027         (cthread_getspecific): Likewise.
2028         (cthread_setspecific): Likewise.
2029         (__libc_getspecific): Likewise.
2030         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2031         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2032         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2033         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2034         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2035         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2036         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2037         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2038         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2039         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2040         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2041         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2042         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2043         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2044         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2045         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2046         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2047         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2048         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2049         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2050         * sysdeps/mach/hurd/link.c (__link): Likewise.
2051         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2052         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2053         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2054         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2055         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2056         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2057         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2058         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2059         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2060         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2061         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2062         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2063         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2064         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2065         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2066         * sysdeps/mach/hurd/send.c (__send): Likewise.
2067         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2068         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2069         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2070         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2071         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2072         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2073         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2074         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2075         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2076         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2077         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2078         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2079         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2080         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2081         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2082         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2083         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2084         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2085         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2086         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2087         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2088         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2089         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2090         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2091         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2092         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2093         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2094         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2095         * sysdeps/posix/alarm.c (alarm): Likewise.
2096         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2097         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2098         * sysdeps/posix/dup.c (__dup): Likewise.
2099         * sysdeps/posix/dup2.c (__dup2): Likewise.
2100         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2101         (main): Likewise.
2102         * sysdeps/posix/flock.c (__flock): Likewise.
2103         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2104         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2105         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2106         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2107         * sysdeps/posix/isatty.c (__isatty): Likewise.
2108         * sysdeps/posix/killpg.c (killpg): Likewise.
2109         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2110         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2111         * sysdeps/posix/raise.c (raise): Likewise.
2112         * sysdeps/posix/remove.c (remove): Likewise.
2113         * sysdeps/posix/rename.c (rename): Likewise.
2114         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2115         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2116         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2117         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2118         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2119         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2120         * sysdeps/posix/sigset.c (sigset): Likewise.
2121         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2122         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2123         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2124         * sysdeps/posix/time.c (time): Likewise.
2125         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2126         (ttyname): Likewise.
2127         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2128         * sysdeps/posix/utime.c (utime): Likewise.
2129         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2130         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2131         Likewise.
2132         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2133         (pthread_spin_trylock): Likewise.
2134         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2135         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2136         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2137         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2138         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2139         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2140         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2141         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2142         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2143         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2144         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2145         * sysdeps/s390/ffs.c (__ffs): Likewise.
2146         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2147         Likewise.
2148         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2149         Likewise.
2150         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2151         Likewise.
2152         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2153         (pthread_barrier_destroy): Likewise.
2154         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2155         (__pthread_barrier_wait): Likewise.
2156         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2157         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2158         (__pthread_barrier_wait): Likewise.
2159         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2160         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2161         (memcmp_not_common_alignment): Likewise.
2162         (MEMCMP): Likewise.
2163         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2164         (_wordcopy_fwd_dest_aligned): Likewise.
2165         (_wordcopy_bwd_aligned): Likewise.
2166         (_wordcopy_bwd_dest_aligned): Likewise.
2167         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2168         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2169         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2170         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2171         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2172         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2173         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2174         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2175         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2176         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2177         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2178         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2179         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2180         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2181         * sysdeps/unix/stime.c (stime): Likewise.
2182         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2183         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2184         Likewise.  Use internal_function.
2185         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2186         Convert to prototype-style function definition.
2187         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2188         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2190         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2191         Likewise.  Use internal_function.
2192         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2193         prototype-style function definition
2194         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2195         Likewise.
2196         (__getlogin_r): Likewise.
2197         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2199         (__pthread_cond_broadcast): Likewise.
2200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2201         (__pthread_cond_destroy): Likewise.
2202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2203         (__pthread_cond_init): Likewise.
2204         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2205         (__pthread_cond_signal): Likewise.
2206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2207         (__pthread_cond_wait): Likewise.
2208         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2209         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2210         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2211         Likewise.
2212         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2213         Likewise.
2214         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2215         Likewise.
2216         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2217         Likewise.
2218         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2220         (__ftruncate64): Likewise.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2222         (truncate64): Likewise.
2223         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2224         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2225         (pthread_getcpuclockid): Likewise.
2226         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2227         Likewise.
2228         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2229         Likewise.
2230         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2231         Likewise.
2232         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2233         Likewise.
2234         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2235         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2236         (__libc_sigaction): Likewise.
2237         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2238         Likewise.
2239         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2240         (__sigprocmask): Likewise.
2241         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2242         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2243         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2244         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2245         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2246         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2247         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2250         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2251         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2252         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2254         Likewise.
2255         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2256         (__sigprocmask): Likewise.
2257         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2258         (cfgetispeed): Likewise.
2259         (cfsetospeed): Likewise.
2260         (cfsetispeed): Likewise.
2261         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2262         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2263         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2264         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2265         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2266         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2267         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2268         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2271         Likewise.
2272         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2273         Likewise.
2274         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2275         Likewise.
2276         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2278 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2280         sunrpc: Rewrite with explicit TLS access using __thread.
2281         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2282         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2283         directly.
2284         (__rpc_thread_variables): Access thread_rpc_vars directly.
2285         Eliminate redundant assignment of the tvp variable.
2287 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2289         malloc: Rewrite with explicit TLS access using __thread.
2290         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2291         (tsd_setspecific, tsd_getspecific): Remove.
2292         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2293         (tsd_setspecific, tsd_getspecific): Likewise.
2294         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2295         (tsd_setspecific, tsd_getspecific): Likewise.
2296         * malloc/arena.c (thread_arena): New TLS variable.
2297         (arena_key): Remove variable.
2298         (arena_get): Use thread_arena.
2299         (arena_lookup): Remove macro.
2300         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2301         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2302         (_int_new_arena, get_free_list, reused_arena)
2303         (arena_thread_freeres): Use thread_arena.
2304         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2305         tsd_getspecific, tsd_setspecific from safety annotations.
2306         (Allocating Cleared Space): Remove arena_lookup from safety
2307         annotations.
2309 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2311         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2312         struct scratch_buffer instead of extend_alloca.
2314 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2316         * sysdeps/unix/sysv/linux/kernel-features.h
2317         (__ASSUME_SOCK_CLOEXEC): Remove.
2318         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2319         (__have_paccept): Remove unused macro.
2320         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2321         * misc/syslog.c (openlog_internal): Remove fallback code for
2322         !__ASSUME_SOCK_CLOEXEC.
2323         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2324         missing SOCK_CLOEXEC.
2325         * nscd/connections.c (have_sock_cloexec): Remove definition.
2326         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2327         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2328         !__ASSUME_SOCK_CLOEXEC.
2329         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2330         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2331         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2332         definition.
2333         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2334         code for !__ASSUME_SOCK_CLOEXEC.
2336 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2338         [BZ #18982]
2339         * manual/stdio.texi (Variable Arguments Output): Add portability
2340         note, explaining that vfprintf clobbers the va_list pointer.
2342 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2344         * math/libm-test.inc (fabs_test_data): Add more tests.
2345         (fdim_test_data): Likewise.
2346         (fma_test_data): Likewise.
2347         (fmax_test_data): Likewise.
2348         (fmin_test_data): Likewise.
2349         (fmod_test_data): Likewise.
2351 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2353         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2354         data.
2356 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2358         * math/libm-test.inc (ceil_test_data): Add more tests and more
2359         expectations for "inexact".
2360         (floor_test_data): Add more tests.
2361         (round_test_data): Likewise.
2362         (trunc_test_data): Likewise.
2364         * crypt/cert.c (good_bye): Convert to prototype-style function
2365         definition.
2366         (get8): Likewise.
2367         (put8): Likewise.
2368         * crypt/crypt-entry.c (crypt): Likewise.
2369         (__fcrypt): Likewise.
2370         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2371         (_ufc_set_bits): Likewise.
2372         (_ufc_clearmem): Likewise.
2373         (__init_des_r): Likewise.
2374         (shuffle_sb): Likewise.
2375         (shuffle_sb): Likewise.
2376         (_ufc_setup_salt_r): Likewise.
2377         (_ufc_mk_keytab_r): Likewise.
2378         (_ufc_dofinalperm_r): Likewise.
2379         (encrypt): Likewise.
2380         (__setkey_r): Likewise.
2381         (setkey): Likewise.
2382         * crypt/md5.c (md5_init_ctx): Likewise.
2383         (md5_read_ctx): Likewise.
2384         (md5_finish_ctx): Likewise.
2385         (md5_stream): Likewise.
2386         (md5_buffer): Likewise.
2387         (md5_process_bytes): Likewise.
2388         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2389         (__sha256_finish_ctx): Likewise.
2390         (__sha256_process_bytes): Likewise.
2391         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2392         (__sha512_finish_ctx): Likewise.
2393         (__sha512_process_bytes): Likewise.
2394         * ctype/isctype.c (__isctype): Likewise.
2395         * debug/backtrace.c (__backtrace): Likewise.
2396         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2397         * debug/fgets_chk.c (__fgets_chk): Likewise.
2398         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2399         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2400         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2401         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2402         * debug/memset_chk.c (__memset_chk): Likewise.
2403         * debug/strcat_chk.c (__strcat_chk): Likewise.
2404         * debug/strncat_chk.c (__strncat_chk): Likewise.
2405         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2406         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2407         * dirent/dirfd.c (dirfd): Likewise.
2408         * dirent/getdents.c (__getdirentries): Likewise.
2409         * dirent/getdents64.c (getdirentries64): Likewise.
2410         * dirent/rewinddir.c (__rewinddir): Likewise.
2411         * dirent/seekdir.c (seekdir): Likewise.
2412         * dirent/telldir.c (telldir): Likewise.
2413         * elf/sln.c (makesymlinks): Likewise.
2414         (makesymlink): Likewise.
2415         * gmon/gmon.c (__moncontrol): Likewise.
2416         (__monstartup): Likewise.
2417         (write_hist): Likewise.
2418         (write_call_graph): Likewise.
2419         (write_bb_counts): Likewise.
2420         * grp/setgroups.c (setgroups): Likewise.
2421         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2422         * inet/inet_net.c (inet_network): Likewise.
2423         * inet/inet_netof.c (inet_netof): Likewise.
2424         * inet/rcmd.c (rresvport_af): Likewise.
2425         (rresvport): Likewise.
2426         * io/access.c (__access): Likewise.
2427         * io/chdir.c (__chdir): Likewise.
2428         * io/chmod.c (__chmod): Likewise.
2429         * io/chown.c (__chown): Likewise.
2430         * io/close.c (__close): Likewise.
2431         * io/creat.c (creat): Likewise.
2432         * io/creat64.c (creat64): Likewise.
2433         * io/dup.c (__dup): Likewise.
2434         * io/dup2.c (__dup2): Likewise.
2435         * io/dup3.c (__dup3): Likewise.
2436         * io/euidaccess.c (__euidaccess): Likewise.
2437         * io/faccessat.c (faccessat): Likewise.
2438         * io/fchmod.c (__fchmod): Likewise.
2439         * io/fchmodat.c (fchmodat): Likewise.
2440         * io/fchown.c (__fchown): Likewise.
2441         * io/fchownat.c (fchownat): Likewise.
2442         * io/fcntl.c (__fcntl): Likewise.
2443         * io/flock.c (__flock): Likewise.
2444         * io/fts.c (fts_load): Likewise.
2445         (fts_close): Likewise.
2446         (fts_read): Likewise.
2447         (fts_set): Likewise.
2448         (fts_children): Likewise.
2449         (fts_build): Likewise.
2450         (fts_stat): Likewise.
2451         (fts_sort): Likewise.
2452         (fts_alloc): Likewise.
2453         (fts_lfree): Likewise.
2454         (fts_palloc): Likewise.
2455         (fts_padjust): Likewise.
2456         (fts_maxarglen): Likewise.
2457         (fts_safe_changedir): Likewise.
2458         * io/getwd.c (getwd): Likewise.
2459         * io/isatty.c (__isatty): Likewise.
2460         * io/lchown.c (__lchown): Likewise.
2461         * io/link.c (__link): Likewise.
2462         * io/linkat.c (linkat): Likewise.
2463         * io/lseek.c (__libc_lseek): Likewise.
2464         * io/mkdir.c (__mkdir): Likewise.
2465         * io/mkdirat.c (mkdirat): Likewise.
2466         * io/mkfifo.c (mkfifo): Likewise.
2467         * io/mkfifoat.c (mkfifoat): Likewise.
2468         * io/open.c (__libc_open): Likewise.
2469         * io/open64.c (__libc_open64): Likewise.
2470         * io/readlink.c (__readlink): Likewise.
2471         * io/readlinkat.c (readlinkat): Likewise.
2472         * io/rmdir.c (__rmdir): Likewise.
2473         * io/symlink.c (__symlink): Likewise.
2474         * io/symlinkat.c (symlinkat): Likewise.
2475         * io/ttyname.c (ttyname): Likewise.
2476         * io/ttyname_r.c (__ttyname_r): Likewise.
2477         * io/umask.c (__umask): Likewise.
2478         * io/unlink.c (__unlink): Likewise.
2479         * io/unlinkat.c (unlinkat): Likewise.
2480         * io/utime.c (utime): Likewise.
2481         * libio/clearerr.c (clearerr): Likewise.
2482         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2483         * libio/feof.c (_IO_feof): Likewise.
2484         * libio/feof_u.c (feof_unlocked): Likewise.
2485         * libio/ferror.c (_IO_ferror): Likewise.
2486         * libio/ferror_u.c (ferror_unlocked): Likewise.
2487         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2488         * libio/fileno.c (__fileno): Likewise.
2489         * libio/fputc.c (fputc): Likewise.
2490         * libio/fputc_u.c (fputc_unlocked): Likewise.
2491         * libio/fputwc.c (fputwc): Likewise.
2492         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2493         * libio/freopen.c (freopen): Likewise.
2494         * libio/freopen64.c (freopen64): Likewise.
2495         * libio/fseek.c (fseek): Likewise.
2496         * libio/fseeko.c (fseeko): Likewise.
2497         * libio/fseeko64.c (fseeko64): Likewise.
2498         * libio/ftello.c (__ftello): Likewise.
2499         * libio/ftello64.c (ftello64): Likewise.
2500         * libio/fwide.c (fwide): Likewise.
2501         * libio/genops.c (_IO_un_link): Likewise.
2502         (_IO_link_in): Likewise.
2503         (_IO_least_marker): Likewise.
2504         (_IO_switch_to_main_get_area): Likewise.
2505         (_IO_switch_to_backup_area): Likewise.
2506         (_IO_switch_to_get_mode): Likewise.
2507         (_IO_free_backup_area): Likewise.
2508         (_IO_switch_to_put_mode): Likewise.
2509         (__overflow): Likewise.
2510         (__underflow): Likewise.
2511         (__uflow): Likewise.
2512         (_IO_setb): Likewise.
2513         (_IO_doallocbuf): Likewise.
2514         (_IO_default_underflow): Likewise.
2515         (_IO_default_uflow): Likewise.
2516         (_IO_default_xsputn): Likewise.
2517         (_IO_sgetn): Likewise.
2518         (_IO_default_xsgetn): Likewise.
2519         (_IO_sync): Likewise.
2520         (_IO_default_setbuf): Likewise.
2521         (_IO_default_seekpos): Likewise.
2522         (_IO_default_doallocate): Likewise.
2523         (_IO_init): Likewise.
2524         (_IO_old_init): Likewise.
2525         (_IO_default_sync): Likewise.
2526         (_IO_default_finish): Likewise.
2527         (_IO_default_seekoff): Likewise.
2528         (_IO_sputbackc): Likewise.
2529         (_IO_sungetc): Likewise.
2530         (_IO_set_column): Likewise.
2531         (_IO_set_column): Likewise.
2532         (_IO_adjust_column): Likewise.
2533         (_IO_get_column): Likewise.
2534         (_IO_init_marker): Likewise.
2535         (_IO_remove_marker): Likewise.
2536         (_IO_marker_difference): Likewise.
2537         (_IO_marker_delta): Likewise.
2538         (_IO_seekmark): Likewise.
2539         (_IO_unsave_markers): Likewise.
2540         (_IO_nobackup_pbackfail): Likewise.
2541         (_IO_default_pbackfail): Likewise.
2542         (_IO_default_seek): Likewise.
2543         (_IO_default_stat): Likewise.
2544         (_IO_default_read): Likewise.
2545         (_IO_default_write): Likewise.
2546         (_IO_default_showmanyc): Likewise.
2547         (_IO_default_imbue): Likewise.
2548         (_IO_iter_next): Likewise.
2549         (_IO_iter_file): Likewise.
2550         * libio/getc.c (_IO_getc): Likewise.
2551         * libio/getwc.c (_IO_getwc): Likewise.
2552         * libio/iofclose.c (_IO_new_fclose): Likewise.
2553         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2554         * libio/iofflush.c (_IO_fflush): Likewise.
2555         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2556         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2557         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2558         * libio/iofgets.c (_IO_fgets): Likewise.
2559         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2560         * libio/iofgetws.c (fgetws): Likewise.
2561         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2562         * libio/iofopen64.c (_IO_fopen64): Likewise.
2563         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2564         (_IO_cookie_write): Likewise.
2565         (_IO_cookie_seek): Likewise.
2566         (_IO_cookie_close): Likewise.
2567         (_IO_cookie_seekoff): Likewise.
2568         (_IO_old_cookie_seek): Likewise.
2569         * libio/iofputs.c (_IO_fputs): Likewise.
2570         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2571         * libio/iofputws.c (fputws): Likewise.
2572         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2573         * libio/iofread.c (_IO_fread): Likewise.
2574         * libio/iofread_u.c (__fread_unlocked): Likewise.
2575         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2576         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2577         * libio/ioftell.c (_IO_ftell): Likewise.
2578         * libio/iofwrite.c (_IO_fwrite): Likewise.
2579         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2580         * libio/iogets.c (_IO_gets): Likewise.
2581         * libio/iopadn.c (_IO_padn): Likewise.
2582         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2583         (_IO_new_popen): Likewise.
2584         (_IO_new_proc_close): Likewise.
2585         * libio/ioputs.c (_IO_puts): Likewise.
2586         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2587         (_IO_seekoff): Likewise.
2588         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2589         (_IO_seekpos): Likewise.
2590         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2591         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2592         * libio/ioungetc.c (_IO_ungetc): Likewise.
2593         * libio/ioungetwc.c (ungetwc): Likewise.
2594         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2595         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2596         * libio/iowpadn.c (_IO_wpadn): Likewise.
2597         * libio/libc_fatal.c (__libc_fatal): Likewise.
2598         * libio/memstream.c (__open_memstream): Likewise.
2599         (_IO_mem_sync): Likewise.
2600         (_IO_mem_finish): Likewise.
2601         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2602         (_IO_old_file_close_it): Likewise.
2603         (_IO_old_file_finish): Likewise.
2604         (_IO_old_file_fopen): Likewise.
2605         (_IO_old_file_attach): Likewise.
2606         (_IO_old_file_setbuf): Likewise.
2607         (_IO_old_do_write): Likewise.
2608         (old_do_write): Likewise.
2609         (_IO_old_file_underflow): Likewise.
2610         (_IO_old_file_overflow): Likewise.
2611         (_IO_old_file_sync): Likewise.
2612         (_IO_old_file_seekoff): Likewise.
2613         (_IO_old_file_write): Likewise.
2614         (_IO_old_file_xsputn): Likewise.
2615         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2616         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2617         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2618         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2619         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2620         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2621         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2622         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2623         (_IO_old_popen): Likewise.
2624         (_IO_old_proc_close): Likewise.
2625         * libio/oldpclose.c (__old_pclose): Likewise.
2626         * libio/pclose.c (__new_pclose): Likewise.
2627         * libio/peekc.c (_IO_peekc_locked): Likewise.
2628         * libio/putc.c (_IO_putc): Likewise.
2629         * libio/putc_u.c (putc_unlocked): Likewise.
2630         * libio/putchar.c (putchar): Likewise.
2631         * libio/putchar_u.c (putchar_unlocked): Likewise.
2632         * libio/putwc.c (putwc): Likewise.
2633         * libio/putwc_u.c (putwc_unlocked): Likewise.
2634         * libio/putwchar.c (putwchar): Likewise.
2635         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2636         * libio/rewind.c (rewind): Likewise.
2637         * libio/setbuf.c (setbuf): Likewise.
2638         * libio/setlinebuf.c (setlinebuf): Likewise.
2639         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2640         * libio/vscanf.c (_IO_vscanf): Likewise.
2641         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2642         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2643         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2644         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2645         (_IO_switch_to_main_wget_area): Likewise.
2646         (_IO_switch_to_wbackup_area): Likewise.
2647         (_IO_wsetb): Likewise.
2648         (_IO_wdefault_pbackfail): Likewise.
2649         (_IO_wdefault_finish): Likewise.
2650         (_IO_wdefault_uflow): Likewise.
2651         (__woverflow): Likewise.
2652         (__wuflow): Likewise.
2653         (__wunderflow): Likewise.
2654         (_IO_wdefault_xsputn): Likewise.
2655         (_IO_wdefault_xsgetn): Likewise.
2656         (_IO_wdoallocbuf): Likewise.
2657         (_IO_wdefault_doallocate): Likewise.
2658         (_IO_switch_to_wget_mode): Likewise.
2659         (_IO_free_wbackup_area): Likewise.
2660         (_IO_switch_to_wput_mode): Likewise.
2661         (_IO_sputbackwc): Likewise.
2662         (_IO_sungetwc): Likewise.
2663         (_IO_adjust_wcolumn): Likewise.
2664         (_IO_init_wmarker): Likewise.
2665         (_IO_wmarker_delta): Likewise.
2666         (_IO_seekwmark): Likewise.
2667         (_IO_unsave_wmarkers): Likewise.
2668         * libio/wmemstream.c (open_wmemstream): Likewise.
2669         (_IO_wmem_sync): Likewise.
2670         (_IO_wmem_finish): Likewise.
2671         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2672         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2673         * locale/programs/simple-hash.c (init_hash): Likewise.
2674         (delete_hash): Likewise.
2675         (insert_entry): Likewise.
2676         (set_entry): Likewise.
2677         (next_prime): Likewise.
2678         (is_prime): Likewise.
2679         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2680         (xmalloc): Likewise.
2681         (xrealloc): Likewise.
2682         * locale/programs/xstrdup.c (xstrdup): Likewise.
2683         * localedata/collate-test.c (xstrcoll): Likewise.
2684         * localedata/xfrm-test.c (xstrcmp): Likewise.
2685         * login/getlogin_r.c (__getlogin_r): Likewise.
2686         * login/getpt.c (__posix_openpt): Likewise.
2687         * login/login_tty.c (login_tty): Likewise.
2688         * login/setlogin.c (setlogin): Likewise.
2689         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2690         (mach_msg_destroy_port): Likewise.
2691         (mach_msg_destroy_memory): Likewise.
2692         * malloc/mcheck.c (flood): Likewise.
2693         * misc/acct.c (acct): Likewise.
2694         * misc/brk.c (__brk): Likewise.
2695         * misc/chflags.c (chflags): Likewise.
2696         * misc/chroot.c (chroot): Likewise.
2697         * misc/fchflags.c (fchflags): Likewise.
2698         * misc/fstab.c (getfsspec): Likewise.
2699         (getfsfile): Likewise.
2700         * misc/fsync.c (fsync): Likewise.
2701         * misc/ftruncate.c (__ftruncate): Likewise.
2702         * misc/ftruncate64.c (__ftruncate64): Likewise.
2703         * misc/getdomain.c (getdomainname): Likewise.
2704         (getdomainname): Likewise.
2705         * misc/gethostname.c (__gethostname): Likewise.
2706         * misc/getpass.c (getpass): Likewise.
2707         * misc/getttyent.c (skip): Likewise.
2708         (value): Likewise.
2709         * misc/gtty.c (gtty): Likewise.
2710         * misc/hsearch.c (hsearch): Likewise.
2711         (hcreate): Likewise.
2712         * misc/hsearch_r.c (__hcreate_r): Likewise.
2713         (__hdestroy_r): Likewise.
2714         * misc/ioctl.c (__ioctl): Likewise.
2715         * misc/mkdtemp.c (mkdtemp): Likewise.
2716         * misc/mkostemp.c (mkostemp): Likewise.
2717         * misc/mkostemp64.c (mkostemp64): Likewise.
2718         * misc/mkostemps.c (mkostemps): Likewise.
2719         * misc/mkostemps64.c (mkostemps64): Likewise.
2720         * misc/mkstemp.c (mkstemp): Likewise.
2721         * misc/mkstemp64.c (mkstemp64): Likewise.
2722         * misc/mkstemps.c (mkstemps): Likewise.
2723         * misc/mkstemps64.c (mkstemps64): Likewise.
2724         * misc/mktemp.c (__mktemp): Likewise.
2725         * misc/preadv.c (preadv): Likewise.
2726         * misc/preadv64.c (preadv64): Likewise.
2727         * misc/pwritev.c (pwritev): Likewise.
2728         * misc/pwritev64.c (pwritev64): Likewise.
2729         * misc/readv.c (__readv): Likewise.
2730         * misc/revoke.c (revoke): Likewise.
2731         * misc/setdomain.c (setdomainname): Likewise.
2732         * misc/setegid.c (setegid): Likewise.
2733         * misc/seteuid.c (seteuid): Likewise.
2734         * misc/sethostid.c (sethostid): Likewise.
2735         * misc/sethostname.c (sethostname): Likewise.
2736         * misc/setregid.c (__setregid): Likewise.
2737         * misc/setreuid.c (__setreuid): Likewise.
2738         * misc/sstk.c (sstk): Likewise.
2739         * misc/stty.c (stty): Likewise.
2740         * misc/syscall.c (syscall): Likewise.
2741         * misc/syslog.c (setlogmask): Likewise.
2742         * misc/truncate.c (__truncate): Likewise.
2743         * misc/truncate64.c (truncate64): Likewise.
2744         * misc/ualarm.c (ualarm): Likewise.
2745         * misc/usleep.c (usleep): Likewise.
2746         * misc/ustat.c (ustat): Likewise.
2747         * misc/writev.c (__writev): Likewise.
2748         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2749         * nptl/old_pthread_cond_broadcast.c
2750         (__pthread_cond_broadcast_2_0): Likewise.
2751         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2752         Likewise.
2753         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2754         Likewise.
2755         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2756         Likewise.
2757         * nptl/pt-raise.c (raise): Likewise.
2758         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2759         Likewise.
2760         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2761         * nptl/pthread_barrierattr_destroy.c
2762         (pthread_barrierattr_destroy): Likewise.
2763         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2764         Likewise.
2765         * nptl/pthread_barrierattr_setpshared.c
2766         (pthread_barrierattr_setpshared): Likewise.
2767         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2768         Likewise.
2769         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2770         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2771         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2772         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2773         Likewise.
2774         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2775         Likewise.
2776         * nptl/pthread_condattr_getpshared.c
2777         (pthread_condattr_getpshared): Likewise.
2778         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2779         Likewise.
2780         * nptl/pthread_condattr_setpshared.c
2781         (pthread_condattr_setpshared): Likewise.
2782         * nptl/pthread_detach.c (pthread_detach): Likewise.
2783         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2784         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2785         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2786         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2787         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2788         Likewise.
2789         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2790         Likewise.
2791         * nptl/pthread_mutex_getprioceiling.c
2792         (pthread_mutex_getprioceiling): Likewise.
2793         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2794         Likewise.
2795         * nptl/pthread_mutexattr_getprotocol.c
2796         (pthread_mutexattr_getprotocol): Likewise.
2797         * nptl/pthread_mutexattr_getpshared.c
2798         (pthread_mutexattr_getpshared): Likewise.
2799         * nptl/pthread_mutexattr_getrobust.c
2800         (pthread_mutexattr_getrobust): Likewise.
2801         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2802         Likewise.
2803         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2804         Likewise.
2805         * nptl/pthread_mutexattr_setprioceiling.c
2806         (pthread_mutexattr_setprioceiling): Likewise.
2807         * nptl/pthread_mutexattr_setprotocol.c
2808         (pthread_mutexattr_setprotocol): Likewise.
2809         * nptl/pthread_mutexattr_setpshared.c
2810         (pthread_mutexattr_setpshared): Likewise.
2811         * nptl/pthread_mutexattr_setrobust.c
2812         (pthread_mutexattr_setrobust): Likewise.
2813         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2814         Likewise.
2815         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2816         Likewise.
2817         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2818         Likewise.
2819         * nptl/pthread_rwlockattr_getkind_np.c
2820         (pthread_rwlockattr_getkind_np): Likewise.
2821         * nptl/pthread_rwlockattr_getpshared.c
2822         (pthread_rwlockattr_getpshared): Likewise.
2823         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2824         Likewise.
2825         * nptl/pthread_rwlockattr_setkind_np.c
2826         (pthread_rwlockattr_setkind_np): Likewise.
2827         * nptl/pthread_rwlockattr_setpshared.c
2828         (pthread_rwlockattr_setpshared): Likewise.
2829         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2830         Likewise.
2831         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2832         Likewise.
2833         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2834         Likewise.
2835         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2836         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2837         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2838         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2839         * nptl/sem_close.c (sem_close): Likewise.
2840         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2841         * nptl/sem_init.c (__old_sem_init): Likewise.
2842         * nptl/sigaction.c (__sigaction): Likewise.
2843         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2844         * posix/_exit.c (_exit): Likewise.
2845         * posix/alarm.c (alarm): Likewise.
2846         * posix/confstr.c (confstr): Likewise.
2847         * posix/fpathconf.c (__fpathconf): Likewise.
2848         * posix/getgroups.c (__getgroups): Likewise.
2849         * posix/getpgid.c (__getpgid): Likewise.
2850         * posix/group_member.c (__group_member): Likewise.
2851         * posix/pathconf.c (__pathconf): Likewise.
2852         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2853         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2854         * posix/setgid.c (__setgid): Likewise.
2855         * posix/setpgid.c (__setpgid): Likewise.
2856         * posix/setuid.c (__setuid): Likewise.
2857         * posix/sleep.c (__sleep): Likewise.
2858         * posix/sysconf.c (__sysconf): Likewise.
2859         * posix/times.c (__times): Likewise.
2860         * posix/uname.c (__uname): Likewise.
2861         * posix/waitid.c (__waitid): Likewise.
2862         * pwd/getpw.c (__getpw): Likewise.
2863         * resolv/base64.c (b64_pton): Likewise.
2864         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2865         * resolv/gethnamaddr.c (Dprintf): Likewise.
2866         (gethostbyname): Likewise.
2867         (gethostbyname2): Likewise.
2868         (gethostbyaddr): Likewise.
2869         (_sethtent): Likewise.
2870         (_gethtbyname): Likewise.
2871         (_gethtbyname2): Likewise.
2872         (_gethtbyaddr): Likewise.
2873         (map_v4v6_address): Likewise.
2874         (map_v4v6_hostent): Likewise.
2875         (addrsort): Likewise.
2876         (ht_sethostent): Likewise.
2877         (ht_gethostbyname): Likewise.
2878         (ht_gethostbyaddr): Likewise.
2879         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2880         (inet_net_ntop_ipv4): Likewise.
2881         * resolv/inet_neta.c (inet_neta): Likewise.
2882         * resolv/inet_ntop.c (inet_ntop): Likewise.
2883         (inet_ntop4): Likewise.
2884         (inet_ntop6): Likewise.
2885         * resolv/inet_pton.c (__inet_pton): Likewise.
2886         (inet_pton4): Likewise.
2887         (inet_pton6): Likewise.
2888         * resolv/res_debug.c (loc_aton): Likewise.
2889         (loc_ntoa): Likewise.
2890         * resource/getpriority.c (__getpriority): Likewise.
2891         * resource/getrusage.c (__getrusage): Likewise.
2892         * resource/nice.c (nice): Likewise.
2893         * resource/setpriority.c (__setpriority): Likewise.
2894         * resource/setrlimit64.c (setrlimit64): Likewise.
2895         * resource/vlimit.c (vlimit): Likewise.
2896         * resource/vtimes.c (vtimes): Likewise.
2897         * rt/aio_error.c (aio_error): Likewise.
2898         * rt/aio_return.c (aio_return): Likewise.
2899         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2900         * signal/kill.c (__kill): Likewise.
2901         * signal/killpg.c (killpg): Likewise.
2902         * signal/raise.c (raise): Likewise.
2903         * signal/sigaction.c (__sigaction): Likewise.
2904         * signal/sigaddset.c (sigaddset): Likewise.
2905         * signal/sigaltstack.c (sigaltstack): Likewise.
2906         * signal/sigandset.c (sigandset): Likewise.
2907         * signal/sigblock.c (__sigblock): Likewise.
2908         * signal/sigdelset.c (sigdelset): Likewise.
2909         * signal/sigempty.c (sigemptyset): Likewise.
2910         * signal/sigfillset.c (sigfillset): Likewise.
2911         * signal/sighold.c (sighold): Likewise.
2912         * signal/sigignore.c (sigignore): Likewise.
2913         * signal/sigintr.c (siginterrupt): Likewise.
2914         * signal/sigisempty.c (sigisemptyset): Likewise.
2915         * signal/sigismem.c (sigismember): Likewise.
2916         * signal/signal.c (signal): Likewise.
2917         * signal/sigorset.c (sigorset): Likewise.
2918         * signal/sigpause.c (__sigpause): Likewise.
2919         * signal/sigpending.c (sigpending): Likewise.
2920         * signal/sigprocmask.c (__sigprocmask): Likewise.
2921         * signal/sigrelse.c (sigrelse): Likewise.
2922         * signal/sigreturn.c (__sigreturn): Likewise.
2923         * signal/sigset.c (sigset): Likewise.
2924         * signal/sigsetmask.c (__sigsetmask): Likewise.
2925         * signal/sigstack.c (sigstack): Likewise.
2926         * signal/sigsuspend.c (__sigsuspend): Likewise.
2927         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2928         * signal/sysv_signal.c (__sysv_signal): Likewise.
2929         * socket/accept.c (accept): Likewise.
2930         * socket/accept4.c (__libc_accept4): Likewise.
2931         * socket/bind.c (__bind): Likewise.
2932         * socket/connect.c (__connect): Likewise.
2933         * socket/getpeername.c (getpeername): Likewise.
2934         * socket/getsockname.c (__getsockname): Likewise.
2935         * socket/getsockopt.c (getsockopt): Likewise.
2936         * socket/listen.c (__listen): Likewise.
2937         * socket/recv.c (__recv): Likewise.
2938         * socket/recvmsg.c (__recvmsg): Likewise.
2939         * socket/send.c (__send): Likewise.
2940         * socket/sendmsg.c (__sendmsg): Likewise.
2941         * socket/shutdown.c (shutdown): Likewise.
2942         * socket/sockatmark.c (sockatmark): Likewise.
2943         * socket/socket.c (__socket): Likewise.
2944         * stdio-common/ctermid.c (ctermid): Likewise.
2945         * stdio-common/cuserid.c (cuserid): Likewise.
2946         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2947         * stdio-common/remove.c (remove): Likewise.
2948         * stdio-common/rename.c (rename): Likewise.
2949         * stdio-common/renameat.c (renameat): Likewise.
2950         * stdio-common/tempname.c (__gen_tempname): Likewise.
2951         * stdio-common/xbug.c (InitBuffer): Likewise.
2952         (AppendToBuffer): Likewise.
2953         (ReadFile): Likewise.
2954         * stdlib/a64l.c (a64l): Likewise.
2955         * stdlib/drand48_r.c (drand48_r): Likewise.
2956         * stdlib/getcontext.c (getcontext): Likewise.
2957         * stdlib/getenv.c (getenv): Likewise.
2958         * stdlib/l64a.c (l64a): Likewise.
2959         * stdlib/llabs.c (llabs): Likewise.
2960         * stdlib/lldiv.c (lldiv): Likewise.
2961         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2962         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2963         * stdlib/putenv.c (putenv): Likewise.
2964         * stdlib/random.c (__srandom): Likewise.
2965         (__initstate): Likewise.
2966         (__setstate): Likewise.
2967         * stdlib/random_r.c (__srandom_r): Likewise.
2968         (__setstate_r): Likewise.
2969         (__random_r): Likewise.
2970         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2971         * stdlib/setcontext.c (setcontext): Likewise.
2972         * stdlib/setenv.c (setenv): Likewise.
2973         (unsetenv): Likewise.
2974         * stdlib/srand48.c (srand48): Likewise.
2975         * stdlib/srand48_r.c (__srand48_r): Likewise.
2976         * stdlib/swapcontext.c (swapcontext): Likewise.
2977         * stdlib/system.c (__libc_system): Likewise.
2978         * stdlib/tst-strtod.c (expand): Likewise.
2979         * stdlib/tst-strtol.c (expand): Likewise.
2980         * stdlib/tst-strtoll.c (expand): Likewise.
2981         * streams/fattach.c (fattach): Likewise.
2982         * streams/fdetach.c (fdetach): Likewise.
2983         * streams/getmsg.c (getmsg): Likewise.
2984         * streams/isastream.c (isastream): Likewise.
2985         * string/ffs.c (__ffs): Likewise.
2986         * string/ffsll.c (ffsll): Likewise.
2987         * string/memcmp.c (memcmp_common_alignment): Likewise.
2988         (memcmp_not_common_alignment): Likewise.
2989         (MEMCMP): Likewise.
2990         * string/memcpy.c (memcpy): Likewise.
2991         * string/memmove.c (MEMMOVE): Likewise.
2992         * string/memset.c (memset): Likewise.
2993         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2994         * string/strchrnul.c (STRCHRNUL): Likewise.
2995         * string/strerror.c (strerror): Likewise.
2996         * string/strndup.c (__strndup): Likewise.
2997         * string/strverscmp.c (__strverscmp): Likewise.
2998         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2999         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3000         (clnttcp_freeres): Likewise.
3001         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3002         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3003         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3004         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3005         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3006         (xdr_callhdr): Likewise.
3007         * sunrpc/rpcinfo.c (udpping): Likewise.
3008         (tcpping): Likewise.
3009         (pstatus): Likewise.
3010         (pmapdump): Likewise.
3011         (brdcst): Likewise.
3012         (deletereg): Likewise.
3013         (getprognum): Likewise.
3014         (getvers): Likewise.
3015         (get_inet_address): Likewise.
3016         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3017         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3018         (svcudp_stat): Likewise.
3019         (svcudp_recv): Likewise.
3020         (svcudp_reply): Likewise.
3021         (svcudp_getargs): Likewise.
3022         (svcudp_freeargs): Likewise.
3023         (svcudp_destroy): Likewise.
3024         * sunrpc/xdr.c (xdr_bytes): Likewise.
3025         (xdr_netobj): Likewise.
3026         (xdr_string): Likewise.
3027         (xdr_wrapstring): Likewise.
3028         * sunrpc/xdr_float.c (xdr_float): Likewise.
3029         (xdr_double): Likewise.
3030         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3031         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3032         * sysvipc/ftok.c (ftok): Likewise.
3033         * sysvipc/msgctl.c (msgctl): Likewise.
3034         * sysvipc/msgget.c (msgget): Likewise.
3035         * sysvipc/msgrcv.c (msgrcv): Likewise.
3036         * sysvipc/msgsnd.c (msgsnd): Likewise.
3037         * sysvipc/semget.c (semget): Likewise.
3038         * sysvipc/semop.c (semop): Likewise.
3039         * sysvipc/shmat.c (shmat): Likewise.
3040         * sysvipc/shmctl.c (shmctl): Likewise.
3041         * sysvipc/shmdt.c (shmdt): Likewise.
3042         * sysvipc/shmget.c (shmget): Likewise.
3043         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3044         * termios/speed.c (cfgetospeed): Likewise.
3045         (cfgetispeed): Likewise.
3046         (cfsetospeed): Likewise.
3047         (cfsetispeed): Likewise.
3048         * termios/tcflow.c (tcflow): Likewise.
3049         * termios/tcflush.c (tcflush): Likewise.
3050         * termios/tcgetattr.c (__tcgetattr): Likewise.
3051         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3052         * termios/tcgetsid.c (tcgetsid): Likewise.
3053         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3054         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3055         * time/adjtime.c (__adjtime): Likewise.
3056         * time/dysize.c (dysize): Likewise.
3057         * time/ftime.c (ftime): Likewise.
3058         * time/getitimer.c (__getitimer): Likewise.
3059         * time/gettimeofday.c (__gettimeofday): Likewise.
3060         * time/gmtime.c (__gmtime_r): Likewise.
3061         (gmtime): Likewise.
3062         * time/localtime.c (__localtime_r): Likewise.
3063         (localtime): Likewise.
3064         * time/offtime.c (__offtime): Likewise.
3065         * time/settimeofday.c (__settimeofday): Likewise.
3066         * time/stime.c (stime): Likewise.
3067         * time/strftime_l.c (tm_diff): Likewise.
3068         (iso_week_days): Likewise.
3069         * time/strptime.c (strptime): Likewise.
3070         * time/time.c (time): Likewise.
3071         * time/timespec_get.c (timespec_get): Likewise.
3072         * time/tzset.c (tzset_internal): Likewise.
3073         (compute_change): Likewise.
3074         (__tz_compute): Likewise.
3075         * wcsmbs/btowc.c (__btowc): Likewise.
3076         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3077         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3078         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3079         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3080         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3081         * wcsmbs/wcscat.c (__wcscat): Likewise.
3082         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3083         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3084         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3085         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3086         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3087         * wcsmbs/wcslen.c (__wcslen): Likewise.
3088         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3089         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3090         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3091         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3092         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3093         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3094         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3095         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3096         * wcsmbs/wcstok.c (wcstok): Likewise.
3097         * wcsmbs/wctob.c (wctob): Likewise.
3098         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3099         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3100         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3101         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3102         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3103         * wcsmbs/wmemset.c (__wmemset): Likewise.
3104         * wctype/wcfuncs.c (__towlower): Likewise.
3105         (__towupper): Likewise.
3107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3108         (lll_unlock_elision): Add adapt_count parameter.
3110 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3112         * sysdeps/nptl/configure.ac: Do not give errors based on the
3113         results of top-level configure tests.
3114         * sysdeps/nptl/configure: Regenerated.
3116         * configure.ac (libc_cv_Bgroup): Remove configure test.
3117         * configure: Regenerated.
3118         * config.make.in (have-Bgroup): Remove variable.
3120         * configure.ac (sizeof_long_double): Remove configure test.
3121         * configure: Regenerated.
3122         * config.make.in (sizeof-long-double): Remove variable.
3124         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3125         * configure: Regenerated.
3126         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3127         variable.
3128         (exceptions): Likewise.
3129         * sysdeps/arm/configure: Regenerated.
3130         * config.make.in (exceptions): Remove variable.
3131         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3132         $(exceptions).
3133         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3134         (CFLAGS-vdprintf_chk.c): Likewise.
3135         (CFLAGS-printf_chk.c): Likewise.
3136         (CFLAGS-fprintf_chk.c): Likewise.
3137         (CFLAGS-vprintf_chk.c): Likewise.
3138         (CFLAGS-vfprintf_chk.c): Likewise.
3139         (CFLAGS-gets_chk.c): Likewise.
3140         (CFLAGS-fgets_chk.c): Likewise.
3141         (CFLAGS-fgets_u_chk.c): Likewise.
3142         (CFLAGS-fread_chk.c): Likewise.
3143         (CFLAGS-fread_u_chk.c): Likewise.
3144         (CFLAGS-wprintf_chk.c): Likewise.
3145         (CFLAGS-fwprintf_chk.c): Likewise.
3146         (CFLAGS-vwprintf_chk.c): Likewise.
3147         (CFLAGS-vfwprintf_chk.c): Likewise.
3148         (CFLAGS-fgetws_chk.c): Likewise.
3149         (CFLAGS-fgetws_u_chk.c): Likewise.
3150         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3151         (CFLAGS-fputc.c): Likewise.
3152         (CFLAGS-fputwc.c): Likewise.
3153         (CFLAGS-freopen64.c): Likewise.
3154         (CFLAGS-freopen.c): Likewise.
3155         (CFLAGS-fseek.c): Likewise.
3156         (CFLAGS-fseeko64.c): Likewise.
3157         (CFLAGS-fseeko.c): Likewise.
3158         (CFLAGS-ftello64.c): Likewise.
3159         (CFLAGS-ftello.c): Likewise.
3160         (CFLAGS-fwide.c): Likewise.
3161         (CFLAGS-genops.c): Likewise.
3162         (CFLAGS-getc.c): Likewise.
3163         (CFLAGS-getchar.c): Likewise.
3164         (CFLAGS-getwc.c): Likewise.
3165         (CFLAGS-getwchar.c): Likewise.
3166         (CFLAGS-iofclose.c): Likewise.
3167         (CFLAGS-iofflush.c): Likewise.
3168         (CFLAGS-iofgetpos64.c): Likewise.
3169         (CFLAGS-iofgetpos.c): Likewise.
3170         (CFLAGS-iofgets.c): Likewise.
3171         (CFLAGS-iofgetws.c): Likewise.
3172         (CFLAGS-iofputs.c): Likewise.
3173         (CFLAGS-iofputws.c): Likewise.
3174         (CFLAGS-iofread.c): Likewise.
3175         (CFLAGS-iofsetpos64.c): Likewise.
3176         (CFLAGS-iofsetpos.c): Likewise.
3177         (CFLAGS-ioftell.c): Likewise.
3178         (CFLAGS-iofwrite.c): Likewise.
3179         (CFLAGS-iogetdelim.c): Likewise.
3180         (CFLAGS-iogetline.c): Likewise.
3181         (CFLAGS-iogets.c): Likewise.
3182         (CFLAGS-iogetwline.c): Likewise.
3183         (CFLAGS-ioputs.c): Likewise.
3184         (CFLAGS-ioseekoff.c): Likewise.
3185         (CFLAGS-ioseekpos.c): Likewise.
3186         (CFLAGS-iosetbuffer.c): Likewise.
3187         (CFLAGS-iosetvbuf.c): Likewise.
3188         (CFLAGS-ioungetc.c): Likewise.
3189         (CFLAGS-ioungetwc.c): Likewise.
3190         (CFLAGS-oldfileops.c): Likewise.
3191         (CFLAGS-oldiofclose.c): Likewise.
3192         (CFLAGS-oldiofgetpos64.c): Likewise.
3193         (CFLAGS-oldiofgetpos.c): Likewise.
3194         (CFLAGS-oldiofsetpos64.c): Likewise.
3195         (CFLAGS-oldiofsetpos.c): Likewise.
3196         (CFLAGS-peekc.c): Likewise.
3197         (CFLAGS-putc.c): Likewise.
3198         (CFLAGS-putchar.c): Likewise.
3199         (CFLAGS-putwc.c): Likewise.
3200         (CFLAGS-putwchar.c): Likewise.
3201         (CFLAGS-rewind.c): Likewise.
3202         (CFLAGS-wfileops.c): Likewise.
3203         (CFLAGS-wgenops.c): Likewise.
3204         (CFLAGS-oldiofopen.c): Likewise.
3205         (CFLAGS-iofopen.c): Likewise.
3206         (CFLAGS-iofopen64.c): Likewise.
3207         (CFLAGS-oldtmpfile.c): Likewise.
3208         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3209         (CFLAGS-fprintf.c): Likewise.
3210         (CFLAGS-printf.c): Likewise.
3211         (CFLAGS-vfwprintf.c): Likewise.
3212         (CFLAGS-vfscanf.c): Likewise.
3213         (CFLAGS-vfwscanf.c): Likewise.
3214         (CFLAGS-fscanf.c): Likewise.
3215         (CFLAGS-scanf.c): Likewise.
3216         (CFLAGS-isoc99_vfscanf.c): Likewise.
3217         (CFLAGS-isoc99_vscanf.c): Likewise.
3218         (CFLAGS-isoc99_fscanf.c): Likewise.
3219         (CFLAGS-isoc99_scanf.c): Likewise.
3220         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3221         (CFLAGS-isoc99_fwscanf.c): Likewise.
3222         (CFLAGS-isoc99_vwscanf.c): Likewise.
3223         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3225         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3226         after mkstemp64.
3227         * login/tst-utmp.c (do_prepare): Likewise.
3228         * rt/tst-aio.c (do_prepare): Likewise.
3229         * rt/tst-aio64.c (do_prepare): Likewise.
3231 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3233         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3234         (__lll_lock_elision): Remove adapt_count decrement...
3235         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3236         (__lll_trylock_elision): Likewise.
3237         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3238         (__lll_unlock_elision): ... to here. And utilize
3239         new adapt_count parameter.
3240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3241         (__lll_unlock_elision): Update to include adapt_count
3242         parameter.
3243         (lll_unlock_elision): Pass pointer to adapt_count
3244         variable.
3246 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3248         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3249         Add elision adapt_count parameter to list of arguments.
3250         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3251         (lll_unlock_elision): Update with new parameter list
3252         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3253         (lll_unlock_elision): Likewise
3254         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3255         (lll_unlock_elision): Likewise
3257 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3259         [BZ #19122]
3260         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3261         attribute_hidden.
3263         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3264         attribute_hidden.
3265         [IS_IN (rtld)] (__strdup): Likewise.
3266         [IS_IN (rtld)] (__strerror_r): Likewise.
3267         [IS_IN (rtld)] (__strsep_g): Likewise.
3268         [IS_IN (rtld)] (memchr): Likewise.
3269         [IS_IN (rtld)] (memcmp): Likewise.
3270         [IS_IN (rtld)] (memcpy): Likewise.
3271         [IS_IN (rtld)] (memmove): Likewise.
3272         [IS_IN (rtld)] (memset): Likewise.
3273         [IS_IN (rtld)] (rawmemchr): Likewise.
3274         [IS_IN (rtld)] (stpcpy): Likewise.
3275         [IS_IN (rtld)] (strchr): Likewise.
3276         [IS_IN (rtld)] (strcmp): Likewise.
3277         [IS_IN (rtld)] (strlen): Likewise.
3278         [IS_IN (rtld)] (strnlen): Likewise.
3279         [IS_IN (rtld)] (strsep): Likewise.
3281         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3282         attribute_hidden.
3283         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3285         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3286         attribute_hidden.
3287         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3289         * include/setjmp.h (__longjmp): Add attribute_hidden.
3290         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3292         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3293         Add attribute_hidden.
3295         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3296         [IS_IN (rtld)] (__open): Likewise.
3297         [IS_IN (rtld)] (__fcntl): Likewise.
3299         * include/dirent.h (__opendirat): Add attribute_hidden.
3300         (__getdents): Likewise.
3301         (__getdents64): Likewise.
3302         (__alloc_dir): Likewise.
3303         [IS_IN (rtld)] (__closedir): Likewise.
3304         [IS_IN (rtld)] (__fdopendir): Likewise.
3305         [IS_IN (rtld)] (__readdir): Likewise.
3306         [IS_IN (rtld)] (__readdir64): Likewise.
3307         [IS_IN (rtld)] (__rewinddir): Likewise.
3309         * include/dlfcn.h (_dl_catch_error): Moved to ...
3310         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3311         attribute_hidden.
3313         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3314         (_itoa_word): Likewise.
3316         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3317         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3318         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3319         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3320         (_dl_higher_prime_number): Likewise.
3321         (_dl_debug_printf_c): Likewise.
3322         (_dl_signal_cerror): Likewise.
3323         (_dl_receive_error): Likewise.
3324         (_dl_reloc_bad_type): Likewise.
3325         (_dl_resolve_conflicts): Likewise.
3326         (_dl_check_all_versions): Likewise.
3327         (_dl_check_map_versions): Likewise.
3328         (_dl_sort_fini): Likewise.
3329         (_dl_debug_initialize): Likewise.
3330         (_dl_init_paths): Likewise.
3331         (_dl_show_auxv): Likewise.
3332         (_dl_next_ld_env_entry): Likewise.
3333         (_dl_important_hwcaps): Likewise.
3334         (_dl_load_cache_lookup): Likewise.
3335         (_dl_update_slotinfo): Likewise.
3336         (_dl_show_scope): Likewise.
3338         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3339         attribute_hidden.
3340         (_wordcopy_fwd_dest_aligned): Likewise.
3341         (_wordcopy_bwd_aligned): Likewise.
3342         (_wordcopy_bwd_dest_aligned): Likewise.
3344         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3345         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3346         Likewise.
3347         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3348         Likewise.
3349         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3351 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3353         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3354         GCC 5 requirement.
3356 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3358         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3359         test.
3360         * sysdeps/i386/configure: Regenerated.
3361         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3362         code unconditional.
3364         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3365         test.
3366         (libc_cv_asm_popsection_directive): Likewise.
3367         * configure: Regenerated.
3368         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3369         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3370         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3371         (__make_section_unallocated): Make definition unconditional.
3372         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3373         Remove conditional definition.
3374         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3375         (__make_section_unallocated): Likewise.
3377         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3378         * configure: Regenerated.
3379         * config.make.in (static-libgcc): Remove variable.
3380         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3381         $(static-libgcc).
3382         (build-module-helper): Likewise.
3384         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3385         * configure: Regenerated.
3387 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3389         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3390         (struct char_buffer): New type.
3391         (char_buffer_start, char_buffer_size, char_buffer_error)
3392         (char_buffer_rewind, char_buffer_add): New functions.
3393         (ADDW): Remove macro, replaced by the char_buffer_add function.
3394         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3395         of extend_alloca.  Make control flow more explicit.
3397 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3399         [BZ #19137]
3400         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3401         Add -fomit-frame-pointer.
3402         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3404 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3406         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3407         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3409         only if !__GNUC_PREREQ (5,0).
3410         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3411         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3412         (INTERNAL_SYSCALL_NCS): Likewise.
3413         (LOADREGS_0): New macro for GCC 5.
3414         (ASMARGS_0): Likewise.
3415         (LOADREGS_1): Likewise.
3416         (ASMARGS_1): Likewise.
3417         (LOADREGS_2): Likewise.
3418         (ASMARGS_2): Likewise.
3419         (LOADREGS_3): Likewise.
3420         (ASMARGS_3): Likewise.
3421         (LOADREGS_4): Likewise.
3422         (ASMARGS_4): Likewise.
3423         (LOADREGS_5): Likewise.
3424         (ASMARGS_5): Likewise.
3425         (LOADREGS_6): Likewise.
3426         (ASMARGS_6): Likewise.
3428 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3430         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3431         -fomit-frame-pointer.
3432         (CFLAGS-mmap64.c): Likewise.
3433         (CFLAGS-semtimedop.c): Likewise.
3434         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3435         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3436         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3437         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3439 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3441         [BZ #18928]
3442         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3443         _dl_pointer_guard member.
3444         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3445         initializer.
3446         (security_init): Always set up pointer guard.
3447         (process_envvars): Do not process LD_POINTER_GUARD.
3449 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3451         [BZ #19134]
3452         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3453         (.LC2): Likewise.
3454         (.LC3): Likewise.
3455         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3457 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3459         [BZ #19129]
3460         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3461         r0 and r1.
3463 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3465         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3467 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3469         * include/stap-probe.h: Fix macro definition formatting.
3471 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3473         [BZ #19074]
3474         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3475         load and store num_ifs.
3477 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3479         [BZ #18822]
3480         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3481         (__sched_getaffinity_new): Add libc_hidden_proto and
3482         libc_hidden_def.
3484 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3486         [BZ #19007]
3487         * scripts/localplt.awk: Also allow GOT references.
3488         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3489         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3490         with "+ REL R_386_GLOB_DAT".
3491         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3492         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3494 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3496         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3497         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3498         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3499         Likewise.
3500         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3501         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3502         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3503         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3504         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3505         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3506         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3507         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3508         Likewise.
3509         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3511 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3513         [BZ #19125]
3514         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3515         <math_private.h> and <stdint.h>.
3516         (__llround): Avoid conversions to and from long long int, and
3517         subtractions, where those might raise spurious exceptions.
3518         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3519         <math_private.h> and <stdint.h>.
3520         (__llroundf): Avoid conversions to and from long long int, and
3521         subtractions, where those might raise spurious exceptions.
3523 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3525         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3526         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3527         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3528         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3529         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3530         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3531         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3532         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3533         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3534         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3535         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3536         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3537         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3538         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3539         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3541         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3542         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3543         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3544         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3545         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3546         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3547         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3548         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3549         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3550         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3551         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3552         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3553         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3554         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3555         (__xstat64_conv): Likewise.
3556         (__xstat32_conv): Likewise.
3558 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3560         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3561         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3562         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3563         <sysdeps/unix/sysv/linux/sysdep.h>.
3564         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3565         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3566         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3567         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3568         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3569         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3570         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3571         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3572         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3577         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3578         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3580         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3581         (sysdep-dl-routines): Add sysdep.
3582         [$(subdir) == nptl] (libpthread-routines): Likewise.
3583         [$(subdir) == rt] (librt-routines): Likewise.
3584         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3585         PIC when branching to SYSCALL_ERROR_LABEL.
3586         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3587         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3588         <sysdeps/unix/sysv/linux/sysdep.h>.
3589         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3590         (SYSCALL_ERROR_ERRNO): Removed.
3591         (SYSCALL_ERROR_HANDLER): Changed to empty.
3592         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3593         (__syscall_error): New prototype.
3594         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3595         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3597 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3599         [BZ #19124]
3600         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3601         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3602         _dl_runtime_resolve_avx.
3603         (_dl_runtime_profile_avx512): Make it a hidden alias of
3604         _dl_runtime_profile_avx.
3606 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3608         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3609         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3610         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3611         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3613         [BZ #16422]
3614         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3615         New configure test.
3616         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3617         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3618         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3619         <math_private.h> and <stdint.h>.
3620         (__llrint): Avoid conversions to long long int where those might
3621         raise spurious exceptions.
3622         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3623         <math_private.h> and <stdint.h>.
3624         (__llrintf): Avoid conversions to long long int where those might
3625         raise spurious exceptions.
3627 2015-10-12  Andreas Schwab  <schwab@suse.de>
3629         [BZ #18969]
3630         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3631         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3632         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3633         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3634         $(gen-locales).
3635         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3636         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3637         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3638         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3639         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3640         $(gen-locales).
3641         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3642         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3643         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3644         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3645         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3646         ($(objpfx)tst-ftell-active-handler.out)
3647         ($(objpfx)tst-ftell-append.out)
3648         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3649         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3650         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3651         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3652         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3653         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3654         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3655         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3656         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3657         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3658         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3659         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3660         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3661         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3662         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3663         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3664         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3665         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3666         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3667         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3668         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3669         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3670         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3671         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3672         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3673         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3674         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3675         $(gen-locales).
3676         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3677         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3678         $(gen-locales).
3679         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3680         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3681         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3682         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3683         $(gen-locales).
3684         * libio/tst_wprintf2.c (main): Use explicit locale.
3685         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3687 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3689         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3690         __msg_sig_post.
3691         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3693 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3695         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3696         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3698         * sysdeps/arm/libm-test-ulps: Regenerated.
3700         [BZ #15470]
3701         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3703         [BZ #16399]
3704         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3705         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3706         and <fix-fp-int-convert-overflow.h>.
3707         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3708         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3709         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3710         and <fix-fp-int-convert-overflow.h>.
3711         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3712         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3713         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3714         <fix-fp-int-convert-overflow.h>.
3715         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3716         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3717         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3718         <fix-fp-int-convert-overflow.h>.
3719         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3720         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3721         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3722         and <fix-fp-int-convert-overflow.h>.
3723         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3724         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3725         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3726         <limits.h> and <fix-fp-int-convert-overflow.h>.
3727         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3728         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3729         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3730         and <fix-fp-int-convert-overflow.h>.
3731         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3732         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3733         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3734         and <fix-fp-int-convert-overflow.h>.
3735         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3736         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3737         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3739 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3741         [BZ #18589]
3742         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3743         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3744         $(gen-locales).
3746 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3747             Phil Blundell <pb@pbcl.net>
3749         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3750         * nptl/tst-cancel26.c: New file.
3751         * nptl/tst-cancel27.c: Likewise.
3753 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3755         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3756         __ILP32__ isn't defined.
3757         (lrint): Likewise.
3758         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3759         (lrintf): Likewise.
3760         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3761         (lrintl): Likewise.
3762         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3763         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3764         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3766 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3768         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3771         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3772         file.
3773         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3774         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3776 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3779         configure test.
3780         * sysdeps/i386/configure: Regenerated.
3781         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3782         configure test.
3783         * sysdeps/x86_64/configure: Regenerated.
3784         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3785         Make code unconditional.
3787         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3788         test.
3789         * sysdeps/i386/configure: Regenerated.
3790         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3791         test.
3792         * sysdeps/x86_64/configure: Regenerated.
3793         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3794         Make code unconditional.
3795         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3796         Likewise.
3797         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3798         Likewise.
3799         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3800         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3801         code unconditional.
3802         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3803         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3804         code unconditional.
3805         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3806         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3807         code unconditional.
3808         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3809         code unconditional.
3810         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3811         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3812         code unconditional.
3813         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3814         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3815         code unconditional.
3816         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3817         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3818         code unconditional.
3819         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3820         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3821         code unconditional.
3822         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3823         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3825         [BZ #19095]
3826         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3827         mantissa to long int before shifting left.
3829 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3831         [BZ #19094]
3832         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3833         <limits.h>.
3834         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3835         when result overflows but exception would not result from cast.
3836         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3837         <limits.h>.
3838         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3839         when result overflows but exception would not result from cast.
3840         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3841         <limits.h>.
3842         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3843         when result overflows but exception would not result from cast.
3844         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3845         <limits.h>.
3846         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3847         when result overflows but exception would not result from cast.
3848         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3849         <limits.h>.
3850         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3851         when result overflows but exception would not result from cast.
3852         * math/libm-test.inc (lrint_test_data): Add more tests.
3853         (llrint_test_data): Likewise.
3855 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3857         [BZ #18872]
3858         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3859         Move out from under [$(run-built-tests) = yes] conditional.
3860         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3861         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3863 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3865         [BZ #18589]
3866         * string/Makefile (tests): Add bug-strcoll2.
3867         (LOCALES): Add cs_CZ.UTF-8.
3868         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3870         [BZ #18589]
3871         * string/bug-strcoll2.c: New file.
3872         * locale/categories.def: Revert commit
3873         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3874         * locale/langinfo.h: Likewise.
3875         * locale/localeinfo.h: Likewise.
3876         * locale/C-collate.c: Likewise.
3877         * locale/programs/ld-collate.c (collate_output): Likewise.
3878         * string/strcoll_l.c (STRDIFF): Likewise.
3879         (STRCOLL): Likewise.
3880         * wcsmbs/wcscoll_l.c: Likewise.
3882 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3884         * math/libm-test.inc (lround_test_data): Do not expect the absence
3885         of "inexact" for some tests with non-integer arguments.
3886         (llround_test_data): Likewise.
3888         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3889         test.
3890         (libc_cv_cc_sse2avx): Likewise.
3891         * sysdeps/i386/configure: Regenerated.
3892         * sysdeps/i386/i686/multiarch/Makefile
3893         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3894         [$(subdir) = math].
3895         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3896         code unconditional.
3897         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3898         Likewise.
3899         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3900         Likewise.
3901         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3902         Likewise.
3903         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3904         test.
3905         (libc_cv_cc_sse2avx): Likewise.
3906         * sysdeps/x86_64/configure: Regenerated.
3907         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3908         unconditional.
3909         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3910         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3911         unconditional.
3912         (_dl_runtime_profile)
3913         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3914         conditional code.
3915         * sysdeps/x86_64/fpu/multiarch/Makefile
3916         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3918         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3919         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3920         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3921         * sysdeps/x86_64/fpu/multiarch/e_log.c
3922         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3923         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3924         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3925         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3926         Likewise.
3927         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3928         Likewise.
3929         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3930         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3931         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3932         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3933         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3934         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3935         (HAVE_SSE2AVX_SUPPORT): Likewise.
3937 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3939         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3940         instead of #pragma optimize.
3942 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3944         [BZ #17195]
3945         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3946         as is similarly done in systrim and _int_free already.
3948 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3950         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3952 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3954         [BZ #19088]
3955         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3956         <limits.h>.
3957         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3958         overflows but exception would not result from cast.
3959         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3960         and <limits.h>.
3961         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3962         overflows but exception would not result from cast.
3963         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3964         <limits.h>.
3965         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3966         overflows but exception would not result from cast.
3967         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3968         <limits.h>.
3969         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3970         overflows but exception would not result from cast.
3971         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3972         <limits.h>.
3973         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3974         overflows but exception would not result from cast.
3975         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3976         <limits.h>.
3977         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3978         overflows but exception would not result from cast.
3979         * math/libm-test.inc (lround_test_data): Add more tests.
3980         (llround_test_data): Likewise.
3982 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3984         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3985         (CFLAGS-ialloc.c): Ditto.
3986         (CFLAGS-scheck.c): Ditto.
3988 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3990         [BZ #19086]
3991         * manual/filesys.texi (Storage Allocation): Fix argument order for
3992         posix_fallocate64.
3994 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3996         [BZ #19085]
3997         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3998         exponent below 48 inside case for non-overflowing exponent.
3999         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4001 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4003         * iconvdata/cp737.h (from_idx): Add const.
4004         * iconvdata/cp775.h (from_idx): Likewise.
4006 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4008         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4009         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4010         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4012         [BZ #19079]
4013         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4014         file, conditioned on [!_LP64].
4015         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4016         [!_LP64] (__lround): Do not define as function or alias.
4017         [!_LP64] (lround): Likewise.
4018         [!_LP64] (__lroundl): Likewise.
4019         [!_LP64] (lroundl): Likewise.
4020         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4021         macro.
4022         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4023         Likewise.
4025 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4027         * math/libm-test.inc (lrint_test_data): Add more tests.
4028         (llrint_test_data): Likewise.
4029         (lround_test_data): Likewise.
4030         (llround_test_data): Likewise.
4032         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4033         (llrint_test_data): Add tests used for lrint.
4035         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4036         test.
4037         * sysdeps/i386/configure: Regenerated.
4038         * sysdeps/i386/i686/multiarch/Makefile
4039         [$(config-cflags-sse4) = yes]: Make code unconditional.
4040         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4041         Likewise.
4042         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4043         Likewise.
4044         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4045         test.
4046         * sysdeps/x86_64/configure: Regenerated.
4047         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4048         Make code unconditional.
4049         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4050         Likewise.
4051         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4052         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4054         * scripts/rpm2dynsym.sh: Remove file.
4056 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4058         * configure.ac (libc_cv_cxx_thread_local): Define.
4059         * configure: Regenerate.
4060         * config.make.in (have-cxx-thread_local): Define.
4061         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4062         (LDLIBS-tst-thread_local1): Define.
4063         (tests): Add tst-thread_local1.
4064         [have-cxx-thread_local != yes] (tests-unsupported): Add
4065         tst-thread_local1.
4066         * nptl/tst-thread_local1.cc: New file.
4068 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4070         [BZ #19078]
4071         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4072         (u_thres): Likewise.
4073         (__expl): Determine whether to call __kernel_standard_l based on
4074         value of result, not argument.
4076         * math/libm-test.inc (scalb_test_data): Add more expectations for
4077         the "inexact" exception.
4079         [BZ #19077]
4080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4081         0.0L for argument 1.0L.
4083         [BZ #19076]
4084         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4085         constant 0.0L when computing infinite result.
4087 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4089         [BZ #10432]
4090         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4091         malloc_usable_size.
4093 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4095         [BZ #19018]
4096         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4097         Mangle function pointer before storing it.
4098         (__call_tls_dtors): Demangle function pointer before calling it.
4100 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4102         [BZ #19012]
4103         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4104         Clean up on failure.
4106 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #19071]
4109         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4110         long int variable to store possibly incremented high part of
4111         mantissa.
4112         * math/libm-test.inc (lround_test_data): Add tests used for
4113         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4114         for tests requiring 64-bit long.  Do not condition tests on
4115         [TEST_FLOAT] unnecessarily.
4116         (llround_test_data): Add tests used for lround.  Add another
4117         expectation for the "inexact" exception.  Do not condition tests
4118         on [TEST_FLOAT] unnecessarily.
4120         [BZ #887]
4121         [BZ #19049]
4122         [BZ #19050]
4123         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4124         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4125         <fix-int-fp-convert-zero.h>.
4126         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4127         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4128         <fix-int-fp-convert-zero.h>.
4129         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4130         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4131         <fix-int-fp-convert-zero.h>.
4132         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4133         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4134         <fix-int-fp-convert-zero.h>.
4135         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4136         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4137         <fix-int-fp-convert-zero.h>.
4138         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4139         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4140         <fix-int-fp-convert-zero.h>.
4141         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4142         * sysdeps/ieee754/flt-32/s_erff.c: Include
4143         <fix-int-fp-convert-zero.h>.
4144         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4145         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4146         <fix-int-fp-convert-zero.h>.
4147         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4149         <fix-int-fp-convert-zero.h>.
4150         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4152         <fix-int-fp-convert-zero.h>.
4153         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4154         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4155         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4156         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4157         file.
4158         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4160 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4162         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4164 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4166         [BZ #19059]
4167         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4168         overflowing computation.
4169         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4170         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4171         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4172         Likewise.
4173         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4174         Likewise.
4175         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4176         Likewise.
4177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4178         Likewise.
4179         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4180         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4181         Likewise.
4182         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4183         Likewise.
4184         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4186         * nss/rewrite_field.c (__nss_rewrite_field): Use
4187         internal_function.
4188         * nss/valid_field.c (__nss_valid_field): Likewise.
4189         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4191 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4193         [BZ #18724]
4194         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4195         (__nss_invalid_field_characters, __nss_valid_field)
4196         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4197         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4198         tst-field.c: New file.
4199         * nss/Makefile (routines): Add valid_field, rewrite_field.
4200         (tests-static): Define unconditionally.
4201         (tests): Include tests-static.
4202         [build-static-nss] (tests-static): Use append.
4203         [build-static-nss] (tests): Remove modification.
4204         * nss/getent.c (print_group): Call putgrent.  Report error.
4205         (print_gshadow): Call putsgent.  Report error.
4206         (print_passwd): Call putpwent.  Report error.
4207         (print_shadow): Call putspent.  Report error.
4208         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4209         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4210         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4211         name, password, directory, shell fields for valid syntax.  Rewrite
4212         GECOS field to match syntax.
4213         * pwd/Makefile (tests): Add tst-putpwent.
4214         * pwd/tst-putpwent.c: New file.
4215         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4216         Check grName, grpasswd, gr_mem fields for valid syntax.
4217         Change loop variable i to size_t.
4218         * grp/Makefile (tests): Add tst-putgrent.
4219         * grp/tst-putgrent.c: New file.
4220         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4221         valid syntax.
4222         * shadow/Makefile (tests): Add tst-putspent.
4223         * shadow/tst-putspent.c: New file.
4224         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4225         sg_mem fields for valid syntax.
4226         * gshadow/Makefile (tests): Add tst-putsgent.
4227         * gshadow/tst-putsgent.c: New file.
4229 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4231         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4232         assembly instructions.
4234 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4236         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4237         prefix from operands.
4239 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4241         [BZ #16347]
4242         [BZ #19046]
4243         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4244         <libc-internal.h>.
4245         (MAXLGM): Do not use diagnostic control macros.
4246         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4247         threshold for ldbl-128ibm.
4248         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4249         instead of multiplying by log then subtracting.
4250         * math/auto-libm-test-in: Add more tests of lgamma.
4251         * math/auto-libm-test-out: Regenerated.
4253         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4254         (TYPE_HEX_DIG): Likewise.
4255         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4256         precisions when printing floating-point numbers.
4257         (check_float_internal): Likewise.
4259 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4261         [BZ #16620]
4262         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4263         of log (10) rounded downward to 48 bits.
4264         (log10_low): Use corresponding low part of log (10).
4266         [BZ #19032]
4267         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4268         compute result as (x - x) / (x - x) not as 0 / 0.
4269         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4270         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4272         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4273         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4274         and expm1.
4275         * math/auto-libm-test-out: Regenerated.
4276         * math/libm-test.inc (acos_test_data): Add more tests.
4277         (asin_test_data): Likewise.
4278         (asinh_test_data): Likewise.
4279         (atan_test_data): Likewise.
4280         (atanh_test_data): Likewise.
4281         (atan2_test_data): Likewise.
4282         (cbrt_test_data): Likewise.
4283         (ceil_test_data): Likewise.
4284         (copysign_test_data): Likewise.
4285         (cos_test_data): Likewise.
4286         (cosh_test_data): Likewise.
4287         (erf_test_data): Likewise.
4288         (erfc_test_data): Likewise.
4289         (exp_test_data): Likewise.
4290         (exp10_test_data): Likewise.
4291         (exp2_test_data): Likewise.
4292         (expm1_test_data): Likewise.
4293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4295 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4297         [BZ #19006]
4298         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4299         to ...
4300         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4301         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4302         to ...
4303         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4304         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4305         to ...
4306         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4307         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4308         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4309         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4310         to ...
4311         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4312         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4313         Moved to ...
4314         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4315         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4316         Moved to ...
4317         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4318         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4319         to ...
4320         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4321         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4322         Moved to ...
4323         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4324         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4325         to ...
4326         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4327         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4328         Removed.
4329         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4330         Likewise.
4331         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4332         Likewise.
4333         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4334         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4335         Likewise.
4336         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4339         Likewise.
4340         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4343         Likewise.
4344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4349         Likewise.
4350         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4351         Likewise.
4352         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4353         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4362         Likewise.
4363         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4364         Replace ../i486/pthread_cond_timedwait.S with
4365         ../pthread_cond_timedwait.S.
4367 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4369         * math/libm-test.inc (acos_test_data): Refine expectations for
4370         errno and "inexact" exceptions.
4371         (acosh_test_data): Likewise.
4372         (asin_test_data): Likewise.
4373         (asinh_test_data): Likewise.
4374         (atan_test_data): Likewise.
4375         (atanh_test_data): Likewise.
4376         (atan2_test_data): Likewise.
4377         (cbrt_test_data): Likewise.
4378         (ceil_test_data): Likewise.
4379         (copysign_test_data): Likewise.
4380         (cosh_test_data): Likewise.
4381         (erf_test_data): Likewise.
4382         (erfc_test_data): Likewise.
4383         (exp_test_data): Likewise.
4384         (exp10_test_data): Likewise.
4385         (exp2_test_data): Likewise.
4386         (expm1_test_data): Likewise.
4387         (fabs_test_data): Likewise.
4388         (floor_test_data): Likewise.
4389         (fma_test_data): Likewise.
4390         (fmax_test_data): Likewise.
4391         (fmin_test_data): Likewise.
4392         (fmod_test_data): Likewise.
4393         (fpclassify_test_data): Likewise.
4394         (frexp_test_data): Likewise.
4395         (hypot_test_data): Likewise.
4396         (ilogb_test_data): Likewise.
4397         (isgreater_test_data): Likewise.
4398         (isgreaterequal_test_data): Likewise.
4399         (isinf_test_data): Likewise.
4400         (isless_test_data): Likewise.
4401         (islessequal_test_data): Likewise.
4402         (islessgreater_test_data): Likewise.
4403         (isnan_test_data): Likewise.
4404         (isnormal_test_data): Likewise.
4405         (issignaling_test_data): Likewise.
4406         (isunordered_test_data): Likewise.
4407         (j0_test_data): Likewise.
4408         (j1_test_data): Likewise.
4409         (jn_test_data): Likewise.
4410         (lgamma_test_data): Likewise.
4411         (lrint_test_data): Likewise.
4412         (llrint_test_data): Likewise.
4413         (log_test_data): Likewise.
4414         (log10_test_data): Likewise.
4415         (log1p_test_data): Likewise.
4416         (log2_test_data): Likewise.
4417         (logb_test_data): Likewise.
4418         (lround_test_data): Likewise.
4419         (llround_test_data): Likewise.
4420         (modf_test_data): Likewise.
4421         (nearbyint_test_data): Likewise.
4422         (nextafter_test_data): Likewise.
4423         (nexttoward_test_data): Likewise.
4424         (pow_test_data): Likewise.
4425         (remainder_test_data): Likewise.
4426         (remquo_test_data): Likewise.
4427         (rint_test_data): Likewise.
4428         (round_test_data): Likewise.
4429         (signbit_test_data): Likewise.
4430         (sinh_test_data): Likewise.
4431         (sqrt_test_data): Likewise.
4432         (tanh_test_data): Likewise.
4433         (tgamma_test_data): Likewise.
4434         (trunc_test_data): Likewise.
4435         (y0_test_data): Likewise.
4436         (y1_test_data): Likewise.
4437         (yn_test_data): Likewise.
4438         (significand_test_data): Likewise.
4440 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4442         * manual/filesys.texi (Storage Allocation): Document that
4443         posix_fallocate emulation fails when fd is open with O_WRONLY.
4445 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4447         [BZ #19016]
4448         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4449         allow more cases with X^2 + Y^2 >= 0.5.
4450         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4451         normal element in sum instead of special-casing based on values of
4452         arguments.
4453         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4454         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4455         -1 as normal element in sum instead of special-casing based on
4456         values of arguments.
4457         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4458         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4459         (__x2y2m1): Update comment.
4460         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4461         as normal element in sum instead of special-casing based on values
4462         of arguments.
4463         * math/s_clog.c (__clog): Handle more cases using log1p without
4464         hypot.
4465         * math/s_clog10.c (__clog10): Likewise.
4466         * math/s_clog10f.c (__clog10f): Likewise.
4467         * math/s_clog10l.c (__clog10l): Likewise.
4468         * math/s_clogf.c (__clogf): Likewise.
4469         * math/s_clogl.c (__clogl): Likewise.
4470         * math/auto-libm-test-in: Add more tests of clog and clog10.
4471         * math/auto-libm-test-out: Regenerated.
4472         * sysdeps/i386/fpu/libm-test-ulps: Update.
4473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475 2015-09-28  Martin Sebor  <msebor@redhat.com>
4477         [BZ #18969]
4478         * string/Makefile (LOCALES): Define.
4479         (gen-locales.mk): Include.
4480         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4481         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4482         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4483         on setlocale failure.
4485 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4487         [BZ #18985]
4488         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4489         (__strftime_internal): Likewise.
4490         * time/tst-strftime.c (do_bz18985): New test.
4491         (do_test): Call it.
4493 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #18956]
4496         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4497         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4498         extracting high part.
4499         * math/auto-libm-test-in: Add another test of pow.
4500         * math/auto-libm-test-out: Regenerated.
4501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4503 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4505         [BZ #18825]
4506         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4507         New macro.
4508         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4509         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4510         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4511         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4512         DBL_NARROW_EVAL, reloading the PIC register as needed.
4513         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4514         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4515         FLT_NARROW_EVAL.  Use separate return path for case when first
4516         argument is NaN.
4517         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4518         DEFINE_LDBL_MIN.
4519         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4520         PIC register.
4521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4522         math_check_force_underflow_nonneg.
4523         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4524         underflow for subnormal result.
4525         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4526         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4527         math_check_force_underflow_nonneg.
4528         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4529         math_check_force_underflow.
4530         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4531         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4532         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4533         DEFINE_LDBL_MIN.
4534         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4535         * math/auto-libm-test-in: Add more tests of pow.
4536         * math/auto-libm-test-out: Regenerated.
4538 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4540         * nss/bug17079.c (init_test_items): Add diagnostic for
4541         inconsistent entries.
4542         (test_buffer_size): Skip inconsistent entries.
4544 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #13304]
4547         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4548         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4549         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4551         [BZ #13304]
4552         * sysdeps/microblaze/s_fma.c: New file.
4553         * sysdeps/microblaze/s_fmaf.c: Likewise.
4554         * sysdeps/microblaze/sfp-machine.h: Likewise.
4556 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4558         [BZ #17250]
4559         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4560         member.
4562 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4564         [BZ #18803]
4565         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4566         (MO): New macro.
4567         (__ieee754_hypot) [PIC]: Load PIC register.
4568         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4569         DBL_NARROW_EVAL.
4570         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4571         math_check_force_underflow_nonneg in case where result might be
4572         tiny.
4573         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4574         Likewise.
4575         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4576         Likewise.
4577         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4578         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4579         * math/auto-libm-test-in: Add more tests of hypot.
4580         * math/auto-libm-test-out: Regenerated.
4582 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4584         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4586 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4588         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4589         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4590         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4591         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4592         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4593         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4594         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4596         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4597         LOAD_PIC_REG.
4599         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4600         (FLT_CHECK_FORCE_UFLOW): Likewise.
4601         (DBL_CHECK_FORCE_UFLOW): Likewise.
4602         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4603         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4604         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4605         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4606         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4607         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4608         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4609         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4610         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4611         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4612         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4613         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4614         (flt_min): Replace with use of DEFINE_FLT_MIN.
4615         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4616         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4617         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4618         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4619         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4620         (flt_min): Replace with use of DEFINE_FLT_MIN.
4621         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4622         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4623         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4624         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4625         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4626         (flt_min): Replace with use of DEFINE_FLT_MIN.
4627         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4628         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4629         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4630         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4631         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4632         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4633         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4634         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4635         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4636         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4637         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4638         (flt_min): Replace with use of DEFINE_FLT_MIN.
4639         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4640         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4641         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4642         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4643         main computation.
4644         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4645         (flt_min): Replace with use of DEFINE_FLT_MIN.
4646         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4647         main computation.
4648         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4650         (MO): New macro.
4651         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4652         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4653         (flt_min): Replace with use of DEFINE_FLT_MIN.
4654         (MO): New macro.
4655         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4656         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4657         (__log1pl): Use MO.
4659         [BZ #19003]
4660         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4661         $(config-cflags-nofma).
4663 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4665         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4667 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4669         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4670         (TWO127): Likewise.
4672         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4673         (min_of_type): Likewise.
4674         (math_check_force_underflow): Likewise.
4675         (math_check_force_underflow_nonneg): Likewise.
4676         (math_check_force_underflow_complex): Likewise.
4677         * math/e_exp2l.c (__ieee754_exp2l): Use
4678         math_check_force_underflow_nonneg.
4679         * math/k_casinh.c (__kernel_casinh): Likewise.
4680         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4681         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4682         * math/s_catan.c (__catan): Use
4683         math_check_force_underflow_complex.
4684         * math/s_catanf.c (__catanf): Likewise.
4685         * math/s_catanh.c (__catanh): Likewise.
4686         * math/s_catanhf.c (__catanhf): Likewise.
4687         * math/s_catanhl.c (__catanhl): Likewise.
4688         * math/s_catanl.c (__catanl): Likewise.
4689         * math/s_ccosh.c (__ccosh): Likewise.
4690         * math/s_ccoshf.c (__ccoshf): Likewise.
4691         * math/s_ccoshl.c (__ccoshl): Likewise.
4692         * math/s_cexp.c (__cexp): Likewise.
4693         * math/s_cexpf.c (__cexpf): Likewise.
4694         * math/s_cexpl.c (__cexpl): Likewise.
4695         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4696         * math/s_clog10.c (__clog10): Likewise.
4697         * math/s_clog10f.c (__clog10f): Likewise.
4698         * math/s_clog10l.c (__clog10l): Likewise.
4699         * math/s_clogf.c (__clogf): Likewise.
4700         * math/s_clogl.c (__clogl): Likewise.
4701         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4702         * math/s_csinf.c (__csinf): Likewise.
4703         * math/s_csinh.c (__csinh): Likewise.
4704         * math/s_csinhf.c (__csinhf): Likewise.
4705         * math/s_csinhl.c (__csinhl): Likewise.
4706         * math/s_csinl.c (__csinl): Likewise.
4707         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4708         * math/s_csqrtf.c (__csqrtf): Likewise.
4709         * math/s_csqrtl.c (__csqrtl): Likewise.
4710         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4711         * math/s_ctanf.c (__ctanf): Likewise.
4712         * math/s_ctanh.c (__ctanh): Likewise.
4713         * math/s_ctanhf.c (__ctanhf): Likewise.
4714         * math/s_ctanhl.c (__ctanhl): Likewise.
4715         * math/s_ctanl.c (__ctanl): Likewise.
4716         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4717         instead of volatile.
4718         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4719         math_check_force_underflow.
4720         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4721         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4722         volatile when forcing underflow.
4723         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4724         math_check_force_underflow_nonneg.
4725         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4726         Likewise.
4727         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4728         math_check_force_underflow.
4729         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4730         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4731         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4732         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4733         math_check_force_underflow_nonneg.
4734         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4735         math_check_force_underflow.
4736         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4738         instead of volatile.
4739         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4740         math_check_force_underflow.
4741         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4743         math_check_force_underflow_nonneg.
4744         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4745         math_check_force_underflow.
4746         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4747         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4748         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4749         math_check_force_underflow_nonneg.
4750         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4751         Likewise.
4752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4753         math_check_force_underflow.
4754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4755         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4756         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4757         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4758         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4759         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4760         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4761         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4762         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4763         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4764         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4765         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4766         Likewise.
4767         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4768         math_check_force_underflow_nonneg.
4769         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4770         Likewise.
4771         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4772         math_check_force_underflow.
4773         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4774         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4775         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4776         Likewise.
4777         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4778         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4779         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4780         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4781         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4782         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4784         instead of volatile.
4785         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4786         math_check_force_underflow.
4787         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4789         math_check_force_underflow.
4790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4791         Likewise.
4792         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4793         Use math_check_force_underflow_nonneg.
4794         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4795         math_check_force_underflow.
4796         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4797         Likewise.
4798         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4799         Likewise.
4800         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4801         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4804         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4805         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4806         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4807         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4808         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4809         math_check_force_underflow_nonneg.
4810         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4811         math_check_force_underflow.
4812         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4813         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4814         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4815         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4816         math_check_force_underflow_nonneg.
4817         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4818         math_check_force_underflow.
4819         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4820         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4821         instead of volatile.
4822         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4823         math_check_force_underflow.
4825         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4826         * stdlib/strtod_l.c: Include <math_private.h>.
4827         (overflow_value): Use math_narrow_eval.
4828         (underflow_value): Likewise.
4829         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4830         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4831         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4832         (__ieee754_gamma_r): Likewise.
4833         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4834         Likewise.
4835         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4836         Likewise.
4837         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4838         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4839         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4840         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4841         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4842         (__ieee754_gammaf_r): Likewise.
4843         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4844         Likewise.
4845         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4846         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4847         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4848         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4849         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4850         volatile.
4851         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4852         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4853         math_narrow_eval.
4854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4855         Likewise.
4856         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4857         Likewise.
4858         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4859         Likewise.
4860         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4861         volatile.
4862         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4863         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4864         math_narrow_eval.
4865         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4866         Likewise.
4867         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4868         Likewise.
4870 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4872         * nptl/Versions: Remove ignored symbols.
4874 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4876         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4877         * nss/Makefile (tests): Update.
4879 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4881         * nss/bug18287.c: New file.
4882         * nss/Makefile (tests): Add bug18287.
4884 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4886         * mach/Versions (__mach_host_self_): Add symbol.
4888 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4890         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4891         vm_page_size.
4893 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4895         Really fix sysdeps/i386/fpu/s_scalbn.S build
4897         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4898         (libc: GLIBC_2_22): Remove unused version set.
4900 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4902         * config.make.in (enable-timezone-tools): New variable.
4903         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4904         (enable_timezone_tools): Export to generated files.
4905         * configure: Regenerate.
4906         * INSTALL: Regenerate.
4907         * manual/install.texi (--disable-timezone-tools): Document new flag.
4908         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4909         ifeq ($(enable-timezone-tools),yes) check.
4911 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4913         * timezone/Makefile: Revert previous change.
4915         [BZ #18980]
4916         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4917         (DEFINE_DBL_MIN): Likewise.
4918         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4919         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4920         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4921         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4922         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4924         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4925         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4926         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4927         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4928         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4929         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4930         (flt_min): Replace with use of DEFINE_FLT_MIN.
4931         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4932         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4933         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4934         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4935         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4936         (flt_min): Replace with use of DEFINE_FLT_MIN.
4937         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4938         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4939         (flt_min): Replace with use of DEFINE_FLT_MIN.
4940         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4941         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4942         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4943         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4944         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4945         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4946         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4947         (__ieee754_pow): Use DBL_NARROW_EVAL.
4948         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4949         (__ieee754_powf): Use FLT_NARROW_EVAL.
4950         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4951         (__ieee754_expf_sse2): Convert double-precision result to single
4952         precision.
4953         * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4957         * timezone/Makefile: Ignore unused variable errors due to private.h
4958         (time_t_min) and (time_t_max).
4959         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4960         Likewise.
4962 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4964         [BZ #18981]
4965         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4966         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4967         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4968         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4969         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4970         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4971         (__scalbn): Use DBL_NARROW_EVAL.
4972         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4973         (__scalbnf): Use FLT_NARROW_EVAL.
4975 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4977         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4978         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4979         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4980         * stdio-common/printf_fp.c (___printf_fp):
4981         Use signbit to get the sign. Use isinf macro to allow inlining.
4982         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4983         * stdio-common/printf_size.c (__printf_size): Likewise.
4985 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4987         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4989 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4991         [BZ #18980]
4992         * sysdeps/generic/math_private.h: Include <float.h>.
4993         (math_narrow_eval): New macro.
4994         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4995         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4996         math_narrow_eval on overflowing return value.
4997         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4998         Likewise.
4999         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5000         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5001         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5002         Likewise.
5003         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5005 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5007         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5008         * math/Makefile: Remove isinf_ns.c.
5009         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5010         * math/multc3.c (__multc3): Likewise.
5011         * math/s_casin.c (__casin): Likewise.
5012         * math/s_casinf.c (__casinf): Likewise.
5013         * math/s_casinl.c (__casinl): Likewise.
5014         * math/s_cproj.c (__cproj): Likewise.
5015         * math/s_cprojf.c (__cprojf): Likewise.
5016         * math/s_cprojl.c (__cprofl): Likewise.
5017         * math/s_ctan.c (__ctan): Likewise.
5018         * math/s_ctanf.c (__ctanf): Likewise.
5019         * math/s_ctanh.c (__ctanh): Likewise.
5020         * math/s_ctanhf.c (__ctanhf): Likewise.
5021         * math/s_ctanhl.c (__ctanhl): Likewise.
5022         * math/s_ctanl.c (__ctanl): Likewise.
5023         * math/w_fmod.c (__fmod): Likewise.
5024         * math/w_fmodf.c (__fmodf): Likewise.
5025         * math/w_fmodl.c (_fmodl): Likewise.
5026         * math/w_remainder.c (__remainder): Likewise.
5027         * math/w_remainderf.c (__remainderf): Likewise.
5028         * math/w_remainderl.c (__remainderl): Likewise.
5029         * math/w_scalb.c (__scalb): Likewise.
5030         * math/w_scalbf.c (__scalbf): Likewise.
5031         * math/w_scalbl.c (__scalbl): Likewise.
5032         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5033         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5034         with isinf.
5035         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5037         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5038         __isinf_nsf with isinf.
5039         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5040         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5041         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5042         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5043         with isinf.
5044         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5045         __isinf_nsl with isinf.
5046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5047         with isinf.
5048         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5049         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5050         __isinf_nsl with isinf.
5051         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5052         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5053         with isinf.
5055 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5057         * resolv/base64.c (rcsid): Remove unused static.
5058         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5059         static.  (tqpi1): Likewise.
5060         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5061         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5062         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5063         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5065         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5066         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5067         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5068         Likewise.
5070 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5072         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5073         <nptl/pthreadP.h>.
5074         (_longjmp_unwind): Use __libc_ptf_call.
5075         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5077 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5079         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5080         * sysdeps/arm/__longjmp.S: Likewise
5082 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5084         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5085         Use __builtin_signbit.
5086         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5087         Use __builtin_signbitf.
5088         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5089         Use __builtin_signbitl.
5090         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5091         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5093 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5095         [BZ #15367]
5096         [BZ #17441]
5098         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5099         * math/math.h (fpclassify): Use __builtin_fpclassify when
5100         available.  (signbit): Use __builtin_signbit(f/l).
5101         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5102         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5103         (isinf): Use __builtin_isinf_sign.
5105 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5107         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5108         * benchtests/bench-math-inlines.c: New benchmark.
5109         * benchtests/bench-util.h: New file.
5110         * benchtests/bench-util.c: New file.
5111         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5113 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5115         * elf/tst-dlmopen1.c: Define TEST_SO.
5116         (do_test): Use TEST_SO.
5118         * elf/dl-load.c: Include libc-internal.h.
5119         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5121 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5123         [BZ #17887]
5124         * time/strptime_l.c (__strptime_internal): Make %z accept
5125         [+-]HH:MM time zones.
5127 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5129         [BZ #17886]
5130         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5131         valid time zone.
5133 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5135         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5136         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5137         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5138         (__ASSUME_FDATASYNC): Delete.
5140 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5142         * conform/linknamespace.pl: Require weak undefined symbols to be
5143         in the standard namespace.
5144         (%strong_syms): Rename to %seen_syms.
5145         (%strong_seen): Rename to %seen_where.
5147 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5149         [BZ #18970]
5150         * misc/error.c (error): Replace pthread_setcancelstate with
5151         __pthread_setcancelstate.
5152         (error_at_line): Likewise.
5153         * posix/wordexp.c (parse_comm): Likewise.
5154         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5155         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5156         (__pthread_setcancelstate): This.
5157         (pthread_setcancelstate): Add an alias.
5158         * nptl/nptl-init.c (pthread_functions): Replace
5159         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5160         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5161         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5162         hidden_proto.
5163         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5164         it with hidden_def.
5165         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5166         (pthread_setcancelstate): Renamed to ...
5167         (__pthread_setcancelstate): This.
5168         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5169         __libc_ptf_call with __pthread_setcancelstate.
5171 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5172             Andreas Schwab  <schwab@suse.de>
5174         [BZ #17118]
5175         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5176         result when imaginary part of argument is infinite using sine and
5177         cosine.
5178         * math/s_ctanf.c (__ctanf): Likewise.
5179         * math/s_ctanl.c (__ctanl): Likewise.
5180         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5181         of result when real part of argument is infinite using sine and
5182         cosine.
5183         * math/s_ctanhf.c (__ctanhf): Likewise.
5184         * math/s_ctanhl.c (__ctanhl): Likewise.
5185         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5186         (ctanh_test_data): Add more tests of ctanh.
5188 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5190         [BZ #15384]
5191         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5192         bit-mask as in subtraction.
5193         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5194         Likewise.
5195         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5196         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5197         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5199         [BZ #18951]
5200         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5201         underflow exception for small results.
5202         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5203         Likewise.
5204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5205         Likewise.
5206         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5207         Likewise.
5208         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5209         Likewise.
5210         * math/auto-libm-test-in: Add more tests of tgamma.
5211         * math/auto-libm-test-out: Regenerated.
5213 2015-09-17  Andreas Schwab  <schwab@suse.de>
5215         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5217 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5219         [BZ #18977]
5220         * math/bits/mathcalls.h
5221         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5222         not declare.
5223         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5224         Likewise.
5225         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5226         Likewise.
5227         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5228         Likewise.
5229         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5230         Likewise.
5231         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5232         Likewise.
5233         * conform/data/math.h-data
5234         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5235         function.
5236         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5237         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5238         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5239         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5240         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5241         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5242         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5243         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5244         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5245         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5246         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5248         [BZ #6803]
5249         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5250         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5251         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5252         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5253         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5254         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5255         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5256         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5257         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5259         Likewise.
5260         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5261         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5262         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5263         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5264         long_double_symbol calls.
5265         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5266         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5267         strong alias of __ldexpl.
5268         (scalbnl): Define using long_double_symbol.
5269         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5270         Remove alias.
5271         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5272         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5273         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5274         (scalbln_test_data): Add more errno expectations.
5276 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5278         Cache the host port like we cache the task port.  This way we do not
5279         need to call the kernel just to get the port.  Furthermore, we no
5280         longer increase the reference count on every invocation of
5281         `mach_host_self'.
5283         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5284         Protect declarations against the macro expansion.
5285         * mach/mach_init.c (__mach_host_self_): New variable.
5286         (mach_init): Initialize `__mach_host_self_'.
5287         * mach/mach_init.h (__mach_host_self_): New declaration.
5288         (__mach_host_self, mach_host_self): New macros.
5289         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5290         Release reference.
5292 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5294         [BZ #4404]
5295         * po/de.po: Update from Translation Project.
5297         [BZ #16415]
5298         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5299         (__expm1l): Remove code to handle positive infinity and overflow.
5300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5301         variable.
5302         (__expm1l): Remove code to handle positive infinity and overflow.
5304 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5305             Paul Pluzhnikov  <ppluzhnikov@google.com>
5307         [BZ #18872]
5308         * stdio-common/Makefile (tst-printf-bz18872): New test.
5309         (tst-printf-bz18872-mem.out): Likewise.
5310         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5311         * stdio-common/vfprintf.c: Fix memory leaks.
5313 2015-09-16  Andreas Schwab  <schwab@suse.de>
5315         [BZ #17244]
5316         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5317         Remove extra va_start/va_end calls.
5319         [BZ #17243]
5320         * posix/execl.c (execl): Add missing va_end.
5321         * posix/execle.c (execle): Likewise.
5322         * posix/execlp.c (execlp): Likewise.
5324 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5326         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5327         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5329 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5331         [BZ #18967]
5332         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5333         undefine around includes of <bits/mathcalls.h>.
5334         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5335         not declare function.
5336         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5337         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5338         (scalb): Likewise.
5339         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5340         not define macro.
5341         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5342         variable.
5343         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5344         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5345         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5347         [BZ #18857]
5348         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5349         return non-finite argument without doing ordered comparisons on
5350         it.
5352         [BZ #16296]
5353         * math/fenv.h (fegetround): Use __attribute_pure__.
5354         * include/fenv.h (__fegetround): Likewise.
5356         [BZ #18595]
5357         * math/s_ctan.c (__ctan): Force underflow exception for results
5358         whose real or imaginary part has small absolute value.
5359         * math/s_ctanf.c (__ctanf): Likewise.
5360         * math/s_ctanh.c (__ctanh): Likewise.
5361         * math/s_ctanhf.c (__ctanhf): Likewise.
5362         * math/s_ctanhl.c (__ctanhl): Likewise.
5363         * math/s_ctanl.c (__ctanl): Likewise.
5364         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5365         and ctanh.  Add more tests of ctan and ctanh.
5367         [BZ #15918]
5368         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5369         handling of cases where one argument is an infinity.
5371         [BZ #18875]
5372         [BZ #18966]
5373         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5374         (MO): New macro.
5375         (__ieee754_exp10): For small results, force underflow exception
5376         and remove excess range and precision from return value.
5377         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5378         (MO): New macro.
5379         (__ieee754_exp10f): For small results, force underflow exception
5380         and remove excess range and precision from return value.
5381         * math/auto-libm-test-in: Add more tests of exp10.
5382         * math/auto-libm-test-out: Regenerated.
5384 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5386         [BZ #18875]
5387         [BZ #18961]
5388         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5389         (MO): New macro.
5390         (__ieee754_exp): For small results, force underflow exception and
5391         remove excess range and precision from return value.
5392         (__exp_finite): Likewise.
5393         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5394         (MO): New macro.
5395         (__ieee754_expf): For small results, force underflow exception and
5396         remove excess range and precision from return value.
5397         (__expf_finite): Likewise.
5398         * math/auto-libm-test-in: Add more tests of exp.
5399         * math/auto-libm-test-out: Regenerated.
5401         [BZ #16521]
5402         [BZ #18875]
5403         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5404         small results.
5405         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5406         (MO): New macro.
5407         (__ieee754_exp2): For small results, force underflow exception and
5408         remove excess range and precision from return value.
5409         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5410         (MO): New macro.
5411         (__ieee754_exp2f): For small results, force underflow exception
5412         and remove excess range and precision from return value.
5413         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5414         (MO): New macro.
5415         (__ieee754_exp2l): Force underflow exception for small results.
5416         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5417         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5418         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5419         (MO): New macro.
5420         (__ieee754_exp2l): Force underflow exception for small results.
5421         * math/auto-libm-test-in: Add more tests or exp2.
5422         * math/auto-libm-test-out: Regenerated.
5424 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5426         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5428         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5429         /dev/null.
5431 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5433         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5434         io fs process)): Drop spurious backslash.
5436 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5438         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5439         Use sysinfo system call instead of parsing /proc/meminfo.
5440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5441         Likewise.
5443 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5445         [BZ #16985]
5446         * programs/localedef.c (main): Display argv[remaining] when
5447         output_path is NULL.
5449 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5451         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5452         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5453         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5454         tanh.
5455         * math/auto-libm-test-out: Regenerated.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5457         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5458         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5461 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5463         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5464         Use 'override' keyword to freeze the value here, preventing
5465         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5467 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5469         [BZ #14912]
5470         * sysdeps/aarch64/bits/atomic.h: Move to ...
5471         * sysdeps/aarch64/atomic-machine.h: ...here.
5472         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5473         _AARCH64_ATOMIC_MACHINE_H.
5474         * sysdeps/alpha/bits/atomic.h: Move to ...
5475         * sysdeps/alpha/atomic-machine.h: ...here.
5476         * sysdeps/arm/bits/atomic.h: Move to ...
5477         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5478         * bits/atomic.h: Move to ...
5479         * sysdeps/generic/atomic-machine.h: ...here.
5480         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5481         * sysdeps/i386/bits/atomic.h: Move to ...
5482         * sysdeps/i386/atomic-machine.h: ...here.
5483         * sysdeps/ia64/bits/atomic.h: Move to ...
5484         * sysdeps/ia64/atomic-machine.h: ...here.
5485         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5486         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5487         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5488         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5489         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5490         * sysdeps/microblaze/bits/atomic.h: Move to ...
5491         * sysdeps/microblaze/atomic-machine.h: ...here.
5492         * sysdeps/mips/bits/atomic.h: Move to ...
5493         * sysdeps/mips/atomic-machine.h: ...here.
5494         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5495         * sysdeps/powerpc/bits/atomic.h: Move to ...
5496         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5497         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5498         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5499         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5500         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5501         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5502         <atomic-machine.h> instead of <bits/atomic.h>.
5503         * sysdeps/s390/bits/atomic.h: Move to ...
5504         * sysdeps/s390/atomic-machine.h: ...here.
5505         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5506         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5508         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5509         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5510         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5511         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5512         * sysdeps/tile/bits/atomic.h: Move to ...
5513         * sysdeps/tile/atomic-machine.h: ...here.
5514         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5515         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5516         <sysdeps/tile/atomic-machine.h> instead of
5517         <sysdeps/tile/bits/atomic.h>.
5518         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5519         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5520         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5521         <sysdeps/tile/atomic-machine.h> instead of
5522         <sysdeps/tile/bits/atomic.h>.
5523         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5524         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5525         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5526         <sysdeps/arm/atomic-machine.h> instead of
5527         <sysdeps/arm/bits/atomic.h>.
5528         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5529         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5530         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5531         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5532         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5533         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5534         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5535         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5536         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5537         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5538         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5539         * sysdeps/x86_64/bits/atomic.h: Move to ...
5540         * sysdeps/x86_64/atomic-machine.h: ...here.
5541         * include/atomic.h: Include <atomic-machine.h> instead of
5542         <bits/atomic.h>.
5544         * sysdeps/mips/mips32/libm-test-ulps: Update.
5545         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5547         [BZ #18952]
5548         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5549         not convert non-integer negative arguments to int to determine the
5550         value of signgam.
5551         * math/auto-libm-test-in: Add more tests of lgamma.
5552         * math/auto-libm-test-out: Regenerated.
5554         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5555         cosh, csqrt, erfc, expm1 and lgamma.
5556         * math/auto-libm-test-out: Regenerated.
5557         * sysdeps/i386/fpu/libm-test-ulps: Update.
5558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5560 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5562         [BZ #2542]
5563         [BZ #2543]
5564         [BZ #2558]
5565         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5566         __lgamma_neg for arguments from -28.0 to -2.0.
5567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5568         __lgamma_negf for arguments from -15.0 to -2.0.
5569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5570         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5571         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5572         Call __lgamma_negl for arguments from -33.0 to -2.0.
5573         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5574         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5575         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5576         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5577         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5578         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5579         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5580         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5581         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5582         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5583         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5584         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5585         (__lgamma_neg): Likewise.
5586         (__lgamma_negl): Likewise.
5587         (__lgamma_product): Likewise.
5588         (__lgamma_productl): Likewise.
5589         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5590         * math/auto-libm-test-in: Add more tests of lgamma.
5591         * math/auto-libm-test-out: Regenerated.
5592         * sysdeps/i386/fpu/libm-test-ulps: Update.
5593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5595 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5597         [BZ #18675]
5598         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5600 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5602         [BZ #14912]
5603         * bits/libc-lock.h: Move to ...
5604         * sysdeps/generic/libc-lock.h: ...here.
5605         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5606         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5607         * sysdeps/mach/hurd/libc-lock.h: ...here.
5608         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5609         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5610         * sysdeps/mach/bits/libc-lock.h: Move to ...
5611         * sysdeps/mach/libc-lock.h: ...here.
5612         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5613         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5614         * sysdeps/nptl/libc-lock.h: ...here.
5615         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5616         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5617         * sysdeps/nptl/libc-lockP.h: ...here.
5618         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5619         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5620         <bits/libc-lock.h>.
5621         * dirent/scandir-tail.c: Likewise.
5622         * dlfcn/dlerror.c: Likewise.
5623         * elf/dl-close.c: Likewise.
5624         * elf/dl-iteratephdr.c: Likewise.
5625         * elf/dl-lookup.c: Likewise.
5626         * elf/dl-open.c: Likewise.
5627         * elf/dl-support.c: Likewise.
5628         * elf/dl-writev.h: Likewise.
5629         * elf/rtld.c: Likewise.
5630         * grp/fgetgrent.c: Likewise.
5631         * gshadow/fgetsgent.c: Likewise.
5632         * gshadow/sgetsgent.c: Likewise.
5633         * iconv/gconv_conf.c: Likewise.
5634         * iconv/gconv_db.c: Likewise.
5635         * iconv/gconv_dl.c: Likewise.
5636         * iconv/gconv_int.h: Likewise.
5637         * iconv/gconv_trans.c: Likewise.
5638         * include/link.h: Likewise.
5639         * inet/getnameinfo.c: Likewise.
5640         * inet/getnetgrent.c: Likewise.
5641         * inet/getnetgrent_r.c: Likewise.
5642         * intl/bindtextdom.c: Likewise.
5643         * intl/dcigettext.c: Likewise.
5644         * intl/finddomain.c: Likewise.
5645         * intl/gettextP.h: Likewise.
5646         * intl/loadmsgcat.c: Likewise.
5647         * intl/localealias.c: Likewise.
5648         * intl/textdomain.c: Likewise.
5649         * libidn/idn-stub.c: Likewise.
5650         * libio/libioP.h: Likewise.
5651         * locale/duplocale.c: Likewise.
5652         * locale/freelocale.c: Likewise.
5653         * locale/newlocale.c: Likewise.
5654         * locale/setlocale.c: Likewise.
5655         * login/getutent_r.c: Likewise.
5656         * login/getutid_r.c: Likewise.
5657         * login/getutline_r.c: Likewise.
5658         * login/utmp-private.h: Likewise.
5659         * login/utmpname.c: Likewise.
5660         * malloc/mtrace.c: Likewise.
5661         * misc/efgcvt.c: Likewise.
5662         * misc/error.c: Likewise.
5663         * misc/fstab.c: Likewise.
5664         * misc/getpass.c: Likewise.
5665         * misc/mntent.c: Likewise.
5666         * misc/syslog.c: Likewise.
5667         * nis/nis_call.c: Likewise.
5668         * nis/nis_callback.c: Likewise.
5669         * nis/nss-default.c: Likewise.
5670         * nis/nss_compat/compat-grp.c: Likewise.
5671         * nis/nss_compat/compat-initgroups.c: Likewise.
5672         * nis/nss_compat/compat-pwd.c: Likewise.
5673         * nis/nss_compat/compat-spwd.c: Likewise.
5674         * nis/nss_nis/nis-alias.c: Likewise.
5675         * nis/nss_nis/nis-ethers.c: Likewise.
5676         * nis/nss_nis/nis-grp.c: Likewise.
5677         * nis/nss_nis/nis-hosts.c: Likewise.
5678         * nis/nss_nis/nis-network.c: Likewise.
5679         * nis/nss_nis/nis-proto.c: Likewise.
5680         * nis/nss_nis/nis-pwd.c: Likewise.
5681         * nis/nss_nis/nis-rpc.c: Likewise.
5682         * nis/nss_nis/nis-service.c: Likewise.
5683         * nis/nss_nis/nis-spwd.c: Likewise.
5684         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5685         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5686         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5687         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5688         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5689         * nis/nss_nisplus/nisplus-network.c: Likewise.
5690         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5691         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5692         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5693         * nis/nss_nisplus/nisplus-service.c: Likewise.
5694         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5695         * nis/ypclnt.c: Likewise.
5696         * nptl/libc_pthread_init.c: Likewise.
5697         * nss/getXXbyYY.c: Likewise.
5698         * nss/getXXent.c: Likewise.
5699         * nss/getXXent_r.c: Likewise.
5700         * nss/nss_db/db-XXX.c: Likewise.
5701         * nss/nss_db/db-netgrp.c: Likewise.
5702         * nss/nss_db/nss_db.h: Likewise.
5703         * nss/nss_files/files-XXX.c: Likewise.
5704         * nss/nss_files/files-alias.c: Likewise.
5705         * nss/nsswitch.c: Likewise.
5706         * posix/regex_internal.h: Likewise.
5707         * posix/wordexp.c: Likewise.
5708         * pwd/fgetpwent.c: Likewise.
5709         * resolv/res_hconf.c: Likewise.
5710         * resolv/res_libc.c: Likewise.
5711         * shadow/fgetspent.c: Likewise.
5712         * shadow/lckpwdf.c: Likewise.
5713         * shadow/sgetspent.c: Likewise.
5714         * socket/opensock.c: Likewise.
5715         * stdio-common/reg-modifier.c: Likewise.
5716         * stdio-common/reg-printf.c: Likewise.
5717         * stdio-common/reg-type.c: Likewise.
5718         * stdio-common/vfprintf.c: Likewise.
5719         * stdio-common/vfscanf.c: Likewise.
5720         * stdlib/abort.c: Likewise.
5721         * stdlib/cxa_atexit.c: Likewise.
5722         * stdlib/fmtmsg.c: Likewise.
5723         * stdlib/random.c: Likewise.
5724         * stdlib/setenv.c: Likewise.
5725         * string/strsignal.c: Likewise.
5726         * sunrpc/auth_none.c: Likewise.
5727         * sunrpc/bindrsvprt.c: Likewise.
5728         * sunrpc/create_xid.c: Likewise.
5729         * sunrpc/key_call.c: Likewise.
5730         * sunrpc/rpc_thread.c: Likewise.
5731         * sysdeps/arm/backtrace.c: Likewise.
5732         * sysdeps/generic/ldsodefs.h: Likewise.
5733         * sysdeps/generic/stdio-lock.h: Likewise.
5734         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5735         * sysdeps/i386/backtrace.c: Likewise.
5736         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5737         * sysdeps/m68k/backtrace.c: Likewise.
5738         * sysdeps/mach/hurd/cthreads.c: Likewise.
5739         * sysdeps/mach/hurd/dirstream.h: Likewise.
5740         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5741         * sysdeps/nptl/malloc-machine.h: Likewise.
5742         * sysdeps/nptl/stdio-lock.h: Likewise.
5743         * sysdeps/posix/dirstream.h: Likewise.
5744         * sysdeps/posix/getaddrinfo.c: Likewise.
5745         * sysdeps/posix/system.c: Likewise.
5746         * sysdeps/pthread/aio_suspend.c: Likewise.
5747         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5748         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5749         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5750         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5751         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5752         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5753         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5754         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5755         * sysdeps/unix/sysv/linux/system.c: Likewise.
5756         * sysdeps/x86_64/backtrace.c: Likewise.
5757         * time/alt_digit.c: Likewise.
5758         * time/era.c: Likewise.
5759         * time/tzset.c: Likewise.
5760         * wcsmbs/wcsmbsload.c: Likewise.
5761         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5762         instead of <bits/libc-lock.h> in comment.
5764 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5766         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5767         Only use .set mips2 if the current ISA is below mips2.
5768         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5769         Likewise.
5770         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5771         mips32r2 if the current ISA is below mips32r2.
5772         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5773         (TLS_IE): Updated to use the TLD_RDHWR macro.
5774         (TLS_LE): Likewise.
5775         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5776         __ASSEMBLER__ condition.
5778 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5780         Fix parallel build of before-compile targets.
5782         * sysdeps/mach/Makefile ($(patsubst
5783         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5784         mach-before-compile target.
5785         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5786         io fs process)): Move rule to dedicated hurd-before-compile target.
5788 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5790         Fix rules generating headers in hurd/ and mach/ when initial make call
5791         has subdir= explicitly set.
5793         * sysdeps/mach/Makefile ($(patsubst
5794         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5795         calling $(MAKE).
5796         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5797         io fs process)): Force subdir to hurd when calling $(MAKE).
5798         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5799         subdir to mach when calling $(MAKE).
5801 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5803         Check sysheaders when looking for Mach and Hurd headers
5805         * sysdeps/mach/configure.ac: Add sysheaders check.
5806         * sysdeps/mach/configure: Regenerate.
5807         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5808         * sysdeps/mach/hurd/configure: Regenerate.
5810 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5812         [BZ #18921]
5813         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5814         Fix inverted sense of test of 'o_directory_works' value.
5815         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5816         Bernhard Voelker <mail@bernhard-voelker.de>.
5818 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5820         [BZ #14912]
5821         * bits/linkmap.h: Move to ...
5822         * sysdeps/generic/linkmap.h: ...here.
5823         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5824         * sysdeps/aarch64/linkmap.h: ...here.
5825         * sysdeps/arm/bits/linkmap.h: Move to ...
5826         * sysdeps/arm/linkmap.h: ...here.
5827         * sysdeps/hppa/bits/linkmap.h: Move to ...
5828         * sysdeps/hppa/linkmap.h: ...here.
5829         * sysdeps/ia64/bits/linkmap.h: Move to ...
5830         * sysdeps/ia64/linkmap.h: ...here.
5831         * sysdeps/mips/bits/linkmap.h: Move to ...
5832         * sysdeps/mips/linkmap.h: ...here.
5833         * sysdeps/s390/bits/linkmap.h: Move to ...
5834         * sysdeps/s390/linkmap.h: ...here.
5835         * sysdeps/sh/bits/linkmap.h: Move to ...
5836         * sysdeps/sh/linkmap.h: ...here.
5837         * sysdeps/x86/bits/linkmap.h: Move to ...
5838         * sysdeps/x86/linkmap.h: ...here.
5839         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5841 2015-09-04  Andreas Schwab  <schwab@suse.de>
5843         [BZ #18635]
5844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5845         (__makecontext): Terminate FDE before return label.
5846         (__novec_makecontext): Likewise.
5848 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5850         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5851         first member of struct sv in syscall macro.
5853 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5855         [BZ #14912]
5856         * bits/stdio-lock.h: Move to ...
5857         * sysdeps/generic/stdio-lock.h: ...here.
5858         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5859         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5860         * sysdeps/nptl/stdio-lock.h: ...here.
5861         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5862         * include/libio.h: Include <stdio-lock.h> instead of
5863         <bits/stdio-lock.h>.
5864         * sysdeps/nptl/fork.c: Likewise.
5865         * sysdeps/pthread/flockfile.c: Likewise.
5866         * sysdeps/pthread/ftrylockfile.c: Likewise.
5867         * sysdeps/pthread/funlockfile.c: Likewise.
5869         [BZ #14912]
5870         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5871         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5872         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5873         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5874         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5875         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5876         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5878 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5880         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5881         (test-xfail-tst-protected1b): New variable.
5883 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5885         [BZ #14912]
5886         * bits/libc-tsd.h: Move to ...
5887         * sysdeps/generic/libc-tsd.h: ...here.
5888         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5889         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5890         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5891         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5892         * include/ctype.h: Include <libc-tsd.h> instead of
5893         <bits/libc-tsd.h>.
5894         * include/rpc/rpc.h: Likewise.
5895         * locale/localeinfo.h: Likewise.
5896         * sunrpc/rpc_thread.c: Likewise.
5897         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5898         * sysdeps/nptl/malloc-machine.h: Likewise.
5900         * Makefile (headers): Remove bits/libc-lock.h.
5901         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5903         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5904         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5905         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5906         <bits/stdio-lock.h>.
5907         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5908         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5910 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5912         [BZ #18757]
5913         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5914         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5915         BZ #18757.
5917 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5919         * malloc/mtrace.pl: Filter out NULL entries.
5921 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5923         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5924         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5925         macro.
5927         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5928         (TCP_CC_INFO): Likewise.
5929         (TCP_SAVE_SYN): Likewise.
5930         (TCP_SAVED_SYN): Likewise.
5932 2015-08-31  Brett Neumeier <brett@neumeier.us>
5934         [BZ #18870]
5935         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5937 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5939         [BZ #18873]
5940         Fix broken overflow check in posix_fallocate
5941         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5942         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5943         Fix parenthesization typo.
5945 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5947         [BZ #18887]
5948         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5949         tst-mntent-blank-passno.
5950         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5951         * misc/tst-mntent-blank-corrupt.c: New test.
5952         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5953         * misc/tst-mntent.c (do_test): ... here.
5955 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5957         [BZ #4404]
5958         * po/de.po: Fix SIGALRM typo.
5960 2015-08-28  James Perkins  <james@loowit.net>
5962         * time/tst-strptime2.c (tests): Replace short list of test
5963         strings for strptime %z specifier with code which exhaustively
5964         tests every combination of sign and 0 to 5 digits. Tests for
5965         rejection of invalid strings.
5967 2015-08-28  James Perkins  <james@loowit.net>
5969         [BZ #16141]
5970         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5971         calculation, removing incorrect decimal time rounding, so that
5972         all minute values result in a valid seconds value.
5973         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5974         offset range limits to UTC-99:59 through UTC+99:59 to parse
5975         current and historical use cases.
5976         * time/tst-strptime2.c (tests): Modify and add tests for the
5977         strptime %z input field descriptor, specifically conversion of
5978         minutes to seconds and validating an offset range of -9959 to
5979         +9959.
5981 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5982             Dmitry V. Levin  <ldv@altlinux.org>
5984         [BZ #18877]
5985         * posix/Makefile (tests): Add tst-mmap-offset.
5986         * posix/tst-mmap.c: New file.
5987         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5988         offset calculation for negative values.
5990 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5992         * sysdeps/i386/init-arch.h: New file.
5993         * sysdeps/i386/i586/init-arch.h: Likewise.
5994         * sysdeps/i386/i686/init-arch.h: Likewise.
5995         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5996         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5997         * sysdeps/x86/cpu-features.h (bit_I586): New.
5998         (bit_I686): Likewise.
5999         (bit_CX8): Likewise.
6000         (bit_CMOV): Likewise.
6001         (index_CX8): Likewise.
6002         (index_CMOV): Likewise.
6003         (index_I586): Likewise.
6004         (index_I686): Likewise.
6005         (reg_CX8): Likewise.
6006         (reg_CMOV): Likewise.
6007         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6008         available at compile-time.
6009         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6010         available at compile-time.
6011         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6012         (USE_I686): Likewise.
6014 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6016         * sysdeps/i386/bcopy.S: New file.
6017         * sysdeps/i386/bzero.S: Likewise.
6018         * sysdeps/i386/memcpy.S: Likewise.
6019         * sysdeps/i386/memmove.S: Likewise.
6020         * sysdeps/i386/mempcpy.S: Likewise.
6021         * sysdeps/i386/memset.S: Likewise.
6022         * sysdeps/i386/bzero.c: Removed.
6023         * sysdeps/i386/memset.c: Likewise.
6024         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6025         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6026         * sysdeps/i386/i586/memset_chk.S: Likewise.
6027         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6028         * sysdeps/i386/memcpy_chk.S: Here.
6029         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6030         * sysdeps/i386/memmove_chk.S: Here.
6031         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6032         * sysdeps/i386/mempcpy_chk.S: Likewise.
6033         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6034         * sysdeps/i386/memset_chk.S: Likewise.
6036 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6038         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6039         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6040         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6041         * soft-fp/fmadf4.c: Ditto.
6042         * soft-fp/fmatf4.c: Ditto.
6044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6046         * sysdeps/i386/i586/Implies: Removed.
6047         * sysdeps/i386/i686/Implies: Likewise.
6049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6051         * sysdeps/i386/i486/strlen.S: Moved to ...
6052         * sysdeps/i386/strlen.S: Here.
6054 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6056         * sysdeps/i386/i486/strcat.S: Moved to ...
6057         * sysdeps/i386/strcat.S: Here.
6059 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6061         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6062         * sysdeps/i386/pthread_spin_trylock.S: Here.
6063         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6064         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6066 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6068         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6069         * sysdeps/i386/string-inlines.c: Here.
6071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6073         * sysdeps/i386/i486/htonl.S: Moved ...
6074         * sysdeps/i386/htonl.S: here.
6076 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6078         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6079         * sysdeps/i386/bits/atomic.h: Here.
6081 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6083         * sysdeps/i386/i486/Versions: Removed.
6085 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6087         [BZ #2898]
6088         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6089         Based on patch by Aurelien Jarno.
6091 2015-08-26  Stan Shebs  <stanshebs@google.com>
6093         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6094         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6096 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6098         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6099         * sysdeps/powerpc/dl-procinfo.c:
6100         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6101         feature so it shows when LD_SHOW_AUXV=1.
6103 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6105         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6106         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6107         definition.  ISA 2.07B no longer requires full sync.
6109 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6111         [BZ #18863]
6112         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6113         (si_call_addr): Define.
6114         (si_syscall): Define.
6115         (si_arch): Define.
6117 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6119         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6120         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6121         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6122         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6123         (__memset_zero_constant_len_parameter): New.
6124         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6125         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6126         (__memset_zero_constant_len_parameter): Don't define if
6127         __memset_chk or USE_AS_BZERO are defined.
6129         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6130         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6131         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6133         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6134         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6135         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6136         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6137         comments.
6138         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6139         -mno-mmx for $(all-rtld-routines).
6140         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6141         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6142         i386.
6144 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6146         * sysdeps/generic/unwind.h
6147         (_Unwind_Word): Use __mode__(__unwind_word__)
6148         instead of __mode__(__word__).
6149         (_Unwind_Sword): Likewise.
6151         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6152         (MAX_NEEDED_INPUT): New define.
6153         (MAX_NEEDED_OUTPUT): New define.
6155         * NEWS: New item for IBM z13 string optimizations.
6157         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6158         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6159         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6160         * sysdeps/s390/multiarch/Makefile
6161         (sysdep_routines): Add memrchr functions.
6162         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6163         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6165         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6166         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6167         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6168         * sysdeps/s390/multiarch/Makefile
6169         (sysdep_routines): Add wmemcmp functions.
6170         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6171         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6172         * benchtests/bench-wmemcmp.c: New File.
6173         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6175         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6176         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6177         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6178         * sysdeps/s390/multiarch/Makefile
6179         (sysdep_routines): Add wmemset functions.
6180         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6181         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6182         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6183         * string/test-memset.c: Add wmemset support.
6184         * wcsmbs/test-wmemset.c: New File.
6185         * wcsmbs/Makefile (strop-tests): Add wmemset.
6186         * benchtests/bench-memset.c: Add wmemset support.
6187         * benchtests/bench-wmemset.c: New File.
6188         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6190         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6191         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6192         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6193         * sysdeps/s390/multiarch/Makefile
6194         (sysdep_routines): Add memccpy functions.
6195         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6196         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6197         * string/memccpy.c: Use MEMCCPY if defined.
6199         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6200         * sysdeps/s390/multiarch/memchr.c: Likewise.
6201         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6202         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6203         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6204         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6205         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6206         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6207         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6208         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6209         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6210         and rawmemchr functions.
6211         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6212         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6213         and wmemchr.
6214         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6215         * string/test-memchr.c: Add wmemchr support.
6216         * wcsmbs/test-wmemchr.c: New File.
6217         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6218         * benchtests/bench-memchr.c: Add wmemchr support.
6219         * benchtests/bench-wmemchr.c: New File.
6220         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6222         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6223         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6224         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6225         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6226         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6227         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6229         wcscspn functions.
6230         * sysdeps/s390/multiarch/ifunc-impl-list.c
6231         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6232         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6233         * string/test-strcspn.c: Add wcscspn support.
6234         * wcsmbs/test-wcscspn.c: New File.
6235         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6236         * benchtests/bench-strcspn.c: Add wcscspn support.
6237         * benchtests/bench-wcscspn.c: New File.
6238         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6240         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6241         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6242         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6243         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6244         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6245         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6246         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6247         wcspbrk functions.
6248         * sysdeps/s390/multiarch/ifunc-impl-list.c
6249         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6250         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6251         * string/test-strpbrk.c: Add wcspbrk support.
6252         * wcsmbs/test-wcspbrk.c: New File.
6253         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6254         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6255         * benchtests/bench-wcspbrk.c: New File.
6256         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6258         * sysdeps/s390/multiarch/strspn-c.c: New File.
6259         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6260         * sysdeps/s390/multiarch/strspn.c: Likewise.
6261         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6262         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6263         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6264         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6266         wcsspn functions.
6267         * sysdeps/s390/multiarch/ifunc-impl-list.c
6268         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6269         * string/test-strspn.c: Add wcsspn support.
6270         * wcsmbs/test-wcsspn.c: New File.
6271         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6272         * benchtests/bench-strspn.c: Add wcsspn support.
6273         * benchtests/bench-wcsspn.c: New File.
6274         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6276         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6277         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6278         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6279         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6280         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6281         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6283         wcsrchr functions.
6284         * sysdeps/s390/multiarch/ifunc-impl-list.c
6285         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6286         * benchtests/bench-wcsrchr.c: New File.
6287         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6289         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6290         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6291         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6292         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6293         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6294         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6295         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6296         wcschrnul functions.
6297         * sysdeps/s390/multiarch/ifunc-impl-list.c
6298         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6299         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6300         * string/test-strchr.c: Add wcschrnul support.
6301         * wcsmbs/test-wcschrnul.c: New File.
6302         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6303         * benchtests/bench-strchr.c: Add wcschrnul support.
6304         * benchtests/bench-wcschrnul.c: New File.
6305         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6307         * sysdeps/s390/multiarch/strchr-c.c: New File.
6308         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6309         * sysdeps/s390/multiarch/strchr.c: Likewise.
6310         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6311         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6312         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6314         wcschr functions.
6315         * sysdeps/s390/multiarch/ifunc-impl-list.c
6316         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6317         * string/strchr.c (STRCHR): Define and use macro.
6318         * benchtests/bench-wcschr.c: New File.
6319         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6321         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6322         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6323         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6324         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6325         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6326         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6328         wcsncmp functions.
6329         * sysdeps/s390/multiarch/ifunc-impl-list.c
6330         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6331         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6332         * benchtests/bench-strncmp.c: Add wcsncmp support.
6333         * benchtests/bench-wcsncmp.c: New File.
6334         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6336         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6337         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6338         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6339         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6340         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6341         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6342         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6343         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6344         wcscmp functions.
6345         * sysdeps/s390/multiarch/ifunc-impl-list.c
6346         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6347         * string/strcmp.c (STRCMP): Define and use macro.
6348         * benchtests/bench-wcscmp.c: New File.
6349         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6350         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6351         instead of _HAVE_STRING_ARCH_memchr.
6353         * sysdeps/s390/multiarch/strncat-c.c: New File.
6354         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6355         * sysdeps/s390/multiarch/strncat.c: Likewise.
6356         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6357         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6358         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6360         wcsncat functions.
6361         * sysdeps/s390/multiarch/ifunc-impl-list.c
6362         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6363         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6364         * string/test-strncat.c: Add wcsncat support.
6365         * wcsmbs/test-wcsncat.c: New File.
6366         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6367         * benchtests/bench-strncat.c: Add wcsncat support.
6368         * benchtests/bench-wcsncat.c: New File.
6369         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6371         * sysdeps/s390/multiarch/strcat-c.c: New File.
6372         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6373         * sysdeps/s390/multiarch/strcat.c: Likewise.
6374         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6375         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6376         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6377         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6378         wcscat functions.
6379         * sysdeps/s390/multiarch/ifunc-impl-list.c
6380         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6381         * string/strcat.c (STRCAT): Define and use macro.
6382         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6383         * string/test-strcat.c: Add wcscat support.
6384         * wcsmbs/test-wcscat.c: New File.
6385         * wcsmbs/Makefile (strop-tests): Add wcscat.
6386         * benchtests/bench-strcat.c: Add wcscat support.
6387         * benchtests/bench-wcscat.c: New File.
6388         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6390         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6391         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6392         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6393         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6394         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6395         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6397         wcpncpy functions.
6398         * sysdeps/s390/multiarch/ifunc-impl-list.c
6399         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6400         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6401         * string/test-stpncpy.c: Add wcpncpy support.
6402         * wcsmbs/test-wcpncpy.c: New File.
6403         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6404         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6405         * benchtests/bench-wcpncpy.c: New File.
6406         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6408         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6409         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6410         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6411         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6412         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6413         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6414         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6416         wcsncpy functions.
6417         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6418         * sysdeps/s390/multiarch/ifunc-impl-list.c
6419         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6420         * string/test-strncpy.c: Add wcsncpy support.
6421         * wcsmbs/test-wcsncpy.c: New File.
6422         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6423         * benchtests/bench-strncpy.c: Add wcsncpy support.
6424         * benchtests/bench-wcsncpy.c: New File.
6425         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6427         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6428         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6429         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6430         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6431         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6432         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6433         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6434         wcpcpy functions.
6435         * string/stpcpy.c: Use STPCPY if defined.
6436         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6437         * sysdeps/s390/multiarch/ifunc-impl-list.c
6438         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6439         * string/test-stpcpy.c: Add wcpcpy support.
6440         * wcsmbs/test-wcpcpy.c: New File.
6441         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6442         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6443         * benchtests/bench-wcpcpy.c: New File.
6444         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6446         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6447         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6448         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6449         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6450         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6451         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6452         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6454         wcscpy functions.
6455         * sysdeps/s390/multiarch/ifunc-impl-list.c
6456         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6457         * benchtests/bench-wcscpy.c: New File.
6458         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6460         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6461         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6462         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6463         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6464         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6465         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6467         wcsnlen functions.
6468         * sysdeps/s390/multiarch/ifunc-impl-list.c
6469         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6470         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6471         * string/test-strnlen.c: Add wcsnlen support.
6472         * wcsmbs/test-wcsnlen.c: New File.
6473         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6474         * benchtests/bench-strnlen.c: Add wcsnlen support.
6475         * benchtests/bench-wcsnlen.c: New File.
6476         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6478         * sysdeps/s390/multiarch/Makefile: New File.
6479         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6480         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6481         * sysdeps/s390/multiarch/strlen.c: Likewise.
6482         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6483         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6484         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6485         * string/strlen.c (STRLEN): Define and use macro.
6486         * sysdeps/s390/multiarch/ifunc-impl-list.c
6487         (IFUNC_VX_IMPL): New macro function.
6488         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6489         * benchtests/Makefile (wcsmbs-bench): New variable.
6490         (string-bench-all): Added wcsmbs-bench.
6491         * benchtests/bench-wcslen.c: New File.
6493         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6494         s390_vx_libc_ifunc2): New macro function.
6496         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6497         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6498         assembler support.
6499         * sysdeps/s390/configure: Regenerated.
6501         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6502         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6504         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6505         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6506         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6508         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6509         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6510         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6511         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6512         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6513         (memcmp, bcmp): Use __memcmp_default as alias source.
6514         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6515         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6516         Rename to __memcmp_default.
6517         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6518         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6519         (memcpy): Use __memcpy_default as alias source.
6520         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6521         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6522         Rename to __memcpy_default.
6523         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6524         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6525         (memset): Use __memset_default as alias source.
6526         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6527         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6528         Rename to __memset_default.
6529         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6530         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6531         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6532         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6533         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6534         (memcmp, bcmp): Use __memcmp_default as alias source.
6535         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6536         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6537         Rename to __memcmp_default.
6538         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6539         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6540         (memcpy): Use __memcpy_default as alias source.
6541         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6542         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6543         Rename to __memcpy_default.
6544         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6545         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6546         (memset): Use __memset_default as alias source.
6547         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6548         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6549         Rename to __memset_default.
6550         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6551         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6553         [BZ #18610]
6554         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6555         __ieee_instruction_pointer to __unused.
6556         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6557         __ieee_instruction_pointer.
6558         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6559         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6560         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6561         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6562         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6563         Mark dxc-field as reserved.
6565 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6567         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6568         if the weak reference is not null.
6570 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6572         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6574         [BZ #11214]
6575         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6577 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6579         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6580         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6581         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6582         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6583         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6584         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6585         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6586         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6587         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6588         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6589         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6590         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6591         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6592         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6593         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6594         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6595         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6596         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6598 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6600         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6601         register other than r0 for tabort, it has special meaning.
6602         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6603         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6604         transaction before starting syscall.
6606 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6608         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6610 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6612         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6614         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6615         * sysdeps/x86_64/rtld-memset.S: Likewise.
6616         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6617         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6618         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6619         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6621         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6623 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6625         * debug/strcpy_chk.c: Improve performance.
6626         * debug/stpcpy_chk.c: Likewise.
6627         * sysdeps/x86_64/strcpy_chk.S: Remove.
6628         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6630         [BZ #18240]
6631         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6633 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6635         [BZ #15128]
6636         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6637         ifuncmain8.
6638         (modules-names): Add ifuncmod8.
6639         ($(objpfx)ifuncmain8): New rule.
6640         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6641         <cpuid.h>.
6642         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6643         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6644         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6645         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6646         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6647         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6648         * sysdeps/x86_64/ifuncmain8.c: New file.
6649         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6650         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6651         Removed.
6652         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6653         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6654         Change rtld_savespace_sse to __glibc_unused2.
6655         (RTLD_CHECK_FOREIGN_CALL): Removed.
6656         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6657         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6658         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6660 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6662         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6664 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6666         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6667         Unconditionally set __fpcr to avoid uninialized warning.
6668         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6670 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6672         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6673         is corrupt.
6675         * malloc/arena.c (arena_get2): Drop unused argument.
6676         (arena_lock): Adjust.
6677         (arena_get_retry): Likewise.
6679 2015-08-24  Andreas Schwab  <schwab@suse.de>
6681         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6682         Don't define.
6683         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6684         (__ASSUME_IPC64): Don't undef.
6685         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6686         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6687         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6688         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6689         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6690         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6691         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6692         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6693         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6694         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6695         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6696         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6697         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6698         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6699         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6700         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6701         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6702         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6703         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6704         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6705         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6707 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6709         * manual/Makefile (install): Only build manual when perl is available.
6711 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6713         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6714         '#undef memcpy' by '#undef memchr'.
6716 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6718         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6719         memchr not point to the internal __GI_memchr implementation.
6721 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6723         * timezone/Makefile (CFLAGS-zdump.c): Remove
6724         -Wno-strict-prototypes.
6725         (CFLAGS-zic.c): Likewise.
6726         (CFLAGS-ialloc.c): Likewise.
6727         (CFLAGS-scheck.c): Likewise.
6729         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6730         -Wno-error=undef.
6732 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6734         * i386/i686/multiarch/strcasestr-c.c: Removed.
6735         * x86_64/multiarch/strcasestr.c: Likewise.
6736         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6737         Remove strcasestr.
6739 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6741         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6743         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6744         variables for high and low parts before possibly modifying them.
6746 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6748         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6749         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6750         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6751         of "multiarch/init-arch.h".
6752         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6753         * sysdeps/x86/init-arch.h: This.
6755 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6757         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6758         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6760 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6762         [BZ #17787]
6763         * manual/macros.texi: Add twoexp macro.
6764         * manual/filesys.texi: Fix exponents.
6765         * manual/llio.texi: Likewise.
6766         * manual/stdio.texi: Likewise.
6768 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6770         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6771         incorrect use.
6773 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #18370]
6776         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6777         whose real or imaginary part has small absolute value.
6778         * math/s_csqrtf.c (__csqrtf): Likewise.
6779         * math/s_csqrtl.c (__csqrtl): Likewise.
6780         * math/auto-libm-test-in: Add more tests of csqrt.
6781         * math/auto-libm-test-out: Regenerated.
6782         * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6786         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6787         __ppc_set_ppr_very_low): New functions.
6788         * manual/platform.texi: Add documentation about
6789         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6791 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6793         * string/stpncpy.c (stpncpy): Improve performance using
6794         __strnlen/memcpy/memset.
6796 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6798         [BZ #18796]
6799         * scripts/test-installation.pl: Don't add -lmvec to build options if
6800         libmvec wasn't built.
6802 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6804         [BZ #14341]
6805         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6806         case when there is a gap between DT_REL and DT_JMPREL sections.
6807         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6808         (LDFLAGS-tst-split-dynreloc): New.
6809         (tst-split-dynreloc-ENV): Likewise.
6810         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6811         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6813 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6815         [BZ #18822]
6816         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6817         attribute_hidden.
6818         (__xstat64_conv): Likewise.
6819         (__xstat32_conv): Likewise.
6821 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6823         [BZ #18822]
6824         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6825         Don't load %ebx when calling __setcontext.  Call __setcontext
6826         with HIDDEN_JUMPTARGET.
6827         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6828         libc_hidden_def.
6830 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6832         * sysdeps/i386/i686/Makefile
6833         [$(subdir) == string] (sysdep_routines): Moved to ...
6834         * sysdeps/i386/Makefile: Here.
6835         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6836         * sysdeps/i386/cacheinfo.c: Here.
6837         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6838         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6839         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6840         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6842 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6844         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6845         __i586__ is defined.
6846         (HAS_I686): Defined to 1 if __i686__ is defined.
6848 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6850         * elf/Makefile [$(have-z-execstack) = yes]
6851         (CPPFLAGS-tst-execstack.c): New variable.
6853         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6854         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6855         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6856         UTMPX || _HAVE_UT_TV].
6857         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6858         UTMPX || _HAVE_UT_TV - 0].
6860 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6862         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6863         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6864         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6866 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6868         * sysdeps/powerpc/dl-procinfo.c:
6869         (_dl_powerpc_cap_flags): Added missing strings for some
6870         hwcap features.
6871         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6873 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6875         Port the 0x7efe...feff pattern to GCC 6.
6876         See Steve Ellcey's bug report in:
6877         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6878         * string/memrchr.c (MEMRCHR):
6879         * string/rawmemchr.c (RAWMEMCHR):
6880         * string/strchr.c (strchr):
6881         * string/strchrnul.c (STRCHRNUL):
6882         Rewrite code to avoid issues with signed shift overflow.
6884 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6886         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6887         whether cpuid is available only if HAS_CPUID is 0.
6888         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6889         (HAS_I586): Likewise.
6890         (HAS_I686): Likewise.
6892 2015-08-18  Zack Weinberg  <zackw@panix.com>
6894         * misc/Versions (libc): Add GLIBC_2.23.
6896 2015-08-18  Alan Modra  <amodra@gmail.com>
6898         [BZ #18421]
6899         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6900         .Lp__global.
6901         (_start): Load %dp via .Lp__global.
6902         [!SHARED]: Use .section .rodata.
6904 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6906         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6907         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6909 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6911         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6912         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6914 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6916         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6917         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6919 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6921         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6922         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6924 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6926         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6927         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6931         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6932         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6934 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6936         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6938 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6940         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6941         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6942         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6943         (__ASSUME_LWS_CAS): Delete.
6945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6947         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6948         * sysdeps/hppa/configure: Regenerated.
6949         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6950         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6951         * sysdeps/hppa/nptl/tls.h: Likewise.
6953 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6955         [BZ #18823]
6956         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6957         for scaling up small arguments.
6958         * math/s_csqrtf.c (__csqrtf): Likewise.
6959         * math/s_csqrtl.c (__csqrtl): Likewise.
6960         * math/auto-libm-test-in: Add more tests of csqrt.
6961         * math/auto-libm-test-out: Regenerated.
6963 2015-08-17  Andreas Schwab  <schwab@suse.de>
6965         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6966         version set GLIBC_2.19.
6968 2015-08-16  Zack Weinberg  <zackw@panix.com>
6970         [BZ #18681]
6971         * misc/regexp.h: This interface is no longer supported.
6972         Remove all contents, leaving only an #error directive.
6973         * misc/regexp.c (loc1, loc2, locs, step, advance):
6974         Demote to compatibility symbols.
6976 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6978         [BZ #18084]
6979         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6980         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6981         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6982         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6983         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6984         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6985         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6986         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6987         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6989 2015-08-15  Zack Weinberg  <zackw@panix.com>
6991         [BZ #18795]
6992         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6993         buffer length is known to be too large, not if it's known to be
6994         small enough.
6995         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6996         overflow at runtime, involving a length parameter, twice: once
6997         with a compile-time constant length parameter, once without.
6999 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7001         [BZ #18824]
7002         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7003         scaling x * y up instead of down.
7004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7005         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7006         * math/auto-libm-test-in: Add more tests of fma.
7007         * math/auto-libm-test-out: Regenerated.
7009 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7013 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7015         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7016         unnecessary movq.
7017         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7018         Likewise.
7020 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7022         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7023         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7024         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7025         and tgamma.
7026         * math/auto-libm-test-out: Regenerated.
7027         * sysdeps/i386/fpu/libm-test-ulps: Update.
7028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7030         [BZ #16520]
7031         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7032         (__tanh): Force underflow exception for arguments with small
7033         absolute value.
7034         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7035         (__tanhf): Force underflow exception for arguments with small
7036         absolute value.
7037         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7038         (__tanhl): Force underflow exception for arguments with small
7039         absolute value.
7040         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7041         (__tanhl): Force underflow exception for arguments with small
7042         absolute value.
7043         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7044         (__tanhl): Force underflow exception for arguments with small
7045         absolute value.
7046         * math/auto-libm-test-in: Add more tests of tanh.
7047         * math/auto-libm-test-out: Regenerated.
7048         * sysdeps/i386/fpu/libm-test-ulps: Update.
7050 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7052         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7053         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7055 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7057         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7058         <cpuid.h>.
7060 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7062         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7063         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7065 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7067         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7068         Remove $(objpfx)init-arch.o.
7069         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7070         init-arch.
7071         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7072         (INIT_ARCH_EXT): Defined as empty.
7073         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7074         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7075         __init_cpu_features call.  Replace HAS_XXX with
7076         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7079         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7080         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7081         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7082         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7083         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7084         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7085         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7086         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7087         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7088         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7089         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7090         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7094         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7095         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7101         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7103         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7104         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7105         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7106         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7113 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7115         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7116         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7117         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7118         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7119         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7120         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7121         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7122         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7123         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7124         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7125         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7126         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7127         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7128         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7129         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7130         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7131         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7132         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7133         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7134         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7135         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7136         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7137         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7138         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7139         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7140         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7141         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7142         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7143         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7144         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7145         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7146         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7147         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7149         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7150         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7151         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7154         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7155         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7159 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7161         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7162         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7163         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7164         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7165         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7166         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7167         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7168         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7173         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7174         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7178         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7179         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7180         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7182         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7183         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7184         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7185         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7186         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7187         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7188         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7189         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7190         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7191         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7192         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7194         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7196         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7197         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7198         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7199         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7200         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7201         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7202         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7203         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7205 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7207         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7208         (dl_platform_init): Call init_cpu_features.
7209         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7210         * sysdeps/i386/i686/cacheinfo.c
7211         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7212         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7213         * sysdeps/i386/i686/multiarch/Versions: Removed.
7214         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7215         Removed.
7216         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7217         * sysdeps/unix/sysv/linux/x86/Makefile
7218         (libpthread-sysdep_routines): Remove init-arch.
7219         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7220         <sysdeps/x86_64/dl-procinfo.c> instead of
7221         sysdeps/generic/dl-procinfo.c>.
7222         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7223         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7224         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7225         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7226         [$(subdir) == elf] (tests-static): Add
7227         tst-get-cpu-features-static.
7228         * sysdeps/x86/Versions: New file.
7229         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7230         * sysdeps/x86/cpu-features.c: Likewise.
7231         * sysdeps/x86/cpu-features.h: Likewise.
7232         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7233         * sysdeps/x86/libc-start.c: Likewise.
7234         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7235         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7236         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7237         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7238         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7239         Assume USE_MULTIARCH is defined and don't check it.
7240         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7241         (is_amd): Likewise.
7242         (max_cpuid): Likewise.
7243         (intel_check_word): Likewise.
7244         (__cache_sysconf): Don't call __init_cpu_features.
7245         (__x86_preferred_memory_instruction): Removed.
7246         (init_cacheinfo): Don't call __init_cpu_features. Replace
7247         __cpu_features with GLRO(dl_x86_cpu_features).
7248         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7249         (dl_platform_init): Call init_cpu_features.
7250         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7251         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7252         * sysdeps/x86_64/multiarch/Versions: Removed.
7253         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7254         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7255         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7256         Removed.
7257         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7259 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7261         [BZ #18820]
7262         * libio/Makefile (test-fmemopen-mem): New test.
7263         * libio/test-fmemopen.c (do_bz18820): New test.
7264         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7265         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7267 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7269         [BZ #16734]
7270         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7271         (FREE_BUF): Delete.
7272         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7273         * libio/genops.c (_IO_setb): Use malloc and free directly.
7274         (_IO_default_doallocate, _IO_default_finish): Likewise.
7275         ( _IO_unbuffer_all): Likewise.
7276         ( libc_freeres_fn): Likewise.
7277         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7278         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7279         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7280         (_IO_wdefault_doallocate): Likewise.
7282 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7284         [BZ #18086]
7285         * sysdeps/posix/nice.c (nice): Restore old errno.
7286         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7288 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7292 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7294         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7295         __bcopy and add a weak_alias to bcopy.
7296         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7297         for static build.
7299         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7300         cleanup macro usage.
7301         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7302         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7304         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7305         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7306         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7307         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7308         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7309         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7310         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7312         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7314         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7316         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7317         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7318         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7319         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7321         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7322         libc_hidden_def.
7323         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7325         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7326         (sysdep_routines): Add strstr-ppc64.
7327         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7329 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7331         [BZ #18778]
7332         * elf/Makefile (tests): Add Add tst-nodelete2.
7333         (modules-names): Add tst-nodelete2mod.
7334         (tst-nodelete2mod.so-no-z-defs): New.
7335         ($(objpfx)tst-nodelete2): Likewise.
7336         ($(objpfx)tst-nodelete2.out): Likewise.
7337         (LDFLAGS-tst-nodelete2): Likewise.
7338         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7339         out of loop through all loaded libraries.
7340         * elf/tst-nodelete2.c: New file.
7341         * elf/tst-nodelete2mod.c: Likewise.
7342         * elf/tst-znodelete-zlib.cc: Delete.
7344 2015-08-11  Andreas Schwab  <schwab@suse.de>
7346         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7347         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7348         (__openat64_nocancel): Likewise.
7350 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7352         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7353         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7354         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7355         * math/auto-libm-test-out: Regenerated.
7356         * sysdeps/i386/fpu/libm-test-ulps: Update.
7357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7361         [BZ #18790]
7362         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7363         threshold for returning +/- 1.
7364         * math/auto-libm-test-in: Add more tests of tanh.
7365         * math/auto-libm-test-out: Regenerated.
7366         * sysdeps/i386/fpu/libm-test-ulps: Update.
7368 2015-08-10  Andreas Schwab  <schwab@suse.de>
7370         [BZ #18781]
7371         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7372         MORE_OFLAGS to oflag.
7373         * io/test-lfs.c (do_test): Test openat64.
7375 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7377         [BZ #18789]
7378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7379         smaller threshold for returning the argument.
7380         * math/auto-libm-test-in: Add more tests of sinh.
7381         * math/auto-libm-test-out: Regenerated.
7382         * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7386         [BZ #18674]
7387         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7388         break.
7390 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7392         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7393         (generated): Don't add $(addprefix z.,$(tzfiles)).
7395 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7397         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7398         * scripts/sysd-rules.awk: Likewise.
7400 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7402         * iconvdata/tst-tables.sh: Change echo -n to printf.
7403         * nss/db-Makefile: Likewise.
7404         * posix/tst-getconf.sh: Likewise.
7405         * stdio-common/tst-unbputc.sh: Likewise.
7407 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7409         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7410         MADV_*_PAGES defines behind this feature check.
7412 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7414         [BZ #18480]
7415         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7416         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7417         Define.
7418         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7419         LOAD_REGS_5, LOAD_REGS_6): Update.
7420         (INTERNAL_SYSCALL): Update using new LOAD defines.
7421         (INTERNAL_SYSCALL_NCS): Likewise.
7422         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7424 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7426         [BZ #16734]
7427         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7429 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7431         [BZ #17905]
7432         * catgets/Makefile (tst-catgets-mem): New test.
7433         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7434         * catgets/open_catalog.c (__open_catalog): Likewise.
7435         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7437 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7439         [BZ #18787]
7440         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7441         clobber registers.
7442         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7443         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7444         Cast return to __typeof (oldval).
7446 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7448         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7449         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7450         and delete sys/syscall.h include.
7452 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7454         [BZ #16517]
7455         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7456         (tan): Force underflow exception for arguments with small absolute
7457         value.
7458         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7459         (__kernel_tanf): Force underflow exception for arguments with
7460         small absolute value.
7461         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7462         (__kernel_tanl): Force underflow exception for arguments with
7463         small absolute value.
7464         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7465         (__kernel_tanl): Force underflow exception for arguments with
7466         small absolute value.
7467         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7468         (__kernel_tanl): Force underflow exception for arguments with
7469         small absolute value.
7470         * math/auto-libm-test-in: Add more tests of tan.
7471         * math/auto-libm-test-out: Regenerated.
7473 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7475         Fix sysdeps/i386/fpu/s_scalbn.S build
7477         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7479 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7481         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7483 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7485         Fix gcrt0.o compilation
7487         When static-start-installed-name is different from
7488         start-installed-name, we must not use the shared objects.
7490         * csu/Makefile
7491         (extra-objs): Add gmon-start.o when building shared library and
7492         $(static-start-installed-name) is different from
7493         $(start-installed-name).
7494         $(objpfx)g$(static-start-installed-name): When building shared
7495         library and $(static-start-installed-name) is different from
7496         $(static-start-installed-name), revert to non-shared rule,
7497         i.e. using $(objpfx)% and gmon-start.o.
7499 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7501         [BZ #16519]
7502         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7503         (__ieee754_sinh): Force underflow exception for arguments with
7504         small absolute value.
7505         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7506         (__ieee754_sinhf): Force underflow exception for arguments with
7507         small absolute value.
7508         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7509         (__ieee754_sinhl): Force underflow exception for arguments with
7510         small absolute value.
7511         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7512         (__ieee754_sinhl): Force underflow exception for arguments with
7513         small absolute value.
7514         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7515         (__ieee754_sinhl): Force underflow exception for arguments with
7516         small absolute value.
7517         * math/auto-libm-test-in: Add more tests of sinh.
7518         * math/auto-libm-test-out: Regenerated.
7519         * sysdeps/i386/fpu/libm-test-ulps: Update.
7521 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7523         * libio/oldfileops.c: Include unistd.h.
7525 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7527         * stdlib/isomac.c: Include ctype.h.
7529 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7531         * dirent/tst-seekdir.c (main): Converted to ...
7532         (do_test): ... this.
7533         (TEST_FUNCTION): New macro.
7534         Include test-skeleton.c.
7535         * elf/tst-dlmodcount.c (main): Converted to ...
7536         (do_test): ... this.
7537         (TEST_FUNCTION): New macro.
7538         Include test-skeleton.c.
7539         * elf/tst-order-main.c (main): Converted to ...
7540         (do_test): ... this.
7541         (TEST_FUNCTION): New macro.
7542         Include test-skeleton.c.
7543         * elf/tst-pie2.c (main): Converted to ...
7544         (do_test): ... this.
7545         (TEST_FUNCTION): New macro.
7546         Include test-skeleton.c.
7547         * inet/tst-ether_aton.c (main): Converted to ...
7548         (do_test): ... this.
7549         (TEST_FUNCTION): New macro.
7550         Include test-skeleton.c.
7551         * misc/tst-mntent.c (main): Converted to ...
7552         (do_test): ... this.
7553         (TEST_FUNCTION): New macro.
7554         Include test-skeleton.c.
7555         * misc/tst-tsearch.c (main): Converted to ...
7556         (do_test): ... this.
7557         (TEST_FUNCTION): New macro.
7558         Include test-skeleton.c.
7559         * posix/tst-regexloc.c (main): Converted to ...
7560         (do_test): ... this.
7561         (TEST_FUNCTION): New macro.
7562         Include test-skeleton.c.
7563         * resolv/tst-aton.c (main): Converted to ...
7564         (do_test): ... this.
7565         (TEST_FUNCTION): New macro.
7566         Include test-skeleton.c.
7567         * stdio-common/test-fwrite.c (main): Converted to ...
7568         (do_test): ... this.
7569         (TEST_FUNCTION): New macro.
7570         Include test-skeleton.c.
7571         * stdio-common/tst-ferror.c (main): Converted to ...
7572         (do_test): ... this.
7573         (TEST_FUNCTION): New macro.
7574         Include test-skeleton.c.
7575         * stdio-common/tst-printf.c (main): Converted to ...
7576         (do_test): ... this.
7577         (TEST_FUNCTION): New macro.
7578         Include test-skeleton.c.
7579         * stdio-common/tst-printfsz.c (main): Converted to ...
7580         (do_test): ... this.
7581         (TEST_FUNCTION): New macro.
7582         Include test-skeleton.c.
7583         * stdlib/tst-strtod.c (main): Converted to ...
7584         (do_test): ... this.
7585         (TEST_FUNCTION): New macro.
7586         Include test-skeleton.c.
7587         * string/tst-strlen.c (main): Converted to ...
7588         (do_test): ... this.
7589         (TEST_FUNCTION): New macro.
7590         Include test-skeleton.c.
7591         * string/tst-svc.c (main): Converted to ...
7592         (do_test): ... this.
7593         (TEST_FUNCTION): New macro.
7594         Include test-skeleton.c.
7595         * time/tst-strptime.c (main): Converted to ...
7596         (do_test): ... this.
7597         (TEST_FUNCTION): New macro.
7598         Include test-skeleton.c.
7599         * timezone/tst-timezone.c (main): Converted to ...
7600         (do_test): ... this.
7601         (TEST_FUNCTION): New macro.
7602         Include test-skeleton.c.
7604 2015-08-05  Zack Weinberg  <zackw@panix.com>
7606         * misc/regexp.h: Update comments.
7608 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7610         [BZ #18635]
7611         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7612         before return label.
7614 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7616         [BZ #18661]
7617         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7618         when calling __errno_location.
7619         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7620         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7622 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7624         [BZ #18661]
7625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7626         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7627         __gettimeofday.
7629 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7631         [BZ #18661]
7632         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7633         (__start_context): Don't use pop to restore %rdi so that stack
7634         is aligned to 16 bytes when calling __setcontext.
7636 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7638         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7639         only for libc.
7640         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7642 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7644         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7645         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7646         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7648 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7650         * string/memccpy.c (memccpy):
7651         Improve performance by using memchr/memcpy/__mempcpy.
7653 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7655         * string/strncpy.c (strncpy):
7656         Improve performance by using __strnlen/memcpy.
7658 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7661         Optimize to avoid an unnecessary FPCR read.
7663 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7665         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7666         Optimize to reduce FPCR/FPSR accesses.
7668 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7670         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7671         dead->data[category] != NULL.
7673 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7675         [BZ #18647]
7676         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7677         and |x| close to 1, use absolute value of x when computing log.
7678         * math/auto-libm-test-in: Add more tests of pow.
7679         * math/auto-libm-test-out: Regenerated.
7681 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7683         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7684         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7685         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7687 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7689         [BZ #18525]
7690         * locales/km_KH: Remove timezone definition.
7691         * locales/lo_LA: Likewise.
7692         * locales/my_MM: Likewise.
7693         * locales/nan_TW@latin: Likewise.
7694         * locales/th_TH: Likewise.
7695         * locales/uk_UA: Likewise.
7697 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7699         [BZ #18265]
7700         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7701         (wcsncat): Likewise.
7702         (wcscmp): Likewise.
7703         (wcsncmp): Likewise.
7705 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7707         * test-skeleton.c (usage): New function.
7708         (main): Call usage when opt is '?'.
7710 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7712         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7713         before first use.
7715 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7717         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7718         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7719         in there too.
7721 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7723         * version.h (RELEASE): Set to "development".
7724         (VERSION): Set to "2.22.90"
7726         * version.h (RELEASE): Set to "stable".
7727         (VERSION): Set to "2.22"
7728         * include/features.h (__GLIBC_MINOR__): Set to 22.
7730 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7732         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7733         Restructure macro to avoid "value computed is not used" warning.
7734         (atomic_compare_and_exchange_val_acq): Likewise.
7736 2015-08-04  Andreas Schwab  <schwab@suse.de>
7738         [BZ #18635]
7739         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7740         ret.
7741         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7743 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7745         * po/pl.po: Updated translation.
7746         * po/uk.po: Likewise.
7747         * po/fi.po: Likewise.
7748         * po/ko.po: Likewise.
7749         * po/ru.po: Likewise.
7750         * po/vi.po: Likewise.
7752 2015-07-31  Zack Weinberg  <zackw@panix.com>
7754         [BZ #18681]
7755         * regexp.h: Add unconditional #warning stating that this header
7756         will be removed soon.  Revise banner comment to match.
7757         (compile): Consistently use ERROR instead of RETURN to report
7758         errors (partial fix for bz#18681).
7759         * regexp.c: Don't include regexp.h. Remove some unnecessary
7760         declarations.
7762 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7764         * po/libc.pot: Regenerated.
7766 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7768         [BZ #18740]
7769         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7770         float-vlen4-arch-ext-cflags): Removed.
7771         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7772         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7774 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7776         [BZ #14113]
7777         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7778         aligned to __aligned__.
7779         (pthread_cond_t, pthread_rwlock_t): Likewise.
7781 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7783         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7785 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7787         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7788         (struct sigaction): Change sa_flags from a long to an int, and add
7789         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7791 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7793         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7794         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7795         sysdeps/generic/sysdep.h include.
7796         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7797         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7798         sysdeps/hppa/sysdep.h.
7799         (ENTRY, PSEUDO): Undefine before defining.
7801 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7803         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7804         from scratch to use INTERNAL_SYSCALL.
7806 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7808         [BZ #18078]
7809         * scripts/check-localplt.awk: Support alternate relocations.
7810         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7811         sections.
7812         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7813         malloc entries with + REL R_386_GLOB_DAT.
7814         * sysdeps/x86_64/localplt.data: New file.
7816 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7818         [BZ #18731]
7819         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7823 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7825         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7827 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7829         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7830         directly in terms of __sync_fetch_and_add and delete (int) cast.
7832 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7834         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7835         the -D_ASM_IA64_CURRENT_H flag.
7837 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7839         [BZ #18641]
7840         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7842 2015-07-27  Andreas Schwab  <schwab@suse.de>
7844         * conform/conformtest.pl (checknamespace): Filter out string
7845         literals while tokenizing.
7847 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7849         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7850         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7851         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7853 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7855         * nptl/tst-join7mod.c: Add #include <string.h>.
7857 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7859         * sysdeps/nios2/libm-test-ulps: Update.
7861 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7863         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7864         Fix order of arguments to the rt_sigprocmask syscall.
7865         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7866         Likewise.
7868 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7870         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7872 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7874         [BZ #18457]
7875         * nptl/Makefile (tests): New test case tst-join7.
7876         (modules-names): New test case module tst-join7mod.
7877         * nptl/tst-join7.c: New file.
7878         * nptl/tst-join7mod.c: New file.
7879         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7880         all translation units in libc.so, libpthread.so and rtld.
7882 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7886 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7889         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7890         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7894         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7895         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7900         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7901         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7903         implementation.
7905 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7907         [BZ #17711]
7908         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7909         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7910         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7911         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7912         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7913         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7915 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7917         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7918         instead of just saying load lock in the comments.
7920 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7922         * sysdeps/unix/Subdirs: Moved ...
7923         * sysdeps/posix/Subdirs: ... here.
7924         * login/pty.h (struct termios, struct winsize): Add forward decls.
7925         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7926         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7927         * sysdeps/arm/nacl/libc.abilist: Updated.
7928         * sysdeps/nacl/libutil.abilist: New file.
7930         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7931         (SIGWINCH): New macro.
7933         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7934         * sysdeps/arm/nacl/libc.abilist: Add it.
7936 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7938         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7940 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7942         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7943         Swap __glibc_reserved0 and sa_flags order.
7945 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7947         [BZ #18657]
7948         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7949         are pending TLS destructor calls.
7950         * include/link.h (struct link_map): Add concurrency note for
7951         L_TLS_DTOR_COUNT.
7952         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7953         Don't touch the link map flag.  Atomically increment
7954         l_tls_dtor_count.
7955         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7956         Avoid taking the load lock and don't touch the link map flag.
7957         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7958         * stdlib/Makefile (tests): Use it.
7959         * stdlib/tst-tls-atexit.c (do_test): dlopen
7960         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7961         to allow tst-tls-atexit-nodelete test case to use it.
7963 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7965         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7966         to bits/types.h.
7967         (msgqnum_t): New typedef.
7968         (msglen_t): Likewise.
7969         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7970         and msg_qbytes type to msglen_t.
7972 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7974         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7975         pad0 to __glibc_reserved0.
7976         (struct stat64): Likewise.
7978 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7980         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7981         Change sa_flags from a long to an int and add __glibc_reserved0 before
7982         it for padding.
7984 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7986         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7987         anonymous by deleting "siginfo" name.
7989 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7991         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7992         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7993         rather than __nacl_irt_filename.
7994         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7996         * NEWS: New item for arm-nacl port.
7997         * sysdeps/arm/nacl/libc.abilist: New file.
7998         * sysdeps/nacl/ld.abilist: New file.
7999         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8000         * sysdeps/nacl/libanl.abilist: New file.
8001         * sysdeps/nacl/libcrypt.abilist: New file.
8002         * sysdeps/nacl/libdl.abilist: New file.
8003         * sysdeps/nacl/libm.abilist: New file.
8004         * sysdeps/nacl/libpthread.abilist: New file.
8005         * sysdeps/nacl/libresolv.abilist: New file.
8006         * sysdeps/nacl/librt.abilist: New file.
8008 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8010         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8011         __startcontext to initialize the new context.
8012         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8013         up CFI directive to forbid further backtracing.
8015 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8017         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8018         reference.
8019         * charmaps/ANSI_X3.4-1968: Likewise.
8020         * charmaps/BS_4730: Likewise.
8021         * charmaps/BS_VIEWDATA: Likewise.
8022         * charmaps/CP1250: Likewise.
8023         * charmaps/CP1251: Likewise.
8024         * charmaps/CP1252: Likewise.
8025         * charmaps/CP1253: Likewise.
8026         * charmaps/CP1254: Likewise.
8027         * charmaps/CP1255: Likewise.
8028         * charmaps/CP1256: Likewise.
8029         * charmaps/CSN_369103: Likewise.
8030         * charmaps/EBCDIC-DK-NO: Likewise.
8031         * charmaps/GB_1988-80: Likewise.
8032         * charmaps/GREEK-CCITT: Likewise.
8033         * charmaps/GREEK7: Likewise.
8034         * charmaps/INIS-8: Likewise.
8035         * charmaps/ISIRI-3342: Likewise.
8036         * charmaps/ISO_2033-1983: Likewise.
8037         * charmaps/ISO_5427-EXT: Likewise.
8038         * locales/POSIX: Likewise.
8039         * locales/ar_SA: Likewise.
8040         * locales/be_BY: Likewise.
8041         * locales/be_BY@latin: Likewise.
8042         * locales/ca_ES: Likewise.
8043         * locales/cs_CZ: Likewise.
8044         * locales/da_DK: Likewise.
8045         * locales/de_BE: Likewise.
8046         * locales/de_CH: Likewise.
8047         * locales/de_LU: Likewise.
8048         * locales/en_AU: Likewise.
8049         * locales/en_BW: Likewise.
8050         * locales/en_CA: Likewise.
8051         * locales/en_DK: Likewise.
8052         * locales/en_GB: Likewise.
8053         * locales/en_IE: Likewise.
8054         * locales/en_NZ: Likewise.
8055         * locales/en_ZA: Likewise.
8056         * locales/en_ZW: Likewise.
8057         * locales/es_AR: Likewise.
8058         * locales/es_BO: Likewise.
8059         * locales/es_CL: Likewise.
8060         * locales/es_CO: Likewise.
8061         * locales/es_DO: Likewise.
8062         * locales/es_EC: Likewise.
8063         * locales/es_ES: Likewise.
8064         * locales/es_HN: Likewise.
8065         * locales/es_MX: Likewise.
8066         * locales/es_PA: Likewise.
8067         * locales/es_PE: Likewise.
8068         * locales/es_PY: Likewise.
8069         * locales/es_SV: Likewise.
8070         * locales/es_US: Likewise.
8071         * locales/es_UY: Likewise.
8072         * locales/es_VE: Likewise.
8073         * locales/et_EE: Likewise.
8074         * locales/fa_IR: Likewise.
8075         * locales/fo_FO: Likewise.
8076         * locales/fr_CA: Likewise.
8077         * locales/fr_CH: Likewise.
8078         * locales/gv_GB: Likewise.
8079         * locales/he_IL: Likewise.
8080         * locales/hr_HR: Likewise.
8081         * locales/id_ID: Likewise.
8082         * locales/is_IS: Likewise.
8083         * locales/it_CH: Likewise.
8084         * locales/iw_IL: Likewise.
8085         * locales/kl_GL: Likewise.
8086         * locales/ko_KR: Likewise.
8087         * locales/kw_GB: Likewise.
8088         * locales/lg_UG: Likewise.
8089         * locales/lt_LT: Likewise.
8090         * locales/lv_LV: Likewise.
8091         * locales/mi_NZ: Likewise.
8092         * locales/nhn_MX: Likewise.
8093         * locales/nl_BE: Likewise.
8094         * locales/pl_PL: Likewise.
8095         * locales/sk_SK: Likewise.
8096         * locales/sl_SI: Likewise.
8097         * locales/sv_FI: Likewise.
8098         * locales/tl_PH: Likewise.
8099         * locales/tr_TR: Likewise.
8100         * locales/vi_VN: Likewise.
8102 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8104         [BZ #17475]
8105         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8106         of tu_IN and bh_IN.
8108 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8110         [BZ #18694]
8111         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8112         bits/wordsize.h.
8113         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8115 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8117         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8118         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8119         (spawn_thread): New function.
8120         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8121         (do_test): ... here.  Use IS_LOADED to test for its
8122         availability.
8124 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8126         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8128 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8130         [BZ #18696]
8131         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8132         si_addr_bnd.
8133         (si_lower): New.
8134         (si_upper): Likewise.
8136 2015-07-16  David S. Miller  <davem@davemloft.net>
8138         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8140 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8142         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8143         buffer.
8144         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8145         fail output information.
8147 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8150         and strstr-ppc64..
8151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8152         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8153         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8154         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8155         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8157 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8159         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8160         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8161         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8162         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8164 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8166         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8167         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8168         rtld_hidden_proto.
8169         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8171 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8173         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8174         the test can fail.
8176         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8178         [BZ #18676]
8179         * elf/tst-nodelete-opened.c: New test case.
8180         * elf/tst-nodelete-opened-lib.c: New test case module.
8181         * elf/Makefile (tests, modules-names): Use them.
8182         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8183         early.
8185 2015-07-15  David S. Miller  <davem@davemloft.net>
8187         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8188         futex-intenal.h
8189         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8190         * sysdeps/sparc/sparc64/Makefile: Likewise.
8191         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8192         Remove space from macro define.
8193         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8195 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8197         [BZ #17475]
8198         * locale/iso-639.def: Update Bhili and Tulu language codes as
8199         per iso639-3.
8201 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8203         * elf/tst-leaks1.c (main): Converted to ...
8204         (do_test): ... this.
8205         (TEST_FUNCTION): New macro.
8206         Include test-skeleton.c.
8207         * localedata/tst-langinfo.c (main): Converted to ...
8208         (do_test): ... this.
8209         (TEST_FUNCTION): New macro.
8210         Include test-skeleton.c.
8211         * math/test-fpucw.c (main): Converted to ...
8212         (do_test): ... this.
8213         (TEST_FUNCTION): New macro.
8214         Include test-skeleton.c.
8215         * math/test-tgmath.c (main): Converted to ...
8216         (do_test): ... this.
8217         (TEST_FUNCTION): New macro.
8218         Include test-skeleton.c.
8219         * math/test-tgmath2.c (main): Converted to ...
8220         (do_test): ... this.
8221         (TEST_FUNCTION): New macro.
8222         Include test-skeleton.c.
8223         * setjmp/tst-setjmp.c (main): Converted to ...
8224         (do_test): ... this.
8225         (TEST_FUNCTION): New macro.
8226         Include test-skeleton.c.
8227         * stdio-common/tst-sscanf.c (main): Converted to ...
8228         (do_test): ... this.
8229         (TEST_FUNCTION): New macro.
8230         Include test-skeleton.c.
8231         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8232         (do_test): ... this.
8233         (TEST_FUNCTION): New macro.
8234         Include test-skeleton.c.
8236         * elf/tst-audit9.c (main): Converted to ...
8237         (do_test): ... this.
8238         (TEST_FUNCTION): New macro.
8239         Include test-skeleton.c.
8241 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8243         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8245 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8247         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8248         New variable.
8250 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8252         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8254 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8256         * sysdeps/generic/dl-fileid.h: New file.
8257         * sysdeps/posix/dl-fileid.h: New file.
8258         * sysdeps/nacl/dl-fileid.h: New file.
8259         * include/link.h: Include <dl-fileid.h>.
8260         (struct link_map): Replace l_dev and l_ino with l_file_id.
8261         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8262         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8263         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8265 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8267         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8269 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8271         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8272         Add iff $CXX is set.
8273         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8274         Likewise.
8275         (tst-nodelete-zmodiff): Likewise.
8276         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8278 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8280         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8282 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8284         * sysdeps/aarch64/fpu/math_private.h
8285         (define math_opt_barrier): Add AArch64 version.
8286         (math_force_eval): Likewise.
8288 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8290         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8292 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8294         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8295         %ld with %jd and cast to intmax_t.
8296         (do_test_length_zero): Likewise.
8298 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8300         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8302 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8304         * sysdeps/tile/libm-test-ulps: Regenerated.
8306         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8307         Comment out the whole function, not just its body.
8309 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8311         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8312         locks.
8314         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8316 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8318         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8319         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8321 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8323         * sysdeps/nptl/futex-internal.h: New file.
8324         * sysdeps/nacl/futex-internal.h: New file.
8325         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8326         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8327         error checking.
8328         (setxid_unmark_thread): Likewise.
8329         (__nptl_setxid): Likewise.
8330         (__wait_lookup_done): Likewise.
8331         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8332         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8333         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8334         * nptl/pthread_once.c (clear_once_control): Likewise.
8335         (__pthread_once_slow): Likewise.
8336         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8337         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8338         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8339         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8340         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8341         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8342         Likewise.
8343         (__pthread_rwlock_rdlock): Likewise.
8344         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8345         Likewise.
8346         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8347         Likewise.
8348         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8349         Likewise.
8350         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8351         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8352         Likewise.
8353         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8354         __ASSUME_PRIVATE_FUTEX check.
8355         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8356         Check that shared futexes are supported.
8357         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8358         wrappers with error checking.
8359         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8360         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8361         * nptl/pthread_barrierattr_setpshared.c
8362         (pthread_barrierattr_setpshared): Check that shared futexes are
8363         supported.
8364         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8365         Likewise.
8366         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8367         Likewise.
8368         * nptl/sem_init.c (futex_private_if_supported): Remove.
8369         (__new_sem_init): Adapt and check that shared futexes are supported.
8370         * nptl/sem_open.c (sem_open): Likewise.
8371         * nptl/sem_post.c (futex_wake): Remove.
8372         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8373         (do_futex_wait): Use futex wrappers with error checking.
8374         * nptl/sem_wait.c: Include lowlevellock.h.
8375         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8376         Use futex_supports_pshared.
8377         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8378         Use futex wrappers with error checking.
8379         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8380         Likewise.
8381         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8382         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8383         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8384         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8385         (futex_wake): Likewise.
8386         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8387         (do_futex_wait): Use futex wrappers with error checking.
8388         (__new_sem_wait_slow): Update EINTR handling.
8389         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8391 2015-07-09  Martin Sebor  <msebor@redhat.com>
8393         [BZ #18435]
8394         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8395         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8396         * nptl/Makefile (test-xfail-tst-once5): Define.
8398 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8400         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8401         * elf/dl-minimal.c: For readability, reorder some definitions and
8402         introduce more page breaks.  Include <stdio.h>.
8403         (__libc_fatal): New function.
8405         * include/unistd.h: Add rtld_hidden_proto for _exit.
8406         * posix/_exit.c: Add rtld_hidden_def.
8407         * sysdeps/mach/hurd/_exit.c: Likewise.
8408         * sysdeps/nacl/_exit.c: Likewise.
8409         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8410         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8412 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8415         bndmov encoding with zero displacement.
8417 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8418             H.J. Lu  <hongjiu.lu@intel.com>
8420         [BZ #18134]
8421         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8422         * sysdeps/i386/configure: Regenerated.
8423         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8424         (_dl_runtime_profile): Save and restore Intel MPX return bound
8425         registers when calling _dl_call_pltexit.  Add
8426         PRESERVE_BND_REGS_PREFIX before return.
8427         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8428         (LRV_BND1_OFFSET): Likewise.
8429         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8430         lrv_bnd1.
8431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8432         typo in bndmov encoding.
8433         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8434         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8435         branch instructions to preserve bounds.
8437 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8440         [GLIBC_2.22]: Add fmemopen.
8442 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8444         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8445         returns an error, also try to use host port from __mach_host_self for
8446         the __vm_wire call.
8447         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8449 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8451         [BZ #18400]
8452         [BZ #18648]
8453         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8454         Fix pr_uid and pr_gid members.
8455         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8456         definition to elf_greg_t.
8458 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8460         [BZ #18383]
8461         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8462         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8463         * sysdeps/arm/configure: Regenerated.
8464         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8465         (test-xfail-tst-tlsalign-static): Variable removed.
8467         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8468         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8469         rather than explicit 'ln -s'.
8471         * resolv/rpc/netdb.h: New file.
8472         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8474 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8476         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8477         length buffers.
8478         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8479         test-skeleton.c.
8481         [BZ #6544]
8482         [BZ #11216]
8483         [BZ #12836]
8484         [BZ #13151]
8485         [BZ #13152]
8486         [BZ #14292]
8487         * include/stdio.h (fmemopen): Remove hidden prototype.
8488         (__fmemopen): Add new hidden prototype.
8489         * libio/Makefile: Add oldfmemopen object.
8490         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8491         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8492         compliance.
8493         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8494         symbol compatibility.
8495         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8496         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8497         fmemopen.
8498         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8499         on append and read mode.
8500         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8501         fmemopen.
8502         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8503         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8504         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8505         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8506         Likewise.
8507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8508         [GLIBC_2.22]: Likewise.
8509         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8510         Likewise.
8511         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8512         Likewise.
8513         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8514         [GLIBC_2.22]: Likewise.
8515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8516         [GLIBC_2.22]: Likewise.
8517         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8518         [GLIBC_2.22]: Likewise.
8519         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8520         [GLIBC_2.22]: Likewise.
8521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8522         [GLIBC_2.22]: Likewise.
8523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8524         [GLIBC_2.22]: Likewise.
8525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8526         [GLIBC_2.22]: Likewise.
8527         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8528         Likewise.
8529         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8532         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8533         [GLIBC_2.22]: Likewise.
8534         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8535         [GLIBC_2.22]: Likewise.
8536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8537         [GLIBC_2.22]: Likewise.
8538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8539         [GLIBC_2.22]: Likewise.
8540         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8541         Likewise.
8542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8543         Likewise.
8544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8545         Likewise.
8546         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8547         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8549 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8551         [BZ #18643]
8552         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8553         IPV6_PATHMTU, and IPV6_DONTFRAG.
8555 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8557         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8558         and _IO_UNBUFFERED.
8559         * libio/oldfileops.c: Likewise.
8560         * libio/wfileops.c: Likewise.
8562 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8564         * nscd/selinux.c: Delete selinux/flask.h include.
8566 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8568         [BZ #18641]
8569         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8570         (putpwent): Likewise.
8571         (getpwnam): Likewise.
8572         (getpwent_r): Likewise.
8573         (getpwuid_r): Likewise.
8574         (getpwnam_r): Likewise.
8575         (fgetpwent_r): Likewise.
8577 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8579         [BZ #18557]
8580         * inet/rcmd.c (__validuser2_sa): Check user first to
8581         short-circuit host check.
8583 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8584             Mikhail Ilin  <m.ilin@samsung.com>
8586         [BZ #17833]
8587         * elf/Makefile (tests): Add tst-nodelete.
8588         (modules-names): Add tst-nodelete-uniquemod.
8589         (tst-nodelete-uniquemod.so-no-z-defs): New.
8590         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8591         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8592         ($(objpfx)tst-nodelete): Likewise.
8593         ($(objpfx)tst-nodelete.out): Likewise.
8594         (LDFLAGS-tst-nodelete): Likewise.
8595         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8596         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8597         implement forced object deletion.
8598         (_dl_close): Pass false to _dl_close_worker.
8599         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8600         * elf/tst-nodelete.cc: New file.
8601         * elf/tst-nodeletelib.cc: Likewise.
8602         * elf/tst-znodeletelib.cc: Likewise.
8603         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8605 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8607         [BZ #18508]
8608         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8609         Depend on $(libdl).
8610         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8611         is not called infinitely times.
8612         (backtrace_helper): New function.
8613         (trace_arg): New struct.
8614         (st1): Enlarge stack size.
8615         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8616         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8617         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8618         Likewise.
8620 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8622         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8624 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8626         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8627         Include sys/types.h instead of bits/types.h.
8628         Remove inclusion of bits/wordsize.h.
8630 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8632         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8633         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8634         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8635         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8636         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8637         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8639 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8641         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8642         link-defines.sym.
8643         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8644         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8645         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8646         and LR_SIZE.
8647         * sysdeps/i386/link-defines.sym: New file.
8649 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8651         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8652         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8653         ($(objpfx)tst-audit3): New rule.
8654         ($(objpfx)tst-audit3.out): Likewise.
8655         * sysdeps/i386/tst-audit3.c: New file.
8656         * sysdeps/i386/tst-audit3.h: Likewise.
8657         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8658         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8660 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8662         [BZ #18633]
8663         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8664         pointer in C code.
8665         (__strcat_c): Likewise.
8666         (__strcat_g): Likewise.
8668 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8670         [BZ #18592]
8671         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8673 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8675         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8676         New function.  (__ieee754_sqrtf): New function.
8677         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8678         New function.
8679         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8680         New function.
8682 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8684         * sysdeps/ieee754/support.c: Remove unused file.
8686 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8688         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8689         registers instead of d ones so the layout is kernel abi compatible.
8690         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8691         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8692         Likewise.
8694 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8696         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8698 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8700         [BZ #18619]
8701         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8702         and return argument in case of subnormal argument.
8704 2015-07-01  Martin Sebor  <msebor@redhat.com>
8706         [BZ #18435]
8707         * nptl/Makefile: Add tst-once5.cc.
8708         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8709         Remove macro redefinitions.
8710         * nptl/tst-once5.cc: New test.
8712 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8714         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8716         * sysdeps/arm/libm-test-ulps: Regenerated.
8718         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8719         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8721 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8723         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8724         lll_lock_wait_private and lll_futex_wake probes.
8726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8727         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8728         Likewise.
8729         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8730         atomic_spin_nop.
8731         * sysdeps/x86_64/bits/atomic.h: Likewise.
8732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8733         to atomic_spin_nop and move ...
8734         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8735         ... here and ...
8736         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8737         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8738         atomic_spin_nop instead of BUSY_WAIT_NOP.
8739         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8740         Likewise.
8741         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8742         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8743         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8744         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8745         instead of atomic_delay.
8747 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8749         [BZ #18613]
8750         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8751         X_ADJ not X when adjusting exponent.
8752         (__ieee754_gamma_r): Do intermediate computations in
8753         round-to-nearest then adjust overflowing and underflowing results
8754         as needed.
8755         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8756         of X_ADJ not X when adjusting exponent.
8757         (__ieee754_gammaf_r): Do intermediate computations in
8758         round-to-nearest then adjust overflowing and underflowing results
8759         as needed.
8760         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8761         log of X_ADJ not X when adjusting exponent.
8762         (__ieee754_gammal_r): Do intermediate computations in
8763         round-to-nearest then adjust overflowing and underflowing results
8764         as needed.  Use 1.0L not 1.0f as numerator of division.
8765         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8766         log of X_ADJ not X when adjusting exponent.
8767         (__ieee754_gammal_r): Do intermediate computations in
8768         round-to-nearest then adjust overflowing and underflowing results
8769         as needed.  Use 1.0L not 1.0f as numerator of division.
8770         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8771         of X_ADJ not X when adjusting exponent.
8772         (__ieee754_gammal_r): Do intermediate computations in
8773         round-to-nearest then adjust overflowing and underflowing results
8774         as needed.  Use 1.0L not 1.0f as numerator of division.
8775         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8776         to auto-libm-test-in.
8777         (tgamma_test): Use ALL_RM_TEST.
8778         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8779         tests of tgamma with spurious-overflow.
8780         * math/auto-libm-test-out: Regenerated.
8781         * math/gen-libm-have-vector-test.sh: Do not check for START.
8782         * sysdeps/i386/fpu/libm-test-ulps: Update.
8783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8785         [BZ #18612]
8786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8787         arguments, just return 0.5 times the argument, with underflow
8788         forced as needed.
8789         * math/auto-libm-test-in: Add more tests of j1.
8790         * math/auto-libm-test-out: Regenerated.
8792         [BZ #16559]
8793         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8794         (__ieee754_j1): Force underflow exception for small results.
8795         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8796         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8797         (__ieee754_j1f): Force underflow exception for small results.
8798         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8799         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8801         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8802         (__ieee754_j1l): Force underflow exception for small results.
8803         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8804         * math/auto-libm-test-in: Add more tests of j1 and jn.
8805         * math/auto-libm-test-out: Regenerated.
8807         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8808         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8809         (PF_MPLS): Likewise.
8810         (AF_IB): Likewise.
8811         (AF_MPLS): Likewise.
8812         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8813         value and macro.
8814         (MS_RMT_MASK): Include MS_LAZYTIME.
8816 2015-06-26  Mel Gorman  <mgorman@suse.de>
8818         [BZ #18502]
8819         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8820         already minimal.
8822 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8824         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8825         (DT_MIPS_NUM): Update.
8826         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8827         DT_MIPS_RLD_MAP_REL.
8829 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8831         [BZ #16559]
8832         [BZ #18602]
8833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8834         round-to-nearest internally then recompute results that
8835         underflowed to zero in the original rounding mode.
8836         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8837         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8840         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8841         * sysdeps/i386/fpu/libm-test-ulps: Update.
8842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8844 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8846         * NEWS: Fixed description of link with vector math library.
8848 2015-06-25  Andreas Schwab  <schwab@suse.de>
8850         [BZ #18549]
8851         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8852         * libio/test-fmemopen.c (do_test): Add test for it.
8854 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8856         [BZ #17841]
8857         * Makeconfig (no-pie-ldflag): New.
8858         (+link): Set to $(+link-pie) if default to PIE.
8859         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8860         * config.make.in (build-pie-default): New.
8861         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8862         is default.  AC_SUBST.
8863         * configure: Regenerated.
8864         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8866 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8868         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8869         to 'unsigned int'.
8871         * resolv/gai_misc.h (struct waitlist): Change type of field
8872         counterp to 'volatile unsigned int *'.
8873         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8874         FUTEXADDR and OLDVAL.
8875         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8876         Give local variable TOTAL type 'volatile unsigned int'.
8877         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8878         * resolv/gai_suspend.c (gai_suspend):
8879         Give local variable CNTR type 'unsigned int'.
8881         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8882         counterp to 'volatile unsigned int *'.
8883         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8884         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8885         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8886         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8887         Give local variable TOTAL type 'volatile unsigned int'.
8888         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8890 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8892         [BZ #18383]
8893         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8894         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8895         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8896         comment for i386/x86-64.
8897         (test-xfail-tst-tlsalign-extern-static): Removed.
8899 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8901         * math/test-double.h: New file.
8902         * math/test-float.h: Likewise.
8903         * math/test-ldouble.h: Likewise.
8904         * math/test-math-inline.h: Likewise.
8905         * math/test-math-no-inline.h: Likewise.
8906         * math/test-math-scalar.h: Likewise.
8907         * math/test-math-vector.h: Likewise.
8908         * math/test-vec-loop.h: Remove file.  Contents moved into
8909         test-math-vector.h.
8910         * math/libm-test.inc (MATHCONST): Do not document macro.
8911         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8912         and test-math-scalar.h.
8913         (FUNC): Remove macro.
8914         (FUNC_TEST): Likewise.
8915         (FLOAT): Likewise.
8916         (MATHCONST): Likewise.
8917         (PRINTF_EXPR): Likewise.
8918         (PRINTF_XEXPR): Likewise.
8919         (PRINTF_NEXPR): Likewise.
8920         (TEST_DOUBLE): Likewise.
8921         (TEST_MATHVEC): Likewise.
8922         (__NO_MATH_INLINES): Likewise.
8923         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8924         and test-math-scalar.h.
8925         (FUNC): Remove macro.
8926         (FUNC_TEST): Likewise.
8927         (FLOAT): Likewise.
8928         (MATHCONST): Likewise.
8929         (PRINTF_EXPR): Likewise.
8930         (PRINTF_XEXPR): Likewise.
8931         (PRINTF_NEXPR): Likewise.
8932         (TEST_FLOAT): Likewise.
8933         (TEST_MATHVEC): Likewise.
8934         (__NO_MATH_INLINES): Likewise.
8935         * math/test-idouble.c: Include test-double.h, test-math-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         (TEST_INLINE): Likewise.
8947         (__NO_MATH_INLINES): Likewise.
8948         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8949         test-math-scalar.h.
8950         (FUNC): Remove macro.
8951         (FUNC_TEST): Likewise.
8952         (FLOAT): Likewise.
8953         (MATHCONST): Likewise.
8954         (PRINTF_EXPR): Likewise.
8955         (PRINTF_XEXPR): Likewise.
8956         (PRINTF_NEXPR): Likewise.
8957         (TEST_FLOAT): Likewise.
8958         (TEST_MATHVEC): Likewise.
8959         (TEST_INLINE): Likewise.
8960         (__NO_MATH_INLINES): Likewise.
8961         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8962         and test-math-scalar.h.
8963         (FUNC): Remove macro.
8964         (FUNC_TEST): Likewise.
8965         (FLOAT): Likewise.
8966         (MATHCONST): Likewise.
8967         (PRINTF_EXPR): Likewise.
8968         (PRINTF_XEXPR): Likewise.
8969         (PRINTF_NEXPR): Likewise.
8970         (TEST_LDOUBLE): Likewise.
8971         (TEST_MATHVEC): Likewise.
8972         (TEST_INLINE): Likewise.
8973         (__NO_MATH_INLINES): Likewise.
8974         * math/test-ldouble.c: Include test-ldouble.h,
8975         test-math-no-inline.h and test-math-scalar.h.
8976         (FUNC): Remove macro.
8977         (FUNC_TEST): Likewise.
8978         (FLOAT): Likewise.
8979         (MATHCONST): Likewise.
8980         (PRINTF_EXPR): Likewise.
8981         (PRINTF_XEXPR): Likewise.
8982         (PRINTF_NEXPR): Likewise.
8983         (TEST_LDOUBLE): Likewise.
8984         (TEST_MATHVEC): Likewise.
8985         (__NO_MATH_INLINES): Likewise.
8986         * math/test-double-vlen2.h: Include test-double.h,
8987         test-math-no-inline.h and test-math-vector.h.
8988         (FLOAT): Remove macro.
8989         (FUNC): Likewise.
8990         (MATHCONST): Likewise.
8991         (PRINTF_EXPR): Likewise.
8992         (PRINTF_XEXPR): Likewise.
8993         (PRINTF_NEXPR): Likewise.
8994         (TEST_DOUBLE): Likewise.
8995         (TEST_MATHVEC): Likewise.
8996         (__NO_MATH_INLINES): Likewise.
8997         (CNCT): Likewise.
8998         (CONCAT): Likewise.
8999         (WRAPPER_NAME): Likewise.
9000         (WRAPPER_DECL): Likewise.
9001         (WRAPPER_DECL_ff): Likewise.
9002         (WRAPPER_DECL_fFF): Likewise.
9003         (VECTOR_WRAPPER): Likewise.
9004         (VECTOR_WRAPPER_ff): Likewise.
9005         (VECTOR_WRAPPER_fFF): Likewise.
9006         (VEC_LEN): New macro.
9007         * math/test-double-vlen4.h: Include test-double.h,
9008         test-math-no-inline.h and test-math-vector.h.
9009         (FLOAT): Remove macro.
9010         (FUNC): Likewise.
9011         (MATHCONST): Likewise.
9012         (PRINTF_EXPR): Likewise.
9013         (PRINTF_XEXPR): Likewise.
9014         (PRINTF_NEXPR): Likewise.
9015         (TEST_DOUBLE): Likewise.
9016         (TEST_MATHVEC): Likewise.
9017         (__NO_MATH_INLINES): Likewise.
9018         (CNCT): Likewise.
9019         (CONCAT): Likewise.
9020         (WRAPPER_NAME): Likewise.
9021         (WRAPPER_DECL): Likewise.
9022         (WRAPPER_DECL_ff): Likewise.
9023         (WRAPPER_DECL_fFF): Likewise.
9024         (VECTOR_WRAPPER): Likewise.
9025         (VECTOR_WRAPPER_ff): Likewise.
9026         (VECTOR_WRAPPER_fFF): Likewise.
9027         (VEC_LEN): New macro.
9028         * math/test-double-vlen8.h: Include test-double.h,
9029         test-math-no-inline.h and test-math-vector.h.
9030         (FLOAT): Remove macro.
9031         (FUNC): Likewise.
9032         (MATHCONST): Likewise.
9033         (PRINTF_EXPR): Likewise.
9034         (PRINTF_XEXPR): Likewise.
9035         (PRINTF_NEXPR): Likewise.
9036         (TEST_DOUBLE): Likewise.
9037         (TEST_MATHVEC): Likewise.
9038         (__NO_MATH_INLINES): Likewise.
9039         (CNCT): Likewise.
9040         (CONCAT): Likewise.
9041         (WRAPPER_NAME): Likewise.
9042         (WRAPPER_DECL): Likewise.
9043         (WRAPPER_DECL_ff): Likewise.
9044         (WRAPPER_DECL_fFF): Likewise.
9045         (VECTOR_WRAPPER): Likewise.
9046         (VECTOR_WRAPPER_ff): Likewise.
9047         (VECTOR_WRAPPER_fFF): Likewise.
9048         (VEC_LEN): New macro.
9049         * math/test-float-vlen4.h: Include test-float.h,
9050         test-math-no-inline.h and test-math-vector.h.
9051         (FLOAT): Remove macro.
9052         (FUNC): Likewise.
9053         (MATHCONST): Likewise.
9054         (PRINTF_EXPR): Likewise.
9055         (PRINTF_XEXPR): Likewise.
9056         (PRINTF_NEXPR): Likewise.
9057         (TEST_FLOAT): Likewise.
9058         (TEST_MATHVEC): Likewise.
9059         (__NO_MATH_INLINES): Likewise.
9060         (CNCT): Likewise.
9061         (CONCAT): Likewise.
9062         (WRAPPER_NAME): Likewise.
9063         (WRAPPER_DECL): Likewise.
9064         (WRAPPER_DECL_ff): Likewise.
9065         (WRAPPER_DECL_fFF): Likewise.
9066         (VECTOR_WRAPPER): Likewise.
9067         (VECTOR_WRAPPER_ff): Likewise.
9068         (VECTOR_WRAPPER_fFF): Likewise.
9069         (VEC_LEN): New macro.
9070         * math/test-float-vlen8.h: Include test-float.h,
9071         test-math-no-inline.h and test-math-vector.h.
9072         (FLOAT): Remove macro.
9073         (FUNC): Likewise.
9074         (MATHCONST): Likewise.
9075         (PRINTF_EXPR): Likewise.
9076         (PRINTF_XEXPR): Likewise.
9077         (PRINTF_NEXPR): Likewise.
9078         (TEST_FLOAT): Likewise.
9079         (TEST_MATHVEC): Likewise.
9080         (__NO_MATH_INLINES): Likewise.
9081         (CNCT): Likewise.
9082         (CONCAT): Likewise.
9083         (WRAPPER_NAME): Likewise.
9084         (WRAPPER_DECL): Likewise.
9085         (WRAPPER_DECL_ff): Likewise.
9086         (WRAPPER_DECL_fFF): Likewise.
9087         (VECTOR_WRAPPER): Likewise.
9088         (VECTOR_WRAPPER_ff): Likewise.
9089         (VECTOR_WRAPPER_fFF): Likewise.
9090         (VEC_LEN): New macro.
9091         * math/test-float-vlen16.h: Include test-float.h,
9092         test-math-no-inline.h and test-math-vector.h.
9093         (FLOAT): Remove macro.
9094         (FUNC): Likewise.
9095         (MATHCONST): Likewise.
9096         (PRINTF_EXPR): Likewise.
9097         (PRINTF_XEXPR): Likewise.
9098         (PRINTF_NEXPR): Likewise.
9099         (TEST_FLOAT): Likewise.
9100         (TEST_MATHVEC): Likewise.
9101         (__NO_MATH_INLINES): Likewise.
9102         (CNCT): Likewise.
9103         (CONCAT): Likewise.
9104         (WRAPPER_NAME): Likewise.
9105         (WRAPPER_DECL): Likewise.
9106         (WRAPPER_DECL_ff): Likewise.
9107         (WRAPPER_DECL_fFF): Likewise.
9108         (VECTOR_WRAPPER): Likewise.
9109         (VECTOR_WRAPPER_ff): Likewise.
9110         (VECTOR_WRAPPER_fFF): Likewise.
9111         (VEC_LEN): New macro.
9112         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9113         test-vec-loop.h.
9114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9117         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9118         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9119         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9120         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9122 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9124         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9125         (__getlogin_r): ... this.
9127 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9129         [BZ #18594]
9130         * math/s_ccosh.c (__ccosh): Compare with least normal value
9131         instead of comparing class with FP_SUBNORMAL.
9132         * math/s_ccoshf.c (__ccoshf): Likewise.
9133         * math/s_ccoshl.c (__ccoshl): Likewise.
9134         * math/s_cexp.c (__cexp): Likewise.
9135         * math/s_cexpf.c (__cexpf): Likewise.
9136         * math/s_cexpl.c (__cexpl): Likewise.
9137         * math/s_csin.c (__csin): Likewise.
9138         * math/s_csinf.c (__csinf): Likewise.
9139         * math/s_csinh.c (__csinh): Likewise.
9140         * math/s_csinhf.c (__csinhf): Likewise.
9141         * math/s_csinhl.c (__csinhl): Likewise.
9142         * math/s_csinl.c (__csinl): Likewise.
9143         * math/s_ctan.c (__ctan): Likewise.
9144         * math/s_ctanf.c (__ctanf): Likewise.
9145         * math/s_ctanh.c (__ctanh): Likewise.
9146         * math/s_ctanhf.c (__ctanhf): Likewise.
9147         * math/s_ctanhl.c (__ctanhl): Likewise.
9148         * math/s_ctanl.c (__ctanl): Likewise.
9149         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9150         csin, csinh, ctan and ctanh.
9151         * math/auto-libm-test-out: Regenerated.
9152         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9153         * sysdeps/i386/fpu/libm-test-ulps: Update.
9154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9158         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9159         return value is wrong, print the expected value too.
9161 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9163         [BZ #18585]
9164         * elf/readlib.c (is_gdb_python_file): New.
9165         (process_file): Don't issue errors on filenames with -gdb.py
9166         suffix.
9168 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9170         * math/auto-libm-test-in: Add more tests of csin and csinh.
9171         * math/auto-libm-test-out: Regenerated.
9172         * math/libm-test.inc (csin_test_data): Remove tests moved to
9173         auto-libm-test-in.
9174         (csinh_test_data): Likewise.
9176         [BZ #18593]
9177         * math/s_csin.c (__csin): Negate before rather than after possibly
9178         overflowing multiplication.
9179         * math/s_csinf.c (__csinf): Likewise.
9180         * math/s_csinh.c (__csinh): Likewise.
9181         * math/s_csinhf.c (__csinhf): Likewise.
9182         * math/s_csinhl.c (__csinhl): Likewise.
9183         * math/s_csinl.c (__csinl): Likewise.
9184         * math/auto-libm-test-in: Add some tests of csin and csinh.
9185         * math/auto-libm-test-out: Regenerated.
9186         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9187         (csinh_test_data): Likewise.
9188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9190         [BZ #18586]
9191         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9192         underflow exception for small results.
9194 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9196         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9197         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9198         variable and included header.
9199         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9200         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9201         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9202         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9203         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9207         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9208         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9209         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9210         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9211         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9212         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9213         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9214         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9216 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9218         [BZ #16526]
9219         [BZ #16538]
9220         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9221         (__sin): Force underflow exception for arguments with small
9222         absolute value.
9223         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9224         (__kernel_sinf): Force underflow exception for arguments with
9225         small absolute value.
9226         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9227         (__kernel_sincosl): Force underflow exception for arguments with
9228         small absolute value.
9229         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9230         (__kernel_sinl): Force underflow exception for arguments with
9231         small absolute value.
9232         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9233         (__kernel_sincosl): Force underflow exception for arguments with
9234         small absolute value.
9235         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9236         (__kernel_sinl): Force underflow exception for arguments with
9237         small absolute value.
9238         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9239         (__kernel_sinl): Force underflow exception for arguments with
9240         small absolute value.
9241         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9242         (__kernel_sinf): Force underflow exception for arguments with
9243         small absolute value.
9244         * math/auto-libm-test-in: Add more tests of sin and sincos.
9245         * math/auto-libm-test-out: Regenerated.
9247         [BZ #18245]
9248         [BZ #18583]
9249         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9250         (__kernel_standard_l): Use feholdexcept and fesetenv around
9251         conversion to double instead of special-casing overflow and
9252         underflow.
9253         * math/libm-test.inc (fmod_test_data): Add more tests.
9254         (remainder_test_data): Likewise.
9255         (sqrt_test_data): Likewise.
9257 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9259         [BZ #17403]
9260         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9261         atomic_read_barrier, atomic_write_barrier): Define.
9262         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9263         atomic_read_barrier, atomic_write_barrier): Define.
9265 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9267         * math/Makefile [$(PERL) != no]
9268         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9269         dependency on libm-test.stmp below the inclusion of Rules.
9271 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9273         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9274         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9275         and included header.
9276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9284         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9285         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9286         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9287         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9288         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9289         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9290         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9291         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9292         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9293         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9294         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9296 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9298         [BZ #18371]
9299         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9300         intermediate but not final result might underflow.
9301         * math/s_csqrtf.c (__csqrtf): Likewise.
9302         * math/s_csqrtl.c (__csqrtl): Likewise.
9303         * math/auto-libm-test-in: Add more tests of csqrt.
9304         * math/auto-libm-test-out: Regenerated.
9305         * sysdeps/i386/fpu/libm-test-ulps: Update.
9307         [BZ #18219]
9308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9309         threshold on absolute value of exponent for which scaling is used.
9310         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9311         * math/auto-libm-test-in: Add more tests of exp2.
9312         * math/auto-libm-test-out: Regenerated.
9314 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9316         [BZ #17977]
9317         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9318         when initializing interface list, based on the bug analysis
9319         and the patch proposed by Eric Newton.
9320         * resolv/tst-res_hconf_reorder.c: New test.
9321         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9322         tst-res_hconf_reorder.
9323         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9324         and $(shared-thread-library).
9325         (tst-res_hconf_reorder-ENV): New variable.
9327         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9328         in comment.
9330 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9332         [BZ #16353]
9333         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9334         (__expm1): Force underflow exception for arguments with small
9335         absolute value.
9336         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9337         (__expm1f): Force underflow exception for arguments with small
9338         absolute value.
9339         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9340         (__expm1): Force underflow exception for arguments with small
9341         absolute value.
9342         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9343         (__expm1f): Force underflow exception for arguments with small
9344         absolute value.
9345         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9346         Check for small arguments before calling __expm1.
9347         * math/auto-libm-test-in: Do not mark underflow exceptions as
9348         possibly missing for bug 16353.
9349         * math/auto-libm-test-out: Regenerated.
9351 2015-06-22  Andreas Schwab  <schwab@suse.de>
9353         [BZ #18513]
9354         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9355         PTR queries.
9357 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9359         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9361         * string/strcoll_l.c: Remove unused struct element idxnow.
9363 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9365         [BZ #18569]
9366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9367         underflow and return argument in case of subnormal argument.
9368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9369         Likewise.
9370         * math/auto-libm-test-in: Add more tests of expm1.
9371         * math/auto-libm-test-out: Regenerated.
9373         [BZ #16361]
9374         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9375         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9376         tiny results.
9377         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9378         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9379         tiny results.
9380         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9381         mark underflow exceptions as possibly missing for bug 16361.
9382         * math/auto-libm-test-out: Regenerated.
9384 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9386         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9387         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9388         Remove variable.
9389         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9390         (test-xfail-XOPEN2K8/utmpx.h/conform).
9392         * conform/conformtest.pl ($xerrors): New variable.
9393         (note_error): New function.
9394         (compiletest): New argument $xfail.  Use not_error.
9395         (runtest): Likewise.
9396         (top level): Handle xfail- lines.  Update calls to compiletest and
9397         runtest.  Handle xfail- and optional- in headers listed with
9398         allow-header.
9399         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9400         (O_EXEC): Likewise.
9401         (O_SEARCH): Likewise.
9402         * conform/data/stropts.h-data (ioctl): Likewise.
9403         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9404         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9405         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9406         (msghdr.msg_controllen): Likewise.
9407         (cmsghdr.cmsg_len): Likewise.
9408         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9409         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9410         variable.
9411         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9412         (test-xfail-XPG4/stropts.h/conform): Likewise.
9413         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9414         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9415         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9416         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9417         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9418         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9419         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9420         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9421         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9422         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9423         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9424         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9425         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9426         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9427         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9428         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9429         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9430         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9431         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9433 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9435         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9436         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9437         definitions for proper unfolding of __MATHDECL_VEC.
9439 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9441         * benchtests/bench-strcoll.c:
9442         Include string.h.
9443         (main): Remove unused variable res.
9445 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9447         * timezone/Makefile (%/UTC %/Universal):
9448         Generate test-result files for UTC and Universal.
9450 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9452         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9454 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9456         [BZ #16350]
9457         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9458         for arguments with small absolute value.
9459         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9460         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9461         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9462         (__asinh): Force underflow exception for arguments with small
9463         absolute value.
9464         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9465         (__asinhf): Force underflow exception for arguments with small
9466         absolute value.
9467         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9468         (__asinhl): Force underflow exception for arguments with small
9469         absolute value.
9470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9471         (__asinhl): Force underflow exception for arguments with small
9472         absolute value.
9473         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9474         (__asinhl): Force underflow exception for arguments with small
9475         absolute value.
9476         * math/auto-libm-test-in: Do not mark underflow exceptions as
9477         possibly missing for bug 16350.
9478         * math/auto-libm-test-out: Regenerated.
9480         * include/bits/ipc.h: Remove file.
9481         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9482         variable.
9483         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9484         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9485         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9486         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9487         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9488         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9489         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9490         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9491         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9493         * math/auto-libm-test-in: Remove spurious underflow allowance for
9494         tests of cexp.
9495         * math/auto-libm-test-out: Regenerated.
9497         [BZ #18558]
9498         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9499         unconditional definition.
9500         (MCAST_BLOCK_SOURCE): Likewise.
9501         (MCAST_UNBLOCK_SOURCE): Likewise.
9502         (MCAST_LEAVE_GROUP): Likewise.
9503         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9504         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9505         (MCAST_MSFILTER): Likewise.
9506         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9507         Remove variable.
9508         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9509         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9510         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9511         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9512         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9514 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9516         * NEWS: Mention addition of x86_64 vector sincosf.
9517         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9518         * math/test-float-vlen4.h: Likewise.
9519         * math/test-float-vlen8.h: Likewise.
9520         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9521         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9523         * sysdeps/x86_64/fpu/Versions: New versions added.
9524         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9525         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9526         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9527         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9528         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9529         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9530         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9532         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9533         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9534         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9535         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9536         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9537         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9538         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9539         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9540         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9541         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9542         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9543         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9544         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9545         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9546         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9547         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9549         * NEWS: Mention addition of x86_64 vector sincos.
9550         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9551         * math/math.h (__MATHDECL_VEC): New macro.
9552         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9553         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9554         declaration under condition.
9555         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9556         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9557         TEST_VEC_LOOP change.
9558         * math/test-double-vlen4.h: Likewise.
9559         * math/test-double-vlen8.h: Likewise.
9560         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9561         * math/test-float-vlen4.h: Likewise.
9562         * math/test-float-vlen8.h: Likewise.
9563         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9564         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9565         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9566         * sysdeps/x86_64/fpu/Versions: New versions added.
9567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9568         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9569         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9570         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9572         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9576         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9577         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9578         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9579         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9580         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9581         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9582         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9583         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9584         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9586         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9587         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9588         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9589         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9590         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9594         redirections for powf.
9595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9596         * sysdeps/x86_64/fpu/Versions: New versions added.
9597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9600         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9601         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9602         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9603         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9604         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9605         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9607         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9608         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9609         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9610         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9611         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9612         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9613         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9614         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9616         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9620         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9621         * math/test-float-vlen16.h: Fixed 2 argument macro.
9622         * math/test-float-vlen4.h: Likewise.
9623         * math/test-float-vlen8.h: Likewise.
9624         * NEWS: Mention addition of x86_64 vector powf.
9626 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9628         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9629         and redefine.
9630         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9631         and redefine.
9632         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9636         [BZ #18553]
9637         * resource/getpriority.c (getpriority): Rename to __getpriority
9638         and define as weak alias of __getpriority.
9639         * resource/setpriority.c (setpriority): Rename to __setpriority
9640         and define as weak alias of __setpriority.
9641         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9642         __getpriority and define as weak alias of __getpriority.
9643         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9644         __setpriority and define as weak alias of __setpriority.
9645         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9646         strong name.
9647         (setpriority): Use __setpriority as strong name.
9648         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9649         __getpriority and define as weak alias of __getpriority.
9650         * include/sys/resource.h (__getpriority): Declare.  Use
9651         libc_hidden_proto.
9652         (__setpriority): Likewise.
9653         (getpriority): Don't use libc_hidden_proto.
9654         (setpriority): Likewise.
9655         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9656         getpriority.  Call __setpriority instead of setpriority.
9657         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9658         Remove variable.
9660         [BZ #18547]
9661         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9662         as weak alias of __getttynam.  Use prototype function definition.
9663         Call __setttyent, __getttyent and __endttyent instead of
9664         setttyent, getttyent and endttyent.
9665         (getttyent): Rename to __getttyent and define as weak alias of
9666         __getttyent.  Call __setttyent instead of setttyent.  Call
9667         __fgets_unlocked instead of fgets_unlocked.
9668         (setttyent): Rename to __setttyent and define as weak alias of
9669         __setttyent.
9670         (endttyent): Rename to __endttyent and define as weak alias of
9671         __endttyent.
9672         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9673         (__setttyent): Likewise.
9674         (__endttyent): Likewise.
9675         (getttyent): Don't use libc_hidden_proto.
9676         (setttyent): Likewise.
9677         (endttyent): Likewise.
9678         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9679         __endttyent instead of setttyent, getttyent and endttyent.
9680         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9681         Remove variable.
9683         [BZ #18546]
9684         * socket/recv.c (__recv): Use libc_hidden_def.
9685         * socket/socket.c (__socket): Likewise.
9686         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9687         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9688         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9689         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9690         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9691         libc_hidden_def.
9692         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9693         libc_hidden_weak.
9694         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9695         Use libc_hidden_proto.
9696         (__recv): Likewise.
9697         * socket/Versions (libc): Export __recv and __socket at version
9698         GLIBC_PRIVATE.
9699         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9700         instead of recv.
9701         (init_mq_netlink): Call __socket instead of socket.
9702         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9703         Remove variable.
9705         [BZ #18545]
9706         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9707         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9708         hidden_weak.
9709         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9710         define as alias of __mq_timedsend.  Use hidden_weak.
9711         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9712         __mq_timedsend as strong name.
9713         (mq_timedreceive): Use __mq_timedreceive as strong name.
9714         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9715         (__mq_timedreceive): Likewise.
9716         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9717         __mq_timedreceive instead of mq_timedreceive.
9718         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9719         instead of mq_timedsend.
9720         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9721         Remove variable.
9723         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9724         hidden_def and hidden_weak instead of libc_hidden_def and
9725         libc_hidden_weak.
9726         (top level): Refer to hidden_def in comment.
9727         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9728         macro.  Use it instead of libc_hidden_def.
9729         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9730         specify __GI_* name explicitly.
9731         (mq_timedreceive): Likewise.
9732         (mq_setattr): Likewise.
9734         [BZ #18544]
9735         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9736         __pthread_barrier_init and define as weak alias of
9737         __pthread_barrier_init.
9738         * sysdeps/sparc/nptl/pthread_barrier_init.c
9739         (pthread_barrier_init): Likewise.
9740         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9741         __pthread_barrier_wait and define as weak alias of
9742         __pthread_barrier_wait.
9743         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9744         (pthread_barrier_wait): Likewise.
9745         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9746         (pthread_barrier_wait): Likewise.
9747         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9748         (pthread_barrier_wait): Likewise.
9749         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9750         (pthread_barrier_wait): Likewise.
9751         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9752         __pthread_barrier_wait at version GLIBC_PRIVATE.
9753         * include/pthread.h (__pthread_barrier_init): Declare.
9754         (__pthread_barrier_wait): Likewise.
9755         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9756         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9757         (helper_thread): Likewise.
9758         (init_mq_netlink): Call __pthread_barrier_init instead of
9759         pthread_barrier_init.
9761         [BZ #18542]
9762         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9763         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9764         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9765         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9766         vswscanf.
9767         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9768         Remove variable.
9770         [BZ #18540]
9771         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9772         strong alias of _IO_fflush.  Use libc_hidden_def.
9773         * libio/iofflush_u.c (fflush_unlocked): Rename to
9774         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9775         Use libc_hidden_weak.
9776         * include/stdio.h (__fflush_unlocked): Declare.  Use
9777         libc_hidden_proto.
9778         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9779         fflush_unlocked.
9780         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9781         Remove variable.
9783         [BZ #18539]
9784         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9785         define as weak alias of __addseverity.
9786         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9787         Remove variable.
9788         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9789         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9790         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9792         [BZ #18536]
9793         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9794         (__tfind): Likewise.
9795         (__tdelete): Likewise.
9796         (__twalk): Likewise.
9797         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9798         __twalk to GLIBC_PRIVATE.
9799         * include/search.h (__tsearch): Use libc_hidden_proto.
9800         (__tfind): Likewise.
9801         (__tdelete): Likewise.
9802         (__twalk): Likewise.
9803         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9804         Call __tdelete instead of tdelete.
9805         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9806         tfind.  Call __tsearch instead of tsearch.
9807         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9808         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9809         Remove variable.
9810         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9812         [BZ #18534]
9813         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9814         (dprintf): Define as a weak alias of __dprintf, not a strong
9815         alias.
9816         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9817         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9818         dprintf.
9819         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9820         Remove variable.
9821         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9822         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9824         [BZ #18533]
9825         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9826         not a strong alias.
9827         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9828         Remove variable.
9830         [BZ #18532]
9831         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9832         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9833         (in6addr_loopback): Rename to __in6addr_loopback and define as
9834         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9835         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9836         libc_hidden_proto.
9837         (__in6addr_any): Likewise.
9838         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9839         in6addr_any.
9840         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9841         variable.
9842         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9844 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9846         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9847         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9848         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9850         redirections for pow.
9851         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9852         * sysdeps/x86_64/fpu/Versions: New versions added.
9853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9854         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9855         build of SSE, AVX2 and AVX512 IFUNC versions.
9856         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9858         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9860         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9863         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9864         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9865         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9866         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9867         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9868         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9869         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9870         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9871         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9873         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9874         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9875         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9876         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9877         * NEWS: Mention addition of x86_64 vector pow.
9879         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9880         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9881         redirections for expf.
9882         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9883         * sysdeps/x86_64/fpu/Versions: New versions added.
9884         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9885         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9886         build of SSE, AVX2 and AVX512 IFUNC versions.
9887         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9888         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9890         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9892         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9893         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9894         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9895         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9896         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9897         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9898         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9899         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9900         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9901         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9902         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9903         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9904         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9905         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9906         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9907         * NEWS: Mention addition of x86_64 vector expf.
9909         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9910         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9913         redirections for exp.
9914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9915         * sysdeps/x86_64/fpu/Versions: New versions added.
9916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9918         build of SSE, AVX2 and AVX512 IFUNC versions.
9919         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9920         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9921         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9922         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9923         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9924         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9925         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9926         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9927         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9928         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9929         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9930         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9931         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9932         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9933         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9935         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9936         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9937         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9938         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9939         * NEWS: Mention addition of x86_64 vector exp.
9941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9942         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9943         redirections for logf.
9944         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9945         * sysdeps/x86_64/fpu/Versions: New versions added.
9946         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9947         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9948         build of SSE, AVX2 and AVX512 IFUNC versions.
9949         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9950         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9951         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9952         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9953         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9955         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9956         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9957         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9958         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9959         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9960         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9961         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9962         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9963         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9964         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9965         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9966         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9967         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9968         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9969         * NEWS: Mention addition of x86_64 vector logf.
9971         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9972         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9975         redirections for log.
9976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9977         * sysdeps/x86_64/fpu/Versions: New versions added.
9978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9980         build of SSE, AVX2 and AVX512 IFUNC versions.
9981         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9982         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9983         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9984         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9985         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9986         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9987         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9988         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9989         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9990         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9991         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9992         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9994         test.
9995         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9999         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10001         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10002         * NEWS: Mention addition of x86_64 vector log.
10004 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10006         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10007         cfi_adjust_cfa_offset argument.
10008         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10009         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10011         [BZ #18034]
10012         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10013         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10014         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10015         ordering using ldar.
10016         (_dl_tlsdesc_dynamic): Likewise.
10017         (_dl_tlsdesc_return_lazy): Likewise.
10018         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10019         relaxed atomics instead of volatile and synchronize with release store.
10020         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10021         volatile.
10022         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10024 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10026         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10027         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10028         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10029         * sysdeps/x86_64/fpu/Versions: New versions added.
10030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10032         build of SSE, AVX2 and AVX512 IFUNC versions.
10033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10036         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10038         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10039         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10040         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10041         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10042         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10043         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10044         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10045         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10046         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10047         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10048         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10051         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10052         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10053         * NEWS: Mention addition of x86_64 vector sinf.
10055 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10057         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10058         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10059         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10060         Remove variable.
10061         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10062         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10064 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10066         [BZ #18530]
10067         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10068         strong alias of _IO_fputs.  Use libc_hidden_def.
10069         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10070         and define as weak alias of __fputs_unlocked.  Use
10071         libc_hidden_weak.
10072         * include/stdio.h (__fputs_unlocked): Declare.  Use
10073         libc_hidden_proto.
10074         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10075         fputs_unlocked.
10077         [BZ #18529]
10078         * resolv/netdb.h [__USE_POSIX]: Change condition to
10079         [__USE_XOPEN2K].
10080         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10081         not expect.
10082         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10083         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10084         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10085         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10086         [XPG4 || UNIX98] (AI_ALL): Likewise.
10087         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10088         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10089         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10090         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10091         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10092         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10093         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10094         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10095         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10096         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10097         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10098         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10099         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10100         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10101         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10102         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10103         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10104         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10105         [XPG4 || UNIX98] (gai_strerror): Likewise.
10106         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10107         [XPG4 || UNIX98] (getnameinfo): Likewise.
10109         [BZ #18528]
10110         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10111         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10112         __USE_XOPEN2K8].
10113         (getgrent): Likewise.
10114         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10115         expect.
10116         [XPG3 || POSIX2008] (endgrent): Likewise.
10117         [XPG3] (setgrent): Likewise.
10118         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10119         variable.
10120         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10122         [BZ #18527]
10123         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10124         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10125         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10126         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10127         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10128         * include/unistd.h (__getlogin_r): Declare.  Use
10129         libc_hidden_proto.
10130         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10131         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10132         variable.
10133         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10134         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10135         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10137 2015-06-12  Martin Sebor  <msebor@redhat.com>
10139         [BZ #18512]
10140         * Makerules (check-install-supported): New target.
10141         (install): Add check-install-supported as a dependency.
10142         * manual/install.texi (Installing the C Library): Document
10143         that overriding prefix and exec_prefix is not supported.
10144         Mention DESTDIR.
10145         * INSTALL: Regenerate from the above.
10147 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10149         [BZ #18519]
10150         * posix/Versions (libc): Export __libc_pread at version
10151         GLIBC_PRIVATE.
10152         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10153         instead of pread.
10154         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10155         variable.
10157         [BZ #18522]
10158         * misc/efgcvt_r.c
10159         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10160         (cvt_symbol): Use weak_alias instead of strong_alias.
10161         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10162         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10163         Remove variable.
10164         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10165         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10167         [BZ #18520]
10168         * inet/herrno.c (h_errno): Rename to __h_errno.
10169         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10170         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10171         to __h_errno instead of h_errno.
10172         * nptl/herrno.c (h_errno): Rename to __h_errno.
10173         (__h_errno_location): Refer to __h_errno not h_errno.
10174         * resolv/Versions (h_errno): Rename to __h_errno.
10175         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10176         Remove variable.
10177         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10179 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10181         * configure.ac: More strict check for AVX512 assembler support.
10182         * configure: Regenerated.
10184         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10185         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10186         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10187         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10189         * sysdeps/x86_64/fpu/Versions: New versions added.
10190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10191         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10192         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10196         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10197         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10199         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10200         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10201         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10202         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10203         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10204         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10206         test.
10207         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10209         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10210         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10211         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10212         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10213         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10214         * NEWS: Mention addition of x86_64 vector sin.
10216 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10218         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10219         comment.
10221 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10223         [BZ #18479]
10224         * nptl/pt-interp.c: New file.
10225         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10226         Add pt-interp.
10227         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10228         $(common-objpfx)runtime-linker.h.
10230 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10232         * Makeconfig (+interp): Remove unused variable.
10233         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10234         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10235         $(elf-objpfx)runtime-linker.h.
10236         ($(elf-objpfx)runtime-linker.h): Rename to
10237         $(common-objpfx)runtime-linker.h and move ...
10238         * Makerules [$(build-shared) = yes]: ... here.
10239         * elf/interp.c: Include <runtime-linker.h> instead of
10240         <elf/runtime-linker.h>.
10242 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10244         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10245         (__gettimeofday_syscall): Remove vsyscall fallback.
10246         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10247         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10248         Add syscall fallback function.
10249         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10250         if vDSO is not present.
10251         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10252         fallback function.
10253         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10254         present.
10255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10256         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10258 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #18497]
10261         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10262         of wcscmp.
10263         (wcscmp): Define as weak alias of WCSCMP.
10264         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10265         wcscoll.
10266         (USE_HIDDEN_DEF): Define.
10267         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10268         __wcscoll.  Don't use libc_hidden_weak.
10269         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10270         wcscmp.
10271         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10272         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10273         __GI_wcscmp.
10274         (weak_alias): Undefine and redefine.
10275         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10276         __wcscmp and define as weak alias of __wcscmp.
10277         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10278         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10279         (__wcscoll): Likewise.
10280         (wcscmp): Don't use libc_hidden_proto.
10281         (wcscoll): Likewise.
10282         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10283         wcscoll.
10284         * posix/regexec.c (check_node_accept_bytes): Likewise.
10285         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10286         variable.
10287         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10288         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10290         [BZ #18507]
10291         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10292         __fstatvfs and define as weak alias of __fstatvfs.  Use
10293         libc_hidden_weak.
10294         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10295         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10296         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10297         Define as alias of __fstatvfs, not fstatvfs.
10298         (fstatvfs64): Likewise.
10299         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10300         Define as alias of __statvfs, not statvfs.
10301         (statvfs64): Likewise.
10302         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10303         Remove variable.
10305 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10308         (HAVE_GETCPU_VSYSCALL): Define.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10310         (HAVE_GETCPU_VSYSCALL): Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10312         * sysdeps/unix/sysv/linux/sched_getcpu.c
10313         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10314         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10315         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10316         prototype.
10317         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10318         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10319         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10321         Define.
10322         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10323         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10324         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10327 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10329         * sysdeps/x86_64/fpu/Makefile: New file.
10330         * sysdeps/x86_64/fpu/Versions: New file.
10331         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10332         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10333         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10334         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10335         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10336         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10337         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10338         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10342         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10345         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10346         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10347         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10348         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10349         * sysdeps/x86_64/configure: Regenerated.
10350         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10352         * manual/install.texi (Configuring and compiling): Document
10353         --disable-mathvec.
10354         * INSTALL: Regenerated.
10355         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10357         * math/Makefile: Added rules for vector tests.
10358         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10359         declaration under condition.
10360         * math/test-double-vlen2.h: New file.
10361         * math/test-double-vlen4.h: New file.
10362         * math/test-double-vlen8.h: New file.
10363         * math/test-vec-loop.h: Added initialization macro.
10364         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10366         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10367         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10368         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10369         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10370         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10371         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10372         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10373         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10374         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10376         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10377         * sysdeps/x86_64/fpu/Versions: New versions added.
10378         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10380         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10381         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10382         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10383         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10385         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10386         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10387         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10388         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10389         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10390         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10391         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10392         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10393         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10394         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10395         * NEWS: Mention addition of x86_64 vector cosf.
10397         * math/Makefile: Added CFLAGS for new tests.
10398         * math/test-float-vlen16.h: New file.
10399         * math/test-float-vlen4.h: New file.
10400         * math/test-float-vlen8.h: New file.
10401         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10402         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10404         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10405         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10406         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10407         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10408         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10410         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10411         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10413 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10415         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10416         * locale/programs/ld-ctype.c: Likewise.
10418 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10420         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10421         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10422         bit_ZMM16_31_state): New macro.
10423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10424         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10426 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10428         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10430 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10432         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10434 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #18498]
10437         * libio/memstream.c (open_memstream): Rename to __open_memstream
10438         and define as weak alias of __open_memstream.
10439         * include/stdio.h (__open_memstream): Declare.  Use
10440         libc_hidden_proto.
10441         (open_memstream): Don't use libc_hidden_proto.
10442         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10443         open_memstream.
10444         * posix/getopt.c (_getopt_internal_r): Likewise.
10445         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10446         variable.
10447         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10448         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10449         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10451         [BZ #18496]
10452         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10453         instead of wcrtomb.
10455         [BZ #18483]
10456         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10457         [__USE_XOPEN2K8].  Remove redundant #endif.
10458         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10459         Remove redundant #if.
10460         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10461         Remove variable.
10462         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10463         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10465         [BZ #18495]
10466         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10467         (__iswlower): Likewise.
10468         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10469         (__iswlower): Likewise.
10470         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10471         instead of towlower.
10472         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10473         instead of iswlower.  Call __towupper instead of towupper.
10474         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10475         instead of iswalnum.
10477 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10479         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10480         errors to stderr.
10482 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10484         [BZ #15661]
10485         [BZ #17322]
10486         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10487         Check for overflow properly.  Check for O_APPEND.  Ignore large
10488         file system block sizes.  Add comments about problems.
10489         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10490         * manual/filesys.texi (Storage Allocation): New node.
10492 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10494         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10495         cancellable syscalls.
10496         (SYS_ify): Add guard to no redefine it.
10497         (INLINE_SYSCALL): Likewise.
10498         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10499         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10500         SYSCALL_CANCEL instead.
10501         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10502         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10503         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10504         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10505         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10506         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10507         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10508         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10509         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10510         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10511         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10512         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10513         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10514         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10515         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10517         Likewise.
10518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10519         (__libc_pread64): Likewise.
10520         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10521         (__libc_preadv): Likewise.
10522         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10523         (__libc_readv64): Likewise.
10524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10525         (__libc_pwrite): Likewise.
10526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10527         (__libc_pwrite64): Likewise.
10528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10529         (__libc_pwritev): Likewise.
10530         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10531         (__libc_pwritev64): Likewise.
10532         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10533         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10534         (sync_file_range): Likewise.
10535         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10536         Likewise.
10537         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10538         Likewise.
10539         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10540         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10541         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10542         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10543         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10544         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10545         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10546         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10548         Likewise.
10549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10550         (__libc_read64): Likewise.
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10552         Likewise.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10554         Likewise.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10556         Likewise.
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10558         Likewise.
10559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10560         (__libc_pread64): Likewise.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10562         Likewise.
10563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10564         (__libc_pwrite64): Likewise.
10565         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10566         (sync_file_range): Likewise.
10567         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10568         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10569         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10570         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10571         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10572         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10573         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10574         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10575         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10576         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10577         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10578         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10579         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10580         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10581         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10582         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10583         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10584         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10585         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10588         Likewise.
10589         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10590         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10593         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10594         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10595         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10596         Likewise.
10597         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10598         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10599         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10600         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10601         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10603 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10605         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10606         Include dl-vdso.
10607         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10608         Use VDSO routines for gettimeofday, clock_gettime if
10609         available.
10610         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10611         Declare VDSO symbols.
10612         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10613         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10614         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10615         * sysdeps/unix/sysv/linux/arm/Versions: Add
10616         __vdso_clock_gettime.
10618 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10620         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10621         be an inline implementation regardless of library is built within.
10622         (open_not_cancel_2): Likewise.
10623         (__read_nocancel): Likewise.
10624         (__write_nocancel): Likewise.
10625         (openat_not_cancel): Likewise.
10626         (openat_not_cancel_3): Likewise.
10627         (openat64_not_cancel): Likewise.
10628         (openat64_not_cancel_3): Likewise.
10629         (__close_nocancel): Likewise.
10630         (pause_not_cancel): Likewise.
10631         (nanosleep_not_cancel): Likewise.
10632         (sigsuspend_not_cancel): Likewise.
10634 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10636         [BZ #14958]
10637         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10638         wake-up.
10639         (__pthread_rwlock_rdlock_slow): Likewise.
10640         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10641         Likewise.
10642         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10643         Likewise.
10644         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10645         * nptl/tst-rwlock16.c: New file.
10646         * nptl/Makefile (tests): Add new test.
10648 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10650         [BZ #18324]
10651         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10652         missing wake-up of readers.
10653         * nptl/tst-rwlock15.c: New file.
10654         * nptl/Makefile (tests): Add new test.
10656 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10658         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10659         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10660         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10661         and __nacl_supply_interface_rtld.
10662         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10663         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10664         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10665         Add __nacl_supply_interface_rtld.
10666         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10668 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10670         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10671         isfinite.
10672         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10673         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10675 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10677         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10678         __signbit* with standard C99 macros.
10679         * math/e_exp10l.c: Likewise.
10680         * math/e_exp2l.c: Likewise.
10681         * math/e_scalb.c: Likewise.
10682         * math/e_scalbf.c: Likewise.
10683         * math/e_scalbl.c: Likewise.
10684         * math/s_ldexp.c: Likewise.
10685         * math/s_ldexpf.c: Likewise.
10686         * math/s_ldexpl.c: Likewise.
10687         * math/w_atan2.c: Likewise.
10688         * math/w_atan2f.c: Likewise.
10689         * math/w_atan2l.c: Likewise.
10690         * math/w_cosh.c: Likewise.
10691         * math/w_coshf.c: Likewise.
10692         * math/w_coshl.c: Likewise.
10693         * math/w_exp10.c: Likewise.
10694         * math/w_exp10f.c: Likewise.
10695         * math/w_exp10l.c: Likewise.
10696         * math/w_exp2.c: Likewise.
10697         * math/w_exp2f.c: Likewise.
10698         * math/w_exp2l.c: Likewise.
10699         * math/w_fmod.c: Likewise.
10700         * math/w_fmodf.c: Likewise.
10701         * math/w_fmodl.c: Likewise.
10702         * math/w_hypot.c: Likewise.
10703         * math/w_hypotf.c: Likewise.
10704         * math/w_hypotl.c: Likewise.
10705         * math/w_jnl.c: Likewise.
10706         * math/w_lgamma.c: Likewise.
10707         * math/w_lgamma_r.c: Likewise.
10708         * math/w_lgammaf.c: Likewise.
10709         * math/w_lgammaf_r.c: Likewise.
10710         * math/w_lgammal.c: Likewise.
10711         * math/w_lgammal_r.c: Likewise.
10712         * math/w_pow.c: Likewise.
10713         * math/w_powf.c: Likewise.
10714         * math/w_powl.c: Likewise.
10715         * math/w_remainder.c: Likewise.
10716         * math/w_remainderf.c: Likewise.
10717         * math/w_remainderl.c: Likewise.
10718         * math/w_scalb.c: Likewise.
10719         * math/w_scalbf.c: Likewise.
10720         * math/w_scalbl.c: Likewise.
10721         * math/w_scalbln.c: Likewise.
10722         * math/w_scalblnf.c: Likewise.
10723         * math/w_scalblnl.c: Likewise.
10724         * math/w_sinh.c: Likewise.
10725         * math/w_sinhf.c: Likewise.
10726         * math/w_sinhl.c: Likewise.
10727         * math/w_tgamma.c: Likewise.
10728         * math/w_tgammaf.c: Likewise.
10729         * math/w_tgammal.c: Likewise.
10730         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10731         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10732         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10736         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10737         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10738         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10739         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10740         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10741         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10742         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10743         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10744         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10745         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10746         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10747         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10748         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10757         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10758         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10759         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10760         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10761         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10762         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10763         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10764         * stdio-common/printf_fp.c: Likewise.
10765         * stdio-common/printf_fphex.c: Likewise.
10766         * stdio-common/printf_size.c: Likewise.
10768 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10770         [BZ #18470]
10771         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10772         strnlen.
10773         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10774         Remove variable.
10775         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10776         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10777         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10778         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10779         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10780         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10781         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10782         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10783         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10784         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10786         [BZ #18468]
10787         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10788         weak alias of __wmemchr.  Use libc_hidden_weak.
10789         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10790         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10791         instead of wmemchr.
10793 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10795         [BZ #18383]
10796         * elf/tst-tlsalign-extern.c: New file.
10797         * elf/tst-tlsalign-extern-static.c: New file.
10798         * elf/tst-tlsalign-vars.c: New file.
10799         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10800         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10801         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10802         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10803         (test-xfail-tst-tlsalign-extern-static): New variable.
10805 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10807         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10808         Use variable name _sc_err instead of err.
10809         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10810         instead of ret.
10811         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10812         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10813         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10814         (INLINE_SYSCALL): Likewise.
10816         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10817         * include/string.h (__strnlen): Use libc_hidden_proto.
10818         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10819         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10820         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10821         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10822         (libc_hidden_def): Undefine and redefine.
10823         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10824         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10825         __GI_strnlen.
10826         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10827         libc_hidden_def.
10828         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10830         [BZ #18469]
10831         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10832         weak alias of __towlower.  Use libc_hidden_weak.
10833         (towupper): Rename to __towupper and define as weak alias of
10834         __towupper.  Use libc_hidden_weak.
10835         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10836         (__towupper): Likewise.
10837         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10838         __towlower instead of towlower.
10840 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10842         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10843         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10845 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10847         * sysdeps/aarch64/libm-test-ulps: Update.
10849 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10851         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10852         Define.
10853         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10854         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10855         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10856         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10857         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10858         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10859         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10861 2015-06-01  Martin Sebor  <msebor@redhat.com>
10863         [BZ #18116]
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10865         (__setcontext): Use extended four-operand version of mtsf whenever
10866         possible.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10868         (__novec_swapcontext): Likewise.
10870 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10872         * benchtests/scripts/compare_bench.py: New file.
10873         * benchtests/scripts/import_bench.py (mean): New function.
10874         (split_list): Likewise.
10875         (do_for_all_timings): Likewise.
10876         (compress_timings): Likewise.
10878         * benchtests/scripts/import_bench.py: New file.
10879         * benchtests/scripts/validate_benchout.py: Import import_bench
10880         instead of jsonschema.
10881         (validate_bench): Remove function.
10882         (main): Use import_bench.
10884 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10886         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10887         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10889 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10893 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10895         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10896         set THREAD_SELF->tid to a magic value and futex-wake it.
10897         Pass its address to the thread_exit system call.
10898         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10899         bit is clear.
10900         * sysdeps/nacl/lowlevellock.h: New file.
10901         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10903         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10904         Add TIMEOUT to current time, don't subtract it.
10906 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10908         [BZ #2981]
10909         [BZ #18422]
10910         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10911         ($(objpfx)tst-audit2.out): Also depend on
10912         $(objpfx)tst-auditmod9b.so.
10913         * elf/tst-audit2.c: Include <dlfcn.h>.
10914         (calloc_called): New.
10915         (calloc): Allow to be called more than once.
10916         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10918 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10920         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10921         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10923 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10925         * stdlib/monetary.h: Fix comment.
10927 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10929         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10930         Avoid using variables in #defines that might cause shadowing.
10931         (INTERNAL_VSYSCALL_CALL): Likewise.
10933 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10935         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10937         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10938         * nptl/lll_timedlock_wait.c: ... to this new file.
10939         * nptl/Makefile (libpthread-routines): Add it.
10940         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10941         * nptl/lll_timedwait_tid.c: ... to this new file.
10942         * nptl/Makefile (libpthread-routines): Add it.
10943         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10944         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10945         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10946         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10947         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10948         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10949         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10950         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10951         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10952         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10954 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10956         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10957         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10958         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10959         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10960         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10962         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10964         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10965         * sysdeps/unix/sysv/linux/tile/sysdep.h
10966         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10967         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10968         using vDSO syscall macro.
10970 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10972         [BZ #17293]
10973         * uk_UA: Fix sorting order for Ukrainian locale
10975 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10977         * stdlib/monetary.h: Fix comment.
10979 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10981         [BZ #18234]
10982         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10983         st_mtim and st_ctim members.
10984         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10985         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10986         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10987         (struct stat64): Likewise.
10988         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10989         (struct stat64): Likewise.
10990         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10991         (struct stat64): Likewise.
10993 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10995         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10996         Define and include sysdep-vdso.h.
10997         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10998         Likewise.
10999         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11000         Likewise.
11001         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11002         Define with VDSO_SYMBOL and use PTR_MANGLE.
11003         (__vdso_clock_gettime): Likewise.
11004         (__vdso_clock_getres): Likewise.
11005         (_libc_vdso_platform_setup): Likewise.
11006         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11007         Likewise.
11008         (_libc_vdso_platform_setup): Likewise.
11009         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11010         Likewise.
11011         (__vdso_clock_gettime): Likewise.
11012         (__vdso_clock_getres): Likewise.
11013         (__vdso_get_tbfreq): Likewise.
11014         (__vdso_getcpu): Likewise.
11015         (__vdso_time): Likewise.
11016         (__vdso_sigtramp_rt64): Likewise.
11017         (__vdso_signtramp32): Likewise.
11018         (__vdso_sigtramp_rt32): Likewise.
11019         (_libc_vdso_platform_setup): Likewise.
11020         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11021         Likewise.
11022         (__vdso_clock_gettime): Likewise.
11023         (__vdso_clock_getres): Likewise.
11024         (_libc_vdso_platform_setup): Likewise.
11025         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11026         Likewise.
11027         (__vdso_clock_gettime): Likewise.
11028         (_libc_vdso_platform_setup): Likewise.
11029         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11030         Likewise.
11031         (__vdso_getcpu): Likewise.
11032         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11033         Use VDSO_SYMBOL macro to define.
11034         (__vdso_clock_gettime): Likewise.
11035         (__vdso_clock_getres): Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11037         Likewise.
11038         (__vdso_clock_gettime): Likewise.
11039         (__vdso_clock_getres): Likewise.
11040         (__vdso_get_tbfreq): Likewise.
11041         (__vdso_getcpu): Likewise.
11042         (__vdso_time): Likewise.
11043         (__vdso_sigtramp_rt64): Likewise.
11044         (__vdso_signtramp32): Likewise.
11045         (__vdso_sigtramp_rt32): Likewise.
11046         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11047         Likewise.
11048         (__vdso_clock_gettime): Likewise.
11049         (__vdso_clock_getres): Likewise.
11050         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11051         Likewise.
11052         (__vdso_clock_gettime): Likewise.
11053         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11054         Likewise.
11055         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11056         macro.
11057         (INTERNAL_VSYSCALL): Likewise.
11058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11059         Remove macro.
11060         (INTERNAL_VSYSCALL): Likewise.
11061         (INTERNAL_VSYSCALL_NCS): Likewise.
11062         (INTERNAL_VSYSCALL_CALL): New macro.
11063         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11065         Likewise.
11066         (INTERNAL_VSYSCALL): Likewise.
11067         (INTERNAL_VSYSCALL_NCS): Likewise.
11068         (INTERNAL_VSYSCALL_CALL): New macro.
11069         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11071         (INLINE_VSYSCALL): Remove macro.
11072         (INTERNAL_VSYSCALL): Remove macro.
11073         (INTERNAL_VSYSCALL_NCS): Remove macro.
11074         (INTERNAL_VSYSCALL_CALL): New macro.
11075         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11076         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11077         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11078         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11079         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11081         (INLINE_VSYSCALL): Remove macro.
11082         (INTERNAL_VSYSCALL): Likewise.
11083         (INTERNAL_VSYSCALL_NCS): Likewise.
11084         (INTERNAL_VSYSCALL_CALL): New macro.
11085         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11086         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11087         PTR_DEMANGLE on vDSO pointer.
11088         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11089         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11090         macro.
11091         (INTERNAL_SYSCALL): Likewise.
11092         (INTERNAL_VSYSCALL_NCS): Remove macro.
11093         (INTERNAL_VSYSCALL_CALL): New macro.
11094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11095         Remove macro.
11096         (INTERNAL_VSYSCALL): Likewise.
11097         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11098         sysdep-vdso.h instead of libc-vdso.h.
11099         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11100         definition.
11101         (INLINE_VSYSCALL): Likewise.
11102         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11103         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11104         definition.
11105         (INLINE_VSYSCALL): Likewise.
11106         (INTERNAL_VSYSCALL): Likewise.
11107         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11108         * sysdeps/unix/sysv/linux/timespec_get.c
11109         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11110         (timespec_get): Use ANSI prototype.
11111         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11112         and definition for Linux.
11114 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11116         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11117         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11119 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11121         [BZ #2981]
11122         [BZ #18410]
11123         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11124         for missing DT_PLTRELSZ.
11126 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11128         Remove obsolete aliases that broke 'locale -a'
11129         [BZ #18412]
11130         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11131         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11132         breaking some applications that use 'locale -a' output.
11133         Change the encoding of this file from Latin-1 to ASCII to avoid
11134         other potential problems with people grepping this file.
11136 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11138         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11139         -fasynchronous-unwind-tables.
11140         (CFLAGS-sendto.c): Likewise.
11141         (CFLAGS-sendmsg.c): Likewise.
11142         (CFLAGS-connect.c): Likewise.
11143         (CFLAGS-recvmsg.c): Likewise.
11144         (CFLAGS-recvfrom.c): Likewise.
11145         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11146         (SOCKETCALL): New macro: non-cancellable socketcall.
11147         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11148         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11149         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11150         * sysdeps/unix/sysv/linux/accept.c: New file.
11151         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11152         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11153         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11154         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11155         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11156         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11157         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11158         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11159         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11160         * sysdeps/unix/sysv/linux/send.c: Likewise.
11161         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11162         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11163         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11164         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11165         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11166         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11167         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11168         prototype.
11169         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11170         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11171         instead of __internal_xxx function.
11172         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11173         prototype.
11174         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11175         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11176         instead of __internal_xxx function.
11177         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11178         prototype.
11179         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11180         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11181         instead of __internal_xxx function.
11182         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11183         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11184         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11185         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11186         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11187         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11188         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11189         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11190         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11191         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11192         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11193         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11194         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11195         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11196         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11197         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11198         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11199         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11200         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11201         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11204         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11205         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11206         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11207         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11208         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11209         * sysdeps/unix/sysv/linux/send.S: Likewise.
11210         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11211         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11212         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11213         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11214         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11215         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11216         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11217         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11218         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11219         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11220         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11221         socketcall is implemented in GLIBC.
11223 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11225         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11226         (__fma): Ignore uninitialized warnings around packing.
11227         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11228         (__fmaf): Ignore uninitialized warnings around packing.
11229         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11230         (__fmal): Ignore uninitialized warnings around packing.
11232         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11233         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11235         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11237         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11238         switch statement into default case.
11239         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11241         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11242         a conditional in forcing "inexact".
11243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11244         Likewise.
11246 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11248         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11249         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11250         for each INTERNAL_SYSCALL use.
11252 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11254         [BZ #438]
11255         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11256         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11257         variable.
11259         [BZ #18444]
11260         * string/basename.c (basename): Rename to __basename and define as
11261         weak alias of __basename.  Use libc_hidden_weak.
11262         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11263         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11264         __basename instead of basename.
11265         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11266         Remove variable.
11267         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11269 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11271         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11272         (_IO_JUMPS_FILE_plus): New.
11273         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11274         _IO_CAST_FIELD_ACCESS.
11275         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11276         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11277         * libio/freopen.c (freopen): Likewise.
11278         * libio/freopen64.c (freopen64): Likewise.
11279         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11280         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11281         * libio/iofwide.c (_IO_fwide): Likewise.
11282         * libio/memstream.c (open_memstream): Likewise.
11283         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11284         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11285         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11287 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11289         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11290         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11291         NADJ.
11292         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11293         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11294         NADJ.
11295         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11296         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11297         NADJ.
11299         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11300         (p == 4) case.
11302         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11303         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11304         Remove variable.
11305         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11306         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11307         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11309 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11311         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11312         Adjust jump table label generation macros.
11314 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11316         * stdio-common/vfprintf.c (vfprintf): Move local variables
11317         args_malloced, specs, specs_malloced, and the code after
11318         do_positional to the printf_positional function.
11319         (printf_positional): New function.
11321 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11323         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11324         function.
11325         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11326         STEP4_TABLE, process_arg): Move macro definitions
11327         out of the vfprintf function.  (Cosmetic change only.)
11329 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11331         * benchtests/Makefile (stdio-common-bench): Define.
11332         (benchset): Add stdio-common-bench.
11333         * sprintf-inputs: New file.
11334         * sprintf-source.c: New file.
11336 2015-05-21  Andreas Schwab  <schwab@suse.de>
11338         [BZ #13028]
11339         [BZ #17053]
11340         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11341         of struct __res_state.
11342         * resolv/res_send.c (__libc_res_nsend): Likewise.
11343         (get_nsaddr): New function.
11344         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11345         statp directly.
11347 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11349         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11350         -D_POSIX_C_SOURCE=199506L.
11352         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11354         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11355         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11356         Do not mention otherwise.
11357         [POSIX] (_XOPEN_VERSION): Do not expect.
11358         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11359         [POSIX] (_POSIX2_C_BIND): Likewise.
11360         [POSIX] (_POSIX2_VERSION): Likewise.
11361         [POSIX] (_XOPEN_XPG2): Likewise.
11362         [POSIX] (_XOPEN_XPG3): Likewise.
11363         [POSIX] (_XOPEN_XPG4): Likewise.
11364         [POSIX] (_XOPEN_UNIX): Likewise.
11365         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11366         [POSIX] (_POSIX_BARRIERS): Likewise.
11367         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11368         [POSIX] (_POSIX_CPUTIME): Likewise.
11369         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11370         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11371         [POSIX] (_POSIX_SHELL): Likewise.
11372         [POSIX] (_POSIX_SPAWN): Likewise.
11373         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11374         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11375         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11376         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11377         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11378         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11379         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11380         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11381         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11382         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11383         [POSIX] (_POSIX2_PBS): Likewise.
11384         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11385         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11386         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11387         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11388         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11389         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11390         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11391         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11392         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11393         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11394         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11395         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11396         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11397         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11398         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11399         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11400         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11401         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11402         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11403         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11404         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11405         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11406         [POSIX] (_SC_2_C_BIND): Likewise.
11407         [POSIX] (_SC_2_C_VERSION): Likewise.
11408         [POSIX] (_SC_2_PBS): Likewise.
11409         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11410         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11411         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11412         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11413         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11414         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11415         [POSIX] (_SC_BARRIERS): Likewise.
11416         [POSIX] (_SC_BASE): Likewise.
11417         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11418         [POSIX] (_SC_DEVICE_IO): Likewise.
11419         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11420         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11421         [POSIX] (_SC_FD_MGMT): Likewise.
11422         [POSIX] (_SC_FIFO): Likewise.
11423         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11424         [POSIX] (_SC_FILE_LOCKING): Likewise.
11425         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11426         [POSIX] (_SC_IOV_MAX): Likewise.
11427         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11428         [POSIX] (_SC_NETWORKING): Likewise.
11429         [POSIX] (_SC_PAGE_SIZE): Likewise.
11430         [POSIX] (_SC_PASS_MAX): Likewise.
11431         [POSIX] (_SC_PIPE): Likewise.
11432         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11433         [POSIX] (_SC_REGEXP): Likewise.
11434         [POSIX] (_SC_SHELL): Likewise.
11435         [POSIX] (_SC_SIGNALS): Likewise.
11436         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11437         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11438         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11439         [POSIX] (_SC_USER_GROUPS): Likewise.
11440         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11441         [POSIX] (_SC_STREAMS): Likewise.
11442         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11443         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11444         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11445         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11446         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11447         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11448         [POSIX] (_PC_FILESIZEBITS): Likewise.
11449         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11450         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11451         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11452         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11453         [POSIX] (uid_t): Likewise.
11454         [POSIX] (gid_t): Likewise.
11455         [POSIX] (off_t): Likewise.
11456         [POSIX] (pid_t): Likewise.
11457         [POSIX] (cuserid): Allow.
11458         (_SC_2_CHAR_TERM): Require constant.
11459         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11460         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11461         variable.
11463 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11465         * sysdeps/nacl/pthread-pids.h: New file.
11466         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11467         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11469         * nptl/pthread-pids.h: New file.
11470         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11471         * nptl/nptl-init.c: Include <pthread-pids.h>.
11472         (__pthread_initialize_minimal_internal):
11473         Call __pthread_initialize_pids instead of set_tid_address syscall.
11475         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11476         * sysdeps/posix/usleep.c: ... here.
11478 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11480         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11481         call_pselect6 object.
11482         [$(subdir) = io]: Remove call_sync_file_range object.
11483         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11484         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11485         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11486         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11488 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11490         * math/s_cproj.c: Add include "math_private.h".
11491         * math/s_cprojf.c: Likewise.
11492         * math/s_cprojl.c: Likewise.
11494 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11496         [BZ #18244]
11497         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11498         high mantissa bit when testing whether P is a NaN.
11499         * math/libm-test.inc (remainder_test_data): Add more tests.
11500         (remquo_test_data): Likewise.
11502         [BZ #18049]
11503         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11504         below -32, return the argument, with underflow if subnormal.
11505         * math/auto-libm-test-in: Add more tests of atanh.
11506         * math/auto-libm-test-out: Regenerated.
11508 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11510         [BZ #18434]
11511         * nptl/tst-sem15.c: New file.
11512         * nptl/Makefile (tests): Add it.
11513         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11514         s/<</>>/ to fix typo in EOVERFLOW check.
11515         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11517 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11519         * manual/strings.texi (envz_remove): Fix typo in safety
11520         annotations.
11522 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11523             Steve Ellcey  <sellcey@imgtec.com>
11525         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11526         in order to avoid strict alias warnings.
11527         (iruserok_af): Ditto for ra.
11529 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11531         [BZ #17581]
11532         * malloc/hooks.c
11533         (magicbyte): Convert to a function and avoid returning 0x01.
11534         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11535         (mem2chunk_check): Fix unsigned comparisons to zero.
11536         Hoist defs of sz and magic.
11538 2015-05-19  Richard Henderson  <rth@redhat.com>
11540         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11542         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11544 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11546         [BZ #16159]
11547         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11548         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11549         (reused_arena): Find a non-corrupt arena.
11550         (heap_trim): Pass arena to unlink.
11551         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11552         malloc_printerr.
11553         (top_check): Likewise.
11554         (free_check): Likewise.
11555         (realloc_check): Likewise.
11556         * malloc/malloc.c (malloc_printerr): Add arena argument.
11557         (unlink): Likewise.
11558         (munmap_chunk): Adjust.
11559         (ARENA_CORRUPTION_BIT): New macro.
11560         (arena_is_corrupt): Likewise.
11561         (set_arena_corrupt): Likewise.
11562         (sysmalloc): Use mmap if there are no usable arenas.
11563         (_int_malloc): Likewise.
11564         (__libc_malloc): Don't fail if arena_get returns NULL.
11565         (_mid_memalign): Likewise.
11566         (__libc_calloc): Likewise.
11567         (__libc_realloc): Adjust for additional argument to
11568         malloc_printerr.
11569         (_int_free): Likewise.
11570         (malloc_consolidate): Likewise.
11571         (_int_realloc): Likewise.
11572         (_int_memalign): Don't touch corrupt arenas.
11573         * malloc/tst-malloc-backtrace.c: New test case.
11575         * Makefile (summarize-tests): Fix return value on success.
11577         * manual/string.texi (Envz Functions): Add envz_remove.
11579 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11581         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11582         (invalid_name): New function, broken out of ...
11583         (__opendirat): ... here.  Call it.
11584         (need_isdir_precheck): New function, broken out of ...
11585         (__opendirat): ... here.  Call it.
11586         Use __fxstatat64, not __xstatat64.
11587         (opendir_oflags): New function, broken out of ...
11588         (__opendirat): ... here.  Call it.
11589         (opendir_tail): New function, broken out of ...
11590         (__opendirat): ... here.  Call it.
11591         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11592         opendir_tail, rather than punting to __opendirat.
11593         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11595 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11597         * .gitignore: Ignore generated *.pyc.
11599 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11601         * include/stdio.h: Define __need_wint_t.
11602         * test-skeleton.c: Avoid `for' loop initial declaration.
11603         * nptl/tst-initializers1.c: Use test-skeleton.c.
11605 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11607         [BZ #18418]
11608         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11610 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11612         [BZ #16352]
11613         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11614         (__ieee754_atanh): Force underflow exception for results with
11615         small absolute value.
11616         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11617         (__ieee754_atanhf): Force underflow exception for results with
11618         small absolute value.
11619         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11620         (__ieee754_atanh): Force underflow exception for results with
11621         small absolute value.
11622         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11623         (__ieee754_atanhf): Force underflow exception for results with
11624         small absolute value.
11625         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11626         (__ieee754_atanhl): Force underflow exception for results with
11627         small absolute value.
11628         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11629         (__ieee754_atanhl): Force underflow exception for results with
11630         small absolute value.
11631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11632         (__ieee754_atanhl): Force underflow exception for results with
11633         small absolute value.
11634         * math/auto-libm-test-in: Do not allow missing underflow
11635         exceptions from atanh.
11636         * math/auto-libm-test-out: Regenerated.
11638         [BZ #18221]
11639         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11640         2**-28 as threshold for returning x or +/- 1/x.
11641         * math/auto-libm-test-in: Add more tests of tan.
11642         * math/auto-libm-test-out: Regenerated.
11644         [BZ #18220]
11645         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11646         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11647         * math/auto-libm-test-in: Add another test of lgamma.
11648         * math/auto-libm-test-out: Regenerated.
11650 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11652         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11653         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11654         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11655         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11656         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11657         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11658         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11659         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11661         (log1): Use fabs.  (my_log2): Use fabs.
11662         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11663         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11665         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11666         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11667         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11668         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11669         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11670         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11671         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11672         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11674 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #18217]
11677         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11678         as threshold for returning 1 - x.
11679         * math/auto-libm-test-in: Add more tests of erfc.
11680         * math/auto-libm-test-out: Regenerated.
11682 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11684         [BZ #18196]
11685         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11686         threshold for large arguments.
11687         * math/auto-libm-test-in: Add another test of atan.
11688         * math/auto-libm-test-out: Regenerated.
11690         [BZ #16339]
11691         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11692         (__log1p): Force underflow exception for results with small
11693         absolute value.
11694         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11695         (__log1pf): Force underflow exception for results with small
11696         absolute value.
11697         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11698         (__log1p): Force underflow exception for results with small
11699         absolute value.
11700         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11701         (__log1pf): Force underflow exception for results with small
11702         absolute value.
11703         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11704         (__log1pl): Force underflow exception for results with small
11705         absolute value.
11706         * math/auto-libm-test-in: Do not allow missing underflow
11707         exceptions from log1p.
11708         * math/auto-libm-test-out: Regenerated.
11710 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11711             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11713         [BZ #16704]
11714         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11716 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11718         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11719         (libmvec): New variable.
11720         * configure.ac: Added option for mathvec build.
11721         * configure: Regenerated.
11722         * mathvec/Depend: New file.
11723         * mathvec/Makefile: New file.
11724         * shlib-versions: Added libmvec.
11725         * math/Makefile: Added rule for libm.so installation.
11727         * bits/math-vector.h: New file.
11728         * bits/libm-simd-decl-stubs.h: New header.
11729         * math/Makefile (headers): Added new header
11730         libm-simd-decl-stubs.h.
11731         * math/math.h (__MATHCALL_VEC): New macro.
11733         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11734         for conditions in testing functions.
11735         * math/Makefile: Added call of libm-have-vector-test.sh.
11736         * math/libm-test.inc (HAVE_VECTOR): New macros.
11738         * math/libm-test.inc: START refactored.
11739         * math/test-double.c (TEST_MATHVEC): Add define.
11740         * math/test-float.c: Likewise.
11741         * math/test-idouble.c: Likewise.
11742         * math/test-ifloat.c: Likewise.
11743         * math/test-ildoubl.c: Likewise.
11744         * math/test-ldouble.c: Likewise.
11745         * sysdeps/generic/math-tests-arch.h
11746         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11747         architecture check.
11749         * math/test-double.c (FUNC_TEST): New macro.
11750         * math/test-float.c: Likewise.
11751         * math/test-idouble.c: Likewise.
11752         * math/test-ifloat.c: Likewise.
11753         * math/test-ildoubl.c: Likewise.
11754         * math/test-ldouble.c: Likewise.
11755         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11757 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11759         * sysdeps/nacl/fdopendir.c: New file.
11761         * dirent/scandir-tail.c: New file.
11762         * dirent/scandir64-tail.c: New file.
11763         * dirent/Makefile (routines): Add them.
11764         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11765         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11766         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11767         [!SCANDIR] (SCANDIR_TAIL): New macro.
11768         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11769         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11770         (SCANDIRAT): Macro removed.
11771         (SCANDIR_TAIL): New macro.
11772         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11773         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11774         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11775         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11776         (READDIR): Macro removed.
11777         (SCANDIR_TAIL): New macro.
11778         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11779         (SCANDIR_TAIL): New macro.
11781         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11782         * dirent/scandir-cancel.c: ... to this new file.
11783         * dirent/Makefile (routines): Add it.
11784         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11785         * sysdeps/unix/sysv/linux/i386/scandir64.c
11786         (SKIP_SCANDIR_CANCEL): Macro removed.
11787         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11789         * dirent/tst-scandir.c: New file.
11790         * dirent/tst-scandir64.c: New file.
11791         * dirent/Makefile (tests): Add them.
11793 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11795         [BZ #18409]
11796         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11798 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11800         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11801         list.
11803 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11805         * benchtests/bench-strcoll.c: New benchmark.
11806         * benchtests/Makefile: Generate locales and run benchmark.
11807         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11808         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11809         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11810         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11811         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11812         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11813         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11814         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11815         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11816         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11817         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11818         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11819         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11820         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11821         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11822         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11823         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11824         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11825         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11826         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11827         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11828         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11829         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11830         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11832 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11834         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11835         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11837 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11839         * posix/uname-values.h: New file.
11840         * posix/uname.c: Include that instead of <config-name.h>.
11841         * sysdeps/nacl/uname-values.h: New file.
11842         * sysdeps/arm/nacl/uname-values.h: New file.
11844 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11846         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11847         splitting into fields.
11849 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11851         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11852         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11853         * locale/localeinfo.h: Add enum collation_encoding_type.
11854         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11855         * programs/ld-collate.c (collate_output): Add encoding type info.
11856         * string/strcoll_l.c (STRDIFF): New function.
11857         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11858         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11860 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11862         [BZ #18397]
11863         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11864         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11865         <fpu_control.h> instead of <math/fpu_control.c>.
11866         * sysdeps/mips/mips32/fpu/Makefile: New file.
11868 2015-05-11  Andreas Schwab  <schwab@suse.de>
11870         [BZ #18007]
11871         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11872         nss_endgrent.
11873         (_nss_compat_endgrent): Call nss_endgrent.
11874         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11875         nss_endpwent.
11876         (_nss_compat_endpwent): Call nss_endpwent.
11877         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11878         needent, call nss_setspent only if non-zero.
11879         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11880         (internal_endspent): Don't call nss_endspent.
11881         (_nss_compat_endspent): Call nss_endspent.
11882         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11883         Remove.  All uses removed.
11884         (internal_setent): Remove parameter stayopen, add parameter
11885         stream.  Use it instead of global variable.
11886         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11887         (internal_endent, internal_getent): Add parameter stream.  Use it
11888         instead of global variable.
11889         (CONCAT(_nss_files_end,ENTNAME))
11890         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11891         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11892         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11893         uses removed.
11894         (internal_setent, internal_endent): Add parameter stream.  Use it
11895         instead of global variable.
11896         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11897         stream.
11898         (get_next_alias): Add parameter stream.
11899         (_nss_files_getaliasent_r): Pass global stream.
11900         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11901         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11902         (_nss_files_gethostbyname4_r): Pass local stream to
11903         internal_setent, internal_getent and internal_endent.  Remove
11904         locking.
11906 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11908         * tst-strfmon1.c (tests): Update expected currency symbol.
11910 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11912         * sysdeps/nacl/gethostname.c: New file.
11914 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11916         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11917         and sinh.
11918         * math/auto-libm-test-out: Regenerated.
11919         * sysdeps/i386/fpu/libm-test-ulps: Update.
11920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11922 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11924         [BZ #18125]
11925         * stdlib/tst-setcontext3.c: New file.
11926         * stdlib/tst-setcontext3.sh: New file.
11927         * stdlib/Makefile (tests): Add tst-setcontext3.
11928         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11929         to verify test program created output file.
11930         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11931         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11932         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11933         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11935 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11937         [BZ #18383]
11938         * elf/tst-tlsalign.c: New file.
11939         * elf/tst-tlsalign-static.c: New file.
11940         * elf/tst-tlsalign-lib.c: New file.
11941         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11942         (tests-static): Add tst-tlsalign-static.
11943         (modules-names): Add tst-tlsalign-lib.
11944         (test-xfail-tst-tlsalign): New variable.
11945         (test-xfail-tst-tlsalign-static): New variable.
11947         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11948         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11950 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11952         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11953         csqrt, erfc, sin and sincos.
11954         * math/auto-libm-test-out: Regenerated.
11955         * sysdeps/i386/fpu/libm-test-ulps: Update.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11958 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11960         * sysdeps/aarch64/libm-test-ulps: Update.
11962 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11964         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11965         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11966         * math/auto-libm-test-out: Regenerated.
11967         * sysdeps/i386/fpu/libm-test-ulps: Update.
11968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11970 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11972         [BZ #18265]
11973         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11974         (wcsncpy): Likewise.
11976 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11978         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11979         Assume __ASSUME_FALLOCATE is always true.
11980         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11981         (__posix_fallocate64_l64): Likweise.
11982         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11983         (posix_fallocate): Likewise.
11984         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11985         (__posix_fallocate64_l64): Likewise.
11986         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11987         [!__ASSUME_FALLOCATE]: Add comment.
11989 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11991         * sysdeps/unix/sysv/linux/i386/Makefile
11992         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11993         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11994         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11995         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11996         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11997         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11998         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12000 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12002         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12003         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12004         tgamma.
12005         * math/auto-libm-test-out: Regenerated.
12006         * sysdeps/i386/fpu/libm-test-ulps: Update.
12007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12009 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12011         * math/auto-libm-test-in: Add more tests of tgamma.
12012         * math/auto-libm-test-out: Regenerated.
12013         * sysdeps/i386/fpu/libm-test-ulps: Update.
12014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016         * math/auto-libm-test-in: Add more tests of tanh.
12017         * math/auto-libm-test-out: Regenerated.
12018         * sysdeps/i386/fpu/libm-test-ulps: Update.
12019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12021         * math/auto-libm-test-in: Add more tests of tan.
12022         * math/auto-libm-test-out: Regenerated.
12023         * sysdeps/i386/fpu/libm-test-ulps: Update.
12024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12026         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12027         * math/auto-libm-test-out: Regenerated.
12028         * sysdeps/i386/fpu/libm-test-ulps: Update.
12029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12031         * math/auto-libm-test-in: Add another test of pow.
12032         * math/auto-libm-test-out: Regenerated.
12033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12035         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
12041         log1p.
12042         * math/auto-libm-test-out: Regenerated.
12043         * sysdeps/i386/fpu/libm-test-ulps: Update.
12044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12046 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12048         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12049         Elf64_Chdr structs and ELFCOMPRESS constants.
12051 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12053         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12054         expm1.
12055         * math/auto-libm-test-out: Regenerated.
12056         * sysdeps/i386/fpu/libm-test-ulps: Update.
12057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12059         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12066         * config.h.in (HAVE_AARCH64_BE): Add.
12068 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12070         * math/auto-libm-test-in: Add more tests of csqrt.
12071         * math/auto-libm-test-out: Regenerated.
12072         * sysdeps/i386/fpu/libm-test-ulps: Update.
12073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12075         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12076         * math/auto-libm-test-out: Regenerated.
12077         * sysdeps/i386/fpu/libm-test-ulps: Update.
12078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12082 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12084         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12085         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12087         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12088         (euidaccess, eaccess): Define as weak aliases.
12090         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12091         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12092         but __suseconds_t is often 'long int' so some sources assume that
12093         type is being used (e.g. they use %ld to print tv_usec).
12095 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12097         [BZ #18007]
12098         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12099         (CVE-2014-8121)
12100         * nss/tst-nss-getpwent.c: New file.
12101         * nss/Makefile (tests): Add new test.
12103 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12105         [BZ #18346]
12106         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12107         exponents less than 48 as cases where high part of mantissa needs
12108         examining to determine whether argument is integral.
12109         * math/libm-test.inc (round_test_data): Add more tests.
12111 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12113         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12115 2015-04-27  David S. Miller  <davem@davemloft.net>
12117         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12118         __tls_get_addr.
12119         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12121 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12123         [BZ#18333]
12124         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12126 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12128         [BZ#18333]
12129         * time/tzset.c (parse_tzname): Return error on memory allocation
12130         failure.
12131         * test-skeleton.c (struct temp_name_list): Change type of name
12132         member to non-const.
12133         (add_temp_file): Create a copy of the file name.
12134         (delete_temp_files): Deallocate memory.
12135         (create_temp_file): Add comment.
12137 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12139         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12140         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12142 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12144         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12145         * sysdeps/arm/configure: Regenerated.
12147 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12149         [BZ #17715]
12150         * time/tzfile.c (__tzfile_read): Check for large values of
12151         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12152         * time/tzset.c (__tzstring_len): New function, based on the old
12153         __tzstring function.
12154         (__tzstring): Call __tzstring_len.
12155         (parse_tzname): New helper function extracted from
12156         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12157         the input string.
12158         (parse_offset): New helper function extracted from
12159         __tzset_parse_tz.  Replace switch with fallthrough with
12160         initialization before sscanf.
12161         (parse_rule): Likewise.
12162         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12163         new-style function definition.
12164         * timezone/Makefile (tests): Add tst-tzset.
12165         (tst-tzset.out): Dependencies on time zone files.
12166         (tst-tzset-ENV): Set TZDIR.
12167         (testdata/XT%): Copy crafted time zone files.
12168         * timezone/README: Mention crafted time zone files.
12169         * timezone/testdata/XT1, timezone/testdata/XT2,
12170         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12171         files.
12172         * timezone/tst-tzset.c: New test.
12174 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12176         * Makeconfig (+gccwarn): Remove -Winline.
12178 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12180         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12182 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12184         * NEWS: Mention sysconf() cache information support for s390.
12185         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12187 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12189         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12190         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12191         (__nearbyint): Likewise.
12192         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12193         (copysignl): Likewise.
12195 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12197         [BZ #18287]
12198         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12199         based on padding.  (CVE-2015-1781)
12201 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12203         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12204         libc-vdso.h.
12205         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12206         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12207         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12208         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12209         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12210         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12212         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12213         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12214         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12216         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12217         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12218         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12219         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12220         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12221         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12223         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12224         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12225         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12226         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12227         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12229 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12231         * stdlib/setenv.c (__add_to_environ):
12232         Dump core quickly if setenv (..., NULL, ...) is called.
12233         This time, do it the right way, and pacify GCC with a pragma.
12235 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12237         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12238         IMAP->l_prev cannot be null, and #if out the code for the contrary
12239         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12240         believe that NS (&_dl_ns[NSID]) could point outside the array.
12242         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12243         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12244         before using NSID as an index.
12246 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12248         [BZ #17825]
12249         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12250         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12251         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12253 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12255         Add preliminary port to Google Native Client on ARM.
12256         * abi-tags (.*-.*-nacl.*): New entry.
12257         * sysdeps/arm/nacl: New directory.
12258         * sysdeps/nacl: New directory.
12260 2015-04-16  David S. Miller  <davem@davemloft.net>
12262         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12263         lowlevellock-futex.h
12265 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12267         * sysdeps/tile/configure.ac: New file.
12268         * sysdeps/tile/configure: Regenerated.
12270 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12272         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12273         conditionals for weak_alias and libc_hidden_weak.
12274         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12275         libc_hidden_weak and weak_alias.
12276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12277         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12278         and weak_alias for static one.
12280 2015-04-15  David S. Miller  <davem@davemloft.net>
12282         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12284 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12286         [BZ #18206]
12287         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12288           Use signed comparision instead of substraction to avoid
12289           overflow bug.
12290         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12291           Take the sign of ret.
12292         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12293           Do not expect precise return values. Only the sign matters.
12294         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12295         * wcsmbs/test-wcsncmp.c: New File.
12296         * string/test-strncmp.c: Add wcsncmp support.
12298 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12300         [BZ #6792]
12301         * math/w_log1p.c: New file.
12302         * math/w_log1pf.c: Likewise.
12303         * math/w_log1pl.c: Likewise.
12304         * math/Makefile (libm-calls): Add w_log1p.
12305         * math/s_log1pl.c (log1pl): Remove weak_alias.
12306         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12307         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12308         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12309         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12310         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12311         [NO_LONG_DOUBLE] (log1pl): Likewise.
12312         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12313         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12314         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12315         (log1p): Remove long_double_symbol.
12316         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12317         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12318         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12319         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12320         remove weak_alias for corresponding log1p function.
12321         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12322         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12323         * sysdeps/ia64/fpu/w_log1p.c: New file.
12324         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12325         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12326         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12328 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12330         [BZ #18247]
12331         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12332         decimal exponent by 1.
12333         * stdlib/tst-strtod-round-data: Add more tests.
12334         * stdlib/tst-strtod-round.c (tests): Regenerated.
12336 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12338         * math/auto-libm-test-in: Add more tests of clog and clog10.
12339         * math/auto-libm-test-out: Regenerated.
12340         * sysdeps/i386/fpu/libm-test-ulps: Update.
12341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12345         * Makeconfig (module-cppflags): Exclude all .v.i files.
12346         (skip-module-cppflags): Variable removed.
12348         * configure.ac (libc_config_ok): Initialize before reading
12349         preconfigure scripts, not after.
12350         * configure: Regenerated.
12352         * test-skeleton.c (TIMEOUT): Move #define to top level.
12353         (main): Grok environment variable TEST_DIRECT.  If set, print
12354         test expectation details into that file and then behave as if
12355         given --direct.
12357 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12359         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12360         warning on 32-bit.
12362 2015-04-08  David S. Miller  <davem@davemloft.net>
12364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12366 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12368         * math/auto-libm-test-in: Add more tests of atanh.
12369         * math/auto-libm-test-out: Regenerated.
12370         * sysdeps/i386/fpu/libm-test-ulps: Update.
12371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373         * math/auto-libm-test-in: Add more tests of atan.
12374         * math/auto-libm-test-out: Regenerated.
12375         * sysdeps/i386/fpu/libm-test-ulps: Update.
12376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12378 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12380         * elf/pldd.c (main): Rewrite to use struct
12381         scratch_buffer instead of extend_alloca.
12382         * elf/pldd-xx.c (find_maps): Likewise.
12383         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12384         <alloca.h>.
12385         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12386         scratch_buffer instead of extend_alloca.
12387         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12388         grp/compat-initgroups.c.
12389         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12390         Rewrite to use struct scratch_buffer instead of extend_alloca.
12391         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12392         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12394 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12396         * math/auto-libm-test-in: Add more tests of cbrt.
12397         * math/auto-libm-test-out: Regenerated.
12398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12400         * math/auto-libm-test-in: Add more tests of cabs.
12401         * math/auto-libm-test-out: Regenerated.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12405         [BZ #18210]
12406         [BZ #18211]
12407         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12408         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12409         computations.
12410         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12411         clog10.
12412         * math/auto-libm-test-out: Regenerated.
12413         * sysdeps/i386/fpu/libm-test-ulps: Update.
12414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12416         [BZ #18197]
12417         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12418         (atan): Set FE_TONEAREST mode for internal computations.
12419         * math/auto-libm-test-in: Add more tests of atan.
12420         * math/auto-libm-test-out: Regenerated.
12422 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12424         [BZ #17930]
12425         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12427 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12429         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12431 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12433         * include/scratch_buffer.h: New file.
12434         * malloc/scratch_buffer_grow.c: Likewise.
12435         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12436         * malloc/scratch_buffer_set_array_size.c: Likewise.
12437         * malloc/tst-scratch_buffer.c: Likewise.
12438         * malloc/Makefile (routines): Add scratch_buffer_grow.
12439         (tests): Add test case.
12440         * malloc/Versions (GLIBC_PRIVATE): Export
12441         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12442         __libc_scratch_buffer_set_array_size.
12444 2015-04-06  Richard Henderson  <rth@redhat.com>
12446         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12447         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12449         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12450         unsigned int before printing.
12452 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12454         [BZ #17596]
12455         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12456         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12458 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12460         * include/libc-internal.h (libc_max_align_t): Define.
12462 2015-04-02  Andreas Schwab  <schwab@suse.de>
12464         [BZ #16850]
12465         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12467 2015-04-02  Mel Gorman  <mgorman@suse.de>
12469         [BZ #17195]
12470         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12471         as well as the main arena.
12473 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12475         [BZ #18185]
12476         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12477         sharing L2 cache to 2 for Silvermont/Knights Landing.
12479 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12481         [BZ #17711]
12482         * config.make.in (have-protected-data): New.
12483         * configure.ac: Check linker support for protected data symbol.
12484         * configure: Regenerated.
12485         * elf/Makefile (modules-names): Add tst-protected1moda and
12486         tst-protected1modb if $(have-protected-data) is yes.
12487         (tests): Add tst-protected1a and tst-protected1b if
12488         $(have-protected-data) is yes.
12489         ($(objpfx)tst-protected1a): New.
12490         ($(objpfx)tst-protected1b): Likewise.
12491         (tst-protected1modb.so-no-z-defs): Likewise.
12492         * elf/tst-protected1a.c: New file.
12493         * elf/tst-protected1b.c: Likewise.
12494         * elf/tst-protected1mod.h: Likewise.
12495         * elf/tst-protected1moda.c: Likewise.
12496         * elf/tst-protected1modb.c: Likewise.
12498 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12500         [BZ #17711]
12501         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12502         indicates it is called from do_lookup_x on relocation against
12503         protected data, skip the data definion in the executable from
12504         copy reloc.
12505         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12506         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12507         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12508         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12509         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12510         otherwise to 0.
12511         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12512         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12513         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12514         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12515         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12516         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12518 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12520         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12521         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12523 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12525         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12526         THREAD_SETMEM_NC.
12527         * sysdeps/x86_64/nptl/tls.h: Ditto.
12529 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12531         * dlfcn/tststatic.c (main): Converted to ...
12532         (do_test): ... this.
12533         (TEST_FUNCTION): New macro.
12534         Include test-skeleton.c.
12536 2015-03-26  Alan Modra  <amodra@gmail.com>
12538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12539         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12540         zero for undefined weak.
12541         (elf_machine_plt_conflict): Similarly.
12543 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12545         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12546         atanh.
12547         * math/auto-libm-test-out: Regenerated.
12548         * sysdeps/i386/fpu/libm-test-ulps: Update.
12549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551         * math/auto-libm-test-in: Add another test of asin.
12552         * math/auto-libm-test-out: Regenerated.
12553         * sysdeps/i386/fpu/libm-test-ulps: Update.
12554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12557         Remove macro.
12558         (LLL_EBX_REG): Likewise.
12559         (LLL_ENTER_KERNEL): Likewise.
12561         * math/auto-libm-test-in: Add more tests of asin.
12562         * math/auto-libm-test-out: Regenerated.
12563         * sysdeps/i386/fpu/libm-test-ulps: Update.
12564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12566         [BZ #18138]
12567         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12568         libc_do_syscall_args): New structure.
12569         (INTERNAL_SYSCALL_MAIN_0): New macro.
12570         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12571         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12572         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12573         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12574         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12575         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12576         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12577         Replace conditional definitions by conditional definitions of ....
12578         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12579         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12580         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12581         (libpthread-sysdep_routines): Add libc-do-syscall.
12582         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12584         to __NR_futex not 240.
12586 2015-03-25  Alan Modra  <amodra@gmail.com>
12588         * NEWS: Advertise TLS optimization.
12589         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12590         (DT_PPC_NUM): Increment.
12591         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12592         (CHECK_STATIC_TLS): Use here.
12593         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12594         TLS descriptors.
12595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12596         * sysdeps/powerpc/dl-tls.c: New file.
12597         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12598         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12599         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12600         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12605 2015-03-25  Alan Modra  <amodra@gmail.com>
12607         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12608         for overlapping .opd entries" to "support...".
12609         * sysdeps/powerpc/powerpc64/configure: Regenerate
12611 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12613         * math/auto-libm-test-in: Add more tests of acos.
12614         * math/auto-libm-test-out: Regenerated.
12615         * sysdeps/i386/fpu/libm-test-ulps: Update.
12616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618         * math/auto-libm-test-in: Add more tests of expm1.
12619         * math/auto-libm-test-out: Regenerated.
12620         * sysdeps/i386/fpu/libm-test-ulps: Update.
12621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12623 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12625         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12626         * math/auto-libm-test-out: Regenerated.
12627         * sysdeps/i386/fpu/libm-test-ulps: Update.
12628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12630         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12633         * math/auto-libm-test-in: Add more tests of log2.
12634         * math/auto-libm-test-out: Regenerated.
12635         * sysdeps/i386/fpu/libm-test-ulps: Update.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12640         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12641         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12642         _IO_IS_APPENDING bit in READ_WRITE instead.
12644 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12646         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12647         (__determine_cpumask_size): Replace extend_alloca with a
12648         variable-length array.  Do not treat res == 0 as an error.
12650 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12652         [BZ #18100]
12653         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12654         and integer overflow.
12655         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12656         (main): Add integer overflow tests.
12657         * manual/pattern.texi (Calling Wordexp): Document additional use
12658         for WRDE_SYNTAX.
12660 2015-03-23  Alan Modra  <amodra@gmail.com>
12662         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12663         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12664         and false branch of conditional.
12665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12666         Likewise.
12668 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12670         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12671         libc-modules.h
12672         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12673         unused declaration of _hurd_intr_rpc_msg_in_trap.
12674         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12675         defined instead of whether it is non-zero.
12676         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12677         input constraint instead of both input and output constraint.  Use ecx
12678         clobber instead of %ecx.
12679         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12680         mutex_unlock): Use a statement expression instead of an expression list.
12681         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12682         type to vm_size_t instead of vm_address_t.
12683         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12684         defined instead of whether it is non-zero.
12685         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12686         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12687         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12688         comparisons with mapaddr.
12689         * nscd/nscd-client.h: Include <time.h>.
12690         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12691         9th parameter to __vm_region instead of int.
12692         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12693         * scripts/check-local-headers.sh (exclude): Add device/,
12694         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12695         cthreads.h.
12697 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12699         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12700         to account for alignment padding.
12701         * sysdeps/arm/memmove.S: Likewise.
12703 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12705         * sysdeps/unix/sysv/linux/generic/README: New file.
12707 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12709         [BZ #18138]
12710         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12711         (futex_abstimed_wait)
12712         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12713         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12714         of lll_futex_timed_wait.
12716 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12718         [BZ #17542]
12719         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12721 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12723         [BZ #17090]
12724         [BZ #17620]
12725         [BZ #17621]
12726         [BZ #17628]
12727         * NEWS: Update.
12728         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12729         entries with Static TLS too.  Skip entries past the end of the
12730         allocated DTV, from Alan Modra.
12731         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12732         Static TLS DTV entry set up from...
12733         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12734         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12735         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12736         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12737         for Static TLS.
12738         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12739         that the slot we find is associated with the given map before
12740         using its generation count.
12741         * nptl_db/db_info.c: Include ldsodefs.h.
12742         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12743         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12744         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12745         (link_map::l_tls_offset): New struct field.
12746         (dtv_t::counter): Likewise.
12747         (rtld_global): New struct.
12748         (_rtld_global): New rtld variable.
12749         (dl_tls_dtv_slotinfo_list): New rtld global field.
12750         (dtv_slotinfo_list): New struct.
12751         (dtv_slotinfo): Likewise.
12752         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12753         (td_lookup): Rename to...
12754         (td_mod_lookup): ... this.  Use new mod parameter instead of
12755         LIBPTHREAD_SO.
12756         * nptl_db/td_thr_tlsbase.c: Include link.h.
12757         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12758         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12759         addresses even if the DTV is out of date or missing them.
12760         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12761         index zero-length arrays.
12762         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12763         (td_lookup): Make it a macro implemented in terms of...
12764         (td_mod_lookup): ... this declaration.
12765         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12766         (DB_MAIN_VARIABLE): Likewise.
12768 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12770         [BZ #18134]
12771         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12773 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12775         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12777 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12779         [BZ #18128]
12780         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12781         (atomic_add, atomic_increment_and_test)
12782         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12784 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12786         * stdlib/setenv.c (__add_to_environ):
12787         Dump core quickly if setenv (..., NULL, ...) is called.
12789 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12791         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12792         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12793         all the necessary asm magic in one place.
12794         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12795         using those.
12797 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12799         [BZ #14906]
12800         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12801         traced file mtime. Use consistent log message.
12802         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12803         (register_traced_file): Call install_watches. Always set mtime.
12804         (invalidate_cache): Iterate over all trace files. Call install_watches.
12805         (inotify_check_files): Don't inline. Handle watching parent
12806         directories and configuration file movement in and out.
12807         (handle_inotify_events): New function.
12808         (main_loop_poll): Call handle_inotify_events.
12809         (main_loop_epoll): Likewise.
12810         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12811         (struct traced_file): Use array of inotify fds. Add parent directory,
12812         and basename.
12813         (struct database_dyn): Remove unused file_mtime.
12814         (init_traced_file): New inline function.
12815         (define_traced_file): New macro.
12816         * nss/nss_db/db-init.c: Use define_traced_file.
12817         (_nss_db_init): Use init_traced_file.
12818         * nss/nss_files/files-init.c: Use define_traced_file.
12819         (_nss_files_init): Use init_traced_file.
12821 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12823         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12824         [_LIBC]: Do not include <stdlib.h>.
12825         [!_LIBC] (abort): Remove declaration.
12826         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12827         _FP_STATIC_ASSERT instead of conditionally calling abort.
12828         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12829         (_FP_EXTEND_CNAN): Likewise.
12830         (FP_TRUNC): Likewise.
12831         (__FP_CLZ): Likewise.
12832         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12834 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12836         * manual/string.texi (XPG basename): Fix prototype.
12838 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12840         [BZ #18080]
12841         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12842         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12843         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12844         (__setcontext): Likewise.
12845         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12846         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12847         Call rt_sigprocmask syscall one time to set new signal mask
12848         and retrieve the current signal mask instead of two calls.
12849         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12850         (__swapcontext): Likewise.
12851         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12852         * stdlib/tst-setcontext2.c: New file.
12854 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12856         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12858 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12860         [BZ #18093]
12861         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12862         the wrong size.
12864 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12866         [BZ #18043]
12867         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12869 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12871         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12872         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12873         Remove define.
12874         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12875         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12876         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12877         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12878         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12879         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12880         define.
12881         * nptl_db/td_symbol_list.c (td_lookup): Remove
12882         HAVE_ASM_GLOBAL_DOT_NAME code.
12883         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12884         HAVE_ASM_GLOBAL_DOT_NAME check.
12885         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12886         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12887         (DOT_LABEL): Remove define.
12888         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12889         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12890         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12891         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12892         (__TLS_GET_ADDR): Likewise.
12893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12894         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12896 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12898         [BZ #18111]
12899         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12900         (_FPU_SETCW): Initialize cw from fpsr before storing.
12901         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12902         (fesetexceptflag): Rewrite using fpu_control.h.
12903         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12905 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12907         [BZ #18110]
12908         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12909         asms.
12910         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12912 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12914         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12915         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12916         abort.
12917         (_FP_FMA): Likewise.
12918         (_FP_DIV): Likewise.
12920 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12922         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12923         with 0 in that case.
12924         * Makefile (summarize-tests): New canned sequence, factored out of
12925         commands for targets tests and xtests.  Display summary lines that
12926         don't start with PASS: or XFAIL: rather than ones that do start with
12927         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12928         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12929         do start with ERROR: or FAIL:.
12930         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12931         (except for [$(build-shared) = yes]).
12932         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12933         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12934         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12935         * nptl/Makefile: Revert 2015-03-04 changes.
12936         [$(CXX) empty] (tests-unsupported): New variable.
12937         * debug/Makefile: Likewise.
12939         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12940         gnulib file.  Replace __attribute with __attribute__ throughout.
12942 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12944         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12946 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12948         [BZ #18104]
12949         * math/auto-libm-test-in: Add another test of pow.
12950         * math/auto-libm-test-out: Regenerated.
12952 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12954         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12955         $(config-cflags-nofma).
12957 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12959         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12960         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12961         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12962         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12963         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12964         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12965         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12966         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12967         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12968         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12969         Add comment on closing #endif.
12971 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12973         * posix/wordexp.c (CHAR_IN_SET): New macro.
12974         (parse_param): Use it.
12976 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12978         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12980 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12982         [BZ #18043]
12983         * posix/wordexp.c (parse_param): Fix buffer overflow.
12984         * posix/wordexp-test.c (test_case): Add test case.
12986 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12988         [BZ #18042]
12989         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12990         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12992 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12994         [BZ #18043]
12995         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12996         (do_bz18043): Delete.
12997         (at_page_end): New.
12998         (testit): Refactor to have words at the edge of unreadable page.
13000 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13002         [BZ #16734]
13003         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13004         Cleanup read-only streams as well.
13005         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13007 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13009         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13010         <bits/libc-lockP.h>
13012 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13014         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13015         on [__KERNEL__].
13016         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13017         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13018         * soft-fp/op-common.h (_FP_DECL): Likewise.
13020 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13022         * elf/ifuncdep2.c (global): Replace
13023         __attribute__((visibility("protected"))) with
13024         asm (".protected global").
13025         * elf/ifuncmod1.c (global): Likewise.
13026         * elf/ifuncmod5.c (global): Likewise.
13028 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13030         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13031         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13033 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13035         * manual/install.texi (Configuring and compiling):
13036         Document test-wrapper-env-only.
13037         * INSTALL: Regenerated.
13039 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13041         [BZ #18043]
13042         * posix/wordexp.c (parse_param): Fix buffer overflow.
13043         * posix/wordexp-test.c (do_bz18043): Add test case.
13045 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13047         * time/tst-strptime2.c (do_test): Ensure failing tests are
13048         reported correctly.
13049         * time/tst-strptime3.c (do_test): Likewise.
13051 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13053         Fix aio_error thread-safety.
13054         * sysdeps/pthread/aio_error.c: New file
13055         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13056         synchronization.
13058 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13060         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13061         (group_number, vfprintf): Use it.
13062         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13063         (JUMP, REF): Use it.
13064         (WORK_BUFFER_SIZE): New enum constant.
13065         (process_arg, vfprintf): Use it.
13067 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13069         * manual/errno.texi (Error Messages): Complete example function
13070         by adding missing #define.
13071         (program_invocation_name): Add statement indicating GNU
13072         extension and reference which header file declares the variable.
13073         (program_invocation_short_name): Likewise.
13075 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13077         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13078         compatibility note.
13080 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13082         * Makeconfig (test-wrapper-env-only): New variable.
13083         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13084         then use that with $(test-wrapper-env-only) rather than using
13085         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13087 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13089         [BZ #18082]
13090         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13091         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13092         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13093         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13094         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13095         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13096         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13097         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13098         Likewise.
13099         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13100         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13101         Likewise.
13102         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13103         Likewise.
13104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13105         Likewise.
13106         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13107         Likewise.
13108         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13109         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13110         Likewise.
13111         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13112         Likewise.
13113         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13114         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13116 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13118         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13119         (ETH_ALEN): New macro.
13120         (struct ether_addr): Use it for length of ether_addr_octet.
13122         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13123         (setdb): Don't call __nss_configure_lookup for "rpc".
13124         (do_test): Don't call test_rpc.
13125         (output_rpcent, test_rpc): Functions moved ...
13126         * sunrpc/test-rpcent.c: ... to this new file.
13127         * sunrpc/Makefile (tests): Add it.
13129         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13130         __xpg_sigpause.
13131         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13132         * nptl/tst-signal6.c: Likewise.
13133         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13134         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13136         * configure.ac (libc_cv_cxx_link_ok): New check.
13137         Reset CXX to empty if it fails to link.
13138         * configure: Regenerated.
13139         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13140         bug-atexit3-lib only if $(CXX) is nonempty.
13141         * nptl/Makefile (tests): Likewise for tst-cancel24.
13142         (tests, tests-static): Likewise for tst-cancel24-static.
13143         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13144         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13145         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13146         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13148 2015-03-04  Andreas Schwab  <schwab@suse.de>
13150         [BZ #17631]
13151         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13152         for non-GCC compilers.
13153         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13154         Likewise.
13156 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13158         [BZ #17776]
13159         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13160         integer before bitwise and assembly operations.
13161         (feclearexcept): Likewise.
13162         * math/test-fenvinline.c: New file.
13163         * math/Makefile: Add test-fenvinline test.
13165 2015-03-03  Alan Modra  <amodra@gmail.com>
13167         [BZ #16512]
13168         * scripts/localplt.awk: Strip off symbol version.
13169         * NEWS: Mention bug fix.
13171 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13173         * sysdeps/pthread/timer_routines.c
13174         (timer_free_list, thread_free_list, thread_active_list): Make static.
13176 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13178         [BZ #17779]
13179         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13180         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13181         Undefine.
13182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13183         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13186         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13187         Likewise.
13189 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13191         [BZ #18036]
13192         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13193         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13195 2015-03-02  Andreas Schwab  <schwab@suse.de>
13197         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13198         variable name.
13200 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13202         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13203         Return error status.
13205 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13207         [BZ #15969]
13208         * locale/findlocale.c (_nl_find_locale): Introduce const
13209         version of loc_name and drop unsafe type casts.
13211 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13213         * dlfcn/tststatic2.c (main): Converted to ...
13214         (do_test): ... this.
13215         (TEST_FUNCTION): New macro.
13216         Include test-skeleton.c.
13218 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13220         [BZ #17711]
13221         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13222         (tests-pie): Add vismain.
13223         (CFLAGS-vismain.c): New.
13224         * elf/vismain.c: Add comments for PIE requirement.
13226 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #18046]
13229         [BZ #18047]
13230         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13231         0x1p-56L as threshold for just returning the argument.
13232         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13233         0x1p-32L as threshold for just returning the argument.
13234         * math/auto-libm-test-in: Add more tests of atanh.
13235         * math/auto-libm-test-out: Regenerated.
13236         * sysdeps/i386/fpu/libm-test-ulps: Update.
13237         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13239 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13241         * string/bcopy.c (bcopy): Call memmove for performance.
13243 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13245         * string/bzero.c (__bzero): Call memset for performance.
13247 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13249         [BZ #18068]
13250         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13251         to 00100000.
13253 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13255         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13257 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13259         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13260         (__kernel_standard): Use CSTR macro when setting exc.name.
13261         * sysdeps/ieee754/Makefile [$(subdir) = math]
13262         (CFLAGS-k_standard.c): Remove variable.
13264         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13265         setting p and q from "else if" to "else".
13266         (qzero): Likewise.
13267         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13268         (qone): Likewise.
13269         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13270         (qzerof): Likewise.
13271         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13272         (qonef): Likewise.
13273         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13274         (qzero): Likewise.
13275         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13276         (qone): Likewise.
13278         [BZ #18038]
13279         [BZ #18039]
13280         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13281         return pi/2 for arguments below 0x1p-113L.
13282         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13283         return pi/2 for arguments below 0x1p-106L.
13284         * math/auto-libm-test-in: Add more tests of acos.
13285         * math/auto-libm-test-out: Regenerated.
13287         [BZ #16351]
13288         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13289         (MO): New macro.
13290         (__ieee754_asin): Force underflow exception for results with small
13291         absolute value.
13292         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13293         (MO): New macro.
13294         (__ieee754_asinf): Force underflow exception for results with
13295         small absolute value.
13296         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13297         (__ieee754_asin): Force underflow exception for results with small
13298         absolute value.
13299         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13300         (__ieee754_asinf): Force underflow exception for results with
13301         small absolute value.
13302         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13303         (__ieee754_asinl): Force underflow exception for results with
13304         small absolute value.
13305         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13306         (__ieee754_asinl): Force underflow exception for results with
13307         small absolute value.
13308         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13309         (__ieee754_asinl): Force underflow exception for results with
13310         small absolute value.
13311         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13312         Include <math.h>.
13313         * math/auto-libm-test-in: Do not mark underflow exceptions as
13314         possibly missing for bug 16351.
13315         * math/auto-libm-test-out: Regenerated.
13317         [BZ #18030]
13318         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13319         of power of 2 down when low part has opposite sign.
13320         * math/libm-test.inc (logb_test_data): Add more tests.
13322 2015-02-26  Andreas Schwab  <schwab@suse.de>
13324         [BZ #18032]
13325         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13326         over collating symbol inside a bracket expression.  Minor cleanup.
13327         * posix/tst-fnmatch3.c (do_test): Add test case.
13329 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #18029]
13332         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13333         Adjust exponent of power of 2 down when low part has opposite
13334         sign.
13335         * math/libm-test.inc (ilogb_test_data): Add more tests.
13337 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13339         [BZ #15969]
13340         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13341         the previous change.
13343         [BZ #15969]
13344         * locale/findlocale.c (_nl_find_locale): Retry archive search
13345         after alias expansion.
13347 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13349         * iconv/tst-iconv3.c (main): Converted to ...
13350         (do_test): ... this.
13351         (TEST_FUNCTION): New macro.
13352         Include test-skeleton.c.
13354         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13355         (convert): Make function static.
13356         (test_unalign): Likewise.  Add const to argument pointee types.
13357         (main): Replace with static function do_test.
13358         Print "Succeeded." only if RET is zero.
13359         (TEST_FUNCTION): New macro.
13360         Include test-skeleton.c.
13362         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13363         returns a null pointer.
13365 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13367         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13368         to __memcpy_ppc only for static builds.
13370 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13372         [BZ #18020]
13373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13374         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13375         * math/auto-libm-test-in: Add more tests of asinh.
13376         * math/auto-libm-test-out: Regenerated.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update.
13378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13382         [BZ #15850]
13383         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13384         and ip6_mtuinfo definitions here.
13385         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13386         in this define too.  Update comment.
13388 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13390         * elf/sprof.c (load_shobj): Tweak error message to match others.
13392 2015-02-24  Kevin Easton  <kevin@guarana.org>
13394         [BZ #16145] (partial fix)
13395         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13396         to reduce lock contention.
13398 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13400         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13401         (struct timex): Update time comment.
13402         (ADJ_SETOFFSET): Define.
13404 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13406         [BZ #18019]
13407         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13408         2**56 not 2**28 as threshold for log (2x) formula.
13409         * math/auto-libm-test-in: Add more tests of acosh.
13410         * math/auto-libm-test-out: Regenerated.
13411         * sysdeps/i386/fpu/libm-test-ulps: Update.
13412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13414 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13416         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13417         parenthesis around the buf assignment.
13418         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13420 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13422         [BZ #16783]
13423         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13424         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13425         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13426         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13427         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13428         * math/libm-test.inc (scalb_test_data): Add more tests.
13430 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13432         [BZ #17916]
13433         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13434         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13436 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13438         [BZ #17523]
13439         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13440         * io/bits/fcntl2.h (open): Use it.
13441         (openat): Likewise.
13442         * io/open.c (__libc_open): Likewise.
13443         * io/open64.c (__libc_open64): Likewise.
13444         * io/open64_2.c (__open64_2): Likewise.
13445         * io/open_2.c (__open_2): Likewise.
13446         * io/openat.c (__openat): Likewise.
13447         * io/openat64.c (__openat64): Likewise.
13448         * io/openat64_2.c (__openat64_2): Likewise.
13449         * io/openat_2.c (__openat_2): Likewise.
13450         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13451         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13452         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13453         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13454         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13455         (__open_nocancel): Likewise.
13456         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13457         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13458         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13460 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13462         [BZ #14841]
13463         * resolv/gethnamaddr.c (getanswer): Skip logging if
13464         RES_USE_DNSSEC is set.
13465         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13467 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13469         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13471 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13473         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13474         201304L, for Unicode 7.
13476 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13478         [BZ #17836]
13479         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13480         shared library.  Add gmon-start.os otherwise.
13481         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13482         $(objpfx)gmon-start.os if builing shared library.
13483         ($(objpfx)g$(static-start-installed-name)): Likewise.
13485 2015-02-23  Andreas Schwab  <schwab@suse.de>
13487         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13489 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13491         [BZ #17269]
13492         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13493         (enlarge_userbuf): Likewise.
13495 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13497         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13498         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13499         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13500         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13502 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13504         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13505         expression inside statement expression.
13507 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13509         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13510         <sysdeps/nptl/lowlevellock.h> and remove macros and
13511         functions that are now defined there.
13512         (SYS_futex): Remove.
13513         (lll_compare_and_swap): Remove.
13514         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13516 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13518         [BZ #17999]
13519         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13520         instead of scandirat.
13521         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13522         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13523         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13524         __scandirat.
13525         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13526         (__scandirat): Declare.  Use libc_hidden_proto.
13527         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13528         Remove variable.
13529         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13531 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13533         [BZ #15319]
13534         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13535         (MO): New macro.
13536         (__ieee754_atan2): For results with small absolute value, force
13537         underflow exception and remove excess range and precision from
13538         return value.
13539         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13540         (MO): New macro.
13541         (__ieee754_atan2f): For results with small absolute value, force
13542         underflow exception and remove excess range and precision from
13543         return value.
13544         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13545         (MO): New macro.
13546         (__atan): For results with small absolute value, force underflow
13547         exception and remove excess range and precision from return value.
13548         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13549         (MO): New macro.
13550         (__atanf): For results with small absolute value, force underflow
13551         exception and remove excess range and precision from return value.
13552         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13553         <math.h>.
13554         (__ieee754_atan2): Force underflow exception for results with
13555         small absolute value.
13556         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13557         <math_private.h>.
13558         (atan): Force underflow exception for results with small absolute
13559         value.
13560         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13561         (__atanf): Force underflow exception for results with small
13562         absolute value.
13563         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13564         <math.h>.
13565         (__atanl): Force underflow exception for results with small
13566         absolute value.
13567         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13568         (__atanl): Force underflow exception for results with small
13569         absolute value.
13570         * sysdeps/x86/fpu/bits/mathinline.h
13571         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13572         (__ieee754_atan2): Only define inline for long double.
13573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13574         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13575         * math/auto-libm-test-in: Do not mark underflow exceptions as
13576         possibly missing for bug 15319.  Add more tests of atan2.
13577         * math/auto-libm-test-out: Regenerated.
13578         * math/libm-test.inc (casin_test_data): Do not mark underflow
13579         exceptions as possibly missing for bug 15319.
13580         (casinh_test_data): Likewise.
13581         * sysdeps/i386/fpu/libm-test-ulps: Update.
13583 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13585         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13586         * sysdeps/mips/bits/endian.h: Fix comments.
13588 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13590         [BZ #17996]
13591         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13592         (hdestroy_r): Likewise.
13593         (hsearch_r): Likewise.
13594         (__hcreate_r): Declare and use libc_hidden_proto.
13595         (__hdestroy_r): Likewise.
13596         (__hsearch_r): Likewise.
13597         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13598         (hcreate): Call __hcreate_r instead of hcreate_r.
13599         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13600         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13601         as weak alias of __hcreate_r.
13602         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13603         __hdestroy_r.
13604         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13605         __hsearch_r.
13606         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13607         Remove variable.
13608         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13609         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13610         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13611         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13613 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13615         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13616         arena_lock into a single arena_get.
13618 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13620         * dl-reloc.c: Inlucde libc-internal.h.
13621         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13622         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13623         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13624         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13625         (grow_heap): Likewise.
13626         * malloc/malloc.c: Include libc-internal.h.
13627         (do_check_malloc): Call powerof2.
13628         (sysmalloc): Use pagesize. Call ALIGN_UP.
13629         (systrim): Use pagesize.
13630         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13631         (__libc_valloc): Use pagesize.
13632         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13634 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #17991]
13637         * include/sys/resource.h (__getrlimit64): Declare.  Use
13638         libc_hidden_proto.
13639         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13640         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13641         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13642         getrlimit64.
13643         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13644         __getrlimit64.
13645         [!getrlimit64] (getrlimit64): Define as weak alias of
13646         __getrlimit64.  Use libc_hidden_weak.
13647         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13648         using __getrlimit64 not __new_getrlimit64.
13649         (__GI_getrlimit64): Likewise.
13650         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13651         Likewise.
13652         (__GI_getrlimit64): Likewise.
13653         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13655         (getrlimit): Add __getrlimit64 alias.
13656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13657         Likewise.
13658         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13659         Remove variable.
13660         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13661         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13663 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13665         * libio/fileops.c: Add missing sys/mman.h
13666         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13668 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13670         * manual/math.texi (Errors in Math Functions): Clarify goals
13671         regarding inexact and underflow exceptions.
13673 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13675         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13676         * sysdeps/mips/memset.S: Ditto.
13678 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13680         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13682 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13684         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13685         (__v1longjmp): Remove versioned symbol.
13686         (__v1siglongjmp): Remove alias and versioned symbol.
13687         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13688         (__v2siglongjmp): Likewise.
13690 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13692         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13694 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13696         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13698 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13700         [BZ #17987]
13701         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13702         zero result does not depend on the sign resulting from
13703         subtraction.
13704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13705         Likewise.
13706         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13707         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13708         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13709         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13710         * math/libm-test.inc (remquo_test_data): Add more tests.
13712 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13714         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13715         Problem reported by J William Piggott.
13717 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13719         [BZ #17978]
13720         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13721         products 4 * y and 2 * y where those would overflow.
13722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13723         Likewise.
13724         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13725         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13726         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13727         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13728         * math/libm-test.inc (remquo_test_data): Add more tests.
13730         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13732         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13733         [defined _COMPILING_NEWLIB].
13734         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13735         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13737         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13738         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13740 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13742         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13743         acquired.
13745 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13747         [BZ #17792]
13748         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13749         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13750         HOST_STACK_END_ADDR): Likewise.
13752 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13754         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13755         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13756         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13758 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13760         * sysdeps/generic/c++-types.data: New file.
13761         * sysdeps/generic/ld.abilist: New file.
13762         * sysdeps/generic/libBrokenLocale.abilist: New file.
13763         * sysdeps/generic/libanl.abilist: New file.
13764         * sysdeps/generic/libc.abilist: New file.
13765         * sysdeps/generic/libcrypt.abilist: New file.
13766         * sysdeps/generic/libdl.abilist: New file.
13767         * sysdeps/generic/libm.abilist: New file.
13768         * sysdeps/generic/libpthread.abilist: New file.
13769         * sysdeps/generic/libresolv.abilist: New file.
13770         * sysdeps/generic/librt.abilist: New file.
13772 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13774         [BZ #17569]
13775         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13776         Compute absolute value of x as modified by fmod, not original
13777         value of x.
13778         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13779         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13780         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13781         RUN_TEST_ffI_f1_mod8.
13782         (remquo_test_data): Add more tests.
13784 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13786         * sysdeps/init_array/pt-crti.S: New file.
13788 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13790         [BZ #17967]
13791         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13792         __builtin_fmaf instead of relying on contraction of a * b + c.
13794 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13796         [BZ #17969]
13797         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13798         node.
13800 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13802         [BZ #17964]
13803         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13804         __builtin_fma instead of relying on contraction of a * b + c.
13806 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13808         * Makeconfig (ASFLAGS): Add -Werror=undef.
13809         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13810         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13811         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13813         * Makeconfig (after-link): New variable.
13814         (+link-pie, +link-pie-tests): Use it.
13815         (+link-static, +link-static-tests): Likewise.
13816         (+link, +link-tests): Likewise.
13817         * Makerules (build-module, build-module-asneeded): Likewise.
13818         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13819         Likewise.
13820         * elf/Makefile ($(objpfx)ld.so): Likewise.
13822 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13824         [BZ #17965]
13825         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13826         both struct timeval and struct timespec.
13828 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13830         [BZ #16560]
13831         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13832         and redefine.
13833         (__ieee754_exp2l): Do not multiply small fractional parts by
13834         M_LN2l.
13835         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13836         small argument.
13837         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13838         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13839         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13840         * math/auto-libm-test-in: Add more tests of exp2.
13841         * math/auto-libm-test-out: Regenerated.
13843 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13845         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13846         unaligned path.
13848 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13850         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13851         little endian.
13853 2015-02-12  Andreas Schwab  <schwab@suse.de>
13855         [BZ #15790]
13856         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13857         Filter out elision flags from value returned in kind.
13858         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13859         * nptl/tst-pthread-mutexattr.c: New file.
13861 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13863         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13864         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13865         into gnu-gnu, and update comment to refer to abi-tags.
13867 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13869         [BZ #15467]
13870         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13871         (__sincos): Set errno to EDOM for infinite argument.
13872         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13873         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13874         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13875         (__sincosl): Set errno to EDOM for infinite argument.
13876         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13877         (__sincosl): Set errno to EDOM for infinite argument.
13878         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13879         (__sincosl): Set errno to EDOM for infinite argument.
13880         * math/libm-test.inc (sincos_test_data): Test errno setting.
13882 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13884         * string/strxfrm_l.c: Remove #define STRCMP.
13885         * string/strcoll_l.c: Remove #define STRLEN.
13886         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13887         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13889 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13891         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13892         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13893         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13894         * sysdeps/mips/mips64/Makefile: ... here.
13895         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13896         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13897         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13898         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13899         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13900         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13901         * sysdeps/mips/mips64/n64/Implies: Likewise.
13903 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13905         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13906         <sys/time.h>, <string.h>, and <errno.h>.
13907         (dest_offset, dest_address, value, zero): Remove unused variables.
13908         (ldouble): Remove typedef.
13909         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13910         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13911         1).  Fix code style.
13912         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13913         (check): Function removed.
13914         (CHECK): New macro.
13915         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13916         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13917         Don't call set_sigaction_FP and remove_sigaction_FP here.
13918         (ldouble_test): Just use 'long double' as macro argument, no need for
13919         the 'ldouble' typedef.
13920         (do_test): Set up SIGFPE handler at start, using plain signal rather
13921         than sigaction.  Fix code style.
13923 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13925         [BZ #17949]
13926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13927         jump label.
13929 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13931         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13932         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13934         * sysdeps/powerpc/configure.ac: Remove file.
13935         * sysdeps/powerpc/configure: Likewise.
13937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13938         [sysdep_routines]: Remove wordcopy-power6 object.
13939         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13940         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13941         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13942         (__memmove_ppc32): Likewise.
13943         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13944         file.
13945         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13946         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13947         Remove preprocessor.
13949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13950         [sysdep_routines]: Remove wide chars objects.
13951         [wcsmbs]: New rule for wide char objects.
13953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13954         Remove wordcopy-power6 obejct.
13955         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13956         Use local call for wordcopy and memcpy symbols.
13957         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13958         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13959         implementation for loader.
13960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13963         Remove wordcopy-power7 object.
13964         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13966         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13967         (_wordcopy_fwd_dest_aligned): Likewise.
13968         (_wordcopy_bwd_aligned): Likewise.
13969         (_wordcopy_bwd_dest_aligned): Likewise.
13971         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13972         Rewrite to call __memmove_ppc instead of include default
13973         implementation.
13975         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13976         Remove wide chars objects.
13977         [wcsmbs]: New rule for wide char objects.
13979 2015-02-09  Andreas Schwab  <schwab@suse.de>
13981         [BZ #17912]
13982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13983         in terms of __O_DIRECTORY.
13985 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13987         * time/getdate.c: Include <stdbool.h>.
13988         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13989         call PTR_MANGLE.
13990         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13991         PTR_DEMANGLE.
13993 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13995         Add ersatz _Static_assert on older C hosts
13996         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13997         pre-C11 C platform that is not known to support _Static_assert.
13999 2015-02-07  Richard Braun  <rbraun@sceen.net>
14001         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14002         sigstate.
14003         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14005 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14007         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14008         priority against unexistent AIO_PRIO_DELTA_MAX.
14009         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14010         instead of int.
14011         * misc/fchflags.c (fchflags): Likewise.
14012         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14013         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14014         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14015         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14016         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14017         Declare macros.
14018         [__USE_MISC] (chflags, fchflags): Declare functions.
14019         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14020         EINVAL when nfds is greater than FD_SETSIZE.
14021         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14022         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14023         45.
14024         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14025         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14026         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14027         MACH_RCV_TIMED_OUT.
14028         * hurd/hurd/signal.h (_hurd_self_sigstate,
14029         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14030         Explicit casts from void *.
14031         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14032         * abi-tags: Rename gnu-gnu os into gnu.
14034         [BZ #4719]
14035         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14036         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14037         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14038         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14039         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14040         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14042         [BZ #17944]
14043         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14044         duplicates ADDR->sun_path with sockaddr LEN limitation.
14045         * sysdeps/mach/hurd/connect.c: Include <string.h>
14046         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14047         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14048         * sysdeps/mach/hurd/sendto.c: Likewise.
14049         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14050         implementing it by hand.
14052 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14054         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14055         Use sfi_breg on ldr.
14056         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14057         Likewise.
14059         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14060         it's defined.
14061         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14062         Test SIGSETXID only if it's defined.
14064         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14066         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14067         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14069         * nptl/tst-align2.c: Moved ...
14070         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14071         * nptl/Makefile (tests): Remove tst-align2.
14072         * sysdeps/unix/sysv/linux/Makefile
14073         [$(subdir) = nptl] (tests): Add tst-align-clone.
14074         * nptl/tst-getpid1.c: Moved ...
14075         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14076         * nptl/tst-getpid2.c: Moved ...
14077         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14078         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14079         * sysdeps/unix/sysv/linux/Makefile
14080         [$(subdir) = nptl] (tests): ... here.
14081         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14082         * sysdeps/unix/sysv/linux/Makefile
14083         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14085         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14086         Drop trailing \n from perror argument.  Use return rather than exit.
14088         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14089         on [SA_SIGINFO].
14090         * nptl/tst-cancel21.c (do_test): Likewise.
14091         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14092         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14093         [!SA_SIGINFO]: Make it a stub test.
14095         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14096         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14098         * posix/tst-getlogin.c: Move to ...
14099         * login/tst-getlogin.c: ... here.
14100         * posix/Makefile (tests): Move tst-getlogin to ...
14101         * login/Makefile (tests): ... here.
14103         * libio/tst-atime.c (do_test): Move local variables SV and E
14104         inside [ST_NOATIME] conditional.
14106         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14108         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14110         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14111         (wait_code): New function replaces macro.
14112         Call nanosleep rather than syscall.
14114         * nptl/pt-system.c: Rewritten.  Put everything under
14115         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14116         Use IFUNC to redirect when possible.
14118         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14119         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14120         Use IFUNC to redirect when possible.
14122         * nptl/pt-fork.c: Rewritten.  Put everything under
14123         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14124         Use IFUNC to redirect when possible.
14125         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14128         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14129         unconditionally nowadays.  This included the only reference to
14130         __vdso_clock_gettime that appears outside libc proper.
14131         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14132         Remove version set (containing only __vdso_clock_gettime).
14133         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14134         Add attribute_hidden.
14135         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14136         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14137         libc_hidden_data_def.
14138         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14139         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14141         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14142         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14143         setrpcent, and getrpcport to ...
14144         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14145         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14146         getrpcbynumber_r, and getrpcent_r to ...
14147         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14148         * inet/getrpcbyname.c: Moved ...
14149         * sunrpc/getrpcbyname.c: ... here.
14150         * inet/getrpcbyname_r.c: Moved ...
14151         * sunrpc/getrpcbyname_r.c: ... here.
14152         * inet/getrpcbynumber.c: Moved ...
14153         * sunrpc/getrpcbynumber.c: ... here.
14154         * inet/getrpcbynumber_r.c: Moved ...
14155         * sunrpc/getrpcbynumber_r.c: ... here.
14156         * inet/getrpcent.c: Moved ...
14157         * sunrpc/getrpcent.c: ... here.
14158         * inet/getrpcent_r.c: Moved ...
14159         * sunrpc/getrpcent_r.c: ... here.
14160         * inet/Makefile (routines): Move those to ...
14161         * sunrpc/Makefile (routines): ... here.
14162         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14163         the $(subdirs) list.
14164         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14165         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14166         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14167         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14169         * elf/Makefile (routines): Include $(all-dl-routines), not just
14170         $(dl-routines).
14171         (rtld-routines): Likewise.  Use = rather than :=.
14172         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14173         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14174         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14175         * sysdeps/arm/Makefile: Likewise.
14176         * sysdeps/i386/Makefile: Likewise.
14177         * sysdeps/x86_64/Makefile: Likewise.
14178         * sysdeps/hppa/Makefile [$(subdir) = elf]
14179         (sysdep_routines, sysdep-rtld-routines): Don't add
14180         $(sysdep-dl-routines) to these.
14181         * sysdeps/ia64/Makefile: Likewise.
14182         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14183         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14184         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14185         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14186         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14187         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14188         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14189         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14190         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14191         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14192         these; sysdep-dl-routines alone is enough.
14194 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14196         [BZ #17932]
14197         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14198         where multiplication results in zero and third argument is finite
14199         and nonzero.
14200         * math/auto-libm-test-in: Add more tests of fma.
14201         * math/auto-libm-test-out: Regenerated.
14203         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14204         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14205         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14206         (_FP_CMP_EQ): Likewise.
14207         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14209         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14210         extra argument CHECK_NAN.  Redefine as wrapper around
14211         _FP_EXTEND_CNAN.
14213 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14215         * version.h (RELEASE): Set to "stable".
14216         (VERSION): Set to "2.21"
14217         * include/features.h (__GLIBC_MINOR__): Set to 21.
14219         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14221 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14222             Paul Eggert  <eggert@cs.ucla.edu>
14224         [BZ #16618]
14225         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14226         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14227         size in bytes. Store needed elements in wpmax. Use needed size
14228         in bytes for extend_alloca.
14230 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14232         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14233         binutls 2.25, and texinfo 5.2.
14234         * INSTALL: Regenerate.
14235         * sysdeps/nios2/configure: Regenerate.
14236         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14237         * manual/contrib.texi: Update.
14238         * po/be.po: Update.
14239         * po/bg.po: Update.
14240         * po/ca.po: Update.
14241         * po/cs.po: Update.
14242         * po/da.po: Update.
14243         * po/de.po: Update.
14244         * po/el.po: Update.
14245         * po/eo.po: Update.
14246         * po/es.po: Update.
14247         * po/fi.po: Update.
14248         * po/fr.po: Update.
14249         * po/gl.po: Update.
14250         * po/hr.po: Update.
14251         * po/hu.po: Update.
14252         * po/ia.po: Update.
14253         * po/id.po: Update.
14254         * po/it.po: Update.
14255         * po/ja.po: Update.
14256         * po/ko.po: Update.
14257         * po/lt.po: Update.
14258         * po/nb.po: Update.
14259         * po/nl.po: Update.
14260         * po/pl.po: Update.
14261         * po/pt_BR.po: Update.
14262         * po/ru.po: Update.
14263         * po/rw.po: Update.
14264         * po/sk.po: Update.
14265         * po/sl.po: Update.
14266         * po/sv.po: Update.
14267         * po/tr.po: Update.
14268         * po/uk.po: Update.
14269         * po/vi.po: Update.
14270         * po/zh_CN.po: Update.
14271         * po/zh_TW.po: Update.
14273         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14274         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14275         * sysdeps/hppa/dl-irel.h: Remove #warning.
14276         * sysdeps/hppa/entry.h: Provide prototype for
14277         __canonicalize_funcptr_for_compare and cast argument.
14278         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14279         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14280         * sysdeps/hppa/sotruss-lib.c: New file.
14281         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14282         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14283         (atomic_compare_and_exchange_bool_acq): Likewise.
14284         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14285         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14287         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14288         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14289         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14291 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14293         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14294         called function in non-PIC case.
14296 2015-01-31  David S. Miller  <davem@davemloft.net>
14298         * sysdeps/sparc/sparc32/bits/atomic.h
14299         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14300         unlock not after it.
14301         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14302         volatile register usage warnings from the compiler.
14304         * sysdeps/sparc/nptl/sem_init.c: Delete.
14305         * sysdeps/sparc/nptl/sem_post.c: Delete.
14306         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14307         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14308         * sysdeps/sparc/sparc32/sem_init.c: New file.
14309         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14310         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14311         padding explicitly initialized.
14312         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14313         padding for in-semaphore spinlock.
14314         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14315         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14316         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14317         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14318         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14319         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14320         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14321         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14322         version.
14323         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14324         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14326 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14328         [BZ #17801]
14329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14330         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14331         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14332         New.
14333         (index_AVX_Fast_Unaligned_Load): Likewise.
14334         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14336         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14337         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14338         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14339         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14340         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14341         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14342         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14344 2015-01-29  Andreas Schwab  <schwab@suse.de>
14346         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14348 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14350         [BZ #17892]
14351         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14353 2015-01-28  Martin Sebor  <msebor@redhat.com>
14355         * math/README.libm-test: Clarify. Add "How to read the test output."
14357 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14359         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14360         Define to 0.
14362 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14364         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14365         (__HAVE_64B_ATOMICS): Define to 0.
14367 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14369         [BZ #17885]
14370         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14371         value to set as new flag.
14373         [BZ #16576]
14374         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14375         and use _ARCH_PPCSQ instead.
14376         (__ieee754_sqrt): Likewise.
14377         (__ieee754_sqrtf): Likewise.
14378         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14379         _ARCH_PPCSQ is defined.
14380         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14381         fsqrt instruction.
14382         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14383         _ARCH_PPCSQ is defined.
14384         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14385         fsqrts instruction.
14386         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14388 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14390         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14391         bug (GCC BZ #64739).
14393 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14395         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14396         Mark _retval as used.
14397         (lll_futex_wake_unlock): Likewise.
14398         (lll_futex_timed_wait_requeue_pi): Likewise.
14400         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14401         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14402         register variables.
14404         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14405         libm_hidden_def.
14407         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14408         (__bswap_64): Mark as __always_inline.
14410 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14412         [BZ #15378]
14413         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14414         when none of the search directories exist.
14416 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14418         [BZ #17869]
14419         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14420         power8 in .machine directive.
14422         [BZ #17868]
14423         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14424         set dependency from opd value.
14426 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14429         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14430         architecture.
14432 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14434         [BZ #17870]
14435         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14436         with uint64_t.
14437         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14438         (uint64_t) 1.
14439         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14440         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14441         Replace 1UL with (uint64_t) 1.
14442         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14443         int with uint64_t.
14445 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14447         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14448         (if_freenameindex): Likewise.
14450         * resource/getrlimit64.c: Add missing libc_hidden_def.
14452 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14454         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14455         __label__.
14456         (_FP_FMA): Likewise.
14457         (_FP_TO_INT_ROUND): Likewise.
14458         (_FP_FROM_INT): Likewise.
14460 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14462         [BZ #16418]
14463         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14464         Make code racy and cancel safe.
14466 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14468         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14469         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14470         attribution.
14472         * pwd/tst-getpw.c: Rewrite.
14474         [BZ #17702]
14475         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14476         (modules-names): Add moddummy1 and moddummy2.
14477         ($(objpfx)tst-rec-dlopen): Define.
14478         * dlfcn/moddummy1.c: New file.
14479         * dlfcn/moddummy2.c: New file.
14480         * dlfcn/tst-rec-dlopen.c: New file.
14481         * elf/dl-cache.c (_dl_load_cache_lookup):
14482         Return char*. Copy result with alloca/strcpy/strdup.
14483         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14484         returns char*. Free cached. If not saving realname
14485         free cached.
14486         * elf/dl-open.c (dl_open_worker): Do not assert that
14487         _r_debug->r_state is RT_CONSISTENT.
14488         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14489         returns char*.
14491 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14492             Carlos O'Donell  <carlos@redhat.com>
14494         [BZ #12674]
14495         * nptl/sem_waitcommon.c: New file.
14496         * nptl/sem_wait.c: Include sem_waitcommon.c.
14497         (__sem_wait_cleanup, do_futex_wait): Remove.
14498         (__new_sem_wait): Adapt.
14499         (__new_sem_trywait): New function.
14500         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14501         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14502         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14503         (sem_timedwait): Adapt.
14504         * nptl/sem_post.c (__new_sem_post): Adapt.
14505         (futex_wake): New function.
14506         (__old_sem_post): Add release MO fence.
14507         * nptl/sem_open.c (sem_open): Adapt.
14508         * nptl/sem_init.c (__new_sem_init): Adapt.
14509         (futex_private_if_supported): New function.
14510         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14511         (__old_sem_getvalue): Add using previous code.
14512         * sysdeps/nptl/internaltypes.h: Adapt.
14513         * nptl/tst-sem13.c (do_test): Adapt.
14514         * nptl/tst-sem11.c (main): Adapt.
14515         * nptl/sem_trywait.c: Remove.
14516         * nptl/DESIGN-sem.txt: Remove.
14517         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14518         (gen-as-const-headers): Remove structsem.sym.
14519         * nptl/structsem.sym: Remove.
14520         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14521         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14522         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14523         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14524         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14525         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14526         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14527         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14528         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14529         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14530         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14531         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14532         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14533         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14534         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14535         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14536         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14537         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14538         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14539         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14540         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14541         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14543 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14545         * INSTALL: Regenerated.
14547         * po/libc.pot: Regenerated.
14549 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14550             Sandra Loosemore  <sandra@codesourcery.com>
14551             Andrew Jenner  <andrew@codesourcery.com>
14552             Joseph Myers  <joseph@codesourcery.com>
14553             Nathan Sidwell  <nathan@codesourcery.com>
14555         * NEWS: Mention new Nios II port.
14556         * sysdeps/nios2/Implies: New file.
14557         * sysdeps/nios2/Makefile: New file.
14558         * sysdeps/nios2/Subdirs: New file.
14559         * sysdeps/nios2/Versions: New file.
14560         * sysdeps/nios2/__longjmp.S: New file.
14561         * sysdeps/nios2/abort-instr.h: New file.
14562         * sysdeps/nios2/backtrace.c: New file.
14563         * sysdeps/nios2/bits/endian.h: New file.
14564         * sysdeps/nios2/bits/fenv.h: New file.
14565         * sysdeps/nios2/bits/link.h: New file.
14566         * sysdeps/nios2/bits/setjmp.h: New file.
14567         * sysdeps/nios2/bsd-_setjmp.S: New file.
14568         * sysdeps/nios2/bsd-setjmp.S: New file.
14569         * sysdeps/nios2/configure: New generated file.
14570         * sysdeps/nios2/configure.ac: New file.
14571         * sysdeps/nios2/crti.S: New file.
14572         * sysdeps/nios2/crtn.S: New file.
14573         * sysdeps/nios2/dl-init.c: New file.
14574         * sysdeps/nios2/dl-machine.h: New file.
14575         * sysdeps/nios2/dl-sysdep.h: New file.
14576         * sysdeps/nios2/dl-tls.h: New file.
14577         * sysdeps/nios2/dl-trampoline.S: New file.
14578         * sysdeps/nios2/gccframe.h: New file.
14579         * sysdeps/nios2/gmp-mparam.h: New file.
14580         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14581         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14582         * sysdeps/nios2/ldsodefs.h: New file.
14583         * sysdeps/nios2/libc-tls.c: New file.
14584         * sysdeps/nios2/libm-test-ulps: New file.
14585         * sysdeps/nios2/machine-gmon.h: New file.
14586         * sysdeps/nios2/math-tests.h: New file.
14587         * sysdeps/nios2/math_private.h: New file.
14588         * sysdeps/nios2/memusage.h: New file.
14589         * sysdeps/nios2/nptl/Makefile: New file.
14590         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14591         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14592         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14593         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14594         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14595         * sysdeps/nios2/nptl/tls.h: New file.
14596         * sysdeps/nios2/preconfigure: New file.
14597         * sysdeps/nios2/s_fma.c: New file.
14598         * sysdeps/nios2/s_fmaf.c: New file.
14599         * sysdeps/nios2/setjmp.S: New file.
14600         * sysdeps/nios2/sfp-machine.h: New file.
14601         * sysdeps/nios2/sotruss-lib.c: New file.
14602         * sysdeps/nios2/stackguard-macros.h: New file.
14603         * sysdeps/nios2/stackinfo.h: New file.
14604         * sysdeps/nios2/start.S: New file.
14605         * sysdeps/nios2/sysdep.h: New file.
14606         * sysdeps/nios2/tls-macros.h: New file.
14607         * sysdeps/nios2/tst-audit.h: New file.
14608         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14609         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14610         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14611         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14612         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14613         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14614         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14615         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14616         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14617         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14618         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14619         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14620         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14621         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14622         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14623         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14624         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14625         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14626         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14627         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14628         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14629         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14630         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14631         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14632         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14633         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14634         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14635         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14636         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14637         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14638         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14639         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14640         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14641         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14642         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14643         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14645         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14646         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14647         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14648         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14649         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14650         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14651         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14653 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14655         [BZ #17844]
14656         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14657         (getutent): Use weak_alias in non SHARED case
14658         and default_symbol_version in SHARED case.
14659         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14660         (getutent_r, pututline): Likewise.
14661         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14662         (getutid): Likewise.
14663         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14664         (getutid_r): Likewise.
14665         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14666         (getutline): Likewise.
14667         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14668         (getutline_r): Likewise.
14669         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14670         (updwtmp): Likewise.
14672 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14674         [BZ #17848]
14675         * sysdeps/s390/s390-32/memcmp.S
14676         (memcmp_g5): Rename to __memcmp_g5.
14677         * sysdeps/s390/s390-32/memcpy.S
14678         (memcpy_g5): Rename to __memcpy_g5.
14679         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14680         (memcpy_mvcle) Rename to __memcpy_mvcle.
14681         * sysdeps/s390/s390-32/memset.S
14682         (memset_g5): Rename to __memset_g5.
14683         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14684         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14685         and use prefixed functions.
14686         * sysdeps/s390/s390-32/multiarch/memcmp.S
14687         (memcmp_z196): Rename to __memcmp_z196.
14688         (memcmp_z10): Rename to __memcmp_z10.
14689         (memcmp): Set alias to __memcmp_g5.
14690         (bcmp): Set alias to __memcmp_g5.
14691         * sysdeps/s390/s390-32/multiarch/memcpy.S
14692         (memcpy_z196): Rename to __memcpy_z196.
14693         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14694         (memcpy_z10): Rename to __memcpy_z10.
14695         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14696         (memcpy): Set alias to __memcpy_g5.
14697         * sysdeps/s390/s390-32/multiarch/memset.S
14698         (memset_z196): Rename to __memset_z196.
14699         Jump to __memset_mvcle instead of memset_mvcle.
14700         (memset_z10): Rename to __memset_z10.
14701         Jump to __memset_mvcle instead of memset_mvcle.
14702         (memset_mvcle) Rename to __memset_mvcle.
14703         (memset): Set alias to __memset_g5.
14704         * sysdeps/s390/s390-64/memcmp.S
14705         (memcmp_z900): Rename to __memcmp_z900.
14706         * sysdeps/s390/s390-64/memcpy.S
14707         (memcpy_z900): Rename to __memcpy_z900.
14708         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14709         (memcpy_mvcle) Rename to __memcpy_mvcle.
14710         * sysdeps/s390/s390-64/memset.S
14711         (memset_z900): Rename to __memset_z900.
14712         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14713         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14714         and use prefixed functions.
14715         * sysdeps/s390/s390-64/multiarch/memcmp.S
14716         (memcmp_z196): Rename to __memcmp_z196.
14717         (memcmp_z10): Rename to __memcmp_z10.
14718         (memcmp): Set alias to __memcmp_z900.
14719         (bcmp): Set alias to __memcmp_z900.
14720         * sysdeps/s390/s390-64/multiarch/memcpy.S
14721         (memcpy_z196): Rename to __memcpy_z196.
14722         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14723         (memcpy_z10): Rename to __memcpy_z10.
14724         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14725         (memcpy): Set alias to __memcpy_z900.
14726         * sysdeps/s390/s390-64/multiarch/memset.S
14727         (memset_z196): Rename to __memset_z196.
14728         Jump to __memset_mvcle instead of memset_mvcle.
14729         (memset_z10): Rename to __memset_z10.
14730         Jump to __memset_mvcle instead of memset_mvcle.
14731         (memset_mvcle) Rename to __memset_mvcle.
14732         (memset): Set alias to __memset_z900.
14734 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14736         [BZ #17748]
14737         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14738         __fesetenv instead of fesetenv.
14740 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14742         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14743         macro.
14745 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14747         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14748         regression on LE.
14750         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14751         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14752         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14753         strncmp-power8 object.
14754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14755         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14756         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14757         * NEWS: Update.
14759 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14760             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14762         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14763         trailing byte check.
14765 2015-01-13  David S. Miller  <davem@davemloft.net>
14767         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14769 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14771         * login/logout.c (logout): Use memset rather than bzero.
14772         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14773         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14774         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14775         (_gethtbyaddr): Likewise.
14776         * locale/programs/simple-hash.c (bcopy): Macro removed.
14778 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14780         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14781         Add strcmp-power8 object.
14782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14783         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14784         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14785         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14786         __strcmp_power8 implementation.
14787         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14788         * NEWS: Update.
14790         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14791         Add strncpy-power8 and stpncpy-power8 objects.
14792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14793         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14794         implementations.
14795         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14796         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14797         __stpncpy_power8 implementation.
14798         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14799         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14800         __strncpy_power8 implementation.
14801         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14802         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14803         * NEWS: Update.
14805         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14806         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14807         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14809         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14810         strncat-power8 object.
14811         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14812         __strcat_power8 implementation.
14813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14814         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14815         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14816         optimized strcat for power8.
14818         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14819         strcpy-power8 and stpcpy-power8 objects.
14820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14821         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14822         implementations.
14823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14824         multiarch stpcpy implementation for POWER8.
14825         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14826         multiarch strcpy implementation for POWER8.
14827         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14828         __strcpy_power8 function.
14829         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14830         stpcpy for POWER8.
14831         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14832         strcpy for POWER8.
14833         * NEWS: Update.
14835 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14837         [BZ #16009]
14838         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14839         weights and rules. Use do_xfrm_cached if data fits in cache,
14840         do_xfrm otherwise.  Moved former main loop to...
14841         * (do_xfrm_cached): New function.
14842         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14843         find_idx, find_position and stack_push.
14844         * (find_idx): New function.
14845         * (find_position): Likewise.
14846         * localedata/sort-test.sh: Added test run for do_xfrm.
14847         * localedata/xfrm-test.c (main): Added command line option
14848         -nocache to run the test with strings that are too large for
14849         the STRXFRM cache.
14851 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14853         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14854         variable to lll_futex_wake call, not the value itself.
14856 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14858         [BZ #17803]
14859         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14860         twom64.  Adjust value to 0x1p-64L.
14861         (__scalblnl): Only return standard underflowing result for K <=
14862         -64 not K <= -63; adjust exponent for underflowing result by 64
14863         not 63.
14864         * math/libm-test.inc (scalbn_test_data): Add more tests.
14865         (scalbln_test_data): Likewise.
14867         [BZ #17834]
14868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14869         0x1p63L.
14870         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14871         not HX.
14872         * math/libm-test.inc (scalbn_test_data): Add more tests.
14873         (scalbln_test_data): Likewise.
14875 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14876             Stefani Seibold  <stefani@seibold.net>
14878         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14879         (sysdep_routines): Add dl-vdso here, ...
14880         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14881         (sysdep_routines): ... not here.
14882         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14883         fallback when vDSO is not presented.
14884         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14885         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14886         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14887         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14888         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14889         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14890         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14891         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14892         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14894         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14895         fallback configurable symbol when vDSO is not available.
14896         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14897         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14898         be able to redefine fallback symbol when vDSO is not available.
14899         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14900         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14902 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14904         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14905         (TLS_INIT_TP): Add tm_capable initialization.
14906         (TLS_DEFINE_INIT_TP): Likewise.
14907         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14908         TCB.
14909         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14910         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14911         calculation.
14912         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14913         transactoion is lock elision is built and TCB tm_capable is set.
14914         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14916         (INTERNAL_SYSCALL_NCS): Likewise.
14917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14918         (INTERNAL_SYSCALL_NCS): Likewise.
14919         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14921         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14922         for powerpc.
14923         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14924         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14925         and remove it for 32 bits case.
14926         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14928         initialization.
14929         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14930         Disable lock elision with rdlocks if elision is not available.
14932         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14933         (sysdep_routines): Add lock elision objects.
14934         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14935         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14936         [pthread_mutex_t] (__elision): Add field.
14937         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14938         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14939         elision definitions for powerpc.
14940         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14941         implementation of lock elision for powerpc.
14942         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14943         implementation of timed lock elision for powerpc.
14944         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14945         implementation of trylock with lock elision for powerpc.
14946         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14947         implementaion of unlock for lock elision for powerpc.
14948         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14949         automatic enable lock elision for mutexes.
14950         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14951         transaction execution definitions for powerpc.
14952         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14953         definitions.
14954         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14955         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14957         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14958         * NEWS: Update.
14960 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14962         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14963         for #include of <shm-directory.h>.
14965 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14967         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14968         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14970 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14972         [BZ #17791]
14973         * NEWS: Mention bug fix.
14974         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14975         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14976         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14978 2015-01-09  Torvald Riegel <triegel@redhat.com>
14980         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14982 2015-01-09  Torvald Riegel <triegel@redhat.com>
14984         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14986 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14988         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14989         pointer and cast to uintptr_t.
14991 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14993         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14994         removed.
14995         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14997 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14999         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15000         of 0.
15002 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15004         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15005         <nptl/pthreadP.h> instead.
15006         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15008         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15009         already defined.
15010         [__SIGRTMIN] (init): Function removed.
15011         [__SIGRTMIN] (initialized): Variable removed.
15012         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15013         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15014         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15015         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15016         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15017         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15018         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15019         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15020         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15021         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15022         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15023         * sysdeps/nptl/allocrtsig.c: New file.
15024         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15025         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15026         * sysdeps/generic/testrtsig.h: File removed.
15028         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15029         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15031         * nptl/nptl-init.c (pthread_functions): Conditionalize
15032         .ptr__nptl_setxid initialization on [SIGSETXID].
15034         * sysdeps/nptl/sys/procfs.h: New file.
15035         * nptl_db/Makefile (headers): Add it.
15036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15038         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15039         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15040         * nptl/pthread_attr_setaffinity.c: Include it.
15041         * nptl/pthread_setattr_default_np.c: Likewise.
15042         * nptl/check-cpuset.h: New file.
15044 2015-01-08  Richard Henderson  <rth@redhat.com>
15046         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15047         (CFLAGS-tst-execstack-prog.c): Likewise.
15048         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15050 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15051             Sandra Loosemore  <sandra@codesourcery.com>
15052             Andrew Jenner  <andrew@codesourcery.com>
15053             Joseph Myers  <joseph@codesourcery.com>
15054             Nathan Sidwell  <nathan@codesourcery.com>
15056         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15057         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15058         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15059         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15060         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15061         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15062         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15063         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15064         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15065         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15066         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15067         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15068         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15069         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15070         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15071         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15072         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15074 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15076         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15077         timespec struct member in syscall macro.
15078         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15079         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15080         first timeval struct member in syscall macro.
15081         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15083 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15085         [BZ #17748]
15086         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15087         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15088         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15089         __feupdateenv and define as weak alias of __feupdateenv.  Use
15090         libm_hidden_weak.
15091         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15092         libm_hidden_def.
15093         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15094         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15095         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15096         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15097         libm_hidden_def.
15098         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15099         __feupdateenv and define as weak alias of __feupdateenv.  Use
15100         libm_hidden_weak.
15101         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15102         libm_hidden_def.
15103         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15104         __feupdateenv and define as weak alias of __feupdateenv.  Use
15105         libm_hidden_weak.
15106         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15107         libm_hidden_def.
15108         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15109         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15110         (__feupdateenv): Likewise.
15111         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15112         __feupdateenv and define as weak alias of __feupdateenv.  Use
15113         libm_hidden_weak.
15114         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15115         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15116         libm_hidden_def.
15117         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15118         function.
15119         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15120         libm_hidden_def.
15121         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15122         __feupdateenv instead of feupdateenv.
15123         (default_libc_feupdateenv_test): Likewise.
15124         (libc_feresetround_ctx): Likewise.
15126 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15128         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15129         prototype.
15131 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15133         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15134         COLL_SYM in a couple of places to avoid uninitialized variable
15135         wanings on tilegx gcc 4.8.2.
15137 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15139         * sysdeps/aarch64/strcpy.S: New file.
15140         * sysdeps/aarch64/stpcpy.S: New file.
15141         * NEWS: Updated.
15143 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15145         * sysdeps/aarch64/strrchr.S: New file.
15146         * NEWS: Updated.
15148 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15150         [BZ #17658]
15151         * stdlib/setenv.c: Fix memory leak when setting large,
15152         duplicate string.
15154 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15156         [BZ #17273]
15157         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15158         and tabs from buffer before parsing fstab entry.
15159         * misc/tst-mntent.c (main): Add test for mount entry with
15160         trailing spaces and tabs.
15162 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15164         [BZ #17748]
15165         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15166         * math/fesetround.c (fesetround): Rename to __fesetround and
15167         define as weak alias of __fesetround.  Use libm_hidden_weak.
15168         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15169         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15170         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15171         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15172         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15173         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15174         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15175         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15176         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15177         __fesetround_inline.
15178         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15179         __fesetround_inline instead of __fesetround.
15180         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15181         __fesetround and define as weak alias of __fesetround.  Use
15182         libm_hidden_weak.  Call __fesetround_inline instead of
15183         __fesetround.
15184         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15185         __fesetround and define as weak alias of __fesetround.  Use
15186         libm_hidden_weak.
15187         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15188         Likewise.
15189         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15190         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15191         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15192         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15193         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15194         __fesetround and define as weak alias of __fesetround.  Use
15195         libm_hidden_weak.
15196         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15197         __fesetround instead of fesetround.
15198         (default_libc_feholdexcept_setround): Likewise.
15199         (libc_feholdsetround_ctx): Likewise.
15200         (libc_feholdsetround_noex_ctx): Likewise.
15202         [BZ #17748]
15203         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15204         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15205         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15206         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15207         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15208         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15209         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15210         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15211         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15212         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15213         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15214         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15215         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15216         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15217         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15218         libm_hidden_def.
15219         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15220         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15221         Likewise.
15222         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15223         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15224         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15225         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15226         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15227         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15228         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15229         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15230         __fesetenv instead of fesetenv.
15231         (libc_feresetround_noex_ctx): Likewise.
15232         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15233         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15234         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15235         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15236         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15237         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15238         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15239         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15240         (__feupdateenv): Likewise.
15241         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15242         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15243         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15244         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15246 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15248         [BZ #17806]
15249         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15250         addresses have been freed.
15252 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15254         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15255         and nservall.
15257 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15259         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15260         Clean up check_pf allocation pattern. addresses
15262 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15264         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15265         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15266         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15267         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15268         * nptl/pthread_join.c (pthread_join): Likewise.
15269         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15270         * sysdeps/posix/waitid.c (__waitid): Likewise.
15271         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15272         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15273         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15274         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15276         Likewise.
15277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15278         (__libc_pread64): Likewise.
15279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15280         (__libc_pwrite): Likewise.
15281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15282         (__libc_pwrite64): Likewsie.
15283         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15284         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15285         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15286         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15287         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15288         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15289         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15291         Likewise.
15292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15293         (__libc_pread64): Likewise.
15294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15295         Likewise.
15296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15297         (__libc_pwrite64): Likewise.
15298         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15299         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15300         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15301         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15302         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15303         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15304         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15305         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15306         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15307         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15308         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15309         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15310         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15311         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15312         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15313         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15314         Likewise.
15316 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15318         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15319         (CFLAGS-test-double.c): Likewise.
15320         (CFLAGS-test-ldouble.c): Likewise.
15321         (CPPFLAGS-test-ifloat.c): Likewise.
15322         (CPPFLAGS-test-idouble.c): Likewise.
15323         (CPPFLAGS-test-ildoubl.c): Likewise.
15324         (CFLAGS-test-test-fenv.c): Remove variable.
15325         (CFLAGS-test-misc.c): Likewise.
15327 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15329         [BZ #17797]
15330         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15331         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15332         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15333         CLOCKS_PER_SEC == 1000000.
15334         * time/clocktest.c (main): Replace %ld with %jd and cast to
15335         intmax_t.
15337 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15339         * sysdeps/generic/unwind-resume.h: New file.
15340         * sysdeps/gnu/unwind-resume.c: Include it.
15341         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15342         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15343         argument list.
15344         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15345         global rather than static.
15346         (_Unwind_Resume): Update user.
15347         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15348         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15349         rather than static.  Add __attribute__ ((cold)).
15350         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15351         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15352         * sysdeps/arm/arm-unwind-resume.S: New file.
15353         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15354         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15355         * sysdeps/arm/Makefile [$(subdir) = csu]
15356         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15357         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15358         Add rt-arm-unwind-resume.
15359         [$(subdir) = nptl]
15360         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15361         Add pt-arm-unwind-resume.
15362         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15363         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15365 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15367         [BZ #17748]
15368         * include/fenv.h (__feholdexcept): Declare.  Use
15369         libm_hidden_proto.
15370         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15371         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15372         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15373         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15374         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15375         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15376         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15377         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15378         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15379         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15380         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15381         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15382         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15383         (feholdexcept): Likewise.
15384         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15385         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15386         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15387         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15388         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15389         __feholdexcept instead of feholdexcept.
15390         (default_libc_feholdexcept_setround): Likewise.
15392 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15394         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15395         to avoid using stl/str to align destination.
15397 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15399         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15401 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15403         [BZ #17796]
15404         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15405         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15406         Define as weak alias not strong alias.
15408 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15410         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15411         bltzal with addiupc.
15412         (RTLD_START): Ditto.
15414 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15416         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15417         for __vdso_* functions in declarations.
15418         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15419         definitions.
15420         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15421         INTERNAL_VSYSCALL): Use struct return types to check for error.
15423         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15424         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15425         function with cast from llround().
15426         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15427         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15428         Define.
15430 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15432         [BZ #17793]
15433         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15434         Define as weak alias not strong alias.
15436         [BZ #17635]
15437         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15438         ...
15439         * ctype/ctype-extn.c: ... here.
15440         (__isblank_l): Move to ...
15441         * ctype/ctype-c99_l.c: ... here.  New file.
15442         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15443         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15444         Remove variable.
15445         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15446         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15447         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15448         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15449         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15451         [BZ #17777]
15452         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15453         (posix_fadvise64): Define as weak alias not strong alias.
15454         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15455         (posix_fallocate64): Likewise.
15456         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15457         Remove variable.
15458         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15459         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15460         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15461         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15462         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15464 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15466         [BZ #16191]
15467         * NEWS: Mention bug fix.
15468         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15469         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15470         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15471         (HOST_STACK_END_ADDR): Likewise.
15473 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #17748]
15476         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15477         * math/fegetround.c (fegetround): Rename to __fegetround and
15478         define as weak alias of __fegetround.  Use libm_hidden_weak.
15479         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15480         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15481         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15482         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15483         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15484         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15485         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15486         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15487         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15488         Undefine after rather than before function definition; use
15489         parentheses around function name in definition.
15490         (__fegetround): Also undefine macro after function definition.
15491         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15492         __fegetround and define as weak alias of __fegetround.  Use
15493         libm_hidden_weak.  Do not undefine as macro.
15494         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15495         Likewise.
15496         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15497         __fegetround and define as weak alias of __fegetround.  Use
15498         libm_hidden_weak.
15499         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15500         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15501         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15502         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15503         __fegetround and define as weak alias of __fegetround.  Use
15504         libm_hidden_weak.
15505         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15506         __fegetround instead of fegetround.
15508         [BZ #17782]
15509         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15510         Condition macro definition on [__USE_MISC].
15512         [BZ #17781]
15513         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15514         (struct sigaction): Change type of sa_flags field to int.
15516         [BZ #17780]
15517         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15518         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15519         __glibc_reserved0.
15521         * nptl/version.c (banner): Use single year in copyright notice.
15523         * NEWS: Update copyright dates.
15524         * catgets/gencat.c (print_version): Likewise.
15525         * csu/version.c (banner): Likewise.
15526         * debug/catchsegv.sh: Likewise.
15527         * debug/pcprofiledump.c (print_version): Likewise.
15528         * debug/xtrace.sh (do_version): Likewise.
15529         * elf/ldconfig.c (print_version): Likewise.
15530         * elf/ldd.bash.in: Likewise.
15531         * elf/pldd.c (print_version): Likewise.
15532         * elf/sotruss.sh: Likewise.
15533         * elf/sprof.c (print_version): Likewise.
15534         * iconv/iconv_prog.c (print_version): Likewise.
15535         * iconv/iconvconfig.c (print_version): Likewise.
15536         * locale/programs/locale.c (print_version): Likewise.
15537         * locale/programs/localedef.c (print_version): Likewise.
15538         * login/programs/pt_chown.c (print_version): Likewise.
15539         * malloc/memusage.sh (do_version): Likewise.
15540         * malloc/memusagestat.c (print_version): Likewise.
15541         * malloc/mtrace.pl: Likewise.
15542         * manual/libc.texinfo: Likewise.
15543         * nptl/version.c (banner): Likewise.
15544         * nscd/nscd.c (print_version): Likewise.
15545         * nss/getent.c (print_version): Likewise.
15546         * nss/makedb.c (print_version): Likewise.
15547         * posix/getconf.c (main): Likewise.
15548         * scripts/test-installation.pl: Likewise.
15549         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15551 2015-01-02  Will Newton  <will.newton@linaro.org>
15553         * sysdeps/arm/armv7/configure: Removed.
15554         * sysdeps/arm/armv7/configure.ac: Likewise.
15556 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15558         * All files with FSF copyright notices: Update copyright dates
15559         using scripts/update-copyrights.
15560         * intl/plural.c: Regenerated.
15561         * locale/programs/charmap-kw.h: Likewise.
15562         * locale/programs/locfile-kw.h: Likewise.
15564 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15566         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15568 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15570         [BZ #17748]
15571         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15572         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15573         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15574         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15575         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15576         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15577         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15578         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15579         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15580         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15581         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15582         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15583         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15584         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15585         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15586         libm_hidden_def.
15587         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15588         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15589         Likewise.
15590         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15591         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15592         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15593         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15594         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15595         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15596         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15597         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15598         __fegetenv instead of fegetenv.
15599         (libc_feholdsetround_noex_ctx): Likewise.
15601 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15603         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15604         (Elf_MIPS_ABIFlags_v0): New structure.
15605         (EF_MIPS_FP64): Define.
15606         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15607         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15608         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15609         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15610         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15611         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15612         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15613         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15614         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15615         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15616         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15617         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15618         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15619         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15620         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15621         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15622         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15623         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15624         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15625         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15626         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15627         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15628         field.
15629         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15630         EF_MIPS_FP64.
15631         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15632         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15633         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15634         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15635         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15636         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15637         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15638         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15639         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15640         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15641         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15642         record the current FP ABI extension.
15643         (mips-mode-switch): Define to show if kernel headers support mode
15644         switching.
15645         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15646         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15647         supported SYSV ABI version to 3.
15648         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15649         feature.
15651 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15655         path.
15656         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15658 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15660         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15661         __fegetround and redefine to call __fegetround.  Remove condition
15662         on [!__NO_MATH_INLINES].
15663         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15664         function.
15665         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15666         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15667         Remove macro.
15668         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15669         instead of <fenv_libc.h>.
15670         (__llrintl): Call fegetround instead of __fegetround.
15671         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15672         instead of <fenv_libc.h>.
15673         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15674         (__lrintl): Call fegetround instead of __fegetround.
15675         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15676         instead of <fenv_libc.h>.
15677         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15678         (__rintl): Call fegetround instead of __fegetround.
15680 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15682         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15683         arrays.
15685 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15687         [BZ #17775]
15688         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15689         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15690         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15692 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15694         * sysdeps/i386/tls-macros.h: Include <features.h>.
15695         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15696         (TLS_IE): Likewise.
15697         (TLS_LD): Likewise.
15698         (TLS_GD): Likewise.
15699         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15700         define for GCC >= 5.0.
15702 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15704         * math/test-fenv.c (test_single_exception, set_single_exc,
15705         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15706         feexcp_mask_test, feenable_test, fe_single_test): Add
15707         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15708         case where they are not used.
15709         * math/libm-test.inc: Likewise.
15710         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15711         unused in the absence of FP rounding/exception support.
15712         * stdio-common/tst-printf-round.c: Likewise.
15713         * stdlib/tst-strtod-round.c: Likewise.
15714         * stdlib/tst-strtod-underflow.c: Likewise.
15716 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15718         [BZ #17723]
15719         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15720         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15721         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15722         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15723         libm_hidden_weak.
15724         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15725         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15726         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15727         libm_hidden_def.
15728         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15729         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15730         libm_hidden_weak.
15731         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15732         Likewise.
15733         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15734         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15735         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15736         libm_hidden_weak.
15737         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15738         libm_hidden_def.
15739         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15740         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15741         (__feraiseexcept): Likewise.
15742         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15743         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15744         libm_hidden_weak.
15745         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15746         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15747         libm_hidden_def.
15748         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15749         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15750         Use libm_hidden_def.
15751         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15752         libm_hidden_def.
15753         (feraiseexcept): Define as weak not strong alias.  Use
15754         libm_hidden_weak.
15755         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15756         New inline function.  Factored out of ...
15757         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15758         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15759         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15760         feraiseexcept.
15761         * math/w_acos.c (__acos): Likewise.
15762         * math/w_asin.c (__asin): Likewise.
15763         * math/w_ilogb.c (__ilogb): Likewise.
15764         * math/w_j0.c (y0): Likewise.
15765         * math/w_j1.c (y1): Likewise.
15766         * math/w_jn.c (yn): Likewise.
15767         * math/w_log.c (__log): Likewise.
15768         * math/w_log10.c (__log10): Likewise.
15769         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15770         * sysdeps/aarch64/fpu/math_private.h
15771         (libc_feupdateenv_test_aarch64): Likewise.
15772         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15773         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15774         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15775         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15776         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15777         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15778         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15779         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15780         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15781         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15783 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15785         [BZ #17732]
15786         * io/test-utime.c (main): Replace %ld with %jd and cast to
15787         intmax_t.
15788         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15789         * nptl/tst-mutex5.c: Include <stdint.h>.
15790         (do_test): Replace %ld with %jd and cast to intmax_t.
15791         * posix/tst-regex.c (run_test): Likewise.
15792         (run_test_backwards): Likewise.
15793         * rt/tst-clock.c: Include <stdint.h>.
15794         (clock_test): Replace %ld with %jd and cast to intmax_t.
15795         * rt/tst-cpuclock1.c: Include <stdint.h>.
15796         (do_test): Replace %lu with %ju and cast to uintmax_t.
15797         * rt/tst-cpuclock2.c: Include <stdint.h>.
15798         (do_test): Replace %lu with %ju and cast to uintmax_t.
15799         * rt/tst-mqueue1.c: Include <stdint.h>.
15800         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15801         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15802         intmax_t.
15803         * rt/tst-mqueue4.c (do_test): Likewise.
15804         * rt/tst-timer4.c: Include <stdint.h>.
15805         (check_ts): Replace %ld with %jd and cast to intmax_t.
15806         (do_test): Likewise.
15807         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15808         and cast to intmax_t.
15809         * sysdeps/pthread/tst-timer.c (main): Likewise.
15810         * time/clocktest.c (main): Likewise.
15811         * time/tst-posixtz.c (do_test): Likewise.
15812         * timezone/tst-timezone.c (main): Likewise.
15814 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15815             H.J. Lu  <hongjiu.lu@intel.com>
15817         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15818         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15819         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15820         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15821         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15822         version if bit_Fast_Unaligned_Load is set.
15823         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15824         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15825         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15826         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15827         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15828         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15830         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15831         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15832         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15833         to 4.
15834         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15835         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15836         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15837         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15839 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15841         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15842         instead of #if to avoid a Wundef warning.
15843         * stdlib/tst-limits.c (do_test): Likewise.
15845         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15846         parallel other exception macros.
15847         (fegetenv): Convert from macro to extern inline so that it applies
15848         retroactively to inline functions already seen by the compiler.
15849         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15851         * posix/Makefile (before-compile): Use $(objpfx) for
15852         posix-conf-vars-def.h.
15854 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15856         * posix/getconf.c (main): Use size_t for type of I.
15857         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15858         NSPEC.
15860         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15861         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15862         * posix/posix-envs.def: Likewise.
15863         * sysdeps/posix/sysconf.c: Likewise.
15864         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15865         (specs): Remove array.
15866         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15867         array.
15869         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15870         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15871         (__sysconf): Use CONF_IS_* macros.
15873         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15874         ($(objpfx)posix-conf-vars-def.h): New target.
15875         * posix/posix-conf-vars.list: New file.
15876         * posix/posix-conf-vars.h: New file.
15877         * posix/confstr.c: Include posix-conf-vars.h.
15878         (confstr): Use CONF_IS_* macros.
15879         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15880         CONF_IS_* macros.
15881         * scripts/gen-posix-conf-vars.awk: New file.
15883 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15885         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15886         fegetround): Add no-op macros to avoid linknamespace issues.
15888         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15889         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15891         * sysdeps/unix/sysv/linux/tile/sysdep.h
15892         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15893         assembly-specific section to avoid a redefinition warning.
15895         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15896         long before casting to pointer to avoid a cast warning.
15898 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15900         * sysdeps/tile/tilegx/Implies: New file.
15902 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15904         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15906 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15908         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15910 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15913         not define.
15914         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15915         <kernel-features.h>.
15916         (__utimes) [__NR_utimes]: Make code unconditional.
15917         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15918         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15919         (__ASSUME_UTIMES): Do not undefine.
15920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15921         (__ASSUME_UTIMES): Likewise.
15922         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15923         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15924         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15925         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15927 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15929         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15931 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15933         [BZ #17747]
15934         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15935         alias to weak alias for j0l, y0l.
15936         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15937         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15939         [BZ #17746]
15940         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15941         conversion.
15943 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15945         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15946         to zero if not already defined.
15948 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15950         [BZ #17724]
15951         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15952         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15953         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15954         (char *) casts added.
15955         * sysdeps/ieee754/k_standardf.c: New file.
15956         * sysdeps/ieee754/k_standardl.c: Likewise.
15957         * math/Makefile (libm-support): Remove k_standard.
15958         (libm-calls): Add k_standard.
15960 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15962         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15963         Optimize to avoid an unnecessary FPCR read.
15965 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15967         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15968         Optimize to reduce FPCR/FPSR accesses.
15970 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15972         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15973         Call libc_fetestexcept_aarch64.
15975 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15977         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15978         Call libc_fesetround_aarch64.
15980 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15982         [BZ #17733]
15983         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15984         (__bind): Do not define as weak alias.
15985         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15986         define.
15987         (__getsockname): Do not define as weak alias.
15989 2014-12-22  Will Newton  <will.newton@linaro.org>
15991         * manual/install.texi: Document that we require bison 2.7
15992         or above.
15993         * INSTALL: Regenerate.
15994         * configure.ac: Use AC_CHECK_PROG_VER instead of
15995         AC_PATH_PROG when checking for bison and check for
15996         version 2.7 or above.
15997         * configure: Regenerate.
15999 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16001         [BZ #17745]
16002         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16003         * sysdeps/tile/ffsll.c (ffsll): To here.
16005         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16007 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16009         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16010         if not defined.
16011         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16012         definition.
16013         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16014         hidden ___tls_get_addr.
16015         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16016         hidden __tls_get_addr.
16017         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16018         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16019         Likewise.
16021 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16023         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16024         _dl_init call.
16026 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16028         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16029         from "call _dl_init@PLT".
16030         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16032 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16034         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16035         guarantees.
16037 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16039         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16041 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16043         [BZ #17744]
16044         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16045         strnlen.
16047 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16049         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16050         of multu on MIPSr6.
16051         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16052         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16053         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16054         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16055         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16057 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16059         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16060         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16061         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16062         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16063         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16064         mips32r6/mips64r6.
16065         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16067 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16069         * string/strncat.c (STRNCAT): Simplify implementation.
16071 2014-12-19  David S. Miller  <davem@davemloft.net>
16073         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16074         access the quad as both a long double and as a series of 4 words.
16076         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16077         link_map->l_info array access.
16079 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16081         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16083         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16084         * math/atest-exp2.c (TIMEOUT): Likewise.
16085         * math/atest-sincos.c (TIMEOUT): Likewise.
16087 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16089         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16090         -Wno-error with -fno-builtin-lround.
16092 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16094         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16095         Contains futex constants and functions moved over from ...
16096         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16097         <lowlevellock-futex.h>.
16098         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16099         (lll_timedwait_tid): Add comments and parentheses around macro
16100         arguments.
16102 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16104         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16105         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16106         (__lll_private_flag): Remove.
16107         (lll_futex_wait): Likewise.
16108         (lll_futex_timed_wait): Likewise.
16109         (lll_futex_wake): Likewise.
16110         (lll_futex_requeue): Likewise.
16111         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16112         (__lll_timedwait_tid): Spell out argument names.
16113         (lll_timedwait_tid): Add comments and parentheses around macro
16114         arguments.
16115         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16116         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16118 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16120         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16121         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16123         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16124         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16125         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16126         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16127         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16128         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16134         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16135         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16136         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16137         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16138         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16140 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16142         * sysdeps/x86_64/x32/Makefile: New file.
16144 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16146         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16147         1L with (mp_limb_t) 1.
16149 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16151         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16152         * nptl/libc_pthread_init.c: ... here.
16153         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16154         * nptl/register-atfork.c: ... here.
16156         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16157         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16158         Use assert_perror to check its return value.
16159         (__gai_create_helper_thread): Likewise.
16161         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16163         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16165 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16167         [BZ #17725]
16168         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16169         __profil_counter.
16170         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16171         Likewise.
16172         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16173         Likewise.
16174         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16175         Likewise.
16176         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16177         (profil_counter): Likewise.
16178         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16179         (profil_counter): Likewise.
16180         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16181         Likewise.
16182         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16185         (profil_counter): Likewise.
16186         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16187         Likewise.
16188         [!__profil_counter] (profil_counter): Define as weak alias of
16189         __profil_counter.
16190         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16191         (profil_counter): Rename to __profil_counter.
16192         [!__profil_counter] (profil_counter): Define as weak alias of
16193         __profil_counter.
16194         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16195         (profil_counter): Rename to __profil_counter.
16196         [!__profil_counter] (profil_counter): Define as weak alias of
16197         __profil_counter.
16198         * sysdeps/posix/profil.c: Update comment referring to
16199         profil_counter.
16200         (__profil): Use __profil_counter instead of profil_counter.
16201         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16202         __profil_counter.  Use __profil_counter_ushort and
16203         __profil_counter_uint in definitions.
16204         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16205         instead of profil_counter_uint and profil_counter_ushort.
16207         [BZ #17722]
16208         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16209         define as weak alias of __inet_makeaddr.
16210         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16211         as weak alias of __inet_addr.
16212         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16213         as weak alias of __inet_pton.  Use libc_hidden_weak.
16214         * include/arpa/inet.h (__inet_pton): Declare.  Use
16215         libc_hidden_proto.
16216         (inet_makeaddr): Don't use libc_hidden_proto.
16217         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16218         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16219         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16220         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16221         Remove variable.
16222         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16223         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16225 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16227         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16229 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16231         * stdio-common/bug-vfprintf-nargs.c (do_test):
16232         Cast value to intptr_t to avoid format warning
16233         for usage with PRIdPTR printing macro.
16235 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16237         * libio/tst-widetext.c (do_test):
16238         Use format type %td instead of %Zd for ptrdiff_t
16239         in order to avoid format warning.
16241 2014-12-17  Andreas Schwab  <schwab@suse.de>
16243         * nscd/mem.c (gc): Add size_t cast to match printf format.
16245 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16247         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16248         (init): Apply PTR_MANGLE to pointers before storing them.
16249         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16250         before using them.
16252 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #17719]
16255         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16256         define as weak alias of __memrchr.
16257         (__memrchr): Do not define as strong alias of memrchr.
16258         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16259         Remove variable.
16260         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16261         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16262         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16264         [BZ #17717]
16265         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16266         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16267         (if_indextoname): Rename to __if_indextoname and define as weak
16268         alias of __if_indextoname.  Use libc_hidden_weak.
16269         (if_freenameindex): Rename to __if_freenameindex and define as
16270         weak alias of __if_freenameindex.
16271         (if_nameindex): Rename to __if_nameindex and define as weak alias
16272         of __if_nameindex.
16273         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16274         __if_nametoindex and define as weak alias of __if_nametoindex.
16275         Use libc_hidden_weak.
16276         (if_freenameindex): Rename to __if_freenameindex and define as
16277         weak alias of __if_freenameindex.
16278         (if_nameindex): Rename to __if_nameindex and define as weak alias
16279         of __if_nameindex.
16280         (if_indextoname): Rename to __if_indextoname and define as weak
16281         alias of __if_indextoname.  Use libc_hidden_weak.
16282         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16283         __if_nametoindex and define as weak alias of __if_nametoindex.
16284         Use libc_hidden_weak.
16285         (if_freenameindex): Rename to __if_freenameindex and define as
16286         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16287         (if_nameindex_netlink): Use __if_freenameindex instead of
16288         if_freenameindex.
16289         (if_nameindex): Rename to __if_nameindex and define as weak alias
16290         of __if_nameindex.  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         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16294         libc_hidden_proto.
16295         [!_ISOMAC] (__if_freenameindex): Likewise.
16296         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16297         if_nametoindex.
16298         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16299         variable.
16300         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16301         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16302         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16303         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16304         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16305         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16306         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16308         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16309         Remove variable.
16310         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16311         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16313 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16315         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16316         subscript above bounds'
16318         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16319         bounds.
16321 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16323         * libio/tst-fopenloc.c: Use test-skeleton.c.
16325         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16326         (entry): Rename to ITEM.
16327         (do_test, comp): Adjust.
16329         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16331 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16333         * string/tester.c: Include <libc-internal.h>.
16334         (test_memset): Ignore -Wmemset-transposed-args.
16336 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16338         * misc/tst-mntent2.c (do_test): Fix warning.
16340 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16342         * elf/tst-unique4lib.cc(a): Mark as used.
16344 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16346         [BZ #17630]
16347         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16348         names.
16350 2014-12-16  Allan McRae  <allan@archlinux.org>
16352         * stdio-common/Makefile (tests): Re-add bug26.
16354 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16356         [BZ #17657]
16357         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16358         static array.
16360 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16362         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16363         (__lll_lock_wait): Likewise.
16364         (__lll_timedlock_wait): Likewise.
16365         (__lll_timedwait_tid): Likewise.
16366         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16367         (__lll_robust_timedlock_wait): Likewise.
16368         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16369         (lll_cond_trylock): Likewise.
16370         (__lll_lock): Likewise.
16371         (__lll_robust_lock): Likewise.
16372         (__lll_cond_lock): Likewise.
16373         (lll_robust_cond_lock): Likewise.
16374         (__lll_timedlock): Likewise.
16375         (__lll_robust_timedlock): Likewise.
16376         (__lll_unlock): Likewise.
16377         (__lll_robust_unlock): Likewise.
16378         (lll_wait_tid): Likewise.
16379         (lll_timedwait_tid): Likewise.
16381 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16383         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16385 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16387         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16389 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16391         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16392         * stdio-common/tst-sprintf.c: Likewise.
16394 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16396         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16398 2014-12-15  Jeff Law  <law@redhat.com>
16400         [BZ #16617]
16401         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16402         on the heap.  (CVE-2012-3406)
16403         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16404         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16405         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16407 2014-12-15  Will Newton  <will.newton@linaro.org>
16409         * manual/install.texi: Bump required version of texinfo
16410         to 4.7 from 4.5.
16411         * INSTALL: Regenerated.
16412         * configure.ac: Check for makeinfo version 4.7 and above.
16413         * configure: Regenerated.
16415 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16417         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16418         PREFIX, string constant to insert between directory and name.
16419         * sysdeps/posix/shm_open.c: Update caller.
16420         * sysdeps/posix/shm_unlink.c: Likewise.
16421         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16422         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16423         (SEM_SHM_PREFIX): New macro.
16424         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16425         [$(have-thread-library) = no].
16426         * nptl/Makefile (libpthread-routines): Add shm-directory.
16427         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16428         * sysdeps/nptl/shm-directory.h: New file.
16429         * sysdeps/posix/shm-directory.c
16430         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16431         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16432         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16433         INTERNAL_SYSCALL.
16434         (__where_is_shmfs): Function removed.
16435         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16436         Variables removed.
16437         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16438         Use SHM_GET_NAME.
16439         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16441         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16442         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16443         unconditional for use inside libpthread.
16444         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16446 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16448         * nptl/pthread_getaffinity.c: New file.
16449         * nptl/pthread_setaffinity.c: New file.
16450         * nptl/pthread_getname.c: New file.
16451         * nptl/pthread_setname.c: New file.
16453         * nptl/pthread_create.c (START_THREAD_DEFN)
16454         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16456 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16457             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16459         * resolv/res_send.c (send_vc): Disable warning resplen may
16460         be used uninitialized.
16462 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16464         * nptl/tst-mutex6.c
16465         (ATTR_NULL): New define checks ATTR against NULL.
16466         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16467         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16469 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16471         [BZ #17581]
16472         * malloc/hooks.c
16473         (mem2mem_check): Revert my previous change.
16474         (malloc_check_get_size): Revert my previous change.
16475         (mem2chunk_check): Revert my previous change.
16477 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16479         * sysdeps/posix/shm-directory.c: New file.
16480         * sysdeps/posix/shm-directory.h: New file.
16481         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16482         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16483         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16484         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16485         Transmute EPERM to EACCES.
16486         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16487         from ...
16488         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16489         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16491 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16493         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16494         pointer and cast to uintptr_t.
16495         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16496         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16497         Add cast to avoid warning.
16498         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16500 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16502         * nptl/semaphore.h: Move to ...
16503         * sysdeps/pthread/semaphore.h: ... here.
16504         * Makefile (installed-headers): Change nptl/semaphore.h to
16505         sysdeps/pthread/semaphore.h.
16507 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16509         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16510         generated error format strings.
16512         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16513         -Wformat-extra-args warnings for scanf formats.
16514         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16515         test of zero-length format (duh).
16516         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16517         corner-case scanf format test.
16518         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16519         generated fprintf format string.
16520         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16521         corner-case sprintf format tests.
16522         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16523         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16524         -Wformat-extra-args warnings throughout.
16525         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16526         (CFLAGS-scanf4.c): Likewise.
16527         (CFLAGS-scanf7.c): Likewise.
16528         (CFLAGS-tst-sprintf.c): Likewise.
16529         (CFLAGS-tst-printf.c): Likewise.
16530         (CFLAGS-tst-printfsz.c): Likewise.
16532 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16534         * include/cpio.h: New file.
16535         * include/fmtmsg.h: Likewise.
16537         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16538         corresponding format argument to size_t.
16539         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16540         arguments.
16541         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16542         corresponding format argument to size_t.
16543         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16544         arguments.
16545         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16546         corresponding format argument to size_t.
16547         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16548         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16549         (CFLAGS-tst-mbswcs2.c): Likewise.
16550         (CFLAGS-tst-mbswcs3.c): Likewise.
16551         (CFLAGS-tst-mbswcs4.c): Likewise.
16552         (CFLAGS-tst-mbswcs5.c): Likewise.
16553         (CFLAGS-tst-trans.c): Likewise
16555 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16557         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16558         rather than assuming they won't contain any '%'s.
16560 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16562         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16563         inhibit_loop_to_libcall to avoid recursive calls.
16564         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16565         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16567 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16569         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16570         prototype.
16572 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16574         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16575         integer value instead of boolean.
16577 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16579         * malloc/malloc.c: Fix powerof2 check.
16581 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16583         * locale/programs/locfile.h (maybe_swap_uint32):
16584         Remove inline and add unused attribute.
16586 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16588         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16589         Truncating assembler expression to a .long expression.
16591 2014-12-11  Andreas Schwab  <schwab@suse.de>
16593         * elf/rtld.c (struct map_args): Constify str member.
16594         (do_preload): Constify fname argument.
16596 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16598         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16599         constants definition.
16601 2014-12-11  Andreas Schwab  <schwab@suse.de>
16603         [BZ #16657]
16604         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16605         FORCE_ELISION instead of DO_ELISION.
16606         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16607         Remove.
16608         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16609         Likewise.
16611         * iconvdata/gconv-modules: Remove duplicate entry.
16613 2014-12-11  Will Newton  <will.newton@linaro.org>
16615         Merge gettext 0.19.3 into intl/.
16617         This involves a number of cosmetic changes to comments
16618         and ANSI function definitions and prototypes throughout
16619         all the files. The gettext copyright header is used but
16620         with the date ranges taken from the glibc copy.
16622         * NEWS: Add gettext merge to 2.21.
16623         * intl/bindtextdom.c: Switch to gettext copyright.
16624         Use ANSI definitions and prototypes.
16625         Use gl_* locking primitives rather than __libc_* ones.
16626         Use __builtin_expect rather than __glibc_likely/unlikely.
16627         * intl/dcgettext.c: Switch to gettext copyright.
16628         Use ANSI definitions and prototypes.
16629         * intl/dcigettext.c: Switch to gettext copyright.
16630         Use ANSI definitions and prototypes.
16631         (INTDIV0_RAISES_SIGFPE): New define.
16632         Use gl_* locking primitives rather than __libc_* ones.
16633         Include eval-plural.h instead of plural-eval.c.
16634         Use __builtin_expect rather than __glibc_likely/unlikely.
16635         * intl/dcngettext.c: Switch to gettext copyright.
16636         Use ANSI definitions and prototypes.
16637         * intl/dgettext.c: Likewise.
16638         * intl/dngettext.c: Likewise.
16639         * intl/plural-eval.c: Renamed to...
16640         * intl/eval-plural.h: ...this.
16641         * intl/explodename.c: Switch to gettext copyright.
16642         Use ANSI definitions and prototypes.
16643         (_nl_explode_name): Use strchr instead of __rawmemchr.
16644         * intl/finddomain.c: Switch to gettext copyright.
16645         Use ANSI definitions and prototypes.
16646         Use gl_* locking primitives rather than __libc_* ones.
16647         (_nl_find_domain): Use malloc rather than alloca for
16648         allocation of temporary locale name.
16649         * intl/gettext.c: Switch to gettext copyright.
16650         Use ANSI definitions and prototypes.
16651         * intl/gettextP.h: Switch to gettext copyright.
16652         Use ANSI definitions and prototypes.
16653         Use gl_* locking primitives rather than __libc_* ones.
16654         * intl/gmo.h: Switch to gettext copyright.
16655         (struct sysdep_string): Move struct segment_pair outside of
16656         struct definition.
16657         * intl/hash-string.c: Use ANSI definitions and prototypes.
16658         * intl/hash-string.h: Switch to gettext copyright.
16659         Use ANSI definitions and prototypes.
16660         * intl/l10nflist.c: Switch to gettext copyright.
16661         Use ANSI definitions and prototypes.
16662         (_nl_normalize_codeset): Avoid integer overflow.
16663         * intl/loadinfo.h: Switch to gettext copyright.
16664         Use ANSI definitions and prototypes.
16665         (LIBINTL_DLL_EXPORTED): New define.
16666         (PATH_SEPARATOR): New define.
16667         * intl/loadmsgcat.c: Switch to gettext copyright.
16668         * intl/localealias.c: Switch to gettext copyright.
16669         Use ANSI definitions and prototypes.
16670         (_nl_expand_alias): Use PATH_SEPARATOR.
16671         * intl/ngettext.c: Switch to gettext copyright.
16672         Use ANSI definitions and prototypes.
16673         * intl/plural-exp.c: Likewise.
16674         * intl/plural-exp.h: Switch to gettext copyright.
16675         Use ANSI definitions and prototypes.
16676         (struct expression): Move definition of enum operator outside
16677         of struct definition.
16678         * intl/plural.c: Regenerate.
16679         * intl/plural.y: Switch to gettext copyright.
16680         Use ANSI definitions and prototypes.
16681         Port to bison 3.0.
16682         * intl/textdomain.c: Switch to gettext copyright.
16683         Use ANSI definitions and prototypes.
16684         Use gl_* locking primitives rather than __libc_* ones.
16686 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16688         * debug/warning-nop.c: Add used atrribute.
16690 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16692         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16694         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16695         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16696         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16698 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16699             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16701         [BZ #17634]
16702         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16703         Undefine after defining function.  Define as weak alias of
16704         __wcschr.  Use libc_hidden_weak.
16705         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16706         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16707         (libc_hidden_def): Also define __GI___wcschr alias.
16708         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16709         __wcschr and define as weak alias of __wcschr.
16710         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16711         __wcschr.
16712         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16713         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16714         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16715         libc_hidden_weak.  Do not use libc_hidden_def.
16716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16717         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16718         __GI___wcschr alias.
16719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16720         [IS_IN (libc)] (wcschr): Define as macro expanding to
16721         __redirect_wcschr.
16722         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16723         [IS_IN (libc)] (__wcschr_power6): Likewise.
16724         [IS_IN (libc)] (__wcschr_power7): Likewise.
16725         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16726         instead of wcschr.
16727         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16728         __libc_wcschr.
16729         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16730         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16731         __wcschr and define as weak alias of __wcschr.  Use
16732         libc_hidden_builtin_def.
16733         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16734         as weak alias of __wcschr.  Use libc_hidden_weak.
16735         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16736         wcschr.
16737         * time/era.c (_nl_init_era_entries): Likewise.
16738         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16739         variable.
16740         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16741         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16743 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16745         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16746         format for long int variable.
16748 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16750         [BZ #10672]
16751         * manual/search.texi: (Array Sort Function): Remove claim how to make
16752         qsort stable.
16754 2014-12-10  Andreas Schwab  <schwab@suse.de>
16756         [BZ #12847]
16757         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16758         user-controlled locks.
16760 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16762         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16763         register.
16765 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16767         * configure.ac (--disable-werror): New configure option.
16768         (enable_werror): New AC_SUBST.
16769         * configure: Regenerated.
16770         * config.make.in (enable-werror): New variable.
16771         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16772         -Wno-error=undef.
16773         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16774         * manual/install.texi (Configuring and compiling): Document
16775         --disable-werror.
16776         * INSTALL: Regenerated.
16777         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16778         (CFLAGS-tst-chk2.c): Likewise.
16779         (CFLAGS-tst-chk3.c): Likewise.
16780         (CFLAGS-tst-chk4.cc): Likewise.
16781         (CFLAGS-tst-chk5.cc): Likewise.
16782         (CFLAGS-tst-chk6.cc): Likewise.
16783         (CFLAGS-tst-lfschk1.c): Likewise.
16784         (CFLAGS-tst-lfschk2.c): Likewise.
16785         (CFLAGS-tst-lfschk3.c): Likewise.
16786         (CFLAGS-tst-lfschk4.cc): Likewise.
16787         (CFLAGS-tst-lfschk5.cc): Likewise.
16788         (CFLAGS-tst-lfschk6.cc): Likewise.
16790         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16791         (main): Disable -Wdeprecated-declarations around calls to
16792         register_printf_function.
16794         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16795         (do_test): Disable -Wdiv-by-zero around some calls to
16796         fwrite_unlocked and fread_unlocked.
16798         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16799         (DIAG_POP_NEEDS_COMMENT): Likewise.
16800         (_DIAG_STR1): Likewise.
16801         (_DIAG_STR): Likewise.
16802         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16803         * stdio-common/bug21.c: Include <libc-internal.h>.
16804         (do_test): Disable -Wformat around call to sscanf.
16805         * stdio-common/scanf14.c: Include <libc-internal.h>.
16806         (main): Disable -Wformat around some calls to scanf functions.
16808 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16810         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16812 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16814         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16815         stack variable alignment.
16817 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16819         [BZ #17682]
16820         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16821         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16822         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16823         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16824         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16825         __getrlimit instead of getrlimit.
16826         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16827         __gettimeofday instead of gettimeofday.
16828         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16829         Likewise.
16830         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16831         Likewise.
16832         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16833         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16834         Remove variable.
16835         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16836         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16838 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16840         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16841         for wide-character tests.
16843 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16845         * io/openat64.c: #include <libc-internal.h>
16846         (__openat64): Prototypify.  Use ignore_value on MODE.
16847         * io/openat.c: Likewise.
16848         * misc/reboot.c: #include <libc-internal.h>
16849         (reboot): Prototypify.  Use ignore_value on HOWTO.
16850         * misc/ptrace.c: #include <libc-internal.h>
16851         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16853 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16855         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16856         XPG4, UNIX98 and XOPEN2K.
16857         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16858         Remove variable.
16859         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16861 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16863         * libio/fileops.c: Use ISO C style for function definitions.
16864         * libio/iofopen.c: Likewise.
16865         * libio/wfileops.c: Likewise.
16867         [BZ #17653]
16868         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16869         offset on EOF.
16870         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16871         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16872         (fgets_func): Function pointer to fgets and fgetws.
16873         (do_ftell_test): Add test to verify ftell value after read
16874         EOF.
16875         (do_test): Set fgets_func.
16877         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16878         O_TRUNC flag for w and w+ modes.
16879         (do_rewind_test): Likewise.
16880         (do_ftell_test): Likewise.
16881         (do_write_test): Likewise.
16883         [BZ #17647]
16884         * libio/fileops.c (do_ftell): Seek only when there are
16885         unflushed writes.
16886         * libio/wfileops.c (do_ftell_wide): Likewise.
16887         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16888         test case.
16889         (do_one_test): Call it.
16891 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16893         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16894         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16895         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16896         Remove variable.
16897         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16898         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16899         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16901 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16903         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16904         Remove variable.
16905         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16907         [BZ #17668]
16908         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16909         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16910         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16911         __freeifaddrs.  Use libc_hidden_weak.
16912         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16913         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16914         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16915         __freeifaddrs.  Use libc_hidden_weak.
16916         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16917         __getifaddrs and define as weak alias of __getifaddrs.  Use
16918         libc_hidden_weak.
16919         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16920         __freeifaddrs.  Use libc_hidden_weak.
16921         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16922         Remove variable.
16923         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16924         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16926 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16928         [BZ #17601]
16929         * sysdeps/mips/start.S (__start): Use indirect jump to call
16930         __libc_start_main.
16932 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16934         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16936         * nptl/tst-mutex1.c: Include <stdbool.h>.
16937         [!ATTR] (ATTR_NULL): New macro.
16938         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16939         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16940         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16942         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16943         to char *.
16945         [BZ #17665]
16946         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16947         Change conditional to [__USE_MISC].
16949         [BZ #17664]
16950         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16951         fgets_unlocked.
16952         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16953         __fgets_unlocked.
16954         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16955         fgets_unlocked.
16956         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16957         Remove variable.
16958         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16959         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16960         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16961         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16962         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16963         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16964         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16965         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16966         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16968         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16970 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16973         Remove strpbrk objects.
16974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16975         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16976         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16978         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16979         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16982         Remove strcspn objects.
16983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16984         (__libc_ifunc_impl_list): Remove strcspn implementation.
16985         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16986         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16987         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16988         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16990         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16991         Remove strspn objetcs.
16992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16993         (__libc_ifunc_impl_list): Remove strspn implementation.
16994         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16995         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16996         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16997         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16999 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17001         [BZ #17581]
17002         * malloc/hooks.c
17003         (mem2mem_check): Add a terminator to the chain of checking blocks.
17004         (malloc_check_get_size): Use it here.
17005         (mem2chunk_check): Ditto.
17007 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17009         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17010         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17012 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17014         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17016         * nptl/nptl-init.c: Include libc-internal.h.
17017         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17019         * elf/ldconfig.c (search_dir): Expand comment.
17021 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17023         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17024         variable.
17025         (linknamespace-symlist-stdlibs-tests): Likewise.
17026         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17027         instead of $(objpfx)symlist-stdlibs.
17028         (linknamespace-libs-isoc): New variable.
17029         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17030         (linknamespace-libs-ISO): New variable.
17031         (linknamespace-libs-ISO99): Likewise.
17032         (linknamespace-libs-ISO11): Likewise.
17033         (linknamespace-libs-XPG3): Likewise.
17034         (linknamespace-libs-XPG4): Likewise.
17035         (linknamespace-libs-POSIX): Likewise.
17036         (linknamespace-libs-UNIX98): Likewise.
17037         (linknamespace-libs-XOPEN2K): Likewise.
17038         (linknamespace-libs-POSIX2008): Likewise.
17039         (linknamespace-libs-XOPEN2K8): Likewise.
17040         ($(objpfx)symlist-stdlibs): Replace by
17041         $(linknamespace-symlist-stdlibs-tests).  Use
17042         $(linknamespace-libs-$*) as set of libraries.
17043         ($(linknamespace-header-tests)): Update dependencies.  Use
17044         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17045         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17046         * conform/linknamespace.pl: Remove comment about considering
17047         definitions of symbols from irrelevant libraries.
17049 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17051         [BZ #13862]
17052         * elf/dl-tls.c: Include <atomic.h>.
17053         (oom): Remove #ifdef SHARED/#endif.
17054         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17055         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17056         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17057         big enough.
17058         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17059         * nptl/Makefile (tests): Add tst-stack4.
17060         (modules-names): Add tst-stack4mod.
17061         ($(objpfx)tst-stack4): New.
17062         (tst-stack4mod.sos): Likewise.
17063         ($(objpfx)tst-stack4.out): Likewise.
17064         ($(tst-stack4mod.sos)): Likewise.
17065         (clean): Likewise.
17066         * nptl/tst-stack4.c: New file.
17067         * nptl/tst-stack4mod.c: Likewise.
17069 2014-11-27  J. Brown  <jb999@gmx.de>
17071         * sysdeps/x86/bits/string.h: Add recent CPUs.
17073 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17075         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17076         sigblock.
17078         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17079         feof.
17081         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17082         variable.
17084 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17086         * nscd/connections.c: Include libc-internal.h because of macro
17087         usage ignore_value.
17089 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17091         * string/bits/string3.h (__warn_memset_zero_len): Don't
17092         declare for gcc newer than 5.0.
17093         (memset): Don't test for zero-length __LEN for gcc newer than
17094         5.0.
17096 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17098         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17099         size_t for %zu format.
17101         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17102         difference, not %ju.
17104 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17106         * include/libc-internal.h (ignore_value): New macro.
17107         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17108         with ignore_value.
17110         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17111         definition.
17113         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17114         pthread_cleanup_push to void *.
17116         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17117         Undefine.
17119         [BZ #16619]
17120         [BZ #16740]
17121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17122         instead of 1L << 52.
17124         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17125         * libio/bug-rewind2.c (do_test): Likewise.
17127         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17128         * debug/test-strcpy_chk-ifunc.c: Likewise.
17129         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17130         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17131         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17132         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17133         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17134         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17135         * Rules [$(multi-arch) = no] (tests): Do not filter out
17136         $(tests-ifunc).
17137         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17138         * debug/Makefile (tests-ifunc): Remove variable.
17139         (tests): Do not add $(tests-ifunc).
17140         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17141         (tests): Do not add $(tests-ifunc).
17142         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17143         [TEST_IFUNC]: Remove conditionals.
17144         * string/test-string.h (TEST_IFUNC): Remove macro.
17145         [TEST_IFUNC]: Remove conditionals.
17147         * string/test-strchr.c [!WIDE] (L): New macro.
17148         [WIDE] (L): Likewise.
17149         (check1): Use CHAR instead of char.  Use L on string and character
17150         constants.
17152 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17154         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17155         tests.
17156         * sysdeps/powerpc/bits/atomic.h
17157         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17158         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17159         (atomic_exchange_and_add_acq): Likewise.
17160         (atomic_exchange_and_add_rel): Likewise.
17161         * sysdeps/powerpc/powerpc32/bits/atomic.h
17162         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17163         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17164         * sysdeps/powerpc/powerpc64/bits/atomic.h
17165         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17166         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17168 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17170         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17171         Change synchronization of __sched_fifo_min_prio and
17172         __sched_fifo_max_prio.
17173         * nptl/pthread_mutexattr_getprioceiling.c
17174         (pthread_mutexattr_getprioceiling): Likewise.
17175         * nptl/pthread_mutexattr_setprioceiling.c
17176         (pthread_mutexattr_setprioceiling): Likewise.
17177         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17178         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17179         Likewise.
17181 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17183         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17184         void.
17186 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17188         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17189         third argument const.
17191 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17193         fnmatch: work around GCC compiler warning bug with uninit var
17194         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17195         This works around a bug with x86-64 GCC 4.9.2 and earlier
17196         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17197         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17198         used uninitialized in this function [-Wmaybe-uninitialized]".
17200 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17202         * posix/bug-regex31.c (main): Return RES not 0.
17204 2014-11-25  Anton Blanchard <anton@samba.org>
17206         * sysdeps/powerpc/bits/atomic.h
17207         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17209 2014-11-24  Sterling Augustine  <saugustine@google.com>
17211         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17213 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17215         [BZ #17608]
17216         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17218 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17220         [BZ #17633]
17221         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17222         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17223         variable.
17224         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17225         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17227 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17229         * string/strncpy.c (strncpy): Improve performance by using memset.
17231 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17233         * string/strcpy.c (strcpy):
17234         Improve performance by using strlen and memcpy.
17236 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17238         * string/strcoll_l.c (get_next_seq): __always_inline.
17239         * string/strcoll_l.c (do_compare): __always_inline.
17241 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17243         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17244         defined.
17245         * include/mqueue.h: Likewise.
17246         * include/stdlib.h: Likewise.
17248         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17249         (get_null_defines): Adjust.
17250         * sunrpc/Makefile: Adjust comment.
17251         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17252         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17253         (CFLAGS-interp.c): Likewise.
17254         (CFLAGS-ldconfig.c): Likewise.
17255         (CPPFLAGS-.os): Likewise.
17256         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17257         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17258         * extra-modules.mk (extra-modules.mk): Likewise.
17259         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17260         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17261         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17262         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17263         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17264         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17265         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17266         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17267         * iconvdata/Makefile (CPPFLAGS): Likewise.
17268         (cpp-srcs-left): Add libof for all iconvdata routines.
17269         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17270         * include/assert.h: Likewise.
17271         * include/ctype.h: Likewise.
17272         * include/errno.h: Likewise.
17273         * include/libc-symbols.h: Likewise.
17274         * include/math.h: Likewise.
17275         * include/netdb.h: Likewise.
17276         * include/resolv.h: Likewise.
17277         * include/stdio.h: Likewise.
17278         * include/stdlib.h: Likewise.
17279         * include/string.h: Likewise.
17280         * include/sys/stat.h: Likewise.
17281         * include/wctype.h: Likewise.
17282         * intl/l10nflist.c: Likewise.
17283         * libidn/idn-stub.c: Likewise.
17284         * libio/libioP.h: Likewise.
17285         * nptl/libc_multiple_threads.c: Likewise.
17286         * nptl/pthreadP.h: Likewise.
17287         * posix/regex_internal.h: Likewise.
17288         * resolv/res_hconf.c: Likewise.
17289         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17290         * sysdeps/arm/memmove.S: Likewise.
17291         * sysdeps/arm/sysdep.h: Likewise.
17292         * sysdeps/generic/_itoa.h: Likewise.
17293         * sysdeps/generic/symbol-hacks.h: Likewise.
17294         * sysdeps/gnu/errlist.awk: Likewise.
17295         * sysdeps/gnu/errlist.c: Likewise.
17296         * sysdeps/i386/i586/memcpy.S: Likewise.
17297         * sysdeps/i386/i586/memset.S: Likewise.
17298         * sysdeps/i386/i686/memcpy.S: Likewise.
17299         * sysdeps/i386/i686/memmove.S: Likewise.
17300         * sysdeps/i386/i686/mempcpy.S: Likewise.
17301         * sysdeps/i386/i686/memset.S: Likewise.
17302         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17303         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17304         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17305         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17306         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17307         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17308         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17309         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17311         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17313         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17314         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17315         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17316         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17317         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17318         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17319         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17320         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17321         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17322         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17323         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17324         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17325         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17328         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17329         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17330         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17331         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17332         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17333         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17334         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17340         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17341         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17342         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17343         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17344         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17345         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17346         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17347         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17348         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17349         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17350         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17351         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17352         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17353         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17354         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17355         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17356         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17357         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17358         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17359         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17360         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17361         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17362         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17363         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17364         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17365         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17366         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17367         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17368         * sysdeps/posix/closedir.c: Likewise.
17369         * sysdeps/posix/opendir.c: Likewise.
17370         * sysdeps/posix/readdir.c: Likewise.
17371         * sysdeps/posix/rewinddir.c: Likewise.
17372         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17373         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17374         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17375         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17376         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17378         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17379         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17383         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17384         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17385         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17386         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17387         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17388         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17391         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17394         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17395         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17396         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17400         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17407         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17408         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17409         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17410         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17411         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17412         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17413         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17414         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17415         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17416         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17417         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17418         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17419         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17420         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17421         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17422         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17423         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17426         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17429         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17430         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17431         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17432         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17433         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17434         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17435         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17436         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17437         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17438         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17439         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17440         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17441         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17442         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17443         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17444         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17445         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17446         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17447         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17449         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17450         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17451         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17452         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17454         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17455         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17456         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17457         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17458         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17459         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17460         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17461         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17462         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17463         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17464         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17468         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17469         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17470         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17471         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17473         * sysdeps/unix/alpha/sysdep.S: Likewise.
17474         * sysdeps/unix/alpha/sysdep.h: Likewise.
17475         * sysdeps/unix/make-syscalls.sh: Likewise.
17476         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17478         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17479         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17481         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17482         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17483         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17484         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17485         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17486         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17487         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17488         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17489         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17490         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17491         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17492         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17493         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17494         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17495         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17496         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17497         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17498         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17499         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17500         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17501         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17502         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17505         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17506         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17510         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17514         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17515         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17516         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17517         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17518         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17519         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17523         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17527         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17528         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17529         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17530         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17532         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17534         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17535         * sysdeps/x86_64/memcpy.S: Likewise.
17536         * sysdeps/x86_64/memmove.c: Likewise.
17537         * sysdeps/x86_64/memset.S: Likewise.
17538         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17539         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17540         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17541         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17542         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17545         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17547         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17548         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17549         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17550         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17553         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17555         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17556         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17557         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17558         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17559         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17560         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17561         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17562         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17563         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17564         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17565         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17566         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17567         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17568         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17569         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17570         * sysdeps/x86_64/strcmp.S: Likewise.
17572         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17574         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17575         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17576         * elf/rtld-Rules: Likewise.
17577         * elf/setup-vdso.h: Likewise.
17578         * include/assert.h: Likewise.
17579         * include/bits/stdlib-float.h: Likewise.
17580         * include/errno.h: Likewise.
17581         * include/sys/stat.h: Likewise.
17582         * include/unistd.h: Likewise.
17583         * sysdeps/aarch64/setjmp.S: Likewise.
17584         * sysdeps/alpha/setjmp.S: Likewise.
17585         * sysdeps/arm/__longjmp.S: Likewise.
17586         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17587         * sysdeps/arm/setjmp.S: Likewise.
17588         * sysdeps/arm/sysdep.h: Likewise.
17589         * sysdeps/generic/_itoa.h: Likewise.
17590         * sysdeps/generic/dl-sysdep.h: Likewise.
17591         * sysdeps/generic/ldsodefs.h: Likewise.
17592         * sysdeps/i386/dl-tls.h: Likewise.
17593         * sysdeps/i386/setjmp.S: Likewise.
17594         * sysdeps/m68k/setjmp.c: Likewise.
17595         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17596         * sysdeps/mach/hurd/opendir.c: Likewise.
17597         * sysdeps/posix/getcwd.c: Likewise.
17598         * sysdeps/posix/opendir.c: Likewise.
17599         * sysdeps/posix/profil.c: Likewise.
17600         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17602         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17603         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17604         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17605         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17606         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17607         * sysdeps/s390/dl-tls.h: Likewise.
17608         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17609         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17610         * sysdeps/sh/sh3/setjmp.S: Likewise.
17611         * sysdeps/sh/sh4/setjmp.S: Likewise.
17612         * sysdeps/unix/alpha/sysdep.h: Likewise.
17613         * sysdeps/unix/arm/sysdep.S: Likewise.
17614         * sysdeps/unix/i386/sysdep.S: Likewise.
17615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17616         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17617         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17618         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17621         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17622         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17623         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17624         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17625         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17626         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17627         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17633         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17634         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17635         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17638         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17639         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17640         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17642         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17643         * sysdeps/x86_64/setjmp.S: Likewise.
17645         * include/math.h: Use IS_IN instead of IS_IN_libm.
17646         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17658         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17663         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17666         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17667         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17668         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17669         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17670         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17671         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17673         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17674         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17675         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17676         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17677         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17678         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17680         Likewise.
17681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17682         Likewise.
17683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17684         Likewise.
17685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17686         Likewise.
17687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17688         Likewise.
17689         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17690         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17691         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17692         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17693         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17694         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17700         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17701         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17702         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17703         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17704         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17705         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17706         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17707         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17708         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17709         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17711         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17713         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17715         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17717         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17718         * nptl/pthreadP.h: Likewise.
17719         * nptl_db/structs.def: Likewise.
17720         * sysdeps/arm/sysdep.h: Likewise.
17721         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17722         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17723         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17724         * sysdeps/unix/alpha/sysdep.h: Likewise.
17725         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17727         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17728         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17729         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17730         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17732         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17733         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17734         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17735         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17736         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17737         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17738         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17743         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17746         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17747         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17748         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17749         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17750         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17752         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17753         * nptl/pthreadP.h: Likewise.
17754         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17755         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17756         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17757         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17758         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17759         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17760         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17761         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17762         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17763         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17764         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17765         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17767         Likewise.
17768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17769         Likewise.
17770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17772         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17774         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17775         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17776         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17777         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17779         * dlfcn/dladdr.c: Use IS_IN.
17780         * dlfcn/dladdr1.c: Likewise.
17781         * dlfcn/dlclose.c: Likewise.
17782         * dlfcn/dlerror.c: Likewise.
17783         * dlfcn/dlinfo.c: Likewise.
17784         * dlfcn/dlmopen.c: Likewise.
17785         * dlfcn/dlopen.c: Likewise.
17786         * dlfcn/dlsym.c: Likewise.
17787         * dlfcn/dlvsym.c: Likewise.
17789         * include/ifaddrs.h: Use IS_IN.
17790         * inet/check_pf.c: Likewise.
17791         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17792         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17794         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17795         IS_IN_ldconfig.
17796         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17797         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17799         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17800         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17801         IS_IN (libc).
17803         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17805         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17806         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17807         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17808         * include/libc-symbols.h (IS_IN_LIB): New macro.
17809         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17810         * include/netdb.h: Likewise.
17811         * include/stap-probe.h: Remove all uses of IN_LIB.
17813         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17814         instead of IN_MODULE.
17815         * include/libc-symbols.h (IN_MODULE): Define using
17816         MODULE_NAME.
17817         (PASTE_NAME, PASTE_NAME1): New macros.
17818         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17819         of IN_LIB.
17820         (STAP_PROBE_ASM): Likewise.
17822 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17824         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17825         __mach_init in dlopened libc.
17827 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17829         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17830         * sysdeps/arm/preconfigure: Regenerate.
17832 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17834         * nptl/pthread_create.c (__pthread_create_2_1): Set
17835         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17836         when copying values from IATTR into PD.
17838 2014-11-21  Will Newton  <will.newton@linaro.org>
17839             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17841         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17842         Refactor inline-asm.  Also add comment.
17844         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17845         ElfW macro instead of hardcoded Elf64 types.
17846         (la_aarch64_gnu_pltenter): Likewise.
17847         * sysdeps/aarch64/dl-machine.h
17848         (elf_machine_runtime_setup): Use ElfW(Addr).
17850         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17851         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17852         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17853         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17854         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17855         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17856         (R_AARCH64_TLS_DTPMOD): This.
17857         (R_AARCH64_TLS_DTPREL64): Rename to ...
17858         (R_AARCH64_TLS_DTPREL): This.
17859         (R_AARCH64_TLS_TPREL64): Rename to ...
17860         (R_AARCH64_TLS_TPREL): This.
17861         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17862         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17863         R_AARCH64_TLS_TPREL64.
17864         (elf_machine_rela): Likewise.
17866 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17868         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17869         by setting it to 0.  64b atomics are not supported currently.
17871 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17873         [BZ #16469]
17874         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17875         search domain names.
17877 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17879         [BZ #16469]
17880         * NEWS: Update.
17881         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17882         trailing dot.
17883         * posix/tst-getaddrinfo5.c: New.
17884         * posix/Makefile (tests): Add it.
17886 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17888         [BZ #14498]
17889         * NEWS: Fixed.
17890         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17891         after parsing line but before break_if_match.
17892         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17893         if there is a protocol mismatch.
17895 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17897         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17898         because the potential race is on the user-supplied stream.
17900 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17902         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17903         string literal if not passed a buffer.
17904         * manual/job.texi (ctermid): Update reasoning, note deviation
17905         from posix, suggest mtasurace when not passed a buffer, for
17906         future non-preliminary safety notes.
17908 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17910         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17911         of not passing it a buffer.
17912         Reported by Peng Haitao.
17914 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17916         * manual/Makefile ($(objpfx)stamp-summary): Require
17917         check-safety.sh to pass.
17918         * manual/check-safety.sh: Wish for verification that every
17919         @deftypefn and @deftypefun is followed by a @safety remark.
17921 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17923         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17925         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17926         PTHREAD_CANCEL_ASYNCHRONOUS.
17927         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17928         send SIGCANCEL.
17930         * nptl/default-sched.h: New file.
17931         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17932         * nptl/pthread_create.c: Include it.
17933         (__pthread_create_2_1): Use collect_default_sched instead of making
17934         Linux syscalls here directly.
17936 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17938         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17939         __pthread_once): Use C11 atomics.
17941 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17943         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17945 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17947         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17948         atomic_thread_fence_acquire, atomic_thread_fence_release,
17949         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17950         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17951         atomic_compare_exchange_weak_relaxed,
17952         atomic_compare_exchange_weak_acquire,
17953         atomic_compare_exchange_weak_release,
17954         atomic_exchange_acquire, atomic_exchange_release,
17955         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17956         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17957         atomic_fetch_and_acquire,
17958         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17960 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17962         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17963         USE_ATOMIC_COMPILER_BUILTINS): Define.
17964         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17966         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17968         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17970         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17972         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17974         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17976         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17978         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17980         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17982         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17984         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17986         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17988         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17990         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17992         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17994         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17996         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17998         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17999         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18000         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18002         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18005 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18007         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18008         the sched_priority value here.  It was already checked when the user
18009         called pthread_attr_setschedparam.
18011         * nptl/tst-bad-schedattr.c: New file.
18012         * nptl/Makefile (tests): Add it.
18014 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18015             Florian Weimer  <fweimer@redhat.com>
18016             Joseph Myers  <joseph@codesourcery.com>
18017             Adam Conrad  <adconrad@0c3.net>
18018             Andreas Schwab  <schwab@suse.de>
18019             Brooks  <bmoses@google.com>
18021         [BZ #17625]
18022         * wordexp-test.c (__dso_handle): Add prototype.
18023         (__register_atfork): Likewise.
18024         (__app_register_atfork): New function.
18025         (registered_forks): New global.
18026         (register_fork): New function.
18027         (test_case): Add 3 new tests for WRDE_CMDSUB.
18028         (main): Call __app_register_atfork.
18029         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18030         fork count is non-zero fail the test.
18031         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18032         is set.
18033         (parse_dollars): Remove check for WRDE_NOCMD.
18034         (parse_dquote): Likewise.
18036 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18038         * Makeconfig (built-modules): List non-library modules to be
18039         built.
18040         (module-cppflags): Include libc-modules.h for
18041         everything except shlib-versions.v.i.
18042         (CPPFLAGS): Use it.
18043         (before-compile): Add libc-modules.h.
18044         ($(common-objpfx)libc-modules.h,
18045         $(common-objpfx)libc-modules.stmp): New targets.
18046         (common-generated): Add libc-modules.h and libc-modules.stmp.
18047         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18048         * include/libc-symbols.h: Don't include libc-modules.h.
18049         * include/libc-modules.h: Remove file.
18050         * scripts/gen-libc-modules.awk: New script to generate
18051         libc-modules.h.
18052         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18053         Depend on libc-modules.stmp.
18055         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18057         * Makeconfig (in-module): Get value of libof set for the
18058         translation unit.
18059         (CPPFLAGS): Use $(in-module).
18060         * Makerules: Don't suffix routine names for nonlib.
18061         * include/libc-modules.h: New file.
18062         * include/libc-symbols.h: Include libc-modules.h
18063         (IS_IN): New macro to replace IS_IN_* macros.
18064         * elf/Makefile: Set libof-* for each routine.
18065         * elf/rtld-Rules: Likewise.
18066         * extra-modules.mk: Likewise.
18067         * iconv/Makefile: Likewise.
18068         * iconvdata/Makefile: Likewise.
18069         * locale/Makefile: Likewise.
18070         * malloc/Makefile: Likewise.
18071         * nss/Makefile: Likewise.
18072         * sysdeps/gnu/Makefile: Likewise.
18073         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18074         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18075         * sysdeps/s390/s390-64/Makefile: Likewise.
18076         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18077         CPPFLAGS for nscd instead of nonlib.
18079 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18081         * nptl/createthread.c: New file.
18083         * nptl/createthread.c: Moved ...
18084         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18086         * nptl/createthread.c: Add proper top-line comment.
18087         (do_clone): Folded into ...
18088         (create_thread): ... here.  Take new arguments STOPPED_START and
18089         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18090         increment __nptl_threads, do event-reporting logic, do
18091         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18092         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18093         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18094         just send SIGCANCEL.
18095         * nptl/pthread_create.c: Forward-declare create_thread before
18096         including createthread.c.
18097         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18098         declaration, and new macro START_THREAD_SELF to replace argument.
18099         Remove return statement.
18100         (report_thread_creation): New function.
18101         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18102         synchronization logic, and __nptl_nthreads increment here, around
18103         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18104         PD->parent_cancelhandling here, before create_thread.  When
18105         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18106         __deallocate_stack, and ENOMEM translation here.
18108 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18110         [BZ #17616]
18111         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18112         (mptwo): Rename to __mptwo.
18113         (__inv): Use __mptwo instead of mptwo.
18114         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18115         (mptwo): Rename to __mptwo.
18116         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18117         of mpone and __mptwo instead of mptwo.
18118         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18119         instead of mpone.
18120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18121         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18122         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18123         of mpone and __mptwo instead of mptwo.
18124         (__mpranred): Use __mpone instead of mpone.
18125         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18126         variable.
18127         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18128         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18129         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18130         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18131         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18132         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18133         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18134         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18135         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18136         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18137         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18138         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18139         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18140         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18141         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18142         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18143         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18144         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18145         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18147 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18149         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18150         replace BSD Handler xref with BSD Signal Handling.
18152 2014-11-17  Richard Henderson  <rth@redhat.com>
18154         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18155         (_FP_PACK_RAW_2): Remove.
18156         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18157         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18158         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18159         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18160         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18161         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18162         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18163         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18164         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18165         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18166         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18167         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18168         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18169         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18170         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18171         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18173 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18175         * signal/signal.h [__USE_MISC]
18176         (struct sigvec): Remove type.
18177         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18178         (sigvec): Remove declaration.
18179         * sysdeps/posix/sigvec.c: Moved ...
18180         * signal/sigvec.c: ... here, replacing old file.
18181         (struct sigvec): New type, copied from old signal.h definition.
18182         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18183         (__sigvec): Convert definition to prototype.
18184         (sigvec): Replace weak_alias with compat_symbol.
18185         * signal/Versions (libc: GLIBC_2.21): New version set.
18186         * include/signal.h: Remove __sigvec declaration.
18187         * sysdeps/unix/bsd/sigvec.c: Remove file.
18188         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18189         * manual/signal.texi (BSD Handler): Remove subsection.
18190         Move siginterrupt up to ...
18191         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18192         (Blocking in BSD): Fold subsection into its parent.
18193         * NEWS: Mention sigvec removal.
18195 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18197         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18198         (DLA_FMS): Make definition conditional only on [__FMA4__].
18199         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18200         definition.
18202         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18203         Make definition conditional only on [PROF].
18204         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18205         definition.
18206         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18207         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18209         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18210         !__GNUC__].
18211         * include/signal.h (__sigpause): Move declaration above call to
18212         libc_hidden_proto.
18213         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18214         variable.
18215         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18216         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18218 2014-11-14  David S. Miller  <davem@davemloft.net>
18220         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18221         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18223 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18225         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18226         * configure: Regenerated.
18227         * manual/install.texi (Tools for Compilation): Document a
18228         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18229         compiler verified to work.
18230         * INSTALL: Regenerated.
18232         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18233         redeclare with asm name.
18234         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18235         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18236         including <string.h>.
18237         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18238         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18239         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18240         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18241         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18243         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18245 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18247         * stdlib/strtol.c (__strtol): Use prototype definition.
18249         [BZ #17594]
18250         * stdlib/strtol.c (SYM__): New macro.
18251         (SYM__1): Likewise.
18252         (__strtol): Likewise.
18253         (strtol): Rename to __strtol and define as weak alias of
18254         __strtol.  Use libc_hidden_weak.
18256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18258         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18259         Use numbered labels in inline assembly.
18261 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18263         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18264         Add setjmp LIBC_PROBE.
18265         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18266         Likewise.
18267         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18268         Add longjmp, longjmp_target LIBC_PROBE.
18269         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18270         Likewise.
18272 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18274         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18275         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18276         to get rid of unused variable warning.
18278 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18280         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18281         Check for unwind_backtrace ==  NULL only in SHARED case.
18282         (__backchain_backtrace): Compile only in SHARED case.
18283         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18284         Likewise.
18285         (__backchain_backtrace): Declare as static.
18287 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18289         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18290         (__libc_multiple_threads_ptr): Variable moved ...
18291         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18293 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18295         * conform/GlibcConform.pm: New file.
18296         * conform/conformtest.pl: Use GlibcConform module.
18297         * conform/linknamespace.pl: New file.
18298         * conform/list-header-symbols.pl: Likewise.
18299         * conform/Makefile (linknamespace-symlists-base): New variable.
18300         (linknamespace-symlists-tests): Likewise.
18301         (linknamespace-header-base): Likewise.
18302         (linknamespace-header-tests): Likewise.
18303         (tests-special): Add new tests.
18304         ($(linknamespace-symlists-tests)): New rule.
18305         (linknamespace-libs): New variable.
18306         ($(objpfx)symlist-stdlibs): New rule.
18307         ($(linknamespace-header-tests)): Likewise.
18308         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18309         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18310         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18311         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18312         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18313         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18314         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18315         (test-xfail-ISO/math.h/linknamespace): Likewise.
18316         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18317         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18318         (test-xfail-ISO/time.h/linknamespace): Likewise.
18319         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18320         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18321         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18322         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18323         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18324         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18325         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18326         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18327         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18328         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18329         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18330         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18331         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18332         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18333         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18334         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18335         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18336         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18337         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18338         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18339         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18340         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18341         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18342         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18343         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18344         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18345         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18346         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18347         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18348         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18349         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18350         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18351         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18352         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18353         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18354         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18355         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18356         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18357         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18358         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18359         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18360         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18361         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18362         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18363         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18364         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18365         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18366         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18367         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18368         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18369         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18370         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18371         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18372         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18373         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18374         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18375         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18376         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18377         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18378         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18379         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18380         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18381         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18382         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18383         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18384         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18385         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18386         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18387         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18388         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18389         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18390         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18391         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18392         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18393         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18394         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18395         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18396         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18397         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18398         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18399         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18400         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18401         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18402         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18403         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18404         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18405         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18406         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18407         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18408         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18409         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18410         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18411         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18412         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18413         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18414         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18415         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18416         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18417         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18418         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18419         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18420         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18421         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18422         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18423         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18424         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18425         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18426         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18427         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18428         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18429         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18430         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18431         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18432         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18433         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18434         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18435         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18436         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18437         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18438         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18439         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18440         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18441         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18442         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18443         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18444         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18445         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18446         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18447         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18448         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18449         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18450         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18451         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18452         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18453         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18454         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18455         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18456         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18457         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18458         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18459         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18460         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18461         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18462         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18463         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18464         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18465         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18466         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18467         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18468         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18470         [BZ #17589]
18471         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18472         of fgets_unlocked.
18474         [BZ #17585]
18475         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18476         (memmem): Rename to __memmem and define as weak alias of
18477         __memmem.  Use libc_hidden_weak.
18478         (__memmem): Use libc_hidden_def.
18479         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18480         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18481         memmem.
18483         [BZ #17582]
18484         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18485         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18486         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18487         and define as weak alias of __fgets_unlocked.  Use
18488         libc_hidden_weak.
18489         (__fgets_unlocked): Use libc_hidden_def.
18490         * include/stdio.h (__fgets_unlocked): Declare.  Use
18491         libc_hidden_proto.
18492         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18493         __fgets_unlocked instead of fgets_unlocked.
18494         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18495         (GET_NPROCS_CONF_PARSER): Likewise.
18496         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18497         (GET_NPROCS_CONF_PARSER): Likewise.
18499         [BZ #17574]
18500         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18501         weak alias of __wmemset.  Use libc_hidden_weak.
18502         (__wmemset): Use libc_hidden_def.
18503         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18504         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18505         of wmemset.
18507         [BZ #17573]
18508         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18509         with asm name __mempcpy.
18510         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18512         [BZ #17572]
18513         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18514         and define as weak alias of __rawmemchr.
18515         (__rawmemchr): Do not define as strong alias of rawmemchr.
18517         [BZ #17571]
18518         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18519         alias of __qsort_r.
18520         (qsort): Call __qsort_r instead of qsort_r.
18521         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18522         (__qsort_r): Declare.  Call libc_hidden_proto.
18523         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18524         instead of qsort_r.
18525         * nscd/gai.c (__qsort_r): Define to qsort_r.
18526         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18527         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18528         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18530         [BZ #17570]
18531         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18532         define as weak alias of __malloc_info.
18534         [BZ #17584]
18535         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18536         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18537         (__rewinddir): Use libc_hidden_def.
18538         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18539         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18540         (__rewinddir): Use libc_hidden_def.
18541         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18542         weak alias of __rewinddir.  Don't use libc_hidden_def.
18543         (__rewinddir): Use libc_hidden_def.
18544         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18545         (__rewinddir): Use libc_hidden_proto.
18546         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18547         rewinddir.
18548         (__getcwd): Use __rewinddir instead of rewinddir.
18550         [BZ #17583]
18551         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18552         alias of __fileno.  Use libc_hidden_weak.
18553         (__fileno): Use libc_hidden_def.
18554         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18555         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18556         alias of __ftello.
18557         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18558         __ftello.
18559         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18560         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18561         libc_hidden_def.
18562         (fread_unlocked): Don't use libc_hidden_ver.
18563         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18564         and define as weak alias of __fread_unlocked.  Don't use
18565         libc_hidden_def.
18566         (__fread_unlocked): Use libc_hidden_def.
18567         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18568         (ftello): Don't use libc_hidden_proto.
18569         (__ftello): Declare.  Use libc_hidden_proto.
18570         (fread_unlocked): Don't use libc_hidden_proto.
18571         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18572         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18573         and __ftello instead of fileno, fread_unlocked and ftello.
18575 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18577         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18578         GOT12.
18579         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18580         Likewise.
18581         (_dl_start_user): Likewise.
18582         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18584 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18585             Siddhesh Poyarekar  <siddhesh@redhat.com>
18587         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18588         Move argv and envp down instead of moving argc up.
18589         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18591 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18593         [BZ #17506]
18594         * test-skeleton.c (main): Return successful if one of
18595         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18596         * string/tst-strcoll-overflow.c: Define expected status.
18598 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18600         [BZ #17475]
18601         * locale/iso-639.def: Define Bhili and Tulu language codes.
18603 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18605         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18607 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18609         [BZ #17555]
18610         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18612 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18614         * configure.ac: Updated check of minimal required version to
18615         2.22.
18616         * manual/install.texi (Tools for Compilation): Updated version
18617         number.
18618         * configure: Regenerated.
18619         * INSTALL: Likewise.
18621 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18623         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18624         __tls_get_addr.
18626 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18628         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18629         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18630         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18631         libc_hidden_weak.
18632         (waitpid): Define as alias of __waitpid.
18633         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18634         __waitpid.
18635         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18636         libc_hidden_weak.
18637         (waitpid): Define as alias of __waitpid.
18638         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18639         __libc_waitpid alias.
18640         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18641         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18642         Likewise.
18643         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18644         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18645         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18646         alias.
18647         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18648         __waitpid.
18649         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18650         libc_hidden_weak.
18651         (waitpid): Define as alias of __waitpid.
18653 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18655         * manual/llio.texi: Add comment that write safety has been
18656         fixed in Linux.
18658         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18659         (localplt-build-dso): Add elf/ld.so.
18660         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18661         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18662         and free for ld.so.
18663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18664         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18666         Likewise.
18667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18668         Likewise.
18669         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18670         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18671         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18672         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18673         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18674         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18675         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18676         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18677         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18678         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18679         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18681 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18683         [BZ #14132]
18684         * include/libc-symbols.h (INTUSE): Remove macro.
18685         (INTDEF): Likewise.
18686         (INTVARDEF): Likewise.
18687         (_INTVARDEF): Likewise.
18688         (INTDEF2): Likewise.
18689         (INTVARDEF2): Likewise.
18690         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18691         rtld_hidden_def instead of INTVARDEF.
18692         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18693         (_dl_starting_up_internal): Remove declaration.
18694         (_dl_starting_up): Use rtld_hidden_proto.
18695         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18696         declaration.
18697         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18698         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18699         _dl_starting_up.
18700         * elf/dl-writev.h (_dl_writev): Likewise.
18701         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18702         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18703         _dl_starting_up_internal.
18705 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18707         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18708         test-skeleton.c.
18710 2014-11-05  Will Newton  <will.newton@linaro.org>
18712         * benchtests/Makefile: (bench-malloc): Add malloc thread
18713         scalability benchmark.
18714         * benchtests/bench-malloc-threads.c: New file.
18716 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18718         * sysdeps/aarch64/strchrnul.S: New file.
18720 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18722         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18723         definition.
18724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18725         Likwise.
18726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18727         Likewise.
18728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18729         Likewise.
18730         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18731         Likewise.
18732         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18733         Likewise.
18735 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18737         * catgets/test-gencat.c: Use test-skeleton.c.
18738         * catgets/tst-catgets.c: Likewise.
18739         * csu/tst-empty.c: Likewise.
18740         * elf/tst-audit2.c: Likewise.
18741         * elf/tst-global1.c: Likewise.
18742         * elf/tst-pathopt.c: Likewise.
18743         * elf/tst-piemod1.c: Likewise.
18744         * elf/tst-tls10.c: Likewise.
18745         * elf/tst-tls11.c: Likewise.
18746         * elf/tst-tls12.c: Likewise.
18747         * gnulib/tst-gcc.c: Likewise.
18748         * iconvdata/tst-e2big.c: Likewise.
18749         * iconvdata/tst-loading.c: Likewise.
18750         * iconv/tst-iconv1.c: Likewise.
18751         * iconv/tst-iconv2.c: Likewise.
18752         * inet/test-inet6_opt.c: Likewise.
18753         * inet/tst-gethnm.c: Likewise.
18754         * inet/tst-network.c: Likewise.
18755         * inet/tst-ntoa.c: Likewise.
18756         * intl/tst-codeset.c: Likewise.
18757         * intl/tst-gettext2.c: Likewise.
18758         * intl/tst-gettext3.c: Likewise.
18759         * intl/tst-ngettext.c: Likewise.
18760         * intl/tst-translit.c: Likewise.
18761         * io/test-stat.c: Likewise.
18762         * libio/test-fmemopen.c: Likewise.
18763         * libio/tst-freopen.c: Likewise.
18764         * libio/tst-sscanf.c: Likewise.
18765         * libio/tst-ungetwc1.c: Likewise.
18766         * libio/tst-ungetwc2.c: Likewise.
18767         * libio/tst-widetext.c: Likewise.
18768         * localedata/tst-ctype.c: Likewise.
18769         * localedata/tst-digits.c: Likewise.
18770         * localedata/tst-leaks.c: Likewise.
18771         * localedata/tst-mbswcs1.c: Likewise.
18772         * localedata/tst-mbswcs2.c: Likewise.
18773         * localedata/tst-mbswcs3.c: Likewise.
18774         * localedata/tst-mbswcs4.c: Likewise.
18775         * localedata/tst-mbswcs5.c: Likewise.
18776         * localedata/tst-setlocale.c: Likewise.
18777         * localedata/tst-trans.c: Likewise.
18778         * localedata/tst-wctype.c: Likewise.
18779         * localedata/tst-xlocale1.c: Likewise.
18780         * login/tst-grantpt.c: Likewise.
18781         * malloc/tst-calloc.c: Likewise.
18782         * malloc/tst-malloc.c: Likewise.
18783         * malloc/tst-mallocstate.c: Likewise.
18784         * malloc/tst-mcheck.c: Likewise.
18785         * malloc/tst-mtrace.c: Likewise.
18786         * malloc/tst-obstack.c: Likewise.
18787         * math/atest-exp2.c: Likewise.
18788         * math/atest-exp.c: Likewise.
18789         * math/atest-sincos.c: Likewise.
18790         * math/test-matherr.c: Likewise.
18791         * math/test-misc.c: Likewise.
18792         * math/test-powl.c: Likewise.
18793         * math/tst-definitions.c: Likewise.
18794         * misc/tst-dirname.c: Likewise.
18795         * misc/tst-efgcvt.c: Likewise.
18796         * misc/tst-fdset.c: Likewise.
18797         * misc/tst-hsearch.c: Likewise.
18798         * misc/tst-mntent2.c: Likewise.
18799         * nptl/tst-sem7.c: Likewise.
18800         * nptl/tst-sem8.c: Likewise.
18801         * nptl/tst-sem9.c: Likewise.
18802         * nss/test-netdb.c: Likewise.
18803         * posix/tst-fnmatch.c: Likewise.
18804         * posix/tst-getlogin.c: Likewise.
18805         * posix/tst-gnuglob.c: Likewise.
18806         * posix/tst-mmap.c: Likewise.
18807         * pwd/tst-getpw.c: Likewise.
18808         * resolv/tst-inet_ntop.c: Likewise.
18809         * rt/tst-timer.c: Likewise.
18810         * stdio-common/test-fseek.c: Likewise.
18811         * stdio-common/test-popen.c: Likewise.
18812         * stdio-common/test-vfprintf.c: Likewise.
18813         * stdio-common/tst-cookie.c: Likewise.
18814         * stdio-common/tst-fileno.c: Likewise.
18815         * stdio-common/tst-gets.c: Likewise.
18816         * stdio-common/tst-obprintf.c: Likewise.
18817         * stdio-common/tst-perror.c: Likewise.
18818         * stdio-common/tst-sprintf2.c: Likewise.
18819         * stdio-common/tst-sprintf3.c: Likewise.
18820         * stdio-common/tst-sprintf.c: Likewise.
18821         * stdio-common/tst-swprintf.c: Likewise.
18822         * stdio-common/tst-tmpnam.c: Likewise.
18823         * stdio-common/tst-unbputc.c: Likewise.
18824         * stdio-common/tst-wc-printf.c: Likewise.
18825         * stdlib/tst-environ.c: Likewise.
18826         * stdlib/tst-fmtmsg.c: Likewise.
18827         * stdlib/tst-limits.c: Likewise.
18828         * stdlib/tst-rand48-2.c: Likewise.
18829         * stdlib/tst-rand48.c: Likewise.
18830         * stdlib/tst-random2.c: Likewise.
18831         * stdlib/tst-random.c: Likewise.
18832         * stdlib/tst-strtol.c: Likewise.
18833         * stdlib/tst-strtoll.c: Likewise.
18834         * stdlib/tst-tls-atexit.c: Likewise.
18835         * stdlib/tst-xpg-basename.c: Likewise.
18836         * string/test-ffs.c: Likewise.
18837         * string/tst-bswap.c: Likewise.
18838         * string/tst-inlcall.c: Likewise.
18839         * string/tst-strtok.c: Likewise.
18840         * string/tst-strxfrm.c: Likewise.
18841         * sysdeps/x86_64/tst-audit10.c: Likewise.
18842         * sysdeps/x86_64/tst-audit3.c: Likewise.
18843         * sysdeps/x86_64/tst-audit4.c: Likewise.
18844         * sysdeps/x86_64/tst-audit5.c: Likewise.
18845         * time/tst-ftime_l.c: Likewise.
18846         * time/tst-getdate.c: Likewise.
18847         * time/tst-mktime3.c: Likewise.
18848         * time/tst-mktime.c: Likewise.
18849         * time/tst-posixtz.c: Likewise.
18850         * time/tst-strptime2.c: Likewise.
18851         * time/tst-strptime3.c: Likewise.
18852         * wcsmbs/tst-btowc.c: Likewise.
18853         * wcsmbs/tst-mbrtowc.c: Likewise.
18854         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18855         * wcsmbs/tst-wchar-h.c: Likewise.
18856         * wcsmbs/tst-wcpncpy.c: Likewise.
18857         * wcsmbs/tst-wcrtomb.c: Likewise.
18858         * wcsmbs/tst-wcsnlen.c: Likewise.
18859         * wcsmbs/tst-wcstof.c: Likewise.
18861 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18863         [BZ #14132]
18864         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18865         INTDEF.
18866         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18867         declaration.
18868         (_dl_mcount): Use rtld_hidden_proto.
18869         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18870         _dl_mcount.
18871         * elf/rtld.c (_rtld_global_ro): Likewise.
18873         [BZ #14132]
18874         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18875         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18876         of _dl_init_internal.
18877         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18878         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18879         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18880         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18881         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18882         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18883         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18884         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18885         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18886         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18887         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18888         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18889         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18890         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18891         * sysdeps/tile/dl-start.S (_start): Likewise.
18892         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18893         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18895         [BZ #14132]
18896         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18897         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18898         (rtld_progname): Make macro definition unconditional.
18899         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18900         INTDEF.
18901         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18902         (dl_main): Likewise.
18903         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18904         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18905         instead of _dl_argv_internal.
18906         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18907         __GI__dl_argv instead of INTUSE(_dl_argv).
18908         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18909         __GI__dl_argv instead of _dl_argv_internal.
18911         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18912         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18913         macro.
18914         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18915         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18916         New macro.
18917         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18918         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18919         macro.
18920         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18921         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18923 2014-11-04  Andreas Schwab  <schwab@suse.de>
18925         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18927 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18929         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18930         mtvsrd instruction in binary form.
18932 2014-11-03  Andreas Schwab  <schwab@suse.de>
18934         [BZ #17522]
18935         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18936         for less than MB_LEN_MAX use a local buffer of that size.
18937         * libio/tst-fputws.c: New file.
18938         * libio/Makefile (tests): Add tst-fputws.
18940 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18942         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18943         the size of the fpu_fr.fpu_dregs[] array.
18945 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18947         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18948         (__nanosleep): Do not define as alias.
18949         (nanosleep): Define as alias of __nanosleep.
18950         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18951         __libc_nanosleep name.
18953 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18955         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18956         install.texi in comment.
18958 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18960         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18961         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18962         ... add here and use lwsync or sync ...
18963         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18964         ... and add here using lwsync.
18966 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18968         * elf/dl-machine-reject-phdr.h: New file.
18969         * elf/dl-load.c: #include that.
18970         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18971         if that returned true.
18973 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18975         [BZ #17496]
18976         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18977         gen-as-const-headers chunk.  Add a big scare comment after the last
18978         safe place to touch before-compile.
18980 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18982         * manual/install.texi (Tools for Compilation): Update autoconf
18983         version requirements.
18984         * INSTALL: Regenerated.
18986         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18987         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18988         (__libc_pselect): Likewise.
18990         [BZ #14138]
18991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18996 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18998         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18999         correct barrier instruction.
19000         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19001         Likewise.
19002         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19003         Likewise.
19005 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19007         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19008         after defining inlines.  Instead, just use parens to defeat macro
19009         expansion of __isctype in its declaration.
19011 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19013         * include/sys/uio.h (__libc_readv): Remove declaration.
19014         (__libc_writev): Likewise.
19015         * misc/readv.c (__libc_readv): Rename to __readv.
19016         (__readv): Do not define as alias.
19017         (readv): Define as alias of __readv.
19018         * misc/writev.c (__libc_writev): Rename to __writev.
19019         (__writev): Do not define as alias.
19020         (writev): Define as alias of __writev.
19021         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19022         (__readv): Do not define as alias.
19023         (readv): Define unconditionally as alias of __readv.
19024         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19025         (__writev): Do not define as alias.
19026         (writev): Define unconditionally as alias of __writev.
19027         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19028         name.
19029         (writev): Do not define __libc_writev name.
19031 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19033         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19034         (convert_charseq): New function, broken out of ...
19035         (use_from_charmap): ... here.  Call it.
19036         (use_to_charmap): Use convert_charseq and free instead of duplicating
19037         its code with a variable-length stack struct.
19039 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19041         * include/fcntl.h (__libc_creat): Remove declaration.
19042         * io/creat.c (__libc_creat): Rename to creat.
19043         (creat): Do not define as alias.
19044         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19045         of creat instead of __libc_creat.
19046         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19047         to creat.
19048         (creat): Do not define as alias.
19049         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19050         __libc_creat.
19051         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19052         __libc_creat name.
19053         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19054         Likewise.
19056 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19058         * manual/llio.texi: Add comments discussing why write() may be
19059         considered MT-unsafe on Linux.
19061 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19063         * dl-load.c (local_strdup): Remove.
19064         (expand_dynamic_string_token): Use __strdup.
19065         (decompose_rpath): Likewise.
19066         (_dl_map_object): Likewise.
19068 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19070         [BZ #14132]
19071         * sysdeps/generic/unwind-dw2-fde.c
19072         (__register_frame_info_bases_internal): Do not declare.
19073         (__register_frame_info_table_bases_internal): Likewise.
19074         (__deregister_frame_info_bases_internal): Likewise.
19075         (__register_frame_info_bases): Declare and use hidden_proto before
19076         definition.  Use hidden_def instead of INTDEF.
19077         (__register_frame_info_table_bases): Likewise.
19078         (__deregister_frame_info_bases): Likewise.
19079         (__register_frame_info): Do not use INTUSE.
19080         (__register_frame): Likewise.
19081         (__register_frame_info_table): Likewise.
19082         (__register_frame_table): Likewise.
19083         (__deregister_frame_info): Likewise.
19084         (__deregister_frame): Likewise.
19086 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19088         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19089         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19090         not undefine.
19091         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19092         Likewise.
19093         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19094         Likewise.
19096 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19098         [BZ #14138]
19099         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19100         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19101         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19102         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19103         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19104         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19105         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19106         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19107         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19108         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19110         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19111         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19112         syscall.
19113         (setfsuid): Likewise.
19114         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19115         (setfsuid): Likewise.
19116         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19117         (setfsuid): Likewise.
19118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19119         Likewise.
19120         (setfsuid): Likewise.
19121         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19122         (setfsuid): Likewise.
19123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19124         Likewise.
19125         (setfsuid): Likewise.
19127 2014-10-27  Andreas Schwab  <schwab@suse.de>
19129         [BZ #17501]
19130         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19131         check for Slow_SSE4_2 feature bit.
19132         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19133         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19134         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19135         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19137 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19139         * configure.ac: Validate compiler version with a empirical test of
19140         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19141         $CC -v output.
19142         * configure: Regenerated.
19144         * inet/htons.c (htons): Prototypify.
19145         * inet/htonl.c (htonl): Likewise.
19147 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19149         * string/strncat.c (strncat): Improve performance by using strlen.
19151 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19153         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19155 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19157         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19158         Call libc_fetestexcept_aarch64.
19160 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19162         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19163         Call libc_feholdexcept_aarch64.
19165 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19167         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19168         Call get_rounding_mode.
19170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19172         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19173         Simplify logic.
19175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19177         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19178         Simplify logic.
19180 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19182         [BZ #14138]
19183         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19184         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19185         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19186         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19187         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19188         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19189         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19190         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19191         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19192         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19193         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19194         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19195         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19196         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19197         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19198         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19199         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19200         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19201         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19202         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19203         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19204         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19205         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19206         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19207         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19208         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19209         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19210         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19211         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19212         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19213         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19214         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19215         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19216         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19217         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19218         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19219         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19220         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19221         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19222         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19223         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19224         syscall.
19225         (geteuid): Likewise.
19226         (getgid): Likewise.
19227         (getuid): Likewise.
19228         (getresgid): Likewise.
19229         (getresuid): Likewise.
19230         (getgroups): Likewise.
19231         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19232         (geteuid): Likewise.
19233         (getgid): Likewise.
19234         (getuid): Likewise.
19235         (getresgid): Likewise.
19236         (getresuid): Likewise.
19237         (getgroups): Likewise.
19238         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19239         (geteuid): Likewise.
19240         (getgid): Likewise.
19241         (getuid): Likewise.
19242         (getresgid): Likewise.
19243         (getresuid): Likewise.
19244         (getgroups): Likewise.
19245         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19246         Likewise.
19247         (geteuid): Likewise.
19248         (getgid): Likewise.
19249         (getuid): Likewise.
19250         (getresgid): Likewise.
19251         (getresuid): Likewise.
19252         (getgroups): Likewise.
19253         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19254         (geteuid): Likewise.
19255         (getgid): Likewise.
19256         (getuid): Likewise.
19257         (getresgid): Likewise.
19258         (getresuid): Likewise.
19259         (getgroups): Likewise.
19260         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19261         Likewise.
19262         (geteuid): Likewise.
19263         (getgid): Likewise.
19264         (getuid): Likewise.
19265         (getgroups): Likewise.
19267         [BZ #14138]
19268         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19269         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19270         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19274         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19275         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19276         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19277         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19278         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19279         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19280         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19281         __chown.
19282         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19283         (lchown): Likewise.
19284         (fchown): Likewise.
19285         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19286         Likewise.
19287         (lchown): Likewise.
19288         (fchown): Likewise.
19289         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19290         (lchown): Likewise.
19291         (fchown): Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19293         Likewise.
19294         (lchown): Likewise.
19295         (fchown): Likewise.
19297 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19299         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19300         Simplify logic.
19302 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19304         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19305         Cleanup logic.
19307 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19309         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19310         Remove unused include.
19312 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19314         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19315         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19316         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19317         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19319 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19320             Helge Deller <deller@gmx.de>
19322         [BZ #17508]
19323         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19324         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19325         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19327 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19329         [BZ #14132]
19330         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19331         Remove macro definition.
19332         (__ashrdi3_v_glibc20): Likewise.
19333         (__lshrdi3_v_glibc20): Likewise.
19334         (__cmpdi2_v_glibc20): Likewise.
19335         (__ucmpdi2_v_glibc20): Likewise.
19336         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19337         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19338         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19339         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19340         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19341         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19343 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19345         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19346         old GNU extension [0] syntax.
19347         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19348         alloca rather than an array member with variable length.
19349         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19350         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19351         (parse_opt): ... here.  Likewise use alloca there.
19352         Validate the -i argument before checking for rootness.
19353         (send_shutdown): New function, broken out of ...
19354         (parse_opt): ... here.
19356 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19358         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19359         macro to get at the _rt_local_ro field.
19360         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19361         ([PIC] case) or _dl_hwcap ([!PIC] case).
19362         * sysdeps/arm/setjmp.S: Likewise.
19364         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19365         * sysdeps/arm/configure.ac: New check to define it.
19366         * sysdeps/arm/configure: Regenerated.
19367         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19368         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19369         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19370         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19371         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19372         Use move/movt pair instead of a load.
19373         (LDST_GLOBAL): Macro removed.
19374         (LDR_GLOBAL): New macro replaces it.
19375         (LDR_HIDDEN): New macro.
19376         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19377         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19379         * setjmp/tst-setjmp-static.c: New file.
19380         * setjmp/Makefile (tests): Add it.
19381         (tests-static): New variable.
19383 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19385         [BZ #17485]
19386         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19388 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19390         [BZ #14132]
19391         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19393 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19395         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19397 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19399         * io/fts.c (dirent_not_directory): New function.
19400         (fts_build): Call it.
19402 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19404         * nptl/version.c (__nptl_main): Use normal __write rather than
19405         INTERNAL_SYSCALL.
19406         (banner): Update copyright years.
19408         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19409         gettimeofday.
19410         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19411         * nptl/pthread_cond_timedwait.c: Likewise.
19412         * nptl/pthread_mutex_timedlock.c: Likewise.
19413         * nptl/sem_timedwait.c: Likewise.
19415         * sysdeps/nptl/bits/libc-lock.h
19416         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19417         (__libc_lock_init_recursive): Return void, not 0.
19418         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19419         (__libc_rwlock_init): Likewise.
19420         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19422 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19424         [BZ #15215]
19425         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19426         (__pthread_once_slow): ... here.
19427         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19428         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19430 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19432         [BZ #15215]
19433         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19434         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19435         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19436         * nptl/pthread_once.c (__pthread_once): Likewise.
19437         Update comments.
19439 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19441         [BZ #14138]
19442         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19443         name.
19444         (writev): Use __libc_writev as strong name.
19445         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19446         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19448 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19450         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19452         * sysdeps/i386/nptl/tls.h
19453         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19454         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19455         New macros.
19456         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19457         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19458         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19459         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19460         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19461         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19463         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19464         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19465         on [__NR_futex].
19466         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19467         broken out of ...
19468         (__pthread_mutex_init): ... here.  Call it.
19469         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19470         Conditionalize PI cases on [__NR_futex].
19471         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19472         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19473         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19475         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19476         conditional on [SIGSETXID].
19477         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19478         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19479         is defined.  Likewise for SIGSETXID.
19480         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19481         Conditionalize definitions on [SIGSETXID].
19482         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19483         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19484         unblocking on [SIGCANCEL].
19486         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19487         [__NR_set_robust_list].
19489 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19491         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19492         (do_compare): Likewise.
19494 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19496         [BZ #15884]
19497         * string/strcoll_l.c: Don't include stdio.h.
19498         (coll_seq): Remove members idxarr and rulearr.
19499         (get_next_seq_cached): Remove function.
19500         (get_next_seq): Likewise.
19501         (get_next_seq_nocache): Rename to get_next_seq.
19502         (do_compare): Remove function.
19503         (do_compare_nocache): Rename to do_compare.
19504         (STRCOLL): Remove weight and rules cache.
19506 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19508         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19509         * sysdeps/arm/sfp-machine.h: ... to here.
19510         * sysdeps/arm/Implies: Remove arm/soft-fp.
19512 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19514         * conform/data/sys/utsname.h-data (*_t): Allow.
19515         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19516         [POSIX] (WEXITED): Do not expect constant.
19517         [POSIX] (WSTOPPED): Likewise.
19518         [POSIX] (WNOHANG): Likewise.
19519         [POSIX] (WNOWAIT): Likewise.
19520         [POSIX] (siginfo_t): Do not expect type or elements.
19521         [POSIX] (pid_t): Do not expect type.
19522         [POSIX] (signal.h): Do not allow header.
19523         [POSIX] (sys/resource.h): Likewise.
19524         [POSIX] (si_*): Do not allow pattern.
19525         [POSIX] (W*): Likewise.
19526         [POSIX] (P_*): Likewise.
19527         [POSIX] (BUS_*): Likewise.
19528         [POSIX] (CLD_*): Likewise.
19529         [POSIX] (FPE_*): Likewise.
19530         [POSIX] (ILL_*): Likewise.
19531         [POSIX] (POLL_*): Likewise.
19532         [POSIX] (SEGV_*): Likewise.
19533         [POSIX] (SI_*): Likewise.
19534         [POSIX] (TRAP_*): Likewise.
19535         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19536         variable.
19538 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19540         [BZ #12926]
19541         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19542         infinite loop when __recvmsg returns 0.
19544 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19546         * CANCEL-FCT-WAIVE: Remove file.
19547         * CANCEL-FILE-WAIVE: Likewise.
19549         [BZ #14132]
19550         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19551         instead of INTVARDEF.
19552         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19553         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19554         rtld_hidden_data_def instead of INTVARDEF.
19555         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19556         * elf/dl-deps.c (expand_dst): Likewise.
19557         * elf/dl-load.c (_dl_dst_count): Likewise.
19558         (_dl_dst_substitute): Likewise.
19559         (decompose_rpath): Likewise.
19560         (_dl_init_paths): Likewise.
19561         (open_path): Likewise.
19562         (_dl_map_object): Likewise.
19563         * elf/rtld.c (dl_main): Likewise.
19564         (process_dl_audit): Likewise.
19565         (process_envvars): Likewise.
19566         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19567         Remove declaration.
19568         (__libc_enable_secure): Use rtld_hidden_proto.
19570 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19572         * elf/dl-load.c
19573         (add_path): New function broken out of _dl_rtld_di_serinfo.
19574         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19576 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19578         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19579         parentheses around macro arguments.
19580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19591         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19592         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19593         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19594         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19595         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19596         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19609         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19613         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19614         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19615         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19616         Likewise.
19617         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19624         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19625         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19626         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19627         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19628         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19629         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19638         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19639         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19640         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19641         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19642         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19643         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19644         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19645         (_FP_FRAC_SRS_1): Likewise.
19646         (_FP_FRAC_CLZ_1): Likewise.
19647         (_FP_MUL_MEAT_1_imm): Likewise.
19648         (_FP_MUL_MEAT_1_wide): Likewise.
19649         (_FP_MUL_MEAT_1_hard): Likewise.
19650         (_FP_SQRT_MEAT_1): Likewise.
19651         (_FP_FRAC_ASSEMBLE_1): Likewise.
19652         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19653         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19654         (__FP_CLZ_2): Likewise.
19655         (_FP_MUL_MEAT_2_wide): Likewise.
19656         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19657         (_FP_MUL_MEAT_2_gmp): Likewise.
19658         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19659         (_FP_SQRT_MEAT_2): Likewise.
19660         (_FP_FRAC_ASSEMBLE_2): Likewise.
19661         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19662         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19663         (_FP_FRAC_CLZ_4): Likewise.
19664         (_FP_MUL_MEAT_4_wide): Likewise.
19665         (_FP_MUL_MEAT_4_gmp): Likewise.
19666         (_FP_SQRT_MEAT_4): Likewise.
19667         (_FP_FRAC_ASSEMBLE_4): Likewise.
19668         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19669         * soft-fp/op-common.h (_FP_CMP): Likewise.
19670         (_FP_CMP_EQ): Likewise.
19671         (_FP_CMP_UNORD): Likewise.
19672         (_FP_TO_INT): Likewise.
19673         (_FP_FROM_INT): Likewise.
19674         [!__FP_CLZ] (__FP_CLZ): Likewise.
19675         (_FP_DIV_HELP_imm): Likewise.
19676         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19677         Likewise.
19678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19689         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19690         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19691         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19693         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19694         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19707         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19711         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19712         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19713         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19714         (FP_UNPACK_RAW_SP): Likewise.
19715         (FP_PACK_RAW_S): Likewise.
19716         (FP_PACK_RAW_SP): Likewise.
19717         (FP_UNPACK_S): Likewise.
19718         (FP_UNPACK_SP): Likewise.
19719         (FP_UNPACK_SEMIRAW_S): Likewise.
19720         (FP_UNPACK_SEMIRAW_SP): Likewise.
19721         (FP_PACK_S): Likewise.
19722         (FP_PACK_SP): Likewise.
19723         (FP_PACK_SEMIRAW_S): Likewise.
19724         (FP_PACK_SEMIRAW_SP): Likewise.
19725         (_FP_SQRT_MEAT_S): Likewise.
19726         (FP_CMP_S): Likewise.
19727         (FP_CMP_EQ_S): Likewise.
19728         (FP_CMP_UNORD_S): Likewise.
19729         (FP_TO_INT_S): Likewise.
19730         (FP_FROM_INT_S): Likewise.
19732         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19734         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19735         (FP_EX_INVALID_IMZ): Likewise.
19736         (FP_EX_INVALID_IMZ_FMA): Likewise.
19737         (FP_EX_INVALID_ISI): Likewise.
19738         (FP_EX_INVALID_ZDZ): Likewise.
19739         (FP_EX_INVALID_IDI): Likewise.
19740         (FP_EX_INVALID_SQRT): Likewise.
19741         (FP_EX_INVALID_CVI): Likewise.
19742         (FP_EX_INVALID_VC): Likewise.
19743         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19744         "invalid" exceptions.
19745         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19746         (_FP_ADD_INTERNAL): Likewise.
19747         (_FP_MUL): Likewise.
19748         (_FP_FMA): Likewise.
19749         (_FP_DIV): Likewise.
19750         (_FP_CMP_CHECK_NAN): Likewise.
19751         (_FP_SQRT): Likewise.
19752         (_FP_TO_INT): Likewise.
19753         (FP_EXTEND): Likewise.
19755 2014-10-09  Allan McRae  <allan@archlinux.org>
19757         * po/fr.po: Update French translation from translation project.
19759 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19761         [BZ #14132]
19762         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19763         of INTDEF.
19764         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19765         (__cxa_atexit): Use libc_hidden_proto.
19766         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19768         [BZ #14132]
19769         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19770         declaration.
19771         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19772         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19773         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19774         [!_ISOMAC] (__iswctype_internal): Likewise.
19775         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19776         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19777         alias.
19778         (fcntl): Remove __fcntl_internal alias.
19779         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19780         __connect_internal alias.
19781         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19782         Likewise.
19784         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19785         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19786         FP_DENORM_ZERO.
19787         (_FP_CHECK_FLUSH_ZERO): New macro.
19788         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19789         (_FP_CMP): Likewise.
19790         (_FP_CMP_EQ): Likewise.
19791         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19792         FP_DENORM_ZERO.
19793         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19794         (FP_TRUNC): Likewise.
19796         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19797         treated as invalid conversion, not as normal exponent.
19799         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19800         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19801         (_FP_CMP_EQ): Likewise.
19802         (_FP_CMP_UNORD): Likewise.
19803         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19804         (FP_CMP_EQ_D): Likewise.
19805         (FP_CMP_UNORD_D): Likewise.
19806         * soft-fp/extended.h (FP_CMP_E): Likewise.
19807         (FP_CMP_EQ_E): Likewise.
19808         (FP_CMP_UNORD_E): Likewise.
19809         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19810         (FP_CMP_EQ_Q): Likewise.
19811         (FP_CMP_UNORD_Q): Likewise.
19812         * soft-fp/single.h (FP_CMP_S): Likewise.
19813         (FP_CMP_EQ_S): Likewise.
19814         (FP_CMP_UNORD_S): Likewise.
19815         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19816         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19817         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19818         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19819         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19820         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19821         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19822         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19823         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19824         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19825         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19826         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19827         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19828         to FP_CMP_Q.
19829         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19830         FP_CMP_Q.
19831         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19832         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19833         FP_CMP_EQ_Q.
19834         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19835         FP_CMP_Q.
19836         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19837         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19838         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19839         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19840         FP_CMP_EQ_Q.
19841         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19842         FP_CMP_Q.
19843         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19844         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19845         FP_CMP_EQ_Q.
19846         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19847         FP_CMP_Q.
19848         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19849         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19850         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19851         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19852         FP_CMP_EQ_Q.
19854         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19855         a subnormal result, set the underflow exception if trapping on
19856         underflow is enabled.
19857         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19858         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19859         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19860         redefine to 0.
19861         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19862         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19863         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19864         * soft-fp/extendxftf2.c (__extendxftf2): Use
19865         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19867         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19868         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19869         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19870         FP_HANDLE_EXCEPTIONS.
19871         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19872         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19873         FP_HANDLE_EXCEPTIONS.
19874         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19875         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19876         FP_HANDLE_EXCEPTIONS.
19877         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19878         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19879         FP_HANDLE_EXCEPTIONS.
19881 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #14132]
19884         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19885         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19886         use INTUSE.
19887         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19888         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19889         Remove alias.
19890         (__adjtimex): Define using libc_hidden_ver.
19891         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19892         Remove declaration.
19893         (ntp_gettime): Call __adjtimex directly.
19894         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19895         Remove declaration.
19896         (ntp_gettimex): Call __adjtimex directly.
19897         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19898         __adjtimex_internal alias.
19900 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19902         [BZ #17460]
19903         * nscd/nscd.c (more_help): Rewrite list of tables collection
19904         using xstrdup and asprintf.
19906         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19908 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19909             Roland McGrath  <roland@hack.frob.com>
19911         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19912         (do_lookup_unique): ... local function 'enter' here; update callers.
19914 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19916         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19917         compat_symbol calls on [SHARED].
19918         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19919         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19920         Remove.
19921         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19922         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19923         (oldsetrlimit): Remove.
19924         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19926         (lchown): New syscall entry.
19927         (oldsetrlimit): Remove.
19928         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19929         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19930         (oldsetrlimit): Remove.
19931         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19933         [BZ #14138]
19934         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19935         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19936         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19937         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19938         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19939         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19940         (fchown): Likewise.
19941         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19942         (fchown): Likewise.
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19944         Likewise.
19946 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19948         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19949         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19950         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19951         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19952         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19953         Likewise.
19954         (__old_sem_post): Likewise.
19956 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19958         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19959         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19960         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19961         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19962         Use INLINE_VSYSCALL macro.
19963         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19964         __vdso_clock_gettime.
19965         * sysdeps/unix/sysv/linux/tile/init-first.c
19966         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19967         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19968         __vdso_clock_gettime.
19970         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19971         to set up frame more cleanly.
19973         * sysdeps/tile/memcmp.c: New file.
19975         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19977         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19978         * sysdeps/tile/tilegx/strcasestr.c: New file.
19979         * sysdeps/tile/tilegx/strnlen.c: New file.
19980         * sysdeps/tile/tilegx/strstr.c: New file.
19982         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19984 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19986         * nptl/tst-setuid3.c: Write errors to stdout.
19988 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19990         * elf/dl-deps.c
19991         (preload): New functions broken out of _dl_map_object_deps.
19992         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19994 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19996         [BZ #14138]
19997         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19998         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20000 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20002         * sysdeps/mips/strcmp.S: New.
20004 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20006         [BZ #14138]
20007         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20008         (linkat): Likewise.
20009         (mkdirat): Likewise.
20010         (readlinkat): Likewise.
20011         (renameat): Likewise.
20012         (symlinkat): Likewise.
20013         (unlinkat): Likewise.
20014         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20015         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20016         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20017         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20018         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20019         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20020         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20022 2014-09-30  Will Newton  <will.newton@linaro.org>
20024         * math/math.h: Define long double math functions if
20025         _LIBC_TEST is defined.
20026         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20028         * localedata/Makefile: Move assignment to tests-special
20029         into an ifdef testing run-built-tests.
20030         * timezone/Makefile: Likewise.
20032 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20034         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20035         with $(BASH) not $(SHELL).
20037 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20038             Matthew LeGendre  <legendre1@llnl.gov>
20040         [BZ #17411]
20041         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20042         l_reloc_result.
20044 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20046         * stdio-common/printf_fp.c
20047         (hack_digit): New function, broken out of ...
20048         (__printf_fp): ... local function here.  Update call sites.
20049         hack_digit now takes an additional parameter that is a pointer
20050         to a struct of the referenced locals.  Those locals moved inside
20051         the struct and references updated.
20053 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20055         * aclocal.m4: Require autoconf 2.69.
20056         * configure: Regenerated.
20057         * sysdeps/aarch64/configure: Likewise.
20058         * sysdeps/alpha/configure: Likewise.
20059         * sysdeps/arm/armv7/configure: Likewise.
20060         * sysdeps/arm/configure: Likewise.
20061         * sysdeps/ia64/configure: Likewise.
20062         * sysdeps/mach/configure: Likewise.
20063         * sysdeps/mips/configure: Likewise.
20064         * sysdeps/s390/configure: Likewise.
20065         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20068         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20069         file.
20070         * sysdeps/ia64/configure.ac: Likewise.
20072 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20075         specify symbol version for ld.so.  Do not include entry for
20076         libpthread.
20077         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20078         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20079         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20081         [BZ #14171]
20082         * Makeconfig [$(build-shared) = yes]
20083         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20084         makefiles.
20085         [$(build-shared) = yes && $(soversions.mk-done) = t]
20086         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20087         [$(build-shared) = yes && $(soversions.mk-done) = t]
20088         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20089         to Makerules.
20090         [$(build-shared) = yes && $(soversions.mk-done) = t]
20091         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20092         here.
20093         [$(build-shared) = yes && $(soversions.mk-done) = t]
20094         (common-generated): Don't append gnu/lib-names.h and
20095         gnu/lib-names.stmp here.
20096         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20097         (lib-names-h-abi): New variable.
20098         [$(build-shared) = yes && $(soversions.mk-done) = t]
20099         (lib-names-stmp-abi): Likewise.
20100         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20101         abi-variants] (before-compile): Append
20102         $(common-objpfx)$(lib-names-h-abi).
20103         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20104         abi-variants] (common-generated): Append gnu/lib-names.h.
20105         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20106         abi-variants] (install-others-nosubdir): Depend on
20107         $(inst_includedir)/$(lib-names-h-abi).
20108         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20109         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20110         [$(build-shared) = yes && $(soversions.mk-done) = t]
20111         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20112         [$(build-shared) = yes && $(soversions.mk-done) = t]
20113         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20114         [$(build-shared) = yes && $(soversions.mk-done) = t]
20115         (common-generated): Append $(lib-names-h-abi) and
20116         $(lib-names-stmp-abi).
20117         * scripts/lib-names.awk: Do not handle multi being set.
20118         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20119         Remove variable.
20120         (abi-lp64_be-ld-soname): Likewise.
20121         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20122         Likewise.
20123         (abi-hard-ld-soname): Likewise.
20124         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20125         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20126         Remove variable.
20127         (abi-o32_hard-ld-soname): Likewise.
20128         (abi-o32_soft_2008-ld-soname): Likewise.
20129         (abi-o32_hard_2008-ld-soname): Likewise.
20130         (abi-n32_soft-ld-soname): Likewise.
20131         (abi-n32_hard-ld-soname): Likewise.
20132         (abi-n32_soft_2008-ld-soname): Likewise.
20133         (abi-n32_hard_2008-ld-soname): Likewise.
20134         (abi-n64_soft-ld-soname): Likewise.
20135         (abi-n64_hard-ld-soname): Likewise.
20136         (abi-n64_soft_2008-ld-soname): Likewise.
20137         (abi-n64_hard_2008-ld-soname): Likewise.
20138         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20139         Likewise.
20140         (abi-64-v2-ld-soname): Likewise.
20141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20142         ld.so entries.
20143         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20144         variable.
20145         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20146         entry.
20147         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20148         variable.
20149         (abi-64-ld-soname): Likewise.
20150         (abi-x32-ld-soname): Likewise.
20151         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20152         entry.
20153         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20155 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20157         [BZ #14138]
20158         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20159         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20160         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20161         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20162         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20163         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20164         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20165         syscall entry for GLIBC_2.2 symbol version.
20166         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20167         Likewise.
20168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20169         (setrlimit): Likewise.
20170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20171         Likewise.
20173 2014-09-23  Will Newton  <will.newton@linaro.org>
20175         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20176         _LINUX_ARM_SYSDEP_H include guard too.
20177         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20178         define.
20180 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20182         * sysdeps/unix/sysv/linux/eventfd.c:
20183         Make first argument unsigned.
20184         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20185         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20187 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20189         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20190         * socket/sys/socket.h: Likewise
20191         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20193 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20195         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20197 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20199         * time/tst-ftime.c: New test.
20200         * time/Makefile (tests): Add tst-ftime.
20202 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20204         * soft-fp/extended.h: Fix comment formatting.
20205         * soft-fp/op-1.h: Likewise.
20206         * soft-fp/op-2.h: Likewise.
20207         * soft-fp/op-4.h: Likewise.
20208         * soft-fp/op-8.h: Likewise.
20209         * soft-fp/op-common.h: Likewise.
20210         * soft-fp/soft-fp.h: Likewise.
20212         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20214 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20216         [BZ #6652]
20217         * Makeconfig (soversions-default-setname): Remove variable.
20218         ($(common-objpfx)soversions.i): Don't pass default_setname to
20219         soversions.awk.
20220         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20221         oldest_abi to abi-versions.awk.
20222         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20223         * config.make.in (oldest-abi): Remove variable.
20224         * configure.ac (--enable-oldest-abi): Remove configure option.
20225         * configure: Regenerated.
20226         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20227         text.
20228         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20229         * scripts/soversions.awk: Do not handle default_setname variable.
20230         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20231         variable.
20232         * sysdeps/mach/hurd/configure: Regenerated.
20233         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20234         variable.
20235         * sysdeps/unix/sysv/linux/configure: Regenerated.
20237 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20239         * elf/Makefile (CFLAGS-interp.c): Remove.
20240         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20241         path string.
20242         * elf/interp.c: Include generated runtime-linker.h
20244         * Makerules (lib%.so): Don't include $(+interp) in
20245         prerequisites.
20246         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20247         * dlfcn/eval.c: Remove file.
20249         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20250         macros.
20252         [BZ #17266]
20253         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20254         4.2 and newer.
20256         [BZ #17370]
20257         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20259 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20260             Jakub Jelinek  <jakub@redhat.com>
20262         [BZ #17266]
20263         * libio/stdio.h: Check definition of __fortify_function
20264         instead of __extern_always_inline to include bits/stdio2.h.
20265         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20266         check if __extern_always_inline is defined.
20267         [__USE_MISC || __USE_XOPEN]: Likewise.
20268         [__USE_ISOC99] Likewise.
20269         * misc/sys/cdefs.h (__fortify_function): Define only if
20270         __extern_always_inline is defined.
20271         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20272         __extern_always_inline and __extern_inline only for g++-4.3
20273         and newer or a compatible gcc.
20275 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20277         [BZ #17371]
20278         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20279         last change to handle zero prefix length.
20281 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20283         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20284         _SC_REGEX_VERSION.
20286         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20287         _POSIX_RAW_SOCKETS.
20289 2014-09-13  Allan McRae  <allan@archlinux.org>
20291         * po/ru.po: Update Russian translation from translation project.
20293 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20295         * locale/programs/locale.c (show_locale_vars): Inline local function
20296         into its sole call site.  Clean up some style nits.
20297         (print_item): New function, broken out of ...
20298         (show_info): ... local function here.  Clean up style nits.
20300         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20301         out of ...
20302         (set_class_defaults): ... local function set_default here.
20303         Define set_default as a macro locally to pass constant parameters.
20304         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20305         rather than a shared local.
20307         * stdlib/rpmatch.c (try): New function, broken out of ...
20308         (rpmatch): ... local function here.  Also, prototypify definition.
20310 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20312         * scripts/soversions.awk: Do not handle configuration names.
20313         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20314         vendor and os variables to soversions.awk.
20315         * configure.ac: Do not modify gnu-* host_os.
20316         * configure: Regenerated
20317         * shlib-versions: Remove first column with configuration names.
20318         * nptl/shlib-versions: Likewise.
20319         * nptl_db/shlib-versions: Likewise.
20320         * sysdeps/hppa/shlib-versions: Likewise.
20321         * sysdeps/m68k/shlib-versions: Likewise.
20322         * sysdeps/mach/hurd/shlib-versions: Likewise.
20323         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20324         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20325         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20326         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20327         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20328         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20329         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20330         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20332         Likewise.
20333         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20334         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20335         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20336         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20337         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20338         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20339         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20340         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20343         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20345         Regenerated.
20346         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20348         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20350         * shlib-versions: Remove OS-specific entries.  Moved to files in
20351         sysdeps.
20352         * sysdeps/mach/hurd/shlib-versions: New file.
20353         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20355         * nptl/shlib-versions: Remove architecture-specific entries.
20356         Moved to files in sysdeps.
20357         * shlib-versions: Likewise.
20358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20359         file.
20360         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20361         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20362         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20363         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20365         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20366         (UDP_NO_CHECK6_RX): Likewise.
20368 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20370         * sysdeps/posix/sysconf.c (__sysconf): Spell
20371         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20373 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20375         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20376         loading.
20377         * iconv/Versions (__gconv_transliterate): Export for use from
20378         gconv modules.
20379         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20380         (struct __gconv_trans_data, __gconv_trans_fct,
20381         __gconv_trans_context_fct, __gconv_trans_query_fct,
20382         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20383         definitions.
20384         (struct __gconv_step_data): Remove __trans member.
20385         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20386         longer hidden.  Remove unused trans_data argument.
20387         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20388         (__gconv_translit_find): Remove declaration.
20389         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20390         prototype.
20391         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20392         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20393         trans_data argument.  Add hidden definition.
20394         (__gconv_translit_find): Remove.
20395         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20396         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20397         * iconv/skeleton.c: Remove transliteration initialization.
20398         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20399         __gconv_step_data initialization.
20400         * libio/iofwide.c (__libio_translit_): Remove.
20401         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20402         * wcsmbs/btowc.c (__btowc): Likewise.
20403         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20404         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20405         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20406         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20407         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20408         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20409         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20410         * wcsmbs/wctob.c (wctob): Likewise.
20412 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20414         [BZ #16194]
20415         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20416         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20417         register usage.
20418         * sysdeps/x86/Makefile: Adjust.
20420 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20421             Roland McGrath  <roland@hack.frob.com>
20423         * locale/weight.h: Add include guard.
20424         (findidx): Make static rather than auto; take new parameters
20425         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20426         * locale/weightwc.h: Likewise.
20427         * posix/fnmatch_loop.c
20428         (FCT): Change type of EXTRA from int32_t to wint_t.
20429         Don't include either header inside the function.
20430         Call FINDIDX rather than findidx, and pass new arguments.
20431         #undef FINDIDX at the end of the file.
20432         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20433         FINDIDX before including fnmatch_loop.c for the non-wide version.
20434         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20435         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20436         for the wide version.
20437         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20438         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20439         Pass new arguments to findidx.
20440         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20441         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20442         Don't #include it inside the function.  Pass new arguments to findidx.
20443         * posix/regex_internal.h
20444         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20445         (re_string_elem_size_at): Don't #include it inside the function.
20446         Pass new arguments to findidx.
20447         * string/strcoll_l.c: #include WEIGHT_H at top level.
20448         (get_next_seq): Don't #include it inside the function.
20449         Pass new arguments to findidx.
20450         (get_next_seq_nocache): Likewise.
20451         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20452         (STRXFRM): Don't #include it inside the function.
20453         Pass new arguments to findidx.
20455 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20457         [BZ #17344]
20458         * malloc/malloc.c (unlink): Turn asserts into a call to
20459         malloc_printerr.
20461 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20463         [BZ #17370]
20464         * libio/wfileops (do_ftell_wide): Free OUT.
20466 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20468         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20470 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20472         [BZ #17363]
20473         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20474         group if the current group is empty.
20476 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20478         * benchtests/bench-memset.c (test_main): Add more test from size
20479         from 32 to 512 bytes.
20480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20481         Add POWER8 memset object.
20482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20483         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20484         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20485         implementation.
20486         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20487         Likewise.
20488         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20489         multiarch POWER8 memset optimization.
20490         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20491         POWER8 memset optimization.
20493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20494         Remove bzero multiarch objects.
20495         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20496         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20497         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20498         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20499         Remove define.
20500         [__bzero]: Redefine to specific name.
20501         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20502         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20503         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20504         define.
20505         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20506         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20508 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20510         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20511         warnings into errors.
20513         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20514         __cxa_thread_atexit_impl prototype.
20516 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20518         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20519         Fix capitalization of error message.
20521 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20523         * sysdeps/mips/preconfigure: Modify ABI tests.
20525 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20527         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20529 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20530             Carlos O'Donell  <carlos@systemhalted.org>
20532         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20533         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20534         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20535         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20536         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20537         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20538         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20539         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20540         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20541         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20543         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20545         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20547         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20549         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20550         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20551         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20552         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20553         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20554         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20555         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20556         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20557         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20558         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20559         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20560         Deconditionalize the code that was previously under [RESET_PID].
20561         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20562         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20563         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20564         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20565         include sysdep.h.
20567 2014-09-08  Allan McRae  <allan@archlinux.org>
20569         * version.h (RELEASE): Set to "development".
20570         (VERSION): Set to "2.20.90"
20572 2014-09-07  Allan McRae  <allan@archlinux.org
20574         * version.h (RELEASE): Set to "stable".
20575         (VERSION): Set to "2.20"
20576         * include/features.h (__GLIBC_MINOR__): Set to 20.
20578         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20579         Liebler.
20581         * po/ko.po: Update Korean translation from translation project.
20583 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20585         [BZ #17354]
20586         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20587         macro for handling signed relocations.
20589 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20591         [BZ #17325]
20592         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20593         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20594         assert.
20595         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20596         * iconvdata/ibm935.c (BODY): Likewise.
20597         * iconvdata/ibm937.c (BODY): Likewise.
20598         * iconvdata/ibm939.c (BODY): Likewise.
20599         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20600         assert.
20601         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20602         script.
20603         * iconvdata/run-iconv-test.sh: New test loop for checking for
20604         decoder crashers.
20606 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20609         libm_hidden_ver.
20611 2014-09-01  Allan McRae  <allan@archlinux.org>
20613         * po/eo.po: Update Esperanto translation from translation project.
20615         * po/ca.po: Update Catalan translation from translation project.
20617 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20619         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20620         __proc_dostop call.
20622 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20624         [BZ #17319]
20625         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20626         to call set_thread_area instead of hand written asm.
20627         (__NR_set_thread_area): Removed define.
20628         (TLS_FLAG_WRITABLE): Likewise.
20629         (__ASSUME_SET_THREAD_AREA): Remove check.
20630         (TLS_EBX_ARG): Remove define.
20631         (TLS_LOAD_EBX): Likewise.
20633 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20635         Simplify atomicity of socket creation in bind.
20637         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20638         looking up the name after linking the file.
20640 2014-08-27  Allan McRae  <allan@archlinux.org>
20642         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20644 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20646         [BZ #17187]
20647         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20648         trans_compare, open_translit, __gconv_translit_find):
20649         Remove module loading code.
20651 2014-08-26  Allan McRae  <allan@archlinux.org>
20653         * po/vi.po: Update Vietnamese translation from translation project.
20655         * po/uk.po: Update Ukrainian translation from translation project.
20657         * po/fr.po: Update French translation from translation project.
20659         * po/ru.po: Update Russian translation from translation project.
20661         * po/pl.po: Update Polish translation from translation project.
20663         * po/cs.po: Update Czech translation from translation project.
20665         * po/de.po: Update German translation from translation project.
20667         * po/bg.po: Update Bulgarian translation from translation project.
20669         * po/sv.po: Update Sweedish translation from translation project.
20671         * po/nl.po: Update Dutch translation from translation project.
20673         * po/es.po: Update Spanish translation from translation project.
20675 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20677         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20679         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20680         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20681         (CPPFLAGS-iconvconfig): Likewise.
20682         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20684         * include/libc-symbols.h: Remove unnecessary check for
20685         NOT_IN_libc.
20686         * nptl/pthreadP.h: Likewise.
20687         * sysdeps/aarch64/setjmp.S: Likewise.
20688         * sysdeps/alpha/setjmp.S: Likewise.
20689         * sysdeps/arm/sysdep.h: Likewise.
20690         * sysdeps/i386/setjmp.S: Likewise.
20691         * sysdeps/m68k/setjmp.c: Likewise.
20692         * sysdeps/posix/getcwd.c: Likewise.
20693         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20694         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20695         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20696         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20697         * sysdeps/sh/sh3/setjmp.S: Likewise.
20698         * sysdeps/sh/sh4/setjmp.S: Likewise.
20699         * sysdeps/unix/alpha/sysdep.h: Likewise.
20700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20702         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20703         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20708         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20710         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20711         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20713         * sysdeps/x86_64/setjmp.S: Likewise.
20715 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20717         [BZ #17263]
20718         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20719         <stdint.h>.
20720         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20721         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20723 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20727         [BZ #17262]
20728         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20729         and __x86_64__ when disabling x87 inline functions.
20731 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20733         [BZ #17259]
20734         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20735         asm statement with __cpuid_count.
20737 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20739         * configure.ac: Change __ehdr_start code to dereference the struct.
20740         Run readelf on the output to look for relocations.
20741         * configure: Regenerated.
20743 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20745         [BZ #17261]
20746         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20747         value to 0.
20748         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20750 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20752         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20754 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20756         [BZ #16892]
20757         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20758         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20760 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20762         * malloc/malloc.c: Fix typo in comment.
20764 2014-08-09  Allan McRae  <allan@archlinux.org>
20766         * Regenerate libc.po.
20768 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20770         * intl/tst-gettext2.sh: Check every lang file for creation.
20772 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20774         * sysdeps/aarch64/fpu/math_private.h
20775         (libc_feholdsetround_noex_aarch64_ctx): New function.
20777 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20779         * sysdeps/arm/armv6/strcpy.S (strcpy):
20780         Fix performance issue in misaligned cases.
20782 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20784         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20785         Move definition from termios.h.
20786         (struct termio): Likewise.
20787         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20788         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20789         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20790         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20791         Likewise.
20792         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20793         Move definition to ioctl-types.h
20794         (struct termio): Likewise.
20795         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20796         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20797         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20798         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20799         Likewise.
20801 2014-08-05  Richard Henderson  <rth@redhat.com>
20803         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20804         exceptions.
20805         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20806         Add fraiseexcpt.
20807         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20808         Use __feraiseexcept.
20809         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20810         Protect libm symbols with IS_IN_libm.
20812         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20814 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20816         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20818 2014-08-04  Will Newton  <will.newton@linaro.org>
20820         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20821         file.
20823 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20825         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20826         variants for each function.
20828 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20830         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20831         appended ...
20832         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20833         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20834         appended ...
20835         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20836         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20837         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20838         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20839         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20840         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20841         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20842         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20843         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20844         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20845         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20846         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20847         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20848         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20849         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20850         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20851         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20852         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20853         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20854         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20855         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20856         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20858         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20859         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20860         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20861         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20862         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20863         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20864         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20865         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20866         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20867         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20868         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20869         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20870         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20871         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20872         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20873         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20874         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20875         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20876         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20877         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20878         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20879         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20880         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20881         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20882         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20883         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20884         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20885         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20886         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20887         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20888         Update #include.
20889         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20890         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20892 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20894         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20895         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20896         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20897         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20898         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20899         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20901 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20903         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20904         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20905         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20906         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20908 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20910         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20911         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20912         (__libc_vfork): Define function under this name.
20913         (__vfork): Define as an alias.
20914         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20915         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20917 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20919         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20920         that was previously under [RESET_PID].
20921         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20923 2014-08-04  Andreas Schwab  <schwab@suse.de>
20925         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20927 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20929         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20930         (main): Likewise.
20932 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20934         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20936 2014-08-01  Richard Henderon  <rth@redhat.com>
20938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20939         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20940         typo in exact zero test.
20941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20942         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20945 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20947         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20948         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20949         * sysdeps/arm/sysdep.h: ... here.
20950         [!__ASSEMBLER__]: Include <stdint.h>.
20952 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20954         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20955         (HAVE_WCTYPE_H): Likewise.
20956         (HAVE_ISWCTYPE): Likewise.
20957         (ENABLE_NLS): Likewise.
20958         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20959         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20961         * posix/regex_internal.c: Check if DEBUG is defined and is
20962         set.
20964         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20965         (HAVE_MBSRTOWCS): Likewise.
20966         * posix/fnmatch.c: Include string.h unconditionally.
20968 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20970         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20971         reversal.
20973 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20975         * sysdeps/generic/safe-fatal.h: New file.
20976         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20977         * nptl/forward.c: Include it.
20978         (__pthread_unwind): Use __safe_fatal as default action, rather
20979         than a bogus use of INTERNAL_SYSCALL that could never work.
20981         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20982         * configure.ac (libc_cv_builtin_trap): New test.
20983         * configure: Regenerated.
20984         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20985         (ABORT_INSTRUCTION): Define using __builtin_trap.
20987         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20988         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20989         * sysdeps/nptl/nptl-signals.h: New file.
20990         * nptl/pthreadP.h: Include <nptl-signals.h>.
20992 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20994         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20995         (ONE_DIRECTION): Define.
20996         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20997         (ONE_DIRECTION): Define.
20998         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20999         (ONE_DIRECTION): Define.
21001 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21003         * sysdeps/s390/Makefile: Delete file.
21004         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21005         * sysdeps/s390/__longjmp.c: Delete file.
21006         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21007         Remove fields __flags and __reserved.
21008         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21009         and add versioning.
21010         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21011         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21012         * sysdeps/s390/rtld-setjmp.S: Likewise.
21013         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21014         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21015         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21016         * sysdeps/s390/s390-32/setjmp.S: ... here.
21017         Add versioning.
21018         (__sigsetjmp): Remove setting __flags field.
21019         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21020         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21021         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21022         * sysdeps/s390/s390-64/setjmp.S: ... here.
21023         Add versioning.
21024         (__sigsetjmp): Remove setting __flags field.
21025         * sysdeps/s390/setjmp.S: Delete file.
21026         * sysdeps/s390/sigjmp.c: Likewise.
21027         * sysdeps/s390/v1-longjmp.c: Likewise.
21028         * sysdeps/s390/v1-setjmp.h: Likewise.
21029         * sysdeps/s390/v1-sigjmp.c: Likewise.
21030         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21031         Remove v1-longjmp_chk.
21032         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21033         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21034         Include debug/longjmp_chk.c and add versioning.
21035         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21036         Include nptl/pt-longjmp.c and add versioning.
21037         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21038         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21039         Include __longjmp.c.
21040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21041         Move to ...
21042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21043         (__getcontext): Remove setting __flags field.
21044         Add versioning.
21045         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21046         Don't restore upper high grps.
21047         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21048         Likewise.
21049         (__swapcontext): Remove setting uc_flags field.
21050         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21051         Delete file.
21052         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21053         Include __longjmp.c.
21054         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21055         Move to ...
21056         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21057         (__getcontext): Remove setting __flags field.
21058         Add versioning.
21059         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21060         (__swapcontext): Remove setting uc_flags field.
21061         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21063         Remove fields uc_high_gprs and __reserved.
21064         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21065         New file with reverted content.
21066         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21067         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21068         Regenerated.
21069         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21070         Regenerated.
21072 2014-07-31  Andreas Schwab  <schwab@suse.de>
21074         * config.h.in (HAVE_IFUNC): Define to 0.
21075         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21076         definedness.
21078 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21081         memmove-avx-unaligned, memcpy-avx-unaligned and
21082         mempcpy-avx-unaligned.
21083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21084         Add tests for AVX memcpy functions.
21085         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21086         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21087         memcpy_chk.
21088         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21089         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21090         memmove_chk.
21091         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21093         mempcpy_chk.
21094         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21095         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21096         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21098 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21100         [BZ #17213]
21101         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21102         powerpc64le.
21104 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21106         [BZ #16839]
21107         * manual/llio.texi: Add section about open file description locks.
21108         * manual/examples/ofdlocks.c: Example of open file description
21109         lock usage.
21110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21111         F_OFD_SETLK, and F_OFD_SETLKW.
21113 2014-07-23  Allan McRae  <allan@archlinux.org>
21115         * po/es.po: Update Spanish translation from translation project.
21117 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21119         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21121 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21123         [BZ #17078]
21124         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21125         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21126         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21128 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21130         [BZ #17088]
21131         * math/fesetenv.c (__fesetenv)
21132         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21133         * math/feupdateenv.c (__feupdateenv)
21134         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21136         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21137         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21138         (__ASSUME_SOCKETCALL): Do not define.
21140         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21141         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21142         (__ASSUME_SOCKETCALL): Do not define.
21143         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21144         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21145         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21146         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21147         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21148         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21149         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21150         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21153         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21154         (__ASSUME_SOCKETCALL): Do not define.
21155         (__ASSUME_IPC64): Define unconditionally.
21156         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21157         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21158         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21159         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21160         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21162         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21163         Likewise.
21165         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21166         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21167         (__ASSUME_SOCKETCALL): Do not define.
21168         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21169         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21170         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21171         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21172         (__ASSUME_REQUEUE_PI): Define unconditionally.
21173         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21174         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21175         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21176         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21178         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21180         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21181         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21182         (__ASSUME_SOCKETCALL): Do not define.
21183         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21185         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21186         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21187         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21188         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21190         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21191         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21192         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21193         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21194         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21195         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21196         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21197         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21198         (__ASSUME_GETCPU_SYSCALL): Likewise.
21200         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21201         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21202         cases for individual architectures.
21203         * sysdeps/gnu/configure: Regenerated.
21204         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21205         LIBC_SLIBDIR_RTLDDIR.
21206         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21207         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21208         LIBC_SLIBDIR_RTLDDIR.
21209         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21211         LIBC_SLIBDIR_RTLDDIR.
21212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21213         Regenerated.
21214         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21215         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21216         file.
21217         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21218         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21219         file.
21220         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21221         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21222         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21223         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21225         * sysdeps/aarch64/shlib-versions: Move to ...
21226         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21227         * sysdeps/alpha/shlib-versions: Move to ...
21228         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21229         * sysdeps/arm/shlib-versions: Move to ...
21230         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21231         * sysdeps/hppa/shlib-versions: Move all contents except for
21232         libgcc_s entry to ...
21233         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21234         entry from ...
21235         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21236         * sysdeps/ia64/shlib-versions: Move to ...
21237         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21238         entry from ...
21239         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21240         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21241         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21242         * sysdeps/microblaze/shlib-versions: Move to ...
21243         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21244         * sysdeps/mips/shlib-versions: Move to ...
21245         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21246         entry from ...
21247         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21248         * sysdeps/tile/shlib-versions: Move to ...
21249         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21250         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21251         from ...
21252         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21253         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21254         entry from ...
21255         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21257 2014-07-17  Will Newton  <will.newton@linaro.org>
21259         * sysdeps/arm/bits/atomic.h
21260         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21261         (__arch_compare_and_exchange_bool_16_int): Likewise.
21262         (__arch_compare_and_exchange_bool_64_int): Likewise.
21264         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21265         into an #else block.
21267 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21269         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21270         just Linux configurations.  Test empirically that the compiler sets
21271         __ARM_EABI__, rather than using the tuple to decide.
21272         * sysdeps/arm/preconfigure: Regenerated.
21273         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21274         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21275         contents appended ...
21276         * sysdeps/arm/configure.ac: ... here.
21277         * sysdeps/arm/configure: Regenerated.
21279 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21281         * nptl/pthread_kill.c: New file.
21282         * nptl/pthread_sigmask.c: New file.
21283         * nptl/pthread_sigqueue.c: New file.
21285         * sysdeps/nptl/lowlevellock.h: New file.
21286         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21287         * sysdeps/nptl/lowlevellock-futex.h: New file.
21289         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21290         Remove dead declarations.
21292 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21294         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21295         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21296         config-cflags-avx2.
21297         * sysdeps/x86_64/configure.ac: Likewise.
21298         * sysdeps/i386/configure: Regenerated.
21299         * sysdeps/x86_64/configure: Likewise.
21300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21301         memset-avx2 only if config-cflags-avx2 is yes.
21302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21303         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21304         defined.
21305         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21306         only if HAVE_AVX2_SUPPORT is defined.
21307         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21309 2014-07-14  Alan Modra  <amodra@gmail.com>
21311         [BZ #17153]
21312         * elf/elf.h (DT_PPC64_NUM): Correct value.
21313         * NEWS: Add to fixed bug list.
21315 2014-07-13  Jim Meyering  <meyering@fb.com>
21317         [BZ 17150]
21318         regex: don't deref NULL upon heap allocation failure
21319         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21320         failure in one more place.
21321         To trigger the segfault, configure grep -with-included-regex,
21322         build it, and run these commands:
21323         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21325 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21327         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21329 2014-07-11  Richard Henderson  <rth@redhat.com>
21331         * sysdeps/aarch64/libm-test-ulps: Update.
21333 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21335         [BZ #17135]
21336         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21337         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21338         (__nptl_setxid): Initialize error member.  Call
21339         __nptl_setxid_error.
21340         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21341         * nptl/descr.h (struct xid_command): Add error member.
21342         * nptl/tst-setuid3.c: New file.
21343         * nptl/Makefile (tests): Add it.
21345 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21347         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21348         New define.
21349         (__lll_trylock): Use __lll_base_trylock.
21350         (__lll_cond_trylock): Likewise.
21352 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21354         * nptl/pthread_create.c (start_thread): Use atomic_or and
21355         lll_futex_wake directly rather than lll_robust_dead.
21356         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21357         (lll_robust_dead): Macro removed.
21358         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21359         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21360         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21361         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21362         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21363         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21364         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21366         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21368         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21369         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21370         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21374         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21375         Use atomic_compare_and_exchange_val_acq directly rather than
21376         lll_robust_trylock.
21377         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21378         (__lll_robust_trylock, lll_robust_trylock): Removed.
21379         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21380         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21381         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21382         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21383         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21384         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21385         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21386         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21388         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21389         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21390         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21391         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21394 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21396         * manual/locale.texi (Locale Names): New section documenting
21397         locale name syntax.  Adjust menu and node chaining accordingly.
21398         (Choosing Locale): Reference Locale Names, Locale Categories.
21399         Mention setting LC_ALL=C.  Reflect that name syntax is now
21400         documented.
21401         (Locale Categories): New section title.  Reference Locale Names.
21402         LC_ALL is an environment variable, but not a category.
21403         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21404         description, now in Locale Name.  Reference that section.  Locale
21405         name syntax is now documented.
21407 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21409         [BZ #17137]
21410         * locale/findlocale.c (name_present, valid_locale_name): New
21411         functions.
21412         (_nl_find_locale): Use the loc_name variable to store name
21413         candidates.  Call name_present and valid_locale_name to check and
21414         validate locale names.  Return an error if the locale is invalid.
21416 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21418         * locale/setlocale.c (setlocale): Use strdup for allocating
21419         composite name copy.
21421 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21423         Sync up with gnulib.
21424         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21425         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21426         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21427         and _GL_ARG_NONNULL.
21428         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21429         [!_LIBC]: Include code for Windows and Cygwin.
21430         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21431         Include prototype for int strerror_r.
21432         [!_LIBC] (is_open): New function.
21433         (flush_stdout): New function.
21434         (print_errno_message): Use it.
21435         (error): Likewise.
21436         (error_at_line): Likewise.
21437         (error_tail) Add function attribute macros.  Use
21438         __builtin_expect.
21440         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21442         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21444         * io/ftw.c: Include sys/param.h unconditionally.
21446         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21448         [BZ #17125]
21449         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21450         libc_freeres_ptr.
21451         (freecache): New function to free CACHE on exit.
21453         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21454         initialization.
21456 2014-07-09  David S. Miller  <davem@davemloft.net>
21458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21460         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21461         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21462         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21463         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21464         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21465         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21466         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21467         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21468         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21469         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21470         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21471         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21472         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21474 2014-07-09  Andreas Schwab  <schwab@suse.de>
21476         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21477         output.
21478         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21479         (do_test): Likewise.
21481         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21483 2014-07-09  Will Newton  <will.newton@linaro.org>
21485         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21486         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21487         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21488         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21489         * sysdeps/hppa/start.S (_start): Likewise.
21491 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21493         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21495         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21496         defined.
21498 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21500         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21501         after checking that it is non-NULL.
21503         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21505 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21507         * sysdeps/powerpc/memmove.c: Remove file.
21508         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21509         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21510         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21511         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21512         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21513         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21514         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21515         string memmove instead of removed powerpc one.
21517         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21518         [weak_alias]: Fix compiler warning due trailing data.
21519         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21520         [weak_alias]: Likewise.
21521         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21522         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21525         (__libc_ifunc_impl_list): Add memmove functions.
21527 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21529         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21530         Remove code.
21531         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21532         Likewise
21533         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21534         Likewise
21535         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21536         Likewise
21537         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21538         Likewise
21539         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21540         Likewise
21541         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21542         Likewise
21543         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21544         Likewise
21545         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21546         Likewise
21547         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21548         Likewise
21549         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21550         Likewise
21551         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21552         Likewise
21553         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21554         Likewise
21555         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21556         Likewise
21557         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21558         Likewise
21559         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21560         Likewise
21561         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21562         Likewise
21564 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21566         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21567         to avoid alignment traps in non-cacheable memory.
21568         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21571         multiarch objects.
21572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21573         file: multiarch power7 memmove.
21574         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21575         multiarch default memmove.
21576         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21577         multiarch memove for powerpc32/power4.
21579         * string/bcopy.c: Use full path to include memmove.c.
21580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21581         multiarch objects.
21582         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21583         bcopy for powerpc64.
21584         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21585         bcopy for powerpc64.
21586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21587         and memmove implementations.
21588         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21589         optimized multiarch memmove for POWER7/powerpc64.
21590         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21591         default multiarch memmove for powerpc64.
21592         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21593         multiarch for powerpc64.
21594         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21595         for POWER7/powerpc64.
21596         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21597         memmove for POWER7/powerpc64.
21599         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21600         glibc default one.
21602         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21603         __ELF_NATIVE_CLASS equal to 64.
21605 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21607         * sysdeps/nptl/lowlevellock.h: File removed.
21609         * NEWS: NPTL is no longer an add-on!
21610         * nptl/internaltypes.h: Moved ...
21611         * sysdeps/nptl/internaltypes.h: ... here.
21612         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21613         * sysdeps/nptl/fork.c: Likewise.
21614         * sysdeps/nptl/gai_misc.h: Likewise.
21615         * sysdeps/nptl/librt-cancellation.c: Likewise.
21616         * sysdeps/nptl/jmp-unwind.c: Likewise.
21617         * sysdeps/nptl/setxid.h: Likewise.
21618         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21619         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21620         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21621         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21622         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21623         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21624         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21625         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21626         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21627         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21628         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21629         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21630         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21631         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21632         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21633         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21634         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21635         * nptl/Makeconfig: Moved ...
21636         * sysdeps/nptl/Makeconfig: ... here.
21637         * nptl/configure: File removed.
21638         * nptl/ANNOUNCE: File removed.
21639         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21640         * sysdeps/unix/sysv/linux/configure: Regenerated.
21642         * nptl/Makefile (routines): Add libc_pthread_init,
21643         libc_multiple_threads, register-atfork and unregister-atfork.
21644         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21645         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21646         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21647         pthread-pi-defines.sym, structsem.sym.
21648         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21649         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21650         [$(subdir) = nptl] (tests): Add tst-setgetname.
21651         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21652         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21653         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21654         [!LIBC_SIGACTION]: Remove aliases.
21655         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21656         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21657         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21658         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21659         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21660         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21661         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21662         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21663         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21664         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21665         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21666         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21667         __libc_allocate_rtsig_private.
21668         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21669         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21670         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21671         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21672         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21673         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21674         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21675         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21676         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21677         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21678         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21679         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21680         * nptl/internaltypes.h: ... here.
21681         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21682         * sysdeps/nptl/jmp-unwind.c: ... here.
21683         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21684         * nptl/libc-lowlevellock.c: ... here.
21685         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21686         * nptl/libc_multiple_threads.c: ... here.
21687         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21688         * nptl/libc_pthread_init.c: ... here.
21689         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21690         * nptl/lowlevelbarrier.sym: ... here.
21691         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21692         * nptl/lowlevelcond.sym: ... here.
21693         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21694         * nptl/lowlevellock.c: ... here.
21695         * nptl/lowlevellock.h: Moved ...
21696         * sysdeps/nptl/lowlevellock.h: ... here.
21697         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21698         * nptl/lowlevelrobustlock.c: ... here.
21699         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21700         * nptl/lowlevelrobustlock.sym: ... here.
21701         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21702         * nptl/lowlevelrwlock.sym: ... here.
21703         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21704         * nptl/pt-fork.c: ... here.
21705         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21706         * nptl/pthread-pi-defines.sym: ... here.
21707         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21708         * nptl/pthread_attr_getaffinity.c: ... here.
21709         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21710         * nptl/pthread_attr_setaffinity.c: ... here.
21711         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21712         * nptl/pthread_mutex_cond_lock.c: ... here.
21713         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21714         Update #include.
21715         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21716         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21717         * nptl/pthread_once.c: ... here, replacing old file.
21718         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21719         * nptl/pthread_yield.c: ... here.
21720         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21721         * nptl/register-atfork.c: ... here.
21722         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21723         * nptl/sem_post.c: ... here.
21724         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21725         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21726         * nptl/sem_timedwait.c: ... here.
21727         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21728         * nptl/sem_trywait.c: ... here.
21729         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21730         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21731         * nptl/sem_wait.c: ... here.
21732         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21733         * nptl/structsem.sym: ... here.
21734         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21735         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21736         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21737         * nptl/unregister-atfork.c: ... here.
21738         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21739         * nptl/unwindbuf.sym: ... here.
21740         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21741         * sysdeps/nptl/fork.c: ... here.
21742         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21743         * sysdeps/nptl/fork.h: ... here.
21744         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21745         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21746         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21747         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21748         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21749         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21750         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21751         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21752         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21753         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21754         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21755         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21756         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21757         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21758         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21759         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21760         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21761         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21762         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21763         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21764         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21765         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21766         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21767         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21768         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21769         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21770         * sysdeps/unix/sysv/linux/raise.c: ... here.
21771         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21772         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21773         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21774         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21775         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21776         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21777         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21778         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21779         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21780         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21781         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21782         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21783         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21784         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21785         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21787 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21789         * sysdeps/generic/memcopy.h: Add comment for
21790         MEMCPY_OK_FOR_FWD_MEMMOVE.
21792 2014-07-04  Will Newton  <will.newton@linaro.org>
21794         * string/memchr.c: Merge from gnulib.
21795         [_LIBC]: Remove conditionals.
21796         (__ptr_t): Remove define.
21797         (LONG_MAX_32_BITS): Likewise.
21798         (LONG_MAX): Likewise.
21799         (MEMCHR): Use ANSI prototype and optimize algorithm.
21801         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21803 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21805         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21806         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21808         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21809         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21810         in a bare environment with no <stdlib.h> installed.
21811         * sysdeps/nptl/configure: Regenerated.
21813         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21815         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21816         AC_EGREP_CPP for kernel header checks, so they only succeed if
21817         including <linux/version.h> actually works right.
21818         * sysdeps/unix/sysv/linux/configure: Regenerated.
21820         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21821         value so it's not diagnosed as unused.
21823         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21824         thing) with "ifeq ($(subdir),rt)".
21826 2014-07-03  Richard Henderson  <rth@redhat.com>
21828         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21829         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21830         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21832         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21833         (math_force_eval): New.
21835         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21836         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21838         * sysdeps/alpha/fpu/s_round.c: Remove file.
21839         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21841         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21842         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21843         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21844         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21845         (_dl_start, print_statistics): Likewise.
21846         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21847         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21849         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21850         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21851         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21852         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21853         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21854         (HP_SMALL_TIMING_AVAIL): Define.
21855         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21856         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21857         (HP_SMALL_TIMING_AVAIL): Define.
21858         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21859         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21861         * sysdeps/aarch64/hp-timing.h: New file.
21863         * sysdeps/generic/hp-timing.h: Remove dead comment.
21864         * sysdeps/generic/hp-timing-common.h: New file.
21865         * sysdeps/alpha/hp-timing.h: Include it.
21866         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21867         * sysdeps/i386/i686/hp-timing.h: Likewise.
21868         * sysdeps/ia64/hp-timing.h: Likewise.
21869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21870         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21872         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21873         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21874         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21875         (hp_timing_t): New.
21877         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21878         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21879         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21880         * elf/rtld.c (_dl_start_final): Likewise.
21881         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21882         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21883         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21884         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21885         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21886         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21887         (HP_TIMING_DIFF_INIT): Remove.
21888         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21889         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21890         (HP_TIMING_DIFF_INIT): Remove.
21891         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21892         * sysdeps/i386/i686/hp-timing.c: Remove file.
21893         * sysdeps/x86_64/hp-timing.c: Remove file.
21894         * sysdeps/ia64/hp-timing.c: Remove file.
21895         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21896         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21897         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21898         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21900         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21901         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21902         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21903         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21904         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21905         (HP_TIMING_ACCUM): Remove.
21906         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21907         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21908         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21910         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21911         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21912         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21913         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21915         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21917         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21919         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21921 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21923         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21925 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21927         Sync up with gettext.
21928         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21929         [_MSC_VER]: Include malloc.h
21930         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21931         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21932         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21933         TEMP_FAILURE_RETRY.  Cast return of alloca.
21934         [!_LIBC] Call gl_rwlock_init.
21935         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21937 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21939         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21940         before checking its value.
21942 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21944         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21946         * debug/memcpy_chk.c: Don't include pagecopy.h.
21947         * debug/mempcpy_chk.c: Likewise.
21948         * string/memcpy.c: Likewise.
21949         * string/memmove.c: Likewise.
21950         * sysdeps/powerpc/memmove.c: Likewise.
21951         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21952         definition of PAGE_COPY_FWD_MAYBE here...
21953         * sysdeps/generic/pagecopy.h: ... from here.
21954         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21956 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21957             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21959         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21961         optimizations.
21962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21963         (__libc_ifunc_impl_list): Likewise.
21964         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21965         multiarch strcat for PPC64.
21966         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21967         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21969 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21971         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21973 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21975         * intl/loadmsgcat.c: Remove declaration of
21976         get_sysdep_segment_value.
21977         (get_sysdep_segment_value): Use ISO C style.
21978         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21979         semicolon.  Fix typo and formatting in comment.
21980         (_nl_unload_domain): Use ISO C style.
21982         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21984 2014-07-02  Will Newton  <will.newton@linaro.org>
21986         * malloc/obstack.c: Merge from gnulib master.
21987         [HAVE_CONFIG_H]: Remove conditional code.
21988         [!_LIBC]: Include config.h.
21989         [!ELIDE_CODE]: Don't include inttypes.h, include
21990         stdint.h unconditionally.
21991         (print_and_abort): Mark as _Noreturn.
21992         (_obstack_allocated_p): Mark as __attribute_pure__.
21993         (obstack_free): Rename to __obstack_free.
21994         [!__attribute__]: Remove conditional code.
21995         * malloc/obstack.h: Merge from gnulib master.
21996         [__cplusplus]: Move conditional down.
21997         [!__attribute_pure__]: Define __attribute_pure__ here
21998         if it is not already defined.
21999         (_obstack_memory_used): Mark as __attribute_pure__.
22000         [!__obstack_free]: Define as obstack_free.
22001         [__GNUC__]: Remove check for ancient NeXT gcc.
22003 2014-07-02  Will Newton  <will.newton@linaro.org>
22004             Paul Eggert  <eggert@cs.ucla.edu>
22006         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22008 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22010         * resolv/gethnamaddr.c: Add comment warning that the file is
22011         not maintained.
22013 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22015         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22016         entries.
22018         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22019         entry for aio_cancel and aio_cancel64.
22020         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22021         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22022         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22023         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22024         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22025         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22026         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22027         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22028         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22029         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22030         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22031         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22032         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22034 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22036         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22037         * nptl/pthread_mutex_lock.c: Likewise.
22038         * nptl/pthread_mutex_timedlock.c: Likewise.
22039         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22041 2014-07-01  Richard henderson  <rth@redhat.com>
22043         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22044         (__isnan, __isnanl): Remove.
22045         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22047         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22049 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22051         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22053 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22055         * resolv/nss_dns/dns-host.c (getanswer_r)
22056         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22058 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22061         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22062         undefine.
22063         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22064         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22066 2014-07-01  Roland McGrath <roland@hack.frob.com>
22068         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22069         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22071         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22072         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22074         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22075         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22076         ... here.
22077         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22078         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22080         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22081         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22082         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22083         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22085         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22086         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22087         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22088         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22089         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22090         Moved ...
22091         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22092         ... here.
22093         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22094         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22095         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22096         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22098         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22099         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22100         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22101         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22102         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22103         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22104         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22105         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22106         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22107         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22108         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22109         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22110         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22111         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22112         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22113         ... here.
22114         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22115         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22116         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22117         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22119         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22120         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22121         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22123 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22125         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22126         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22127         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22128         Add sysdep.
22130 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22134 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22136         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22137         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22139         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22141         * sysdeps/arm/libm-test-ulps: Regenerated.
22143 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22144             Roland McGrath <roland@hack.frob.com>
22146         * test-skeleton.c (signal_handler): Kill the whole process group
22147         before killing the child individually.
22148         (main): Report any failure on `setpgid'.
22150 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22152         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22153         from _TLS_H to _ARM_NPTL_TLS_H.
22154         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22155         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22157 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22159         [BZ #16539]
22160         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22161         (__expm1l): Return argument unchanged when small but not
22162         subnormal.
22164         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22165         include macro name.
22166         (_FP_UNPACK_RAW_1_P): Likewise.
22167         (_FP_PACK_RAW_1): Likewise.
22168         (_FP_PACK_RAW_1_P): Likewise.
22169         (_FP_MUL_MEAT_1_wide): Likewise.
22170         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22171         (_FP_MUL_MEAT_1_hard): Likewise.
22172         (_FP_DIV_MEAT_1_imm): Likewise.
22173         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22174         (_FP_DIV_MEAT_1_udiv): Likewise.
22175         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22176         (_FP_UNPACK_RAW_2): Likewise.
22177         (_FP_UNPACK_RAW_2_P): Likewise.
22178         (_FP_PACK_RAW_2): Likewise.
22179         (_FP_PACK_RAW_2_P): Likewise.
22180         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22181         (_FP_MUL_MEAT_2_wide): Likewise.
22182         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22183         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22184         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22185         (_FP_MUL_MEAT_2_gmp): Likewise.
22186         (_FP_DIV_MEAT_2_udiv): Likewise.
22187         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22188         (_FP_FRAC_SRL_4): Likewise.
22189         (_FP_FRAC_SRST_4): Likewise.
22190         (_FP_FRAC_SRS_4): Likewise.
22191         (_FP_UNPACK_RAW_4): Likewise.
22192         (_FP_UNPACK_RAW_4_P): Likewise.
22193         (_FP_PACK_RAW_4): Likewise.
22194         (_FP_PACK_RAW_4_P): Likewise.
22195         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22196         (_FP_MUL_MEAT_4_wide): Likewise.
22197         (_FP_MUL_MEAT_4_gmp): Likewise.
22198         (umul_ppppmnnn): Likewise.
22199         (_FP_DIV_MEAT_4_udiv): Likewise.
22200         (__FP_FRAC_ADD_4): Likewise.
22201         (__FP_FRAC_SUB_3): Likewise.
22202         (__FP_FRAC_SUB_4): Likewise.
22203         (__FP_FRAC_DEC_3): Likewise.
22204         (__FP_FRAC_DEC_4): Likewise.
22205         (__FP_FRAC_ADDI_4): Likewise.
22206         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22207         (_FP_FRAC_SRL_8): Likewise.
22208         (_FP_FRAC_SRS_8): Likewise.
22210         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22211         include macro name.
22212         (FP_UNPACK_RAW_EP): Likewise.
22213         (FP_PACK_RAW_E): Likewise.
22214         (FP_PACK_RAW_EP): Likewise.
22215         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22216         (_FP_ISSIGNAN): Likewise.
22217         (_FP_ADD_INTERNAL): Likewise.
22218         (_FP_FMA): Likewise.
22219         (_FP_CMP): Likewise.
22220         (_FP_SQRT): Likewise.
22221         (_FP_TO_INT): Likewise.
22222         (_FP_FROM_INT): Likewise.
22223         (FP_EXTEND): Likewise.
22224         (_FP_DIV_MEAT_N_loop): Likewise.
22226 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22228         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22229         throughout.
22231 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22233         [BZ #17097]
22234         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22235         result with correct sign in case of exponents that produce
22236         overflow except for X very close to 1.
22238 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22240         mktime: merge #if/#ifdef usage from glibc
22241         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22242         as that works with both Glibc's and Gnulib's style.
22243         See thread starting at Siddhesh Poyarekar's bug report at:
22244         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22246 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22248         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22249         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22250         * sysdeps/tile/tilegx/memmove.c: Remove file.
22252 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22254         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22255         abi-name definition.
22256         * scripts/soversions.awk: Do not handle or generate ABI lines.
22257         * shlib-versions: Remove ABI entries.
22258         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22259         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22261 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22264         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22268         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22270         Moved ...
22271         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22272         ... here.
22273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22274         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22276         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22278         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22280         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22282         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22284         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22286         Moved ...
22287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22289         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22291         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22293         Moved ...
22294         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22296         Moved ...
22297         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22299         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22301         Moved ...
22302         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22306         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22308         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22310         Moved ...
22311         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22313         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22315         Moved ...
22316         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22318         Moved ...
22319         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22320         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22321         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22322         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22323         Moved ...
22324         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22325         ... here.
22326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22327         Identical file removed.
22328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22329         Moved ...
22330         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22332         Identical file removed.
22333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22334         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22336         Moved ...
22337         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22339         Identical file removed.
22340         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22341         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22343         Identical file removed.
22344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22347         Identical file removed.
22348         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22349         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22350         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22351         Identical file removed.
22352         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22353         Moved ...
22354         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22356         Identical file removed.
22357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22358         Moved ...
22359         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22361         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22363         Identical file removed.
22364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22365         Moved ...
22366         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22367         ... here.
22368         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22369         Identical file removed.
22370         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22371         Moved ...
22372         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22374         Identical file removed.
22375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22376         Moved ...
22377         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22378         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22379         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22381         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22382         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22383         Moved ...
22384         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22385         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22386         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22388         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22389         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22390         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22391         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22392         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22394 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22396         [BZ #17092]
22397         * nscd/nscd.c (monitor_child): Return exit status of child
22398         instead of return value from wait syscall.
22400 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22402         * configure.ac (libc_commonpagesize): Remove variable.
22403         (libc_relro_required): Likewise.
22404         (libc_cv_z_relro): Remove configure test.
22405         * configure: Regenerated.
22406         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22407         variable.
22408         (libc_relro_required): Likewise.
22409         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22410         (libc_relro_required): Likewise.
22411         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22412         (libc_relro_required): Likewise.
22413         * sysdeps/arm/preconfigure: Regenerated.
22414         * sysdeps/ia64/preconfigure: Remove file.
22415         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22416         variable.
22417         (libc_relro_required): Likewise.
22419         [BZ #16561]
22420         [BZ #16562]
22421         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22422         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22423         recompute overflowing results in original rounding mode.
22424         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22425         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22426         recompute overflowing results in original rounding mode.
22427         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22428         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22429         recompute overflowing results in original rounding mode.
22430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22431         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22432         recompute overflowing results in original rounding mode.
22433         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22434         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22435         recompute overflowing results in original rounding mode.
22436         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22437         (libc_feholdsetround_ctx): New macro.
22438         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22439         * sysdeps/i386/fpu/libm-test-ulps: Update.
22440         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22442 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22444         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22445         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22446         corresponding .cpsetup call.
22448 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22450         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22451         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22452         * sysdeps/arm/Makefile [$(subdir) = csu]
22453         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22454         (static-only-routines): Add aeabi_read_tp here.
22455         (shared-only-routines): Add libc-aeabi_read_tp here.
22456         (CFLAGS-libc-start.c): Add -fexceptions here.
22457         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22458         (sysdep_routines, static-only-routines, shared-only-routines):
22459         Don't add to these here.
22460         (CFLAGS-libc-start.c): Likewise.
22462         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22463         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22464         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22465         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22466         * sysdeps/arm/Makefile [$(subdir) = rt]
22467         (librt-sysdep_routines, librt-shared-only-routines):
22468         Append rt-aeabi_unwind_cpp_pr1 here.
22469         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22470         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22471         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22472         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22473         Append nptl-aeabi_unwind_cpp_pr1 here.
22474         (tests): Filter out tst-cleanupx4 here.
22475         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22476         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22477         Don't do those here.
22479 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22481         * scripts/list-sources.sh: Do not handle ports specially.
22483 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22485         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22486         * sysdeps/arm/feupdateenv.c: Likewise.
22488         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22490 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22492         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22493         trailing whitespace removed.
22494         * scripts/config.guess: Update to version 2014-03-23.
22495         * scripts/config.sub: Update to version 2014-05-01
22496         * scripts/install-sh: Update to version 2013-12-25.23.
22497         * scripts/move-if-change: Update from gnulib.
22499 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22501         * debug/memmove_chk.c: Remove pagecopy.h include.
22503 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22505         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22506         identical to gnulib mktime.
22508 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22510         * configure.ac: Do not test for machine being rs6000.  Do not test
22511         for powerpc*-*soft.
22512         * configure: Regenerated.
22514         [BZ #11505]
22515         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22516         test.
22517         * configure: Regenerated.
22518         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22519         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22520         Remove configure test.
22521         * sysdeps/arm/configure: Regenerated.
22522         * sysdeps/nptl/configure.ac: Do not check
22523         libc_cv_asm_cfi_directives.
22524         * sysdeps/nptl/configure: Regenerated.
22525         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22526         * sysdeps/x86_64/nptl/configure: Remove generated file.
22527         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22528         unconditional.
22529         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22531 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22533         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22534         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22535         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22536         it is defined.
22538         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22539         instead of whether it is defined.
22540         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22541         * sysdeps/hppa/dl-machine.h: Likewise.
22542         * sysdeps/ia64/dl-machine.h: Likewise.
22543         * sysdeps/m68k/dl-machine.h: Likewise.
22544         * sysdeps/microblaze/dl-machine.h: Likewise.
22545         * sysdeps/mips/dl-machine.: Likewise.
22546         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22548         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22549         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22550         * sysdeps/sh/dl-machine.h: Likewise.
22551         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22552         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22553         * sysdeps/tile/dl-machine.h: Likewise.
22554         * sysdeps/x86_64/dl-machine.h: Likewise.
22556         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22557         code.
22558         (verify_persistent_db): Likewise.
22560 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22563         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22565         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22567         Moved ...
22568         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22569         ... here.
22570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22571         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22573         Identical file removed.
22574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22575         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22577         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22579         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22581         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22583         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22585         Moved ...
22586         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22588         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22590         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22592         Moved ...
22593         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22597         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22599         Identical file removed.
22600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22601         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22603         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22605         Moved ...
22606         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22607         ... here.
22608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22609         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22611         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22613         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22615         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22617         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22619         Moved ...
22620         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22622         Moved ...
22623         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22625         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22627         Moved ...
22628         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22630         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22632         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22633         folded into ...
22634         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22635         * sysdeps/unix/sysv/linux/s390/Versions
22636         (libpthread: GLIBC_2.19): New version set.
22637         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22638         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22639         (librt: GLIBC_2.3.3): New version set.
22640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22641         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22642         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22643         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22644         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22645         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22646         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22647         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22648         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22649         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22650         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22651         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22652         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22653         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22654         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22655         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22656         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22657         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22658         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22659         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22660         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22662         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22664         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22666         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22667         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22668         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22669         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22670         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22676         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22678         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22680         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22682         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22684         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22686         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22687         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22688         (__libc_vfork): Define the function under this name.
22689         [!NOT_IN_libc] (__vfork): Make this an alias.
22690         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22692         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22693         (__libc_vfork): Define the function under this name.
22694         [!NOT_IN_libc] (__vfork): Make this an alias.
22695         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22696         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22697         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22700         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22702         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22703         code that was previously under [RESET_PID].
22704         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22705         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22708         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22709         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22711         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22712         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22713         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22714         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22715         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22716         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22717         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22718         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22719         Moved ...
22720         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22721         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22722         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22723         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22724         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22725         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22726         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22727         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22728         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22729         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22730         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22731         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22732         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22733         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22734         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22735         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22736         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22737         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22738         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22739         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22740         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22741         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22742         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22743         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22744         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22745         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22746         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22748         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22750 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22752         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22753         that was previously under [RESET_PID].
22754         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22756 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22758         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22759         not undefine and redefine.
22760         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22761         [O_CLOEXEC]: Make code unconditional.
22762         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22763         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22764         <kernel-features.h>.
22765         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22766         conditional variable definition.
22767         (shm_open) [O_CLOEXEC]: Make code unconditional.
22768         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22769         code.
22771         * configure.ac (USE_REGPARMS): Don't define here.
22772         * configure: Regenerated.
22773         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22774         * sysdeps/i386/configure: Regenerated.
22776         * nptl/createthread.c: Don't include kernel-features.h.
22777         * nptl/pthread_cancel.c: Likewise.
22778         * nptl/pthread_condattr_setclock.c: Likewise.
22779         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22780         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22781         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22782         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22783         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22784         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22785         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22788         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22789         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22790         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22791         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22792         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22793         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22794         * nscd/gai.c: Likewise.
22795         * nss/nss_db/db-open.c: Likewise.
22796         * sysdeps/generic/ldsodefs.h: Likewise.
22797         * sysdeps/sh/nptl/tls.h: Likewise.
22798         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22799         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22800         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22801         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22802         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22803         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22804         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22805         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22806         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22807         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22808         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22809         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22810         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22811         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22812         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22813         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22814         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22815         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22816         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22817         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22820         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22821         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22826         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22827         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22828         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22829         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22830         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22831         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22832         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22833         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22834         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22835         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22836         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22837         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22838         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22839         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22840         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22841         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22842         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22843         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22844         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22845         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22846         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22847         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22848         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22849         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22850         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22851         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22852         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22853         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22854         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22855         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22878         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22879         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22880         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22881         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22882         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22883         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22884         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22885         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22886         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22887         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22888         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22889         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22890         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22891         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22892         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22893         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22894         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22895         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22896         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22897         * sysdeps/unix/sysv/linux/system.c: Likewise.
22898         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22899         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22900         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22901         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22902         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22903         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22904         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22906         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22907         * configure: Regenerated.
22908         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22910         * configure.ac (base_machine): Do not set specially for particular
22911         machines here.
22912         * configure: Regenerated.
22913         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22914         settings from configure.ac.
22915         * sysdeps/i386/preconfigure: New file.
22916         * sysdeps/s390/preconfigure: Likewise.
22917         * sysdeps/sh/preconfigure: Likewise.
22918         * sysdeps/sparc/preconfigure: Likewise.
22920 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22922         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22923         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22924         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22925         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22926         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22927         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22928         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22929         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22930         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22931         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22932         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22933         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22934         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22935         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22936         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22937         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22939         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22940         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22942         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22943         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22944         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22945         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22946         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22947         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22948         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22949         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22950         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22951         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22952         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22953         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22954         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22955         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22956         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22957         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22958         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22959         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22960         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22961         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22963         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22965         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22966         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22967         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22968         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22969         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22971         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22972         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22973         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22975         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22976         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22977         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22978         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22979         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22982         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22984         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22986         Moved ...
22987         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22988         ... here.
22989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22990         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22992         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22994         Moved ...
22995         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22997         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22999         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23001         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23003         Moved ...
23004         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23006         Moved ...
23007         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23009         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23011         Moved ...
23012         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23016         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23018         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23020         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23022         Moved ...
23023         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23024         ... here.
23025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23026         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23028         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23030         Moved ...
23031         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23033         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23035         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23037         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23039         Moved ...
23040         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23042         Moved ...
23043         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23045         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23047         Moved ...
23048         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23050         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23052         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23054 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23056         * timezone/checktab.awk: Update from tzcode 2014e.
23057         * timezone/private.h: Likewise.
23058         * timezone/tzfile.h: Likewise.
23059         * timezone/zdump.c: Likewise.
23060         * timezone/zic.c: Likewise.
23062         * sysdeps/unix/sysv/linux/kernel-features.h
23063         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23065         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23066         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23067         Remove conditional code.
23069 2014-06-25  Will Newton  <will.newton@linaro.org>
23071         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23072         (_dl_arm_cap_flags): Add HWCAP2 values.
23073         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23074         (_DL_HWCAP_COUNT): Increase to 37.
23075         (_DL_HWCAP_LAST): New define.
23076         (_DL_HWCAP2_LAST): New define.
23077         (_dl_procinfo): Add support for printing
23078         AT_HWCAP2 entries.
23079         (_dl_string_hwcap): Use _dl_hwcap_string.
23081 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23085 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23087         * README: Do not mention ports directory.
23089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23090         Remove macro.
23091         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23092         <kernel-features.h>.
23093         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23094         conditional variable definition.
23095         (__futimes): Update comment.
23096         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23097         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23099         [BZ #16560]
23100         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23101         arguments close to 0.
23102         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23103         Likewise.
23104         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23105         Likewise.
23106         * math/auto-libm-test-in: Add more tests of exp10.
23107         * math/auto-libm-test-out: Regenerated.
23108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23110         * sysdeps/unix/sysv/linux/kernel-features.h
23111         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23112         * sysdeps/unix/sysv/linux/readv.c: Do not include
23113         <kernel-features.h>.
23114         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23115         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23116         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23117         unconditional.
23118         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23119         conditional code.
23120         * sysdeps/unix/sysv/linux/writev.c: Do not include
23121         <kernel-features.h>.
23122         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23123         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23124         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23125         unconditional.
23126         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23127         conditional code.
23129 2014-06-25  Will Newton  <will.newton@linaro.org>
23131         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23132         comment changes throughout the file.  Remove checks
23133         for HAVE_*_H definitions that are not required.
23134         (__gen_tempname): Call abort if an unknown kind value is
23135         passed.
23137 2014-06-25  Andreas Schwab  <schwab@suse.de>
23139         [BZ #17086]
23140         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23141         scalbln, scalblnf, scalblnl in libc.
23143 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23145         [BZ #17086]
23146         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23147         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23148         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23150 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23152         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23153         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23154         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23155         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23156         Update #include.
23157         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23158         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23159         Update #include.
23160         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23161         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23162         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23164         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23165         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23166         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23167         * sysdeps/x86/bits/semaphore.h: ... here.
23168         * sysdeps/x86/nptl/elide.h: Moved ...
23169         * sysdeps/x86/elide.h: ... here.
23170         * sysdeps/x86_64/nptl/Implies: File removed.
23171         * sysdeps/i386/nptl/Implies: File removed.
23173 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23175         [BZ #16539]
23176         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23177         return the argument for normal arguments with exponent below -64.
23178         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23179         Likewise.
23180         * math/auto-libm-test-in: Add another test of expm1.
23181         * math/auto-libm-test-out: Regenerated.
23183         [BZ #16287]
23184         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23185         calling __erfcl for arguments at least 16.
23186         * math/auto-libm-test-in: Add more tests of erf.
23187         * math/auto-libm-test-out: Regenerated.
23189         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23190         individual architectures.
23191         * sysdeps/unix/sysv/linux/configure: Regenerated.
23192         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23193         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23194         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23195         (ldd_rewrite_script): Define variable.
23196         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23198         file.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23200         generated file.
23201         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23202         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23203         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23204         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23205         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23206         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23207         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23208         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23210 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23212         [BZ #17084]
23213         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23214         Rename member __data.d to __data.__elision_data.
23216 2014-06-24  Wilco  <wdijkstr@arm.com>
23218         * NEWS: Add 16918 to fixed bug list.
23220 2014-06-24  Wilco  <wdijkstr@arm.com>
23222         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23224 2014-06-24  Wilco  <wdijkstr@arm.com>
23226         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23227         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23228         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23229         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23230         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23231         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23232         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23233         Use _FPU_MASK_RM.
23235 2014-06-24  Wilco  <wdijkstr@arm.com>
23237         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23239 2014-06-24  Wilco  <wdijkstr@arm.com>
23241         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23242         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23243         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23244         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23246 2014-06-24  Wilco  <wdijkstr@arm.com>
23248         [BZ #16918]
23249         * sysdeps/arm/feupdateenv.c (feupdateenv):
23250         Rewrite to reduce FPSCR accesses and fix return value.
23252 2014-06-24  Wilco  <wdijkstr@arm.com>
23254         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23255         Optimize to avoid unnecessary FPSCR writes.
23256         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23257         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23258         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23259         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23261 2014-06-24  Wilco  <wdijkstr@arm.com>
23263         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23264         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23265         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23266         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23267         Call libc_fetestexcept_vfp.
23268         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23269         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23270         __SOFTFP__ ifdef so that they can be built for softfp.
23272 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23274         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23275         argument type signed char.
23277         * Makerules (check-abi): Dump diff of symlist if the test
23278         fails.
23280 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23282         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23283         using abort.
23285         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23286         Remove unused variable ST.
23288 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23290         [BZ #16354]
23291         [BZ #17061]
23292         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23293         small arguments before calling __expm1.
23294         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23295         small arguments before calling __expm1f.
23296         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23297         small arguments before calling __expm1l.
23298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23299         Likewise.
23300         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23301         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23302         spurious underflow for some cosh tests.
23303         * math/auto-libm-test-out: Regenerated.
23304         * sysdeps/i386/fpu/libm-test-ulps: Update.
23306         [BZ #17050]
23307         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23308         (__ieee754_y1): Set errno if return value overflows.
23309         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23310         (__ieee754_y1f): Set errno if return value overflows.
23311         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23312         (__ieee754_y1l): Set errno if return value overflows.
23313         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23314         (__ieee754_y1l): Set errno if return value overflows.
23315         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23316         * math/auto-libm-test-out: Regenerated.
23318         * math/gen-auto-libm-tests.c: Document use of
23319         ignore-zero-inf-sign.
23320         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23321         (input_flags): Add ignore-zero-inf-sign.
23322         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23323         * math/gen-libm-test.pl (generate_testfile): Handle
23324         ignore-zero-inf-sign.
23325         * math/auto-libm-test-in: Mark some cpow tests with
23326         ignore-zero-inf-sign and some with xfail-rounding.
23327         * math/auto-libm-test-out: Regenerated.
23328         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23329         * sysdeps/i386/fpu/libm-test-ulps: Update.
23330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332         [BZ #16315]
23333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23334         overflowing or underflowing operations take place with sign of
23335         result.
23336         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23337         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23338         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23339         (__ieee754_pow): Recompute overflowing and underflowing results in
23340         original rounding mode.
23341         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23342         (__powl_helper): Allow negative argument X and scale negated value
23343         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23344         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23345         overflowing or underflowing operations take place with sign of
23346         result.
23347         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23348         Include <math.h>.
23349         * math/auto-libm-test-in: Add more tests of pow.
23350         * math/auto-libm-test-out: Regenerated.
23351         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23352         (pow_tonearest_test_data): Remove.
23353         (pow_test_tonearest): Likewise.
23354         (pow_towardzero_test_data): Likewise.
23355         (pow_test_towardzero): Likewise.
23356         (pow_downward_test_data): Likewise.
23357         (pow_test_downward): Likewise.
23358         (pow_upward_test_data): Likewise.
23359         (pow_test_upward): Likewise.
23360         (main): Don't call removed functions.
23361         * sysdeps/i386/fpu/libm-test-ulps: Update.
23362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23364 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23367         Moved ...
23368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23370         Moved ...
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23373         Moved ...
23374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23376         Moved ...
23377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23379         File removed.
23380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23381         File removed.
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23383         File removed.
23384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23385         File removed.
23386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23387         File removed.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23389         File removed.
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23391         File removed.
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23393         File removed.
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23395         File removed.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23397         File removed.
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23399         File removed.
23400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23401         File removed.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23403         Moved ...
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23406         Moved ...
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23408         ... here.
23409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23410         Moved ...
23411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23413         Moved ...
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23416         Moved ...
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23419         Moved ...
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23422         Moved ...
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23425         Moved ...
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23428         Moved ...
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23432         ... here.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23434         Moved ...
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23437         Moved ...
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23439         ... here.
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23441         Moved ...
23442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23443         ... here.
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23445         Moved ...
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23447         ... here.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23452         Moved ...
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23457         Moved ...
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23459         ... here.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23461         Moved ...
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23463         ... here.
23464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23465         Moved ...
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23468         Moved ...
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23471         Moved ...
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23474         Moved ...
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23479         ... here.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23484         Moved ...
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23487         Moved ...
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23490         Moved ...
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23495         Moved ...
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23498         Moved ...
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23501         Moved ...
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23503         ... here.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23505         Moved ...
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23507         ... here.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23509         Moved ...
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23513         Moved ...
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23516         Moved ...
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23519         Moved ...
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23522         Moved ...
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23524         ... here.
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23526         Moved ...
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23528         ... here.
23529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23530         Moved ...
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23532         ... here.
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23534         Moved ...
23535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23537         Moved ...
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23540 2014-06-23  Will Newton  <will.newton@linaro.org>
23541             Wilco  <wdijkstr@arm.com>
23543         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23544         implementation.  Include get-rounding-mode.h.
23545         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23546         [!libc_feholdsetround_noex_ctx]: Define
23547         libc_feholdsetround_noex_ctx.
23548         [!libc_feholdsetround_noexf_ctx]: Define
23549         libc_feholdsetround_noexf_ctx.
23550         [!libc_feholdsetround_noexl_ctx]: Define
23551         libc_feholdsetround_noexl_ctx.
23552         (libc_feholdsetround_ctx): New function.
23553         (libc_feresetround_ctx): New function.
23554         (libc_feholdsetround_noex_ctx): New function.
23555         (libc_feresetround_noex_ctx): New function.
23557 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23559         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23560         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23561         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23562         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23563         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23564         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23566         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23567         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23568         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23569         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23570         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23571         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23573         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23575         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23577         Moved ...
23578         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23579         ... here.
23580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23581         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23583         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23585         Moved ...
23586         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23588         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23590         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23592         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23594         Moved ...
23595         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23597         Moved ...
23598         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23600         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23602         Moved ...
23603         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23607         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23608         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23609         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23611         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23613         Moved ...
23614         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23615         ... here.
23616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23617         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23619         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23621         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23623         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23625         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23627         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23629         Moved ...
23630         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23632         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23634         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23636         Moved ...
23637         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23639         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23640         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23641         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23643         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23644         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23645         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23646         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23647         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23648         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23649         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23650         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23652         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23653         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23654         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23655         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23656         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23657         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23658         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23659         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23660         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23661         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23662         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23664         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23665         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23666         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23667         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23668         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23669         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23670         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23672 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23675         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23676         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23677         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23678         (IPV6_PMTUDISC_INTERFACE): Likewise.
23679         (IPV6_PMTUDISC_OMIT): Likewise.
23681 2014-06-23  Andreas Schwab  <schwab@suse.de>
23683         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23684         Remove unused errout label.
23686 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23688         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23689         macro: hardware supports Vector Crypto instructions.
23691 2014-06-23  Will Newton  <will.newton@linaro.org>
23693         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23694         rather than __builtin_expect.
23696         * elf/dl-lookup.c (undefined_msg): Remove variable.
23697         (_dl_lookup_symbol_x): Replace undefined_msg with string
23698         literal.
23700         * elf/dl-lookup.c (do_lookup_unique): New function.
23701         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23702         to a separate function.
23704 2014-06-23  Andreas Schwab  <schwab@suse.de>
23706         [BZ #17079]
23707         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23708         before reading the next line.
23710 2014-06-23  Will Newton  <will.newton@linaro.org>
23712         * test-skeleton.c (signal_handler): Use printf and %m
23713         rather than perror.  Use printf rather than fprintf to
23714         stderr.  Use puts rather than fputs to stderr.
23715         (main): Likewise.
23717 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23719         * nscd/nscd.c (thread_info_t): Remove typedef.
23720         (thread_info): Remove variable.
23722 2014-06-21  Allan McRae  <allan@archlinux.org>
23724         * NEWS: Mention CVE-2014-4043.
23726 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23728         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23729         * nptl/smp.h: ... here.
23731         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23733         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23734         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23735         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23736         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23738         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23739         * nptl/stack-aliasing.h: New file.
23740         * sysdeps/i386/i686/stack-aliasing.h: New file.
23741         * sysdeps/i386/i686/nptl/Makefile: File removed.
23742         * sysdeps/x86_64/stack-aliasing.h: New file.
23743         * sysdeps/x86_64/nptl/Makefile
23744         (CFLAGS-pthread_create.c): Variable removed.
23746         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23747         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23748         old file.
23749         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23750         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23751         old file.
23753 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23755         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23756         (__ASSUME_SIGFRAME_V2): Remove macro.
23757         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23758         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23759         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23760         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23761         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23762         Declare as function.  Remove conditional macro definitions.
23763         (__default_rt_sa_restorer): Likewise.
23764         (__default_sa_restorer_v1): Remove declaration.
23765         (__default_sa_restorer_v2): Likewise.
23766         (__default_rt_sa_restorer_v1): Likewise.
23767         (__default_rt_sa_restorer_v2): Likewise.
23768         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23769         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23770         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23772 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23774         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23775         (libpthread-routines): Add sysdep.
23776         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23777         * sysdeps/unix/sysv/linux/sparc/Versions
23778         (libpthread: GLIBC_2.3.3): New version set.
23779         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23780         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23781         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23782         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23783         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23784         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23785         Moved ...
23786         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23787         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23788         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23789         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23790         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23791         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23792         * sysdeps/sparc/nptl/sem_init.c: ... here.
23793         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23794         * sysdeps/sparc/nptl/sem_post.c: ... here.
23795         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23796         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23797         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23798         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23799         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23800         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23801         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23802         (libpthread-routines): Add cpu_relax.
23803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23804         File removed.
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23806         (librt: GLIBC_2.3.3): New version set.
23807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23808         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23809         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23810         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23813         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23815         Moved ...
23816         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23818         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23820         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23822         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23824         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23826         Moved ...
23827         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23828         Update #include.
23829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23830         Moved ...
23831         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23832         Update #include.
23833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23834         Moved ...
23835         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23836         Update #include.
23837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23838         Moved ...
23839         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23840         Update #include.
23841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23842         Moved ...
23843         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23844         Update #include.
23845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23846         Moved ...
23847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23848         Update #include.
23849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23850         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23856         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23858         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23860         Moved ...
23861         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23863         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23865         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23867 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23869         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23870         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23871         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23872         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23873         * nscd/nscd.c: Likewise.
23874         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23875         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23876         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23877         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23879         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23880         <kernel-features.h>.
23881         (init_mq_netlink): Remove conditional have_sock_cloexec
23882         definitions.  Remove code conditional on have_sock_cloexec < 0.
23883         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23884         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23885         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23886         <kernel-features.h>.
23887         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23888         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23890 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23893         Add tests for memset_chk and memset.
23895         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23896         with AVX2_Usable.
23898 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23900         [BZ #16046]
23901         * elf/tst-dl-iter-static.c: New file.
23902         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23904         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23905         error.
23907 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23909         * sysdeps/unix/sysv/linux/kernel-features.h
23910         (__ASSUME_F_GETOWN_EX): Remove macro.
23911         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23912         <kernel-features.h>.
23913         (miss_F_GETOWN_EX): Remove variable or macro.
23914         (do_fcntl): Do not check miss_F_GETOWN_EX.
23915         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23918         Remove macro.
23919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23920         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23921         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23923         * sysdeps/unix/sysv/linux/kernel-features.h
23924         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23925         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23926         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23927         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23929 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23931         [BZ #17075]
23932         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23933         Fix calculation of the symbol's value.
23934         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23935         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23936         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23937         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23938         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23939         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23940         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23941         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23942         (modules-names): Add `tst-armtlsdescmod',
23943         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23944         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23945         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23946         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23947         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23948         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23949         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23950         ($(objpfx)tst-armtlsdescloc): New dependency.
23951         ($(objpfx)tst-armtlsdescextnow): Likewise.
23952         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23953         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23954         TLS scheme support.
23955         * sysdeps/arm/configure: Regenerate.
23957 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23959         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23960         (__atfct_seterrno_2): Likewise.
23961         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23962         <kernel-features.h>.
23963         (__ASSUME_ATFCTS): Do not undefine and redefine.
23964         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23965         (__have_atfcts): Remove conditional definition.
23966         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23967         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23968         unreachable if [__ASSUME_ATFCTS].
23969         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23970         not undefine and redefine.
23971         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23972         <kernel-features.h>.
23973         (faccessat) [__NR_faccessat]: Make code unconditional.
23974         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23975         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23976         <kernel-features.h>.
23977         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23978         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23979         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23980         <kernel-features.h>.
23981         (fchownat) [__NR_fchownat]: Make code unconditional.
23982         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23983         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23984         <kernel-features.h>.
23985         (futimesat) [__NR_futimesat]: Make code unconditional.
23986         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23987         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23988         <kernel-features.h>.
23989         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23990         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23991         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23992         <kernel-features.h>.
23993         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23994         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23995         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23996         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23997         <kernel-features.h>.
23998         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23999         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24000         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24001         <kernel-features.h>.
24002         (linkat) [__NR_linkat]: Make code unconditional.
24003         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24004         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24005         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24006         <kernel-features.h>.
24007         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24008         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24009         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24010         <kernel-features.h>.
24011         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24012         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24013         * sysdeps/unix/sysv/linux/openat.c: Do not include
24014         <kernel-features.h>.
24015         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24016         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24017         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24018         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24019         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24020         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24021         <kernel-features.h>.
24022         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24023         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24024         result of INLINE_SYSCALL directly, not via int variable.
24025         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24026         <kernel-features.h>.
24027         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24028         (renameat) [__NR_renameat]: Make code unconditional.
24029         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24030         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24031         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24032         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24034         (__ASSUME_ATFCTS): Do not undefine and redefine.
24035         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24036         <kernel-features.h>.
24037         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24038         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24039         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24040         <kernel-features.h>.
24041         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24042         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24043         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24044         (__ASSUME_ATFCTS): Do not undefine and redefine.
24045         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24046         <kernel-features.h>.
24047         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24048         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24049         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24050         <kernel-features.h>.
24051         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24052         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24054 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24056         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24058 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24060         [BZ #17069]
24061         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24062         constructed tree before returning error.
24063         * posix/bug-regexp36.c: Expand test case.
24065 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24067         [BZ #6803]
24068         * math/libm-test.inc (scalbln_test_date):
24069         Add errno expectations.
24070         * math/w_scalblnf.c: New File.
24071         Add wrapper which checks for setting errno to ERANGE.
24072         Add weak_alias for corresponding scalbln function.
24073         * math/w_scalbln.c: Likewise.
24074         * math/w_scalblnl.c: Likewise.
24075         * math/Makefile (libm-calls): Add w_scalbln.
24076         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24077         Remove weak_alias for corresponding scalbln function.
24078         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24080         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24082         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24083         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24084         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24085         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24086         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24087         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24088         Remove long_double_symbol for scalblnl function in libm, libc.
24089         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24090         Add wrapper which checks for setting errno to ERANGE.
24091         Add long_double_symbol for scalblnl function in libm, libc.
24092         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24093         Remove long_double_symbol for scalblnl in libm.
24094         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24095         Add wrapper which checks for setting errno to ERANGE.
24096         Add long_double_symbol for scalblnl function in libm.
24097         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24098         Do not use wrapper because of own implementation.
24100 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24102         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24103         3 bytes for __pad1 for x32.
24104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24106 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24107             H.J. Lu  <hongjiu.lu@intel.com>
24109         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24110         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24111         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24112         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24113         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24115 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24117         [BZ #17069]
24118         * posix/regcomp.c (parse_expression): Deallocate partially
24119         constructed tree before returning error.
24120         * posix/Makefile.c (tests): Add bug-regex36.
24121         (generated): Add bug-regex36.mtrace.
24122         (tests-special): Add $(objpfx)bug-regex36-mem.out
24123         (bug-regex36-ENV): New variable.
24124         ($(objpfx)bug-regex36-mem.out): New rule.
24125         * posix/bug-regex36.c: New file.
24127 2014-06-19  Will Newton  <will.newton@linaro.org>
24129         * malloc/malloc.c (systrim): If extra is zero then return
24130         early.
24132 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24134         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24136 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24138         * sysdeps/aarch64/strchr.S: New file.
24140 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #17022]
24143         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24144         from arguments -2 or below.
24145         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24146         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24148 2014-06-18  Andreas Schwab  <schwab@suse.de>
24150         [BZ #17062]
24151         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24152         of a bracket expr not to run off the end of the string.
24153         * posix/Makefile (tests): Add tst-fnmatch3.
24154         * posix/tst-fnmatch3.c: New file.
24156 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24158         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24159         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24160         [$(cross-compiling) = no]: Likewise.
24161         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24162         [$(cross-compiling) = no]: Likewise.
24164 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24166         [BZ #17031]
24167         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24168         double, adjusted for any remainder from the high double.
24169         * math/libm-test.inc (nearbyint): Add tests.
24170         (rint): Likewise.
24172 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24174         * nptl/sysdeps/powerpc/Makefile: Moved ...
24175         * sysdeps/powerpc/nptl/Makefile: ... here.
24176         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24177         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24178         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24179         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24180         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24181         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24182         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24183         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24184         * nptl/sysdeps/powerpc/tls.h: Moved ...
24185         * sysdeps/powerpc/nptl/tls.h: ... here.
24187 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24189         [BZ #16681]
24190         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24191         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24192         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24193         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24194         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24195         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24196         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24197         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24198         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24200 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24204 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24206         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24207         defined operator.
24209         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24210         $TIMEOUTFACTOR.
24212 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24214         [BZ #17058]
24215         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24216         non-executed part of the test.
24218 2014-06-16  Andreas Schwab  <schwab@suse.de>
24220         * string/bits/string2.h (strdup, strndup): Update feature guard.
24222 2014-06-14  David S. Miller  <davem@davemloft.net>
24224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24226 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24228         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24229         that was previously under [RESET_PID].
24230         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24232         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24233         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24234         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24235         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24236         (__libc_vfork): New strong alias.
24237         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24239 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24241         * sysdeps/generic/elide.h: New file.
24243 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24245         * Makefile (installed-headers): Adjust path of pthread.h header.
24247 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24249         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24250         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24251         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24252         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24254         * nptl/sysdeps/s390/Makefile: Moved ...
24255         * sysdeps/s390/nptl/Makefile: ... here.
24256         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24257         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24258         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24259         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24260         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24261         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24262         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24263         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24264         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24265         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24266         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24267         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24268         * nptl/sysdeps/s390/tls.h: Moved ...
24269         * sysdeps/s390/nptl/tls.h: ... here.
24271         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24272         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24274 2014-06-13  David S. Miller  <davem@davemloft.net>
24276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24279         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24283         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24284         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24285         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24286         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24287         Remove RESET_PID cpp guards.
24288         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24289         Remove RESET_PID cpp guards.
24290         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24292 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24294         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24295         __sp to uintptr_t.
24297 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24299         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24302         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24305         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24307         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24308         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24309         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24311         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24312         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24315         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24317         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24320         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24321         (pthread_rwlock_rdlock): Add elision.
24322         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24323         (pthread_rwlock_wrlock): Add elision.
24324         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24325         (pthread_rwlock_trywrlock): Add elision.
24326         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24327         (pthread_rwlock_tryrdlock): Add elision.
24328         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24329         (pthread_rwlock_tryrdlock): Add elision unlock.
24330         * nptl/sysdeps/pthread/pthread.h:
24331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24332         (PTHREAD_RWLOCK_INITIALIZER,
24333         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24334         Handle new elision field.
24335         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24336         * sysdeps/arm/nptl/bits/pthreadtypes.h
24337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24338         * sysdeps/sh/nptl/bits/pthreadtypes.h
24339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24340         * sysdeps/tile/nptl/bits/pthreadtypes.h
24341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24342         * sysdeps/a/nptl/bits/pthreadtypes.h
24343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24344         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24346         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24348         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24350         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24352         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24354         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24356         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24358         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24360         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24361         (elision_init): Set try_xbegin to zero when no RTM.
24362         * sysdeps/x86/nptl/bits/pthreadtypes.h
24363         (pthread_rwlock_t): Change __pad1 to __rwelision.
24364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24366 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24368         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24369         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24370         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24371         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24373 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24375         [BZ #16996]
24376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24377         that the cached result has been set before returning it.
24379 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24381         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24382         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24383         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24384         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24385         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24386         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24388         * nptl/sysdeps/sparc/Makefile: Moved ...
24389         * sysdeps/sparc/nptl/Makefile: ... here.
24390         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24391         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24392         * nptl/sysdeps/sparc/tls.h: Moved ...
24393         * sysdeps/sparc/nptl/tls.h: ... here.
24394         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24395         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24396         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24397         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24398         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24399         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24400         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24401         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24402         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24403         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24404         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24405         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24406         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24407         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24408         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24409         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24410         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24411         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24412         Update #include.
24413         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24414         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24415         Update #include.
24416         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24418         Update #include.
24419         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24420         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24421         Update #include.
24423         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24425         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24426         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24428         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24429         (struct list_links): Type removed.
24430         (struct thread_node, struct timer_node): Replace struct list_links
24431         with struct list_head.
24432         (list_unlink_ip): Likewise.
24433         * sysdeps/pthread/timer_routines.c
24434         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24435         (list_append, list_insbefore): Likewise.
24436         (list_init): Function removed.
24437         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24438         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24439         * sysdeps/pthread/Makefile: ... here, new file.
24441         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24442         * sysdeps/nptl/Implies: ... here.
24443         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24444         * nptl/sysdeps/pthread/list.h: Moved ...
24445         * include/list.h: ... here.
24446         * nptl/sysdeps/pthread/createthread.c: Moved ...
24447         * nptl/createthread.c: ... here.
24448         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24449         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24450         * nptl/pt-longjmp.c: ... here.
24451         * nptl/sysdeps/pthread/Makefile: Moved ...
24452         * sysdeps/nptl/Makefile: ... here.
24453         * nptl/sysdeps/pthread/Subdirs: Moved ...
24454         * sysdeps/nptl/Subdirs: ... here.
24455         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24456         * sysdeps/nptl/aio_misc.h: ... here.
24457         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24458         * sysdeps/nptl/bits/libc-lock.h: ... here.
24459         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24460         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24461         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24462         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24463         * nptl/sysdeps/pthread/configure: Moved ...
24464         * sysdeps/nptl/configure: ... here.
24465         * nptl/sysdeps/pthread/configure.ac: Moved ...
24466         * sysdeps/nptl/configure.ac: ... here.
24467         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24468         * sysdeps/nptl/gai_misc.h: ... here.
24469         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24470         * sysdeps/nptl/librt-cancellation.c: ... here.
24471         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24472         * sysdeps/nptl/malloc-machine.h: ... here.
24473         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24474         * sysdeps/nptl/pthread-functions.h: ... here.
24475         * nptl/sysdeps/pthread/pthread.h: Moved ...
24476         * sysdeps/nptl/pthread.h: ... here.
24477         * nptl/sysdeps/pthread/setxid.h: Moved ...
24478         * sysdeps/nptl/setxid.h: ... here.
24479         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24480         * sysdeps/nptl/sigfillset.c: ... here.
24481         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24482         * sysdeps/nptl/tcb-offsets.h: ... here.
24483         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24484         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24485         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24486         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24487         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24488         * sysdeps/pthread/allocalim.h: ... here.
24489         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24490         * sysdeps/pthread/bits/sigthread.h: ... here.
24491         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24492         * sysdeps/pthread/flockfile.c: ... here.
24493         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24494         * sysdeps/pthread/ftrylockfile.c: ... here.
24495         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24496         * sysdeps/pthread/funlockfile.c: ... here.
24497         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24498         * sysdeps/pthread/posix-timer.h: ... here.
24499         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24500         * sysdeps/pthread/timer_create.c: ... here.
24501         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24502         * sysdeps/pthread/timer_delete.c: ... here.
24503         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24504         * sysdeps/pthread/timer_getoverr.c: ... here.
24505         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24506         * sysdeps/pthread/timer_gettime.c: ... here.
24507         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24508         * sysdeps/pthread/timer_routines.c: ... here.
24509         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24510         * sysdeps/pthread/timer_settime.c: ... here.
24511         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24512         * sysdeps/pthread/tst-timer.c: ... here.
24513         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24514         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24516         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24517         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24519         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24520         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24521         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24522         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24523         Update #include target.
24524         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24525         * sysdeps/i386/i686/nptl/Makefile: ... here.
24526         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24527         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24528         Update #include target.
24529         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24530         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24531         * nptl/sysdeps/i386/Makefile: Moved ...
24532         * sysdeps/i386/nptl/Makefile: ... here.
24533         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24534         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24535         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24536         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24537         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24538         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24539         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24540         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24541         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24542         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24543         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24544         * nptl/sysdeps/i386/tls.h: Moved ...
24545         * sysdeps/i386/nptl/tls.h: ... here.
24547         * sysdeps/sh/Makefile [$(subdir) = csu]
24548         (gen-as-const-headers): Add tcb-offsets.sym.
24549         * nptl/sysdeps/sh/Makefile: File removed.
24550         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24551         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24552         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24553         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24554         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24555         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24556         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24557         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24558         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24559         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24560         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24561         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24562         * nptl/sysdeps/sh/tls.h: Moved ...
24563         * sysdeps/sh/nptl/tls.h: ... here.
24564         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24565         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24566         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24567         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24568         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24569         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24570         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24571         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24572         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24573         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24575         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24577         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24579         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24581         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24582         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24583         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24585         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24587         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24588         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24589         Moved ...
24590         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24592         Moved ...
24593         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24597         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24598         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24599         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24600         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24601         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24602         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24603         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24604         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24605         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24606         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24607         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24608         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24609         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24610         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24611         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24613 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24615         * posix/spawn_faction_addopen.c: Include string.h.
24617 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24619         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24620         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24621         * nptl/sysdeps/x86_64/Makefile: Moved ...
24622         * sysdeps/x86_64/nptl/Makefile: ... here.
24623         * nptl/sysdeps/x86_64/configure: Moved ...
24624         * sysdeps/x86_64/nptl/configure: ... here.
24625         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24626         * sysdeps/x86_64/nptl/configure.ac: ... here.
24627         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24628         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24629         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24630         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24631         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24632         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24633         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24634         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24635         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24636         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24637         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24638         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24639         * nptl/sysdeps/x86_64/tls.h: Moved ...
24640         * sysdeps/x86_64/nptl/tls.h: ... here.
24641         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24642         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24643         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24644         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24646         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24648 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24652 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24654         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24655         type.
24656         [POSIX] (off_t): Likewise.
24657         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24658         [POSIX] (S_ISBLK): Require macro.
24659         [POSIX] (S_ISCHR): Likewise.
24660         [POSIX] (S_ISDIR): Likewise.
24661         [POSIX] (S_ISFIFO): Likewise.
24662         [POSIX] (S_ISREG): Likewise.
24663         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24664         optional-macro.
24665         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24666         type.
24667         [POSIX] (time_t): Likewise.
24668         [POSIX] (timer_t): Likewise.
24670 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24672         [BZ #17048]
24673         * posix/spawn_int.h (struct __spawn_action): Make the path string
24674         non-const to support deallocation.
24675         * posix/spawn_faction_addopen.c
24676         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24677         * posix/spawn_faction_destroy.c
24678         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24679         path in all spawn_do_open actions.
24680         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24681         posix_spawn_file_actions_addopen.
24683 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24685         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24686         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24687         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24688         conditional code always true.
24689         (__libc_vfork): New alias.
24691 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24693         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24694         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24696         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24698         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24699         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24701         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24702         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24704         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24705         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24707 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24709         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24710         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24711         multiarch strcmp for PPC64.
24712         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24713         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24715         multiarch optimizations.
24716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24717         (__libc_ifunc_impl_list): Likewise.
24719 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24721         * benchtests/scripts/validate_benchout.py: New script.
24722         * benchtests/Makefile (bench-func): Call it.
24723         * benchtests/scripts/benchout.schema.json: New file.
24725 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24727         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24728         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24729         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24730         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24731         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24732         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24733         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24734         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24735         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24736         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24737         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24738         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24739         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24740         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24741         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24742         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24744         Moved ...
24745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24746         ... here.
24747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24748         Moved ...
24749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24751         Moved ...
24752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24753         ... here.
24754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24755         Moved ...
24756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24757         ... here.
24758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24759         Moved ...
24760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24762         Moved ...
24763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24764         ... here.
24765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24766         Moved ...
24767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24768         ... here.
24769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24770         Moved ...
24771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24773         Moved ...
24774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24775         ... here.
24776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24777         Moved ...
24778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24779         ... here.
24780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24781         Moved ...
24782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24783         ... here.
24784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24785         Moved ...
24786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24788         Moved ...
24789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24790         ... here.
24791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24792         Moved ...
24793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24794         ... here.
24795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24796         Moved ...
24797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24798         ... here.
24799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24800         Moved ...
24801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24803         Moved ...
24804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24805         ... here.
24806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24807         Moved ...
24808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24809         ... here.
24810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24811         Moved ...
24812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24814         Moved ...
24815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24816         ... here.
24817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24818         Moved ...
24819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24821         Moved ...
24822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24824         Moved ...
24825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24826         ... here.
24827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24828         Moved ...
24829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24830         ... here.
24831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24832         Moved ...
24833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24834         ... here.
24835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24836         Moved ...
24837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24839         Moved ...
24840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24841         ... here.
24842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24843         Moved ...
24844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24845         ... here.
24846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24847         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24849         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24851         Moved ...
24852         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24853         ... here.
24854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24855         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24857         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24859         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24861         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24863         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24865         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24870         Moved ...
24871         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24873         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24878         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24879         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24880         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24881         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24882         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24884 2014-06-10  Wilco  <wdijkstr@arm.com>
24886         * math/test-fenv-return.c: New file.
24887         * math/Makefile: Add new test test-fenv-return.
24889 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24891         [BZ #17042]
24892         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24893         when x - 1 is zero.
24894         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24895         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24896         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24897         0.0L for an argument of 1.0L.
24898         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24899         Likewise.
24900         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24901         value when x - 1 is zero.
24902         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24903         * sysdeps/i386/fpu/libm-test-ulps: Update.
24904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24906 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24908         [BZ #15119]
24909         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24911 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24913         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24914         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24916 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24918         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24919         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24921         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24922         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24924         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24925         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24927         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24928         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24930         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24931         if not already defined.
24932         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24933         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24934         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24935         (TLS_INIT_TP): Use it.
24936         (TLS_DEFINE_INIT_TP): New macro.
24937         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24939 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24941         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24942         constant.
24943         [POSIX] (IXANY): Likewise.
24944         [POSIX] (OLCUC): Likewise.
24945         [POSIX || POSIX2008] (CBAUD): Do not allow.
24946         [POSIX || POSIX2008] (DEFECHO): Likewise.
24947         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24948         [POSIX || POSIX2008] (ECHOKE): Likewise.
24949         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24950         [POSIX || POSIX2008] (EXTA): Likewise.
24951         [POSIX || POSIX2008] (EXTB): Likewise.
24952         [POSIX || POSIX2008] (FLUSHO): Likewise.
24953         [POSIX || POSIX2008] (LOBLK): Likewise.
24954         [POSIX || POSIX2008] (PENDIN): Likewise.
24955         [POSIX || POSIX2008] (SWTCH): Likewise.
24956         [POSIX || POSIX2008] (VDISCARD): Likewise.
24957         [POSIX || POSIX2008] (VDSUSP): Likewise.
24958         [POSIX || POSIX2008] (VLNEXT): Likewise.
24959         [POSIX || POSIX2008] (VREPRINT): Likewise.
24960         [POSIX || POSIX2008] (VSTATUS): Likewise.
24961         [POSIX || POSIX2008] (VWERASE): Likewise.
24962         (B*): Change to B[0123456789]*.
24963         * conform/data/time.h-data [POSIX || UNIX98]
24964         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24965         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24966         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24967         [POSIX] (tm_*): Do not allow.
24969 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24971         * Makefile (install): Don't set LANGUAGE.
24972         * Makefile.in (install): Likewise.
24973         * assert/Makefile (test-assert-ENV): Remove variable.
24974         (test-assert-perr-ENV): Likewise.
24975         * elf/Makefile (neededtest4-ENV): Likewise.
24976         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24977         [$(cross-compiling) = no]: Don't set LANGUAGE.
24978         * io/ftwtest-sh (LANG): Remove variable.
24979         * libio/Makefile (tst-widetext-ENV): Likewise.
24980         * manual/install.texi (Running make install): Don't refer to
24981         environment settings for make install.
24982         * INSTALL: Regenerated.
24983         * nptl/tst-tls6.sh: Don't set LANG.
24984         * posix/globtest.sh (LANG): Remove variable.
24985         * string/Makefile (tester-ENV): Likewise.
24986         (inl-tester-ENV): Likewise.
24987         (noinl-tester-ENV): Likewise.
24988         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24989         [$(cross-compiling) = no]: Don't set LANGUAGE.
24990         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24991         without explicit environment settings.
24993 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24995         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24996         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24997         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24998         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25000 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25002         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25003         other files in the crypt directory.
25004         * crypt/crypt.c: Remove duplicate includes.
25005         * crypt/crypt-entry.c: Likewise.
25006         * crypt/crypt_util.c: Likewise.
25008 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25010         * Makeconfig (run-program-env): New variable.
25011         (run-program-prefix-before-env): Likewise.
25012         (run-program-prefix-after-env): Likewise.
25013         (run-program-prefix): Define in terms of new variables.
25014         (built-program-cmd-before-env): New variable.
25015         (built-program-cmd-after-env): Likewise.
25016         (built-program-cmd): Define in terms of new variables.
25017         (test-program-prefix-before-env): New variable.
25018         (test-program-prefix-after-env): Likewise.
25019         (test-program-prefix): Define in terms of new variables.
25020         (test-program-cmd-before-env): New variable.
25021         (test-program-cmd-after-env): Likewise.
25022         (test-program-cmd): Define in terms of new variables.
25023         * Rules (make-test-out): Use $(run-program-env).
25024         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25025         (help): Do not mention environment variables.  Mention
25026         --timeoutfactor option.
25027         (timeoutfactor): New variable.
25028         (blacklist_exports): Remove function.
25029         (exports): Remove variable.
25030         (command): Do not include ${exports}.
25031         * manual/install.texi (Configuring and compiling): Do not mention
25032         test wrappers preserving environment variables.  Mention that last
25033         assignment to a variable must take precedence.
25034         * INSTALL: Regenerated.
25035         * benchtests/Makefile (run-bench): Use $(run-program-env).
25036         * catgets/Makefile ($(objpfx)test1.cat): Use
25037         $(built-program-cmd-before-env), $(run-program-env) and
25038         $(built-program-cmd-after-env).
25039         ($(objpfx)test2.cat): Do not specify environment variables
25040         explicitly.
25041         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25042         $(run-program-env) and $(built-program-cmd-after-env).
25043         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25044         $(run-program-env) and $(test-program-cmd-after-env).
25045         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25046         explicitly.
25047         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25048         run_program_env and test_program_cmd_after_env arguments.
25049         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25050         * elf/tst-pathopt.sh: Use run_program_env argument.
25051         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25052         $(test-wrapper-env) and $(run-program-env).
25053         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25054         run_program_env arguments.
25055         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25056         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25057         $(test-program-prefix-before-env), $(run-program-env) and
25058         $(test-program-prefix-after-env).
25059         ($(objpfx)tst-gettext2.out): Likewise.
25060         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25061         run_program_env and test_program_prefix_after_env arguments.
25062         * intl/tst-gettext2.sh: Likewise.
25063         * intl/tst-gettext4.sh: Do not set environment variables
25064         explicitly.
25065         * intl/tst-gettext6.sh: Likewise.
25066         * intl/tst-translit.sh: Likewise.
25067         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25068         $(test-program-prefix-before-env), $(run-program-env) and
25069         $(test-program-prefix-after-env).
25070         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25071         run_program_env and test_program_prefix_after_env arguments.
25072         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25073         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25074         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25075         explicitly with each use of ${test_wrapper_env}.
25076         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25077         $(test-program-prefix-before-env), $(run-program-env) and
25078         $(test-program-prefix-after-env).
25079         * posix/tst-getconf.sh: Do not set environment variables
25080         explicitly.
25081         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25082         run_program_env and test_program_prefix_after_env arguments.
25083         * stdio-common/tst-printf.sh: Do not set environment variables
25084         explicitly.
25085         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25086         $(test-program-prefix-before-env), $(run-program-env) and
25087         $(test-program-prefix-after-env).
25088         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25089         run_program_env and test_program_prefix_after_env arguments.
25090         Split $test calls into $test_pre and $test.
25091         * timezone/Makefile (build-testdata): Use
25092         $(built-program-cmd-before-env), $(run-program-env) and
25093         $(built-program-cmd-after-env).
25095 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25097         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25098         strlen for non SHARED builds.
25100 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102         * nptl/allocatestack.c (check_list): Inlined function...
25103         (__reclaim_stacks): ... here.
25105 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25107         [BZ #15698]
25108         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25109         memory overrun.
25111 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25113         * Rules (make-test-out): Include
25114         LOCPATH=$(common-objpfx)localedata in default environment.
25115         * debug/Makefile (tst-chk1-ENV): Remove variable.
25116         (tst-chk2-ENV): Likewise.
25117         (tst-chk3-ENV): Likewise.
25118         (tst-chk4-ENV): Likewise.
25119         (tst-chk5-ENV): Likewise.
25120         (tst-chk6-ENV): Likewise.
25121         (tst-lfschk1-ENV): Likewise.
25122         (tst-lfschk2-ENV): Likewise.
25123         (tst-lfschk3-ENV): Likewise.
25124         (tst-lfschk4-ENV): Likewise.
25125         (tst-lfschk5-ENV): Likewise.
25126         (tst-lfschk6-ENV): Likewise.
25127         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25128         (tst-iconv7-ENV): Likewise.
25129         * intl/Makefile (LOCPATH-ENV): Likewise.
25130         (tst-codeset-ENV): Likewise.
25131         (tst-gettext3-ENV): Likewise.
25132         (tst-gettext5-ENV): Likewise.
25133         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25134         (tst-fopenloc-ENV): Likewise.
25135         (tst-fgetws-ENV): Remove variable.
25136         (tst-ungetwc1-ENV): Likewise.
25137         (tst-ungetwc2-ENV): Likewise.
25138         (bug-ungetwc2-ENV): Likewise.
25139         (tst-swscanf-ENV): Likewise.
25140         (bug-ftell-ENV): Likewise.
25141         (tst-fgetwc-ENV): Likewise.
25142         (tst-fseek-ENV): Likewise.
25143         (tst-ftell-partial-wide-ENV): Likewise.
25144         (tst-ftell-active-handler-ENV): Likewise.
25145         (tst-ftell-append-ENV): Likewise.
25146         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25147         (tst-regexloc-ENV): Likewise.
25148         (bug-regex1-ENV): Likewise.
25149         (tst-regex-ENV): Likewise.
25150         (tst-regex2-ENV): Likewise.
25151         (bug-regex5-ENV): Likewise.
25152         (bug-regex6-ENV): Likewise.
25153         (bug-regex17-ENV): Likewise.
25154         (bug-regex18-ENV): Likewise.
25155         (bug-regex19-ENV): Likewise.
25156         (bug-regex20-ENV): Likewise.
25157         (bug-regex22-ENV): Likewise.
25158         (bug-regex23-ENV): Likewise.
25159         (bug-regex25-ENV): Likewise.
25160         (bug-regex26-ENV): Likewise.
25161         (bug-regex30-ENV): Likewise.
25162         (bug-regex32-ENV): Likewise.
25163         (bug-regex33-ENV): Likewise.
25164         (bug-regex34-ENV): Likewise.
25165         (bug-regex35-ENV): Likewise.
25166         (tst-rxspencer-ENV): Likewise.
25167         (tst-rxspencer-no-utf8-ENV): Likewise.
25168         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25169         (tst-sscanf-ENV): Likewise.
25170         (tst-swprintf-ENV): Likewise.
25171         (tst-swscanf-ENV): Likewise.
25172         (test-vfprintf-ENV): Likewise.
25173         (scanf13-ENV): Likewise.
25174         (bug14-ENV): Likewise.
25175         (tst-grouping-ENV): Likewise.
25176         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25177         (tst-strtod3-ENV): Likewise.
25178         (tst-strtod4-ENV): Likewise.
25179         (tst-strtod5-ENV): Likewise.
25180         (testmb2-ENV): Likewise./
25181         * string/Makefile (tst-strxfrm-ENV): Likewise.
25182         (tst-strxfrm2-ENV): Likewise.
25183         (bug-strcoll1-ENV): Likewise.
25184         (test-strcasecmp-ENV): Likewise.
25185         (test-strncasecmp-ENV): Likewise.
25186         * time/Makefile (tst-strptime-ENV): Likewise.
25187         (tst-ftime_l-ENV): Likewise.
25188         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25189         (tst-mbrtowc-ENV): Likewise.
25190         (tst-wcrtomb-ENV): Likewise.
25191         (tst-mbrtowc2-ENV): Likewise.
25192         (tst-c16c32-1-ENV): Likewise.
25193         (tst-mbsnrtowcs-ENV): Likewise.
25195 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25197         * manual/resource.texi (How to get information about the memory
25198         subsystem?): Fix typo.
25199         Reported by Peon de la Parra Ivan <peon@keba.com>
25201 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25203         [BZ #16882]
25204         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25205         (pthread_spin_lock): Branch out of spin loop to proper location.
25206         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25207         (pthread_spin_lock): Likewise.
25209         * nptl/tst-spin4.c: New test.
25210         * nptl/Makefile (tests): Add tst-spin4.
25212 2014-06-03  Andreas Schwab  <schwab@suse.de>
25214         [BZ #15946]
25215         * resolv/res_send.c (send_dg): Reload file descriptor after
25216         calling reopen.
25218 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25220         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25222 2014-06-03  Richard Henderson  <rth@redhat.com>
25224         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25225         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25226         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25227         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25228         in the SAVE_PID block.
25229         (__libc_vfork): New alias.
25230         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25232         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25233         child in registers, not on the stack.  Remove RESET_PID conditionals.
25234         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25236 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25238         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25240 2014-06-03  Wilco  <wdijkstr@arm.com>
25242         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25243         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25244         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25245         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25246         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25247         Likewise.
25249 2014-06-03  Wilco  <wdijkstr@arm.com>
25251         * sysdeps/aarch64/fpu/math_private.h
25252         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25253         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25254         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25255         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25256         Fix declarations.
25258 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25260         * crypt/crypt-private.h: Include ufc-crypt.h.
25261         (__b64_from_24bit): Declare extern.
25262         * crypt/crypt_util.c(__b64_from_24bit): New function.
25263         (b64t): New static const variable.
25264         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25265         (b64t): Remove variable.
25266         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25267         * crypt/sha256-crypt.c: Include crypt-private.h.
25268         (b64t): Remove variable.
25269         (__sha256_crypt_r): Remove b64_from_24bit and replace
25270         with __b64_from_24bit.
25271         * crypt/sha512-crypt.c: Likewise.
25273 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25275         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25276         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25277         Label the code __libc_vfork rather than __vfork.
25278         [!NOT_IN_libc] (vfork): Define as weak alias.
25279         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25280         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25281         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25283 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25285         * malloc/malloc.c (malloc_info): Fix format specifier for
25286         n_mmaps.
25288 2014-06-02  Wilco  <wdijkstr@arm.com>
25290         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25291         FPCR write.
25293 2014-06-02  Wilco  <wdijkstr@arm.com>
25295         [BZ #17009]
25296         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25297         Rewrite to reduce FPCR/FPSR accesses.
25299 2014-06-01  David S. Miller  <davem@davemloft.net>
25301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25303 2014-05-31  David S. Miller  <davem@davemloft.net>
25305         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25306         to occur in round to nearest mode when |x| >= 2.0
25308 2014-05-30  Richard Henderson  <rth@twiddle.net>
25310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25311         (PSEUDO_RET_NOERRNO): Remove.
25312         (ret): Don't redefine.
25313         (ret_NOERRNO): Define in terms of ret.
25314         (ret_ERRVAL): Likewise.
25316         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25317         use of PSEUDO_RET; perform the error check directly.
25319 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25321         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25322         with __int128_t.
25324 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25326         * malloc/malloc (malloc_info): Fix formatting.
25328 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25329             Roland McGrath  <roland@hack.frob.com>
25331         * malloc/malloc (malloc_info): Also print mmapped statistics.
25333 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25335         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25336         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25338 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25340         * malloc/malloc.c (malloc_info): Inline mi_arena.
25342 2014-05-29  Richard Henderson  <rth@twiddle.net>
25344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25345         Remove comma before expanding ASM_ARGS_##nr.
25346         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25347         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25348         of ASM_ARGS_##nr.
25349         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25350         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25351         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25352         (ASM_ARGS_1): Add leading comma.
25354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25355         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25356         to __errno_location.
25357         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25358         Remove the expected plt for __errno_location.
25360         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25361         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25362         call to __read_tp.
25364         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25365         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25366         it and break it down.
25367         (DOCARGS_0, DOCARGS_1): Do nothing.
25368         (DOCARGS_2): Update to store into the new stack frame.
25369         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25370         (UNDOCARGS_1): Update to restore from the new stack frame.
25371         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25372         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25375         (SINGLE_THREAD_P): New parameter for result regno.
25376         (PSEUDO): Update to match; use cbz instead of beq.
25378         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25379         Use ENTRY to define the _nocancel entry point.  Share the syscall
25380         and syscall error check paths with the cancel path.
25381         (PSEUDO_END): New.
25383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25384         whitespace; tabs before and after asm mnemonics.
25386 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25388         [BZ #15132]
25389         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25390         Call fstat64 or stat64 internally, depending on arguments passed.
25391         Replace stat buffer argument with file descriptor argument.
25392         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25393         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25394         Pass fd to __internal_statvfs instead of calling fstat64.
25395         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25396         Pass fd to __internal_statvfs64 instead of calling fstat64.
25397         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25398         Pass -1 to __internal_statvfs instead of calling stat64.
25399         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25400         Pass -1 to __internal_statvfs64 instead of calling stat64.
25402 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25404         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25405         that was previously under [RESET_PID].
25406         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25408         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25409         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25411 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25413         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25415         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25416         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25418 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25420         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25422 2014-05-27  Andreas Schwab  <schwab@suse.de>
25424         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25425         TLS_INIT_TP macro.
25426         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25427         * elf/rtld.c (init_tls, dl_main): Likewise.
25428         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25429         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25430         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25431         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25432         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25433         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25434         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25435         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25436         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25437         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25438         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25439         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25440         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25441         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25442         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25443         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25444         * sysdeps/generic/tls.h: Update description.
25446 2014-05-27  Will Newton  <will.newton@linaro.org>
25448         [BZ #16990]
25449         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25450         and restore r2 rather than just restoring.
25452 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25454         [BZ #16724]
25455         * libio/tst-ftell-append.c: New test case.
25456         * libio/Makefile (tests): Add test case.
25457         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25458         append mode.
25459         * libio/wfileops.c (do_ftell_wide): Likewise.
25461 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25465         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25466         ...
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25469         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25470         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25471         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25472         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25473         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25474         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25476         Moved ...
25477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25479         Moved ...
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25481         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25482         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25484         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25485         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25486         ...
25487         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25488         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25489         Moved ...
25490         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25491         here.
25492         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25493         ...
25494         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25496         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25498         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25499         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25500         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25501         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25504         merge into ...
25505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25507         ...
25508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25510         ...
25511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25513         Moved ...
25514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25515         here.
25516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25517         Moved ...
25518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25520         Moved ...
25521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25524         conditional [RESET_PID].
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25527         removed.
25528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25529         removed.
25531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25532         <tcb-offsets.h>.
25533         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25534         (__libc_vfork): New strong alias.
25535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25536         removed.
25537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25538         Removed.
25540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25541         <tcb-offsets.h>.
25542         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25543         (__libc_vfork): New strong alias.
25544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25545         removed.
25546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25547         removed.
25549 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25551         * malloc/malloc.c (mi_arena): New function.
25552         (malloc_info): Remove nested function mi_arena. Call non-nosted
25553         function mi_arena.
25555 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25557         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25558         by insrwi.
25559         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25560         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25561         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25562         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25563         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25564         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25565         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25567 2014-05-26  Andreas Schwab  <schwab@suse.de>
25569         [BZ #16984]
25570         * locale/programs/repertoire.c (repertoire_read): Add slash
25571         between I18NPATH element and file name.
25572         * locale/programs/locfile.c (locfile_read): Likewise.
25574 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25576         * nptl/pthread_mutexattr_settype.c
25577         (__pthread_mutexattr_settype):
25578         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25580 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25582         * nptl/tst-mutex5 (do_test):
25583         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25585 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25587         * benchtests/README: Document 'init' directive.
25588         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25589         BENCH_INIT.
25590         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25591         (parse_file): Recognize 'init' directive.
25593 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25595         [BZ #16796]
25596         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25597         alignment of struct pthread.
25599 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25601         [BZ #16878]
25602         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25603         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25604         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25605         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25607 2014-05-25  Richard Henderson  <rth@twiddle.net>
25609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25610         (SINGLE_THREAD_P_PIC): Remove.
25611         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25612         (SINGLE_THREAD_P_PIC): Remove.
25614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25615         branch to syscall error ...
25616         (PSEUDO): ... here.
25617         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25618         from __local_syscall_error to .Lsyscall_error.
25619         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25620         (SYSCALL_ERROR): Update label name.
25622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25623         Do not use DOARGS/UNDOARGS.
25624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25625         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25626         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25627         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25628         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25630         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25631         block comment.
25633         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25634         define if !NOT_IN_libc.
25635         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25636         define with non-default symbol versions.
25638 2014-05-23  Richard Henderson  <rth@twiddle.net>
25640         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25641         (vfork, __vfork): Define via compat_symbol.
25643         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25644         [!HAVE_IFUNC] (vfork_compat): Remove.
25645         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25647 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25649         [BZ #16978]
25650         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25651         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25652         variable.
25654 2014-05-23  Richard Henderson  <rth@twiddle.net>
25656         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25657         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25658         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25659         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25661         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25662         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25663         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25664         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25665         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25666         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25667         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25668         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25669         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25670         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25671         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25672         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25673         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25674         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25675         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25676         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25677         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25678         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25679         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25680         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25681         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25682         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25683         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25684         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25685         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25686         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25687         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25688         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25689         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25690         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25691         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25692         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25693         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25694         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25695         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25696         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25697         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25698         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25699         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25700         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25701         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25702         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25703         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25704         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25705         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25706         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25707         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25708         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25710         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25711         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25712         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25714         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25716         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25718         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25719         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25720         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25721         before exiting on error.
25722         (__libc_vfork): New strong alias.
25723         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25724         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25726         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25727         that was previously under [RESET_PID].
25728         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25730         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25732 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25734         [BZ #16977]
25735         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25736         value when x - 1 is zero.
25737         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25738         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25739         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25740         0.0L for an argument of 1.0L.
25741         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25742         Likewise.
25743         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25744         value when x - 1 is zero.
25745         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25746         * sysdeps/i386/fpu/libm-test-ulps: Update.
25747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25749 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25751         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25752         alphasort and versionsort.
25754 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25756         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25757         macro.
25758         [copysignf]: Likewise.
25760 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25762         * crypt/md5-crypt.c: Fix formatting.
25764 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25766         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25767         (b64_from_24bit): New function.
25769 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25771         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25772         libc_hidden_builtin_def to ifunc.
25773         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25774         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25776 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25778         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25779         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25781 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25783         * nscd/Depend (linuxthreads): Remove.
25784         (nptl): Add.
25785         * resolv/Depend (linuxthreads): Remove.
25786         * rt/Depend (linuxthreads): Remove.
25788         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25789         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25790         $(common-objpfx)elf/.
25791         (link-libc-before-gnulib): Likewise.
25792         (elfobjdir): Remove variable.
25793         * Makefile (install): Use $(elf-objpfx) instead of
25794         $(common-objpfx)elf/.
25795         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25796         $(elfobjdir)/.
25797         (link-libc-deps): Likewise.
25798         ($(common-objpfx)libc.so): Likewise.
25799         ($(common-objpfx)linkobj/libc.so): Likewise.
25800         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25801         instead of $(common-objpfx)elf/.
25802         (symbolic-link-list): Likewise.
25803         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25804         [$(cross-compiling) = no]: Likewise.
25805         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25806         $(elfobjdir)/.
25807         (static-gnulib-arch): Likewise.
25808         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25809         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25810         $(common-objpfx)elf/.
25812 2014-05-21  Richard Henderson  <rth@redhat.com>
25814         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25815         (SINGLE_THREAD_P): Use the correct width load.  Fold
25816         into the ldr offset.
25818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25819         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25821 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25823         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25824         (libgcc_s_resume): Use __attribute_used__.
25825         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25826         Likewise.
25828 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25830         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25831         optimization when used with float constants.
25833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25835 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25837         [BZ #16915]
25838         * locale/nl_langinfo_l.c: Make direct reference to every
25839         _nl_current_CATEGORY symbol.
25840         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25841         (tests-static): Add tst-langinfo-static.
25842         (tests-special): Add tst-langinfo-static.out.
25843         ($(objpfx)tst-langinfo.out): Redirect output.
25844         ($(objpfx)tst-langinfo-static.out): New.
25845         * localedata/tst-langinfo.sh: Send output to stdout.
25846         * localedata/tst-langinfo-static.c: New file.
25848         [BZ #16965]
25849         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25850         when the shift amount is modulo the limb size.
25852 2014-05-20  Richard Henderson  <rth@redhat.com>
25854         [BZ #16967]
25855         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25856         Change type of sa_flags from unsigned int to int.
25858         [BZ #16966]
25859         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25861         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25863 2014-05-20  Will Newton  <will.newton@linaro.org>
25865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25866         Test the return value of the system call in the nocancel case.
25868 2014-05-20  Will Newton  <will.newton@linaro.org>
25869             Yvan Roux  <yvan.roux@linaro.org>
25871         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25872         #include of asm/ptrace.h.
25873         (PTRACE_GET_THREAD_AREA): Remove #undef.
25874         (PTRACE_GETHBPREGS): Likewise.
25875         (PTRACE_SETHBPREGS): Likewise.
25876         (struct user_regs_struct): New structure.
25877         (struct user_fpsimd_struct): New structure.
25878         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25879         #include of asm/ptrace.h and second #include of sys/user.h.
25880         (PTRACE_GET_THREAD_AREA): Remove #undef.
25881         (PTRACE_GETHBPREGS): Likewise.
25882         (PTRACE_SETHBPREGS): Likewise.
25883         (ELF_NGREG): Use new struct user_regs_struct.
25884         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25886 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25888         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25891 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25893         [BZ #16958]
25894         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25895         membar to avoid block loads/stores to overlap previous stores.
25897 2014-05-17  Richard Henderson  <rth@redhat.com>
25899         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25900         Create the __##syscall_name##_nocancel entry point.
25901         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25902         Remove; let the sysdep-cancel.h code create it.
25904 2014-05-17  David S. Miller  <davem@davemloft.net>
25906         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25907         Protect with __USE_GNU.
25908         (TIOCSET_TEMPT): Likewise.
25909         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25910         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25911         these are already provided in bits/ioctl-types.h
25913 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25915         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25916         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25918         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25919         Use wait4 regardless of [__NR_waitpid].
25921 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25923         PR libgcc/60166
25924         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25925         (_FP_NANSIGN_Q): Set the quiet bit.
25927 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25929         * benchtests/Makefile
25930         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25931         not $(common-objpfx)math/libm.so.
25932         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25933         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25934         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25935         $(common-objpfx)dlfcn/libdl.so.
25936         ($(objpfx)tst-audit8): Depend on $(libm), not
25937         $(common-objpfx)math/libm.so.
25938         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25939         not $(common-objpfx)dlfcn/libdl.so.
25940         * math/Makefile
25941         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25942         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25943         [$(build-shared) = yes].
25944         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25945         $(common-objpfx)nptl/libpthread.so.
25946         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25947         $(common-objpfx)math/libm.so$(libm.so-version) or
25948         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25949         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25950         $(common-objpfx)dlfcn/libdl.so.
25951         * setjmp/Makefile (link-libm): Remove variable.
25952         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25953         * stdio-common/Makefile (link-libm): Remove variable.
25954         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25955         * stdlib/Makefile (link-libm): Remove variable.
25956         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25957         ($(objpfx)tst-strtod-round): Likewise.
25958         ($(objpfx)tst-tininess): Likewise.
25959         ($(objpfx)tst-strtod-underflow): Likewise.
25960         ($(objpfx)tst-strtod6): Likewise.
25961         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25962         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25963         $(common-objpfx)dlfcn/libdl.so.
25965 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25967         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25968         BSD terminal modes definitions.
25970 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25972         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25973         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25975         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25976         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25977         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25978         Don't do #include_next.
25979         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25980         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25981         Don't do #include_next.
25982         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25983         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25984         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25985         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25987 2014-05-16  Allan McRae  <allan@archlinux.org>
25989         * po/sv.po: Update Swedish translation from translation project.
25991         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25992         in sed expression.
25994 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25996         [BZ #16917]
25997         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25998         errno if the TIOCGPTN ioctl fails with an error different than
25999         EINVAL.
26000         * login/tst-ptsname.c: New file.
26001         * login/Makefile (tests): Add tst-ptsname.
26003         [BZ #16943]
26004         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26005         and prlimit64.
26007 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26009         [BZ #16849]
26010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26011         herrno to return EAI_AGAIN.
26013 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26015         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26016         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26017         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26018         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26019         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26020         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26021         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26022         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26023         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26024         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26025         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26026         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26027         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26028         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26029         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26030         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26031         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26032         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26033         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26034         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26035         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26036         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26037         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26038         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26039         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26040         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26041         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26042         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26043         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26044         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26046         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26048         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26050         Moved ...
26051         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26053         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26055         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26057         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26059         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26061         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26063         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26065         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26067         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26069         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26071         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26073         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26075         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26077         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26079         Moved ...
26080         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26082         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26084         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26086         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26088         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26092         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26094         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26096         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26098         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26100         Moved ...
26101         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26105         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26106         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26107         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26108         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26109         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26110         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26111         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26112         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26113         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26114         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26115         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26116         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26117         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26118         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26119         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26120         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26121         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26122         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26123         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26124         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26125         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26126         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26127         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26128         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26129         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26130         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26131         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26132         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26133         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26134         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26135         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26137         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26138         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26140         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26141         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26142         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26143         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26144         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26145         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26146         Moved ...
26147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26149         Moved ...
26150         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26151         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26152         Moved ...
26153         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26154         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26155         Moved ...
26156         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26157         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26158         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26159         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26160         Moved ...
26161         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26163         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26165         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26166         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26167         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26168         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26169         Moved ...
26170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26171         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26172         Moved ...
26173         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26174         ... here.
26175         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26176         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26177         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26178         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26180         Moved ...
26181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26182         ... here.
26183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26184         Moved ...
26185         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26186         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26187         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26188         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26189         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26190         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26191         Moved ...
26192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26194         Moved ...
26195         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26196         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26197         Moved ...
26198         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26200         Moved ...
26201         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26202         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26203         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26204         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26205         Moved ...
26206         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26207         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26208         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26211         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26212         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26214         Moved ...
26215         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26216         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26217         Moved ...
26218         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26219         ... here.
26220         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26221         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26222         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26223         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26225         Moved ...
26226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26227         ... here.
26228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26229         Moved ...
26230         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26231         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26232         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26234         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26235         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26236         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26237         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26238         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26240         Moved ...
26241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26242         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26243         Moved ...
26244         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26246         Moved ...
26247         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26248         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26249         Moved ...
26250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26251         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26252         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26254         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26256         Moved ...
26257         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26258         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26259         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26261         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26262         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26263         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26265         Moved ...
26266         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26268         Moved ...
26269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26270         ... here.
26271         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26272         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26273         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26274         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26276         Moved ...
26277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26278         ... here.
26279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26280         Moved ...
26281         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26282         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26283         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26284         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26285         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26286         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26287         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26289         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26290         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26291         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26293         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26294         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26296         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26297         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26299         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26300         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26301         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26302         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26303         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26304         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26305         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26306         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26307         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26308         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26309         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26310         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26313         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26315         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26317         Moved ...
26318         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26320         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26322         Moved ...
26323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26327         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26329         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26331         Moved ...
26332         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26334         Moved ...
26335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26341         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26342         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26343         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26344         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26345         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26346         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26347         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26348         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26349         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26350         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26351         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26354         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26355         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26356         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26357         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26359         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26360         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26361         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26362         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26363         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26364         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26365         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26366         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26367         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26368         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26371         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26373         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26374         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26375         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26376         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26377         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26378         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26379         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26380         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26381         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26382         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26383         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26384         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26385         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26386         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26388         Update #include.
26389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26390         Likewise.
26391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26392         Likewise.
26393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26394         Likewise.
26395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26396         Likewise.
26397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26398         Likewise.
26399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26400         Likewise.
26401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26402         Likewise.
26403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26404         Likewise.
26405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26406         Likewise.
26407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26417         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26423         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26424         that was previously under [RESET_PID].
26425         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26426         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26427         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26429         * sysdeps/i386/nptl/Implies: New file.
26430         * sysdeps/x86_64/nptl/Implies: New file.
26431         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26432         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26433         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26434         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26436         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26437         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26438         (__libc_vfork): New strong alias.
26439         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26440         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26442         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26443         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26444         (__libc_vfork): New strong alias.
26445         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26446         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26448         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26449         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26450         (__libc_vfork): New strong alias.
26451         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26452         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26453         * nptl/pt-vfork.c: New file.
26454         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26455         (libpthread: GLIBC_2.20): New version set (empty).
26457 2014-05-14  Will Newton  <will.newton@linaro.org>
26459         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26460         rather than #if.
26462 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26464         [BZ #16564]
26465         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26466         arguments with exponent 65 or above.
26467         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26468         arguments 0x1p113L or above.
26469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26470         to arguments 0x1p107L or above.
26471         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26472         positive arguments with exponent 65 or above.
26473         * math/auto-libm-test-in: Add more tests of log1p.
26474         * math/auto-libm-test-out: Regenerated.
26476         [BZ #16928]
26477         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26478         non-finite arguments is +0.
26479         * math/s_cacosf.c (__cacosf): Likewise.
26480         * math/s_cacosl.c (__cacosl): Likewise.
26481         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26482         * sysdeps/i386/fpu/libm-test-ulps: Update.
26483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26485         [BZ #16927]
26486         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26487         value.
26488         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26489         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26490         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26491         for explicit high bit of mantissa when testing for argument equal
26492         to 1.
26493         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26494         * sysdeps/i386/fpu/libm-test-ulps: Update.
26495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26497         [BZ #16516]
26498         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26499         (__erf): Scale by 16 instead of 8 in potentially underflowing
26500         case.  Ensure exception if result actually underflows.
26501         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26502         (__erff): Scale by 16 instead of 8 in potentially underflowing
26503         case.  Ensure exception if result actually underflows.
26504         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26505         (efx8): Remove variable.
26506         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26507         case.  Ensure exception if result actually underflows.
26508         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26509         (efx8): Remove variable.
26510         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26511         case.  Ensure exception if result actually underflows.
26512         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26513         (efx8): Remove variable.
26514         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26515         case.  Ensure exception if result actually underflows.
26516         * math/auto-libm-test-in: Add more tests of erf.
26517         * math/auto-libm-test-out: Regenerated.
26519 2014-05-14  Andreas Schwab  <schwab@suse.de>
26521         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26522         Remove code conditionalized on USE___THREAD.
26524         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26525         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26526         not definedness.
26528 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26531         Define unconditionally.
26532         (__ASSUME_O_CLOEXEC): Likewise.
26533         (__ASSUME_SOCK_CLOEXEC): Likewise.
26534         (__ASSUME_IN_NONBLOCK): Likewise.
26535         (__ASSUME_PIPE2): Likewise.
26536         (__ASSUME_EVENTFD2): Likewise.
26537         (__ASSUME_SIGNALFD4): Likewise.
26538         (__ASSUME_DUP3): Likewise.
26539         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26540         (__ASSUME_DUP3): Do not define.
26541         (__ASSUME_EVENTFD2): Likewise.
26542         (__ASSUME_IN_NONBLOCK): Likewise.
26543         (__ASSUME_O_CLOEXEC): Likewise.
26544         (__ASSUME_PIPE2): Likewise.
26545         (__ASSUME_SIGNALFD4): Likewise.
26546         (__ASSUME_SOCK_CLOEXEC): Likewise.
26547         (__ASSUME_UTIMES): Undefine.
26548         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26549         (__ASSUME_UTIMES): Do not define.
26550         (__ASSUME_O_CLOEXEC): Likewise.
26551         (__ASSUME_SOCK_CLOEXEC): Likewise.
26552         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26553         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26554         0x020621].
26555         (__ASSUME_PIPE2): Likewise.
26556         (__ASSUME_EVENTFD2): Likewise.
26557         (__ASSUME_SIGNALFD4): Likewise.
26558         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26559         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26560         Do not define.
26561         (__ASSUME_EVENTFD2): Likewise.
26562         (__ASSUME_SIGNALFD4): Likewise.
26563         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26564         (__ASSUME_32BITUIDS): Likewise.
26565         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26566         (__ASSUME_IPC64): Likewise.
26567         (__ASSUME_ST_INO_64_BIT): Likewise.
26568         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26569         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26570         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26571         (__ASSUME_UTIMES): Do not define.
26572         (__ASSUME_PSELECT): Likewise.
26573         (__ASSUME_PPOLL): Likewise.
26574         (__ASSUME_O_CLOEXEC): Likewise.
26575         (__ASSUME_SOCK_CLOEXEC): Likewise.
26576         (__ASSUME_IN_NONBLOCK): Likewise.
26577         (__ASSUME_PIPE2): Likewise.
26578         (__ASSUME_EVENTFD2): Likewise.
26579         (__ASSUME_SIGNALFD4): Likewise.
26580         (__ASSUME_DUP3): Likewise.
26581         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26582         (__ASSUME_UTIMES): Likewise.
26583         (__ASSUME_O_CLOEXEC): Likewise.
26584         (__ASSUME_SOCK_CLOEXEC): Likewise.
26585         (__ASSUME_IN_NONBLOCK): Likewise.
26586         (__ASSUME_PIPE2): Likewise.
26587         (__ASSUME_EVENTFD2): Likewise.
26588         (__ASSUME_SIGNALFD4): Likewise.
26589         (__ASSUME_DUP3): Likewise.
26590         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26591         (__ASSUME_UTIMES): Likewise.
26592         (__ASSUME_O_CLOEXEC): Likewise.
26593         (__ASSUME_SOCK_CLOEXEC): Likewise.
26594         (__ASSUME_IN_NONBLOCK): Likewise.
26595         (__ASSUME_PIPE2): Likewise.
26596         (__ASSUME_EVENTFD2): Likewise.
26597         (__ASSUME_SIGNALFD4): Likewise.
26598         (__ASSUME_DUP3): Likewise.
26599         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26600         Likewise.
26601         (__ASSUME_UTIMES): Likewise.
26602         (__ASSUME_EVENTFD2): Likewise.
26603         (__ASSUME_SIGNALFD4): Likewise.
26604         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26605         (__ASSUME_O_CLOEXEC): Likewise.
26606         (__ASSUME_SOCK_CLOEXEC): Likewise.
26607         (__ASSUME_IN_NONBLOCK): Likewise.
26608         (__ASSUME_PIPE2): Likewise.
26609         (__ASSUME_EVENTFD2): Likewise.
26610         (__ASSUME_SIGNALFD4): Likewise.
26611         (__ASSUME_DUP3): Likewise.
26612         (__ASSUME_UTIMES): Undefine.
26614         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26615         feclearexcept.  Remove symbol versioning code.
26616         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26617         symbol versioning code.
26618         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26619         symbol versioning code.
26620         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26621         feupdateenv.  Remove symbol versioning code.
26622         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26623         fegetexceptflag.  Remove symbol versioning code.
26624         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26625         fesetexceptflag.  Remove symbol versioning code.
26626         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26627         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26628         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26629         (__posix_fadvise64_l32): Remove prototype.
26630         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26631         code.
26633 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26635         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26636         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26637         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26638         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26640 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26642         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26643         current working directory
26645 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26647         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26648         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26649         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26650         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26651         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26652         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26653         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26654         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26655         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26656         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26657         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26658         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26659         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26660         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26661         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26662         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26663         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26664         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26665         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26666         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26667         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26668         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26669         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26670         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26671         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26672         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26673         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26674         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26675         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26676         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26677         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26678         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26680         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26681         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26682         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26683         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26684         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26685         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26686         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26687         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26688         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26690         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26691         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26693         * sysdeps/unix/sysv/linux/arm/Makefile
26694         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26695         Add rt-aeabi_unwind_cpp_pr1.
26696         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26697         Add nptl-aeabi_unwind_cpp_pr1.
26698         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26699         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26700         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26701         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26702         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26703         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26705         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26706         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26707         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26708         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26710         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26711         Deconditionalize the code that was previously under [RESET_PID].
26712         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26714         * sysdeps/generic/exit-thread.h: New file.
26715         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26716         * include/unistd.h (__exit_thread): Remove declaration.
26717         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26718         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26719         * csu/libc-start.c: Include <exit-thread.h>.
26720         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26721         * nptl/pthread_create.c: Include <exit-thread.h>.
26722         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26723         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26724         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26725         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26726         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26727         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26728         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26729         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26730         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26731         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26732         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26733         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26734         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26735         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26736         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26737         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26738         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26740 2014-05-13  Andreas Schwab  <schwab@suse.de>
26742         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26744 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26746         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26747         (__ASSUME_UTIMES): Do not condition on kernel version.
26748         (__ASSUME_PSELECT): Define unconditionally.
26749         (__ASSUME_PPOLL): Likewise.
26750         (__ASSUME_ATFCTS): Likewise.
26751         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26752         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26753         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26754         (__ASSUME_UTIMENSAT): Define unconditionally.
26755         (__ASSUME_PRIVATE_FUTEX): Likewise.
26756         (__ASSUME_FALLOCATE): Likewise.
26757         (__ASSUME_O_CLOEXEC): Likewise.
26758         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26759         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26760         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26761         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26762         (__ASSUME_IN_NONBLOCK): Likewise.
26763         (__ASSUME_PIPE2): Likewise.
26764         (__ASSUME_EVENTFD2): Likewise.
26765         (__ASSUME_SIGNALFD4): Likewise.
26766         (__ASSUME_DUP3): Likewise.
26767         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26768         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26769         (__ASSUME_AT_RANDOM): Likewise.
26770         (__ASSUME_PREADV): Likewise.
26771         (__ASSUME_PWRITEV): Likewise.
26772         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26773         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26774         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26775         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26776         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26777         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26778         (__ASSUME_O_CLOEXEC): Define unconditionally.
26779         (__ASSUME_PSELECT): Do not undefine conditionally.
26780         (__ASSUME_PPOLL): Likewise.
26781         (__ASSUME_ATFCTS): Likewise.
26782         (__ASSUME_SET_ROBUST_LIST): Likewise.
26783         (__ASSUME_UTIMENSAT): Likewise.
26784         (__ASSUME_FDATASYNC): Define unconditionally.
26785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26786         (__ASSUME_SIGFRAME_V2): Likewise.
26787         )__ASSUME_EVENTFD2): Likewise.
26788         (__ASSUME_SIGNALFD4): Likewise.
26789         (__ASSUME_PSELECT): Do not undefine conditionally.
26790         (__ASSUME_PPOLL): Likewise.
26791         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26792         (__ASSUME_PSELECT): Define unconditionally.
26793         (__ASSUME_PPOLL): Likewise.
26794         (__ASSUME_O_CLOEXEC): Likewise.
26795         (__ASSUME_SOCK_CLOEXEC): Likewise.
26796         (__ASSUME_IN_NONBLOCK): Likewise.
26797         (__ASSUME_PIPE2): Likewise.
26798         (__ASSUME_EVENTFD2): Likewise.
26799         (__ASSUME_SIGNALFD4): Likewise.
26800         (__ASSUME_DUP3): Likewise.
26801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26802         (__ASSUME_O_CLOEXEC): Likewise.
26803         (__ASSUME_SOCK_CLOEXEC): Likewise.
26804         (__ASSUME_IN_NONBLOCK): Likewise.
26805         (__ASSUME_PIPE2): Likewise.
26806         (__ASSUME_EVENTFD2): Likewise.
26807         (__ASSUME_SIGNALFD4): Likewise.
26808         (__ASSUME_DUP3): Likewise.
26809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26810         (__ASSUME_EVENTFD2): Likewise.
26811         (__ASSUME_SIGNALFD4): Likewise.
26812         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26814 2014-05-12  Andreas Schwab  <schwab@suse.de>
26816         [BZ #16932]
26817         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26818         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26819         than maximum RPC packet size.
26820         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26821         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26822         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26823         (_nss_nis_getservbyport_r): Likewise.
26825 2014-05-12  Will Newton  <will.newton@linaro.org>
26827         * malloc/Makefile (tests): Add tst-mallopt.
26828         * malloc/tst-mallopt.c: New file.
26830 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26832         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26833         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26835 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26837         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26838         (tst-tlsmod6.so): Likewise.
26840 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26842         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26844 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26846         [BZ #16064]
26847         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26848         and <dl-procinfo.h>.
26849         (__fegetenv): Save SSE state in envp->__eip if supported.
26850         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26851         envp->__eip if supported.
26852         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26853         and <dl-procinfo.h>.
26854         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26855         __data_offset and __data_selector in environment to 0.  Set SSE
26856         state if supported.
26857         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26858         test-fenv-sse.
26859         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26860         -mfpmath=sse.
26861         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26863 2014-05-09  Will Newton  <will.newton@linaro.org>
26865         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26866         and libc_relro_required for ARM.
26867         * sysdeps/arm/preconfigure: Regenerate.
26869 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26870             Stefan Liebler  <stli@linux.vnet.ibm.com>
26872         * config.make.in (enable-lock-elision): New Makefile variable.
26873         * configure.ac: Likewise.
26874         * configure: Regenerate.
26875         * sysdeps/s390/configure.ac:
26876         Add check for gcc transactions support.
26877         * sysdeps/s390/configure: Regenerate.
26878         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26879         Build elision files if enabled.
26880         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26881         Add lock elision support for s390.
26882         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26883         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26884         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26885         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26886         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26887         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26888         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26889         Likewise.
26890         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26891         Likewise.
26892         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26893         Likewise.
26894         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26895         Likewise.
26896         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26897         (__lll_timedlock_elision, __lll_lock_elision)
26898         (__lll_unlock_elision, __lll_trylock_elision)
26899         (lll_timedlock_elision, lll_lock_elision)
26900         (lll_unlock_elision, lll_trylock_elision): Add.
26901         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26902         (pthread_mutex_t): Add lock elision support for s390.
26904 2014-05-14  Wilco  <wdijkstr@arm.com>
26906         * sysdeps/arm/fclrexcpt.c: Cleanup.
26907         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26908         * sysdeps/arm/feenablxcpt.c: Cleanup.
26909         * sysdeps/arm/fegetenv.c: Cleanup.
26910         * sysdeps/arm/fegetexcept.c: Cleanup.
26911         * sysdeps/arm/fegetround.c: Cleanup.
26912         * sysdeps/arm/feholdexcpt.c: Cleanup.
26913         * sysdeps/arm/fesetenv.c: Cleanup.
26914         * sysdeps/arm/fesetround.c: Cleanup.
26915         * sysdeps/arm/feupdateenv.c: Cleanup.
26916         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26917         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26918         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26919         * sysdeps/arm/ftestexcept.c: Cleanup.
26920         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26921         * sysdeps/arm/setfpucw.c: Cleanup.
26923 2014-05-09  Will Newton  <will.newton@linaro.org>
26925         * sysdeps/arm/armv7/strcmp.S: New file.
26926         * NEWS: Mention addition of ARMv7 optimized strcmp.
26928 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26930         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26931         look for %.ac rather than %.in.
26933         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26934         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26935         * sysdeps/mach/hurd/configure: Regenerated.
26936         * sysdeps/unix/sysv/linux/configure: Regenerated.
26938         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26940 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26942         [BZ# 16922]
26943         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26944         (LONG_SUB): Ditto.
26945         (PTR_SUB): Ditto.
26947 2014-05-07  Andreas Schwab  <schwab@suse.de>
26949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26950         when skipping over non-matching result from nscd.
26952 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26954         [BZ #16876]
26955         * nptl/sockperf.c (client): Check socket return value.
26957         [BZ #16877]
26958         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26959         nscd security class.
26961 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26963         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26964         * sysdeps/arm/unwind.h: ... here.
26966 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26968         [BZ# 16916]
26969         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26970         Define.
26972 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26974         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26975         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26976         multiarch strncpy for PPC64.
26977         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26978         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26980         multiarch optimizations.
26981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26982         (__libc_ifunc_impl_list): Likewise.
26983         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26984         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26985         multiarch stpncpy for PPC64.
26986         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26987         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26989 2014-05-06  Andreas Schwab  <schwab@suse.de>
26991         [BZ #16912]
26992         * gmon/mcount.c (_MCOUNT_DECL): Use
26993         atomic_compare_and_exchange_bool_acq instead of
26994         catomic_compare_and_exchange_bool_acq.
26996 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26998         * elf/Makefile (others, install-bin): Remove pldd.
26999         (pldd-modules): Variable removed.
27000         ($(objpfx)pldd): Target removed.
27001         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27002         (others, install-bin): Append pldd here.
27003         ($(objpfx)pldd): New target.
27005         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27006         to 0, so the first #if test emitted later doesn't see it undefined.
27007         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27008         * sysdeps/gnu/errlist.c: Regenerated.
27010 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27012         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27013         [libc_hidden_builtin_def]: Define to empty value.
27014         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27015         [libc_hidden_builtin_def]: Likewise.
27016         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27017         [libc_hidden_builtin_def]: Likewise.
27018         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27019         [libc_hidden_builtin_def]: Likewise.
27020         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27021         __redirect_memcpy and define ifunc as default hidden symbol.
27022         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27023         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27025 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27027         * locale/iso-4217.def: Reintroduce XDR currency.
27029 2014-05-04  Allan McRae  <allan@archlinux.org>
27031         * po/eo.po: Update Esperanto translation from translation project.
27033 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27035         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27036         and FEATURE_INDEX_MAX to 1.
27037         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27039 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27041         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27042         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27043         * iconvdata/big5.c (ONE_DIRECTION): Define.
27044         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27045         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27046         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27047         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27048         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27049         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27050         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27051         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27052         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27053         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27054         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27055         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27056         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27057         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27058         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27059         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27060         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27061         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27062         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27063         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27064         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27065         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27066         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27067         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27068         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27069         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27070         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27071         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27072         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27073         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27074         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27075         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27076         * iconvdata/johab.c (ONE_DIRECTION): Define.
27077         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27078         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27079         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27080         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27081         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27082         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27083         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27084         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27085         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27086         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27088 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27090         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27091         (_IO_JUMPS_OFFSET): Define to 0.
27093         * nptl/sysdeps/pthread/bits/libc-lock.h
27094         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27095         (__libc_lock_define_initialized_recursive): Always define using
27096         initializer.  Modern compilers treat uninitialized (implicit zero) and
27097         explicit zero initializers the same (i.e. put the datum in bss).
27099 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27101         * nscd/nscd-client.h: Include <string.h>.
27103 2014-05-01  David S. Miller  <davem@davemloft.net>
27105         [BZ #16885]
27106         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27107         multiple zero bytes exist at the end of a string.
27108         Reported by Aurelien Jarno <aurelien@aurel32.net>
27110         * string/test-strcmp.c (check): Add explicit test for situations where
27111         there are multiple zero bytes after the first.
27113 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27115         [BZ #16890]
27116         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27117         when compiling wprintf.
27118         * stdio-common/tstdiomisc.c (t3): New function.
27119         (main): Call it.
27121 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27123         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27124         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27125         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27126         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27128 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27130         * stdlib/longlong.h: Updated from GCC.
27132 2014-05-01  Will Newton  <will.newton@linaro.org>
27133             Bernard Ogden  <bernie.ogden@linaro.org>
27135         * NEWS: Update fixed bug list.
27137         [BZ #15119]
27138         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27140 2014-04-30  David S. Miller  <davem@davemloft.net>
27142         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27143         (libc_feholdexcept_setround_sparc_ctx): New function.
27144         (libc_fesetenv_sparc_ctx): Likewise.
27145         (libc_feupdateenv_sparc_ctx): Likewise.
27146         (libc_feholdsetround_sparc_ctx): Likewise.
27147         (libc_feholdexcept_setround_ctx): Define.
27148         (libc_feholdexcept_setroundf_ctx): Likewise.
27149         (libc_feholdexcept_setroundl_ctx): Likewise.
27150         (libc_fesetenv_ctx): Likewise.
27151         (libc_fesetenvf_ctx): Likewise.
27152         (libc_fesetenvl_ctx): Likewise.
27153         (libc_feupdateenv_ctx): Likewise.
27154         (libc_feupdateenvf_ctx): Likewise.
27155         (libc_feupdateenvl_ctx): Likewise.
27156         (libc_feresetround_ctx): Likewise.
27157         (libc_feresetroundf_ctx): Likewise.
27158         (libc_feresetroundl_ctx): Likewise.
27159         (libc_feholdsetround_ctx): Likewise.
27160         (libc_feholdsetroundf_ctx): Likewise.
27161         (libc_feholdsetroundl_ctx): Likewise.
27163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27164         with __USE_GNU instead of XOPEN cpp guards.
27166         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27167         0.
27169         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27170         with XOPEN cpp guards.
27172 2014-04-30  Julian Brown  <julian@codesourcery.com>
27174         [BZ #16888]
27175         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27176         handling.
27178 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27180         [BZ #9894]
27181         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27182         Change to 2.6.32.
27183         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27184         * sysdeps/unix/sysv/linux/configure: Regenerated.
27185         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27186         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27187         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27188         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27189         * README: Update reference to required Linux kernel version.
27190         * manual/install.texi (Linux): Update reference to required Linux
27191         kernel headers version.
27192         * INSTALL: Regenerated.
27194         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27195         header inclusion.
27196         [POSIX] (limits.h): Likewise.
27197         [POSIX] (math.h): Likewise.
27198         [POSIX] (sys/wait.h): Likewise.
27199         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27200         function.
27201         [POSIX] (stddef.h): Do not allow header inclusion.
27203 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27205         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27207 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27209         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27210         Return immediately after lll_futex_wake.
27212 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27214         [BZ #16791]
27215         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27216         structure.
27217         (datahead_init_pos): Call datahead_init_common early.
27218         (datahead_init_neg): Likewise.
27220         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27221         datahead_init_neg): New functions.
27222         * nscd/aicache.c (addhstaiX): Use them.
27223         * nscd/grpcache.c (cache_addgr): Likewise.
27224         * nscd/hstcache.c (cache_addhst): Likewise.
27225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27226         * nscd/netgroupcache.c (do_notfound): Likewise.
27227         (addgetnetgrentX): Likewise.
27228         (addinnetgrX): Likewise.
27229         * nscd/pwdcache.c (cache_addpw): Likewise.
27230         * nscd/servicescache.c (cache_addserv): Likewise.
27232 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27233             Atsushi Onoe  <atsushi@onoe.org>
27235         [BZ #14308]
27236         [BZ #12994]
27237         [BZ #13651]
27238         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27239         one response is valid.
27240         * resolv/res_send.c (send_dg): Check for validity of other
27241         response if the current response is a referral.
27243 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27245         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27247 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27249         [BZ #16823]
27250         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27251         Always divide by positive zero when computing -Inf result.
27252         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27253         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27255 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27257         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27258         FPSCR if value do not change.
27259         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27260         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27261         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27263         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27264         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27265         function.
27267 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27269         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27270         * sysdeps/unix/sysv/linux/hppa: Move directory from
27271         ports/systeps/unix/sysv/linux/hppa.
27272         * README: Update listing for hppa-*-linux-gnu.
27274 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27276         [BZ #16754]
27277         * manual/stdio.texi (Hook functions): Fix types of stream hook
27278         functions.
27279         [BZ #16854]
27280         * socket/sys/socket.h: Fix typo in comment.
27282 2014-04-28  Wilco  <wdijkstr@arm.com>
27284         * sysdeps/arm/fenv_private.h: New file.
27285         * sysdeps/arm/math_private.h: New file.
27286         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27288 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27290         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27291         with __int128_t.
27292         (La_x86_64_retval): Likewise.
27294 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27296         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27297         fpsr if value didn't change.
27298         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27299         to fpcr if value didn't change.
27300         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27301         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27302         fpsr or fpcr if value didn't change.
27303         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27304         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27305         fpcr if value didn't change.
27306         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27307         to fpsr if value didn't change.
27309 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27311         * nptl/tst-sem3.c: Use test-skeleton.c
27312         (main): Rename to do_test.  Use return instead of
27313         exit.
27314         * nptl/tst-sem4.c: Use test-skeleton.c
27315         (main): Rename to do_test.
27317 2014-04-22  David S. Miller  <davem@davemloft.net>
27319         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27320         (struct sigaction): New struct member __glibc_reserved0, change
27321         type of sa_flags to int.
27323 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27325         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27326         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27328 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27330         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27331         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27333 2014-04-22  Will Newton  <will.newton@linaro.org>
27334             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27336         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27337         (__longjmp): Add longjmp and longjmp_target SystemTap
27338         probes.
27339         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27340         (__sigsetjmp): Add setjmp SystemTap probe.
27342 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27344         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27345         match manual order.
27347 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27349         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27351         * sysdeps/powerpc/fpu/fenv_private.h
27352         (libc_feholdexcept_setroundl_ctx): Define to
27353         libc_feholdexcept_setround_ppc_ctx.
27354         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27355         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27356         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27357         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27359 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27361         * sysdeps/aarch64/math-tests.h: New file.
27363 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27365         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27366         New.
27367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27368         Check and set bit_AVX2_Usable.
27369         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27370         macro.
27371         (bit_AVX2): Likewise.
27372         (index_AVX2_Usable): Likewise.
27373         (CPUID_AVX2): Likewise.
27374         (HAS_AVX2): Likewise.
27376 2014-04-17  Will Newton  <will.newton@linaro.org>
27378         * manual/setjmp.texi (System V contexts): Add note that
27379         calling setcontext on a context created by a call to a
27380         signal handler is undefined.  Update text to note that
27381         setcontext from a signal handler is possible but not
27382         recommended.
27384         [BZ #16629]
27385         * stdlib/tst-setcontext.c: Include signal.h.
27386         (main): Check that the signal stack before and
27387         after swapcontext is the same.
27389         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27390         Re-implement to restore registers in user code and avoid
27391         rt_sigreturn system call.
27393 2014-04-17  Wilco  <wdijkstr@arm.com>
27395         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27396         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27397         * math/test-fenv.c: Skip exception trap tests on targets which only
27398         support non-stop mode.
27400 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27401             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27403         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27404         (libc_feholdsetround_aarch64_ctx)
27405         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27406         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27407         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27408         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27409         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27410         (libc_feresetround_noexl_ctx): Define.
27412 2014-04-16  Richard Henderson  <rth@redhat.com>
27414         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27416         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27417         unwind tables.
27419         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27420         const from the non-libc, non-ldso copy.
27422         * sysdeps/alpha/libm-test-ulps: Regenerate.
27424 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27425             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27427         * sysdeps/aarch64/fpu/math_private.h: New file.
27429 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27431         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27433 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27435         [BZ #16275]
27436         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27437         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27439         Intel MPX bound registers before _dl_profile_fixup.
27440         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27441         registers after _dl_profile_fixup.  Save and restore bound
27442         registers bnd0/bnd1 when calling _dl_call_pltexit.
27443         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27444         (LR_BND_OFFSET): Likewise.
27445         (LRV_BND0_OFFSET): Likewise.
27446         (LRV_BND1_OFFSET): Likewise.
27448 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27450         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27451         to...
27452         * sysdeps/mach/hurd/i386/tls.h: ... here.
27453         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27454         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27455         fields.
27457 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27459         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27461 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27463         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27465 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27467         [BZ #14770]
27468         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27469         * sysdeps/s390/configure: Regenerate.
27471         [BZ #16824]
27472         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27473         Set round-to-nearest internally to reduce error accumulation.
27475 2014-04-16  Alan Modra  <amodra@gmail.com>
27477         [BZ #16740]
27478         [BZ #16619]
27479         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27480         * math/libm-test.inc (frexp_test_data): Add tests.
27481         * NEWS: Update fixed bug list.
27483 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27485         * benchtests/Makefile: Depend on libraries in build directory.
27486         (bench-math): Separate out math tests.
27487         (bench-pthread): Separate out pthread tests.
27488         (bench): Include math and pthread tests.
27490 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27492         [BZ #16831]
27493         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27494         _dl_debug_initialize.
27496         * configure.ac: Remove SELinux header check.
27497         * configure: Regenerate.
27498         * nscd/selinux.c (perms): Array of const char* to permission names.
27499         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27500         default policy. Call string_to_security_class and string_to_av_perm to
27501         translate strings. Enforce default policy and call avs_has_perm with
27502         results of translated strings.
27504 2014-04-13  David S. Miller  <davem@davemloft.net>
27506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27508 2014-04-12  Allan McRae  <allan@archlinux.org>
27510         [BZ #16838]
27511         * manual/string.texi (Collation Functions): Fix qsort argument
27512         order in example.
27513         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27515 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27517         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27518         Make the test a no-op if there are no exceptions defined.
27520 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27522         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27523         enable-hardcoded-path-in-tests
27525 2014-04-11  Will Newton  <will.newton@linaro.org>
27527         * benchtests/Makefile (extra-objs): Add json-lib.o.
27528         (bench-func): Tidy up JSON output.
27529         * benchtests/bench-skeleton.c: Include json-lib.h.
27530         (main): Use JSON library functions to do output of
27531         benchmark results.
27532         * benchtests/bench-timing-type.c (main): Output the
27533         timing type simply, leaving formatting to the user.
27534         * benchtests/json-lib.c: New file.
27535         * benchtests/json-lib.h: Likewise.
27537 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27539         [BZ #15215]
27540         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27541         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27542         memory barriers.  Add comments.
27543         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27544         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27545         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27546         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27547         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27548         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27550 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27552         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27553         * sysdeps/s390/s390-64/configure.ac: ... this ...
27554         * sysdeps/s390/configure.ac: ... to here.
27555         * sysdeps/s390/s390-32/configure: Delete file.
27556         * sysdeps/s390/s390-64/configure: Delete file.
27557         * sysdeps/s390/configure: Regenerate.
27559 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27561         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27563 2014-04-11  Will Newton  <will.newton@linaro.org>
27565         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27566         to zero if it is not defined elsewhere.  (mtrim): Test
27567         the value of MALLOC_DEBUG with #if rather than #ifdef.
27569 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27571         * benchtests/pthread_once-inputs: New file.
27572         * benchtests/pthread_once-source.c: New file.
27573         * benchtests/README: Update documentation.
27575 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27576             H.J. Lu  <hongjiu.lu@intel.com>
27578         [BZ #16275]
27579         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27580         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27581         * sysdeps/x86_64/configure: Regenerated.
27582         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27583         macro.
27584         (REGISTER_SAVE_RAX): Likewise.
27585         (REGISTER_SAVE_RCX): Likewise.
27586         (REGISTER_SAVE_RDX): Likewise.
27587         (REGISTER_SAVE_RSI): Likewise.
27588         (REGISTER_SAVE_RDI): Likewise.
27589         (REGISTER_SAVE_R8): Likewise.
27590         (REGISTER_SAVE_R9): Likewise.
27591         (REGISTER_SAVE_BND0): Likewise.
27592         (REGISTER_SAVE_BND1): Likewise.
27593         (REGISTER_SAVE_BND2): Likewise.
27594         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27595         bound registers when calling _dl_fixup.
27597 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27599         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27600         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27601         of its definition.
27602         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27603         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27604         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27605         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27606         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27607         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27608         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27610 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27612         [BZ #15514]
27613         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27614         pathconf(_PC_NAME_MAX).
27616 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27618         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27619         Remove macro usage.
27620         (__PTHREAD_SPINS): Move definition to ...
27621         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27622         (__PTHREAD_SPINS): ... here.
27623         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27624         (__PTHREAD_SPIN): Likewise.
27625         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27626         (__PTHREAD_SPIN): Likewise.
27627         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27628         (__PTHREAD_SPIN): Likewise.
27629         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27630         (__PTHREAD_SPIN): Likewise.
27631         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27632         (__PTHREAD_SPIN): Likewise.
27633         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27634         (__PTHREAD_SPIN): Likewise.
27635         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27636         (__PTHREAD_SPIN): Likewise.
27637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27638         (__PTHREAD_SPIN): Likewise.
27639         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27640         (__PTHREAD_SPIN): Likewise.
27641         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27642         (__PTHREAD_SPIN): Likewise.
27643         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27644         (__PTHREAD_SPIN): Likewise.
27645         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27646         (__PTHREAD_SPIN): Likewise.
27648         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27649         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27650         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27651         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27652         imply folder.
27653         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27654         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27655         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27656         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27657         correct imply path.
27658         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27659         strlen symbol for non multi-arch builds.
27660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27661         missing hidden_def and weak_alias.
27663 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27665         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27667 2014-04-07  Will Newton  <will.newton@linaro.org>
27669         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27670         and contents.  [!_LIBC] Remove #ifndef and contents.
27671         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27672         * string/memccpy.c (__memccpy): Use ANSI prototype.
27673         * string/memfrob.c (memfrob): Likewise.
27674         * string/strcoll.c (STRCOLL): Likewise.
27675         * string/strlen.c (strlen): Likewise.
27676         * string/strtok.c (STRTOK): Likewise.
27677         * string/strcat.c: Remove unused #include of memcopy.h.
27678         (strcat): Use ANSI prototype.
27679         * string/strchr.c: Remove unused #include of memcopy.h.
27680         (strchr): Use ANSI prototype.
27681         * string/strcmp.c: Remove unused #include of memcopy.h.
27682         (strcmp): Use ANSI prototype.
27683         * string/strcpy.c: Remove unused #include of memcopy.h.
27684         (strcpy): Use ANSI prototype.
27686 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27688         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27689         * config.make.in (config-extra-cppflags): Set it from
27690         libc_extra_cppflags.
27691         * configure.ac (libc_extra_cflags): Make it accumulate over
27692         configure fragments.
27693         (libc_extra_cppflags): New flag.
27694         * configure. Regenerate.
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27696         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27697         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27700         [BZ #16815]
27701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27702         result for FE_DOWNWARD rounding mode.
27703         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27704         Likewise.
27705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27707 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27709         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27710         in function argument name.
27712 2014-04-03  David Svoboda  <svoboda@cert.org>
27714         [BZ #5666]
27715         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27716         explicitly.
27718 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27720         * elf/dl-unmap-segments.h: New file.
27721         * sysdeps/generic/ldsodefs.h
27722         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27723         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27724         * elf/dl-fptr.c: Likewise.
27725         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27726         * sysdeps/aarch64/tlsdesc.c: Likewise.
27727         * sysdeps/arm/tlsdesc.c: Likewise.
27728         * sysdeps/i386/tlsdesc.c: Likewise.
27729         * sysdeps/tile/dl-runtime.c: Likewise.
27730         * sysdeps/x86_64/tlsdesc.c: Likewise.
27731         * elf/dl-load.h: New file.
27732         * elf/dl-load.c: Include it.
27733         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27734         Macros moved to dl-load.h.
27735         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27736         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27737         Use _dl_unmap_segments in place of __munmap.
27738         Break out segment-mapping loop into ...
27739         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27741 2014-04-03  Will Newton  <will.newton@linaro.org>
27743         * elf/dl-lookup.c (do_lookup_x): Remove comment
27744         referring to nested function and move variable
27745         declarations down to before first use.
27747 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27749         [BZ #16799]
27750         [BZ #16800]
27751         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27752         with 0 numerator.
27753         * math/s_catanf.c (__catanf): Likewise.
27754         * math/s_catanh.c (__catanh): Likewise.
27755         * math/s_catanhf.c (__catanhf): Likewise.
27756         * math/s_catanhl.c (__catanhl): Likewise.
27757         * math/s_catanl.c (__catanl): Likewise.
27758         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27759         by positive zero when computing -Inf result.
27760         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27761         (catanh_test): Likewise.
27762         * sysdeps/i386/fpu/libm-test-ulps: Update.
27763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765         [BZ #16789]
27766         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27767         instead of using underflowing value in computing result.
27768         * math/s_clog10.c (__clog10): Likewise.
27769         * math/s_clog10f.c (__clog10f): Likewise.
27770         * math/s_clog10l.c (__clog10l): Likewise.
27771         * math/s_clogf.c (__clogf): Likewise.
27772         * math/s_clogl.c (__clogl): Likewise.
27773         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27774         (clog10_test): Likewise.
27775         * sysdeps/i386/fpu/libm-test-ulps: Update.
27776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27778 2014-04-02  Alan Modra  <amodra@gmail.com>
27780         [BZ #16739]
27781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27782         output when value is near a power of two.  Use int64_t for lx and
27783         remove casts.  Use decimal rather than hex exponent constants.
27784         Don't use long double multiplication when double will suffice.
27785         * math/libm-test.inc (nextafter_test_data): Add tests.
27786         * NEWS: Add 16739 and 16786 to bug list.
27788         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27790         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27792 2014-04-01  Will Newton  <will.newton@linaro.org>
27794         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27795         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27797 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27799         [BZ #13347]
27800         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27801         * nptl/tst-setuid2.c: New file.
27802         * nptl/Makefile (xtests): Add tst-setuid2.
27804 2014-04-01  Alan Modra  <amodra@gmail.com>
27806         [BZ #16786]
27807         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27809 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27811         [BZ #6803]
27812         [BZ #6804]
27813         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27814         set errno as appropriate.
27815         * math/w_scalbf.c (__scalbf): Likewise.
27816         * math/w_scalbl.c (__scalbl): Likewise.
27817         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27818         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27819         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27820         Add more NaN tests.
27822         [BZ #16349]
27823         * math/w_atan2.c: Include <errno.h>.
27824         (__atan2): Set errno for result underflowing to zero.
27825         * math/w_atan2f.c: Include <errno.h>.
27826         (__atan2f): Set errno for result underflowing to zero.
27827         * math/w_atan2l.c: Include <errno.h>.
27828         (__atan2l): Set errno for result underflowing to zero.
27829         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27830         tests.
27831         * math/auto-libm-test-out: Regenerated.
27833 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27835         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27836         Encode instruction correctly in little endian.
27837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27838         Likewise.
27839         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27840         Likewise.
27841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27842         Likewise.
27843         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27844         Likewise.
27846 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27848         [BZ #9894]
27849         * sysdeps/unix/sysv/linux/kernel-features.h
27850         [__sparc__ && !__arch64__ && !__sparc_v9__]
27851         (__ASSUME_SET_ROBUST_LIST): Do not define.
27852         [__sparc__ && !__arch64__ && !__sparc_v9__]
27853         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27854         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27855         Likewise.
27856         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27857         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27858         (__ASSUME_REQUEUE_PI): Likewise.
27859         (__ASSUME_SET_ROBUST_LIST): Likewise.
27860         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27861         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27862         Undefine.
27863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27864         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27865         Likewise.
27866         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27867         Likewise.
27868         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27869         Likewise.
27870         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27871         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27872         Undefine.
27873         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27874         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27875         Likewise.
27877         [BZ #16648]
27878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27879         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27880         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27882 2014-03-31  Will Newton  <will.newton@linaro.org>
27884         * benchtests/Makefile (bench): Add ffs and ffsll to list
27885         of tests.
27886         * benchtests/ffs-inputs: New file.
27887         * benchtests/ffsll-inputs: Likewise.
27889 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27891         [BZ #16770]
27892         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27893         too large before casting to int.
27894         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27895         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27896         * math/libm-test.inc (scalb_test_data): Add more tests.
27898 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27900         * benchtests/Makefile (DETAILED_OPT): New make option.
27901         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27902         set.
27903         * benchtests/bench-skeleton.c: Include stdbool.h.
27904         (main): Store and print timings per input.
27905         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27906         member to each argument value.
27907         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27908         (_print_arg_data): Initialize per-input timing to 0.
27910         * benchtests/Makefile (timing-type): New binary.
27911         (bench-clean): Also remove bench-timing-type.
27912         (bench): New target for timing-type.
27913         (bench-func): Print output in JSON format.
27914         * benchtests/bench-skeleton.c (main): Print output in JSON
27915         format.
27916         * benchtests/bench-timing-type.c: New file.
27917         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27918         (TIMING_PRINT_STATS): Remove.
27919         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27920         name separately.
27922         * benchtests/bench-modf.c: Remove.
27923         * benchtests/modf-inputs: New inputs file.
27925 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27927         [BZ #16362]
27928         * math/s_clog10.c (M_PI_LOG10E): New macro.
27929         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27930         imaginary parts are 0.
27931         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27932         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27933         imaginary parts are 0.
27934         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27935         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27936         imaginary parts are 0.
27937         * math/libm-test.inc (clog10_test_data): Update expected results
27938         for when real and imaginary parts are 0.
27940 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27942         * elf/dl-load.c: Finish conversion of __builtin_expect into
27943         __glibc_{un}likely.
27945 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27947         [BZ #16348]
27948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27949         1+x for argument with exponent below -67.
27950         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27951         Likewise.
27952         * math/auto-libm-test-in: Add more tests of exp.
27953         * math/auto-libm-test-out: Regenerated.
27955 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27957         [BZ #16759]
27958         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27959         (nscd_getnetgrent): Use it.
27961         [BZ #16760]
27962         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27963         of stpcpy.
27965 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27967         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27968         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27969         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27970         (lll_robust_unlock): Remove out of line section. Use cfi
27971         intrinsics.
27972         (LLL_STUB_UNWIND_INFO*): Remove.
27973         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27974         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27975         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27976         (lll_robust_unlock): Remove out of line section. Use cfi
27977         intrinsics.
27978         (LLL_STUB_UNWIND_INFO*): Remove.
27980 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27982         [BZ #16758]
27983         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27984         blank values.
27986 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27988         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27990 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27992         [BZ #16198]
27993         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27994         fnstenv.
27995         * math/test-fenv-preserve.c: New file.
27996         * math/Makefile (tests): Add test-fenv-preserve.
27998 2014-03-26  Will Newton <will.newton@linaro.org>
28000         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28002 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28004         * scripts/versionlist.awk: Partition the version sets and emit all
28005         GLIBC_* (sorted) before all others (sorted).
28007 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28009         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28010         GLIBC_2.2.5 version.
28012 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28014         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28015         calls.
28017         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28018         previous change.
28020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28022 2014-03-25  Andreas Schwab  <schwab@suse.de>
28024         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28025         label to be used after in6ailist is initialized.
28027 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28029         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28030         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28032 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28034         [BZ #16357]
28035         [BZ #16599]
28036         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28037         min_plus_half.
28038         (fp_formats): Update initializers.
28039         (init_fp_formats): Initialize new field.
28040         (output_for_one_input_case): Allow underflow for results up to
28041         min_plus_half.
28042         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28043         * math/auto-libm-test-in: Don't mark some underflows from asin and
28044         atanh as spurious.
28045         * math/auto-libm-test-out: Regenerated.
28046         * sysdeps/i386/fpu/libm-test-ulps: Update.
28047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049 2014-03-25  Andreas Schwab  <schwab@suse.de>
28051         * libio/Makefile (tst-ftell-partial-wide-ENV)
28052         (tst-ftell-active-handler-ENV): Define.
28054 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28056         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28058 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28060         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28062 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28064         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28065         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28066         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28068 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28070         [BZ #16634]
28071         * elf/dl-load.c (open_verify): Add mode parameter.
28072         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28073         (open_path): Change from boolean 'secure' to complete flag 'mode'
28074         (_dl_map_object): Adjust.
28075         * elf/Makefile (tests): Add tst-dlopen-aout.
28076         * elf/tst-dlopen-aout.c: New test.
28078 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28080         [BZ #16714]
28081         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28082         (struct stat): Rename member pad0 to __glibc_reserved0.
28084         [BZ #16712]
28085         * sysdeps/s390/s390-32/bits/wordsize.h
28086         (__WORDSIZE32_SIZE_ULONG): New define.
28087         * sysdeps/s390/s390-64/bits/wordsize.h
28088         (__WORDSIZE32_SIZE_ULONG): Likewise.
28089         * sysdeps/generic/stdint.h (SIZE_MAX):
28090         Define as UL if __WORDSIZE32_SIZE_ULONG.
28092         [BZ #16713]
28093         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28094         (__glibc_reserved0): New variable.
28095         (sa_flags): Change type to int.
28097         * posix/Makefile (before-compile): Use += before-compile instead
28098         of a :=.
28100         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28101         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28103 2014-03-20  Andreas Schwab  <schwab@suse.de>
28105         [BZ #16743]
28106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28107         non-matching result from nscd.
28109 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28111         * scripts/bench.py: Moved to ...
28112         * benchtests/scripts/bench.py: ... here.
28113         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28115 2014-03-24  Andreas Schwab  <schwab@suse.de>
28117         [BZ #16002]
28118         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28119         alloca_account and account alloca use for struct in6ailist.
28121 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28123         [BZ #16284]
28124         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28125         rounding mode to recompute results that overflow to infinity or
28126         underflow to zero.
28127         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28128         bug 16284.
28129         * math/auto-libm-test-out: Regenerated.
28130         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28131         (ccosh_test): Likewise.
28132         (csin_test_data): Use plus_oflow.
28133         (csin_test): Use ALL_RM_TEST.
28134         (csinh_test_data): Use plus_oflow.
28135         (csinh_test): Use ALL_RM_TEST.
28136         * sysdeps/i386/fpu/libm-test-ulps: Update.
28137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28139 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28141         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28142         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28143         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28145         [BZ #16731]
28146         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28147         when x - 1 is zero.
28148         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28149         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28150         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28152         argument is 1.
28153         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28154         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28155         zero.
28156         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28157         * sysdeps/i386/fpu/libm-test-ulps: Update.
28158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28162         * scripts/bench.pl: Remove file.
28163         * scripts/bench.py: New benchmark script.
28164         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28165         * benchtests/README: Mention python dependency.
28166         * scripts/pylintrc: New file.
28167         * scripts/pylint: New file.
28169         * bits/mathdef.h: Use #ifdef instead of #if.
28170         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28171         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28172         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28173         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28174         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28175         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28177 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28178             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28180         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28182         and strpbrk-ppc64 objects.
28183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28184         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28186         multiarch strpbrk for POWER7.
28187         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28188         multiarch strpbrk for PPC64.
28189         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28190         ifunc selector.
28191         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28192         strpbrk for POWER7.
28194 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28196         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28197         (atan_test): Likewise.
28198         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28199         (atanh_test): Use ALL_RM_TEST.
28200         (atan2_test_data): Likewise.
28201         (cabs_test): Likewise.
28202         (cacosh_test): Likewise.
28203         (carg_test): Likewise.
28204         (casin_test): Likewise.
28205         (casinh_test): Likewise.
28206         (cbrt_test): Likewise.
28207         (csqrt_test): Likewise.
28208         (erf_test): Likewise.
28209         (erfc_test): Likewise.
28210         (pow10_test): Likewise.
28211         (exp2_test): Likewise.
28212         (hypot_test): Likewise.
28213         (j0_test): Likewise.
28214         (j1_test): Likewise.
28215         (lgamma_test): Likewise.
28216         (gamma_test): Likewise.
28217         (sincos_test): Likewise.
28218         (tanh_test): Likewise.
28219         (y0_test): Likewise.
28220         (y1_test): Likewise.
28221         * sysdeps/i386/fpu/libm-test-ulps: Update.
28222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28224 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28226         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28228         and strcspn-ppc64 objects.
28229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28230         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28231         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28232         multiarch strcspn for POWER7.
28233         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28234         multiarch strcspn for PPC64.
28235         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28236         ifunc selector.
28237         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28238         strcspn for POWER7.
28240 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28242         * math/gen-libm-test.pl (generate_testfile): Expect only function
28243         name as argument to AUTO_TESTS_* and pass results for all rounding
28244         modes to parse_args.
28245         (parse_auto_input): Separate inputs of automatic tests from
28246         outputs before storing in %auto_tests.
28247         * math/libm-test.inc (acos_test_data): Update call to
28248         AUTO_TESTS_f_f.
28249         (acos_test): Use ALL_RM_TEST.
28250         (acos_tonearest_test_data): Remove.
28251         (acos_test_tonearest): Likewise.
28252         (acos_towardzero_test_data): Likewise.
28253         (acos_test_towardzero): Likewise.
28254         (acos_downward_test_data): Likewise.
28255         (acos_test_downward): Likewise.
28256         (acos_upward_test_data): Likewise.
28257         (acos_test_upward): Likewise.
28258         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28259         (asin_test_data): Likewise.
28260         (asin_test): Use ALL_RM_TEST.
28261         (asin_tonearest_test_data): Remove.
28262         (asin_test_tonearest): Likewise.
28263         (asin_towardzero_test_data): Likewise.
28264         (asin_test_towardzero): Likewise.
28265         (asin_downward_test_data): Likewise.
28266         (asin_test_downward): Likewise.
28267         (asin_upward_test_data): Likewise.
28268         (asin_test_upward): Likewise.
28269         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28270         (atan_test_data): Likewise.
28271         (atanh_test_data): Likewise.
28272         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28273         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28274         (carg_test_data): Likewise.
28275         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28276         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28277         (ccosh_test_data): Likewise.
28278         (cexp_test_data): Likewise.
28279         (clog_test_data): Likewise.
28280         (clog10_test_data): Likewise.
28281         (cos_test_data): Update call to AUTO_TESTS_f_f.
28282         (cos_test): Use ALL_RM_TEST.
28283         (cos_tonearest_test_data): Remove.
28284         (cos_test_tonearest): Likewise.
28285         (cos_towardzero_test_data): Likewise.
28286         (cos_test_towardzero): Likewise.
28287         (cos_downward_test_data): Likewise.
28288         (cos_test_downward): Likewise.
28289         (cos_upward_test_data): Likewise.
28290         (cos_test_upward): Likewise.
28291         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28292         (cosh_test): Use ALL_RM_TEST.
28293         (cosh_tonearest_test_data): Remove.
28294         (cosh_test_tonearest): Likewise.
28295         (cosh_towardzero_test_data): Likewise.
28296         (cosh_test_towardzero): Likewise.
28297         (cosh_downward_test_data): Likewise.
28298         (cosh_test_downward): Likewise.
28299         (cosh_upward_test_data): Likewise.
28300         (cosh_test_upward): Likewise.
28301         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28302         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28303         (ctan_test_data): Likewise.
28304         (ctan_test): Use ALL_RM_TEST.
28305         (ctan_tonearest_test_data): Remove.
28306         (ctan_test_tonearest): Likewise.
28307         (ctan_towardzero_test_data): Likewise.
28308         (ctan_test_towardzero): Likewise.
28309         (ctan_downward_test_data): Likewise.
28310         (ctan_test_downward): Likewise.
28311         (ctan_upward_test_data): Likewise.
28312         (ctan_test_upward): Likewise.
28313         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28314         (ctanh_test): Use ALL_RM_TEST.
28315         (ctanh_tonearest_test_data): Remove.
28316         (ctanh_test_tonearest): Likewise.
28317         (ctanh_towardzero_test_data): Likewise.
28318         (ctanh_test_towardzero): Likewise.
28319         (ctanh_downward_test_data): Likewise.
28320         (ctanh_test_downward): Likewise.
28321         (ctanh_upward_test_data): Likewise.
28322         (ctanh_test_upward): Likewise.
28323         (erf_test_data): Update call to AUTO_TESTS_f_f.
28324         (erfc_test_data): Likewise.
28325         (exp_test_data): Likewise.
28326         (exp_test): Use ALL_RM_TEST.
28327         (exp_tonearest_test_data): Remove.
28328         (exp_test_tonearest): Likewise.
28329         (exp_towardzero_test_data): Likewise.
28330         (exp_test_towardzero): Likewise.
28331         (exp_downward_test_data): Likewise.
28332         (exp_test_downward): Likewise.
28333         (exp_upward_test_data): Likewise.
28334         (exp_test_upward): Likewise.
28335         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28336         (exp10_test): Use ALL_RM_TEST.
28337         (exp10_tonearest_test_data): Remove.
28338         (exp10_test_tonearest): Likewise.
28339         (exp10_towardzero_test_data): Likewise.
28340         (exp10_test_towardzero): Likewise.
28341         (exp10_downward_test_data): Likewise.
28342         (exp10_test_downward): Likewise.
28343         (exp10_upward_test_data): Likewise.
28344         (exp10_test_upward): Likewise.
28345         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28346         (expm1_test_data): Likewise.
28347         (expm1_test): Use ALL_RM_TEST.
28348         (expm1_tonearest_test_data): Remove.
28349         (expm1_test_tonearest): Likewise.
28350         (expm1_towardzero_test_data): Likewise.
28351         (expm1_test_towardzero): Likewise.
28352         (expm1_downward_test_data): Likewise.
28353         (expm1_test_downward): Likewise.
28354         (expm1_upward_test_data): Likewise.
28355         (expm1_test_upward): Likewise.
28356         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28357         (fma_test): Use ALL_RM_TEST.
28358         (fma_towardzero_test_data): Remove.
28359         (fma_test_towardzero): Likewise.
28360         (fma_downward_test_data): Likewise.
28361         (fma_test_downward): Likewise.
28362         (fma_upward_test_data): Likewise.
28363         (fma_test_upward): Likewise.
28364         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28365         (j0_test_data): Update call to AUTO_TESTS_f_f.
28366         (j1_test_data): Likewise.
28367         (jn_test_data): Update call to AUTO_TESTS_if_f.
28368         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28369         (log_test_data): Update call to AUTO_TESTS_f_f.
28370         (log10_test_data): Likewise.
28371         (log1p_test_data): Likewise.
28372         (log2_test_data): Likewise.
28373         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28374         (pow_tonearest_test_data): Likewise.
28375         (sin_test_data): Update call to AUTO_TESTS_f_f.
28376         (sin_test): Use ALL_RM_TEST.
28377         (sin_tonearest_test_data): Remove.
28378         (sin_test_tonearest): Likewise.
28379         (sin_towardzero_test_data): Likewise.
28380         (sin_test_towardzero): Likewise.
28381         (sin_downward_test_data): Likewise.
28382         (sin_test_downward): Likewise.
28383         (sin_upward_test_data): Likewise.
28384         (sin_test_upward): Likewise.
28385         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28386         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28387         (sinh_test): Use ALL_RM_TEST.
28388         (sinh_tonearest_test_data): Remove.
28389         (sinh_test_tonearest): Likewise.
28390         (sinh_towardzero_test_data): Likewise.
28391         (sinh_test_towardzero): Likewise.
28392         (sinh_downward_test_data): Likewise.
28393         (sinh_test_downward): Likewise.
28394         (sinh_upward_test_data): Likewise.
28395         (sinh_test_upward): Likewise.
28396         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28397         (sqrt_test): Use ALL_RM_TEST.
28398         (sqrt_tonearest_test_data): Remove.
28399         (sqrt_test_tonearest): Likewise.
28400         (sqrt_towardzero_test_data): Likewise.
28401         (sqrt_test_towardzero): Likewise.
28402         (sqrt_downward_test_data): Likewise.
28403         (sqrt_test_downward): Likewise.
28404         (sqrt_upward_test_data): Likewise.
28405         (sqrt_test_upward): Likewise.
28406         (tan_test_data): Update call to AUTO_TESTS_f_f.
28407         (tan_test): Use ALL_RM_TEST.
28408         (tan_tonearest_test_data): Remove.
28409         (tan_test_tonearest): Likewise.
28410         (tan_towardzero_test_data): Likewise.
28411         (tan_test_towardzero): Likewise.
28412         (tan_downward_test_data): Likewise.
28413         (tan_test_downward): Likewise.
28414         (tan_upward_test_data): Likewise.
28415         (tan_test_upward): Likewise.
28416         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28417         (tgamma_test_data): Likewise.
28418         (y0_test_data): Likewise.
28419         (y1_test_data): Likewise.
28420         (yn_test_data): Update call to AUTO_TESTS_if_f.
28421         (main): Do not call removed functions.
28423 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28425         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28426         (ldexp_test_data): Remove.
28427         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28428         scalbn_test_data.
28429         (scalb_test): Use ALL_RM_TEST.
28431 2014-03-19  Andreas Schwab  <schwab@suse.de>
28433         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28435 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28437         [BZ #16649]
28438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28439         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28442         (__ASSUME_PREADV): Undefine.
28443         (__ASSUME_PWRITEV): Likewise.
28445 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28447         * bits/mman-linux.h: Add comment about non-Linux use.
28448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28449         bits/mman-linux.h resting place.
28451         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28452         * bits/mman-linux.h: ... here.
28454 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28456         * conform/conformtest.pl: Add standard definition when calling C
28457         preprocessor on data files.
28458         (checknamespace): Remove unused variable.
28460 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28462         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28463         minus_oflow, plus_uflow and minus_uflow in expected results.
28464         * math/libm-test.inc (scalbn_test_data): Add more tests of
28465         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28466         minus_uflow.
28467         (scalbn_test): Use ALL_RM_TEST.
28468         (scalbln_test_data): Add more tests of negative arguments.  Use
28469         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28470         (scalbln_test): Use ALL_RM_TEST.
28472 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28474         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28476 2014-03-18  Will Newton  <will.newton@linaro.org>
28478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28479         inaccurate comment.
28481 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28483         * Makerules [!subdir] (check-abi): Exit with error status if a
28484         test failed.
28486 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28488         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28489         for rint.  Include results for all rounding modes.
28490         (nearbyint_test): Use ALL_RM_TEST.
28491         (rint_test_data): Include all tests used for nearbyint.
28493 2014-03-17  Will Newton  <will.newton@linaro.org>
28495         * nptl/sysdeps/pthread/pthread.h: Revert previous
28496         change.
28498         * sysdeps/generic/ldsodefs.h: Revert previous
28499         change.
28501         * libio/genops.c: Revert previous change.
28502         * libio/libioP.h: Likewise.
28503         * stdio-common/vfprintf.c: Likewise.
28505         * sysdeps/generic/math_private.h: Revert previous
28506         change.
28508         * sysdeps/generic/math_private.h: Check whether
28509         HAVE_RM_CTX is defined with #ifdef rather
28510         than #if.
28512         * argp/argp-fmtstream.h: Check whether
28513         __STRICT_ANSI__ is defined with #ifdef rather
28514         than #if.
28515         * argp/argp.h: Likewise.
28517         * libio/genops.c: Check whether
28518         _IO_JUMPS_OFFSET is defined with #ifdef rather
28519         than #if.
28520         * libio/libioP.h: Likewise.
28521         * stdio-common/vfprintf.c: Likewise.
28523         * sysdeps/generic/ldsodefs.h: Check whether
28524         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28525         than #if.
28527         * nptl/sysdeps/pthread/pthread.h: Check
28528         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28529         its value.
28531 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28533         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28534         setting O_APPEND.
28535         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28536         test case.
28538         [BZ #16680]
28539         * libio/fileops.c (_IO_file_open): Seek to end of file but
28540         don't cache the offset.
28541         (get_file_offset): Remove function.
28542         (do_ftell): Use cached offset when available.
28543         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28544         don't cache the offset.
28545         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28546         case.
28547         (do_one_test): Call it.
28548         (do_ftell_test): Fix up expected old offset for a+ mode.
28549         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28550         available.
28552         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28553         up test status with function return status.
28554         (do_write_test): Likewise.
28555         (do_append_test): Likewise.
28557         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28558         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28559         Remove.
28561 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28563         * math/gen-libm-test.pl (parse_args): Handle results specified for
28564         each rounding mode separately.
28565         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28566         tests and results from lrint_tonearest_test_data,
28567         lrint_towardzero_test_data, lrint_downward_test_data and
28568         lrint_upward_test_data.
28569         (lrint_test): Use ALL_RM_TEST.
28570         (lrint_tonearest_test_data): Remove.
28571         (lrint_test_tonearest): Likewise.
28572         (lrint_towardzero_test_data): Likewise.
28573         (lrint_test_towardzero): Likewise.
28574         (lrint_downward_test_data): Likewise.
28575         (lrint_test_downward): Likewise.
28576         (lrint_upward_test_data): Likewise.
28577         (lrint_test_upward): Likewise.
28578         (llrint_test_data): Merge in per-rounding-mode tests and results
28579         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28580         llrint_downward_test_data and llrint_upward_test_data.
28581         (llrint_test): Use ALL_RM_TEST.
28582         (llrint_tonearest_test_data): Remove.
28583         (llrint_test_tonearest): Likewise.
28584         (llrint_towardzero_test_data): Likewise.
28585         (llrint_test_towardzero): Likewise.
28586         (llrint_downward_test_data): Likewise.
28587         (llrint_test_downward): Likewise.
28588         (llrint_upward_test_data): Likewise.
28589         (llrint_test_upward): Likewise.
28590         (rint_test_data): Merge in per-rounding-mode tests and results
28591         from rint_tonearest_test_data, rint_towardzero_test_data,
28592         rint_downward_test_data and rint_upward_test_data.  Add
28593         per-rounding-mode results for tests not in those arrays.
28594         (rint_test): Use ALL_RM_TEST.
28595         (rint_tonearest_test_data): Remove.
28596         (rint_test_tonearest): Likewise.
28597         (rint_towardzero_test_data): Likewise.
28598         (rint_test_towardzero): Likewise.
28599         (rint_downward_test_data): Likewise.
28600         (rint_test_downward): Likewise.
28601         (rint_upward_test_data): Likewise.
28602         (rint_test_upward): Likewise.
28603         (main): Don't call removed functions.
28605 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28607         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28608         "Compiled on ..." crapola.  It is anti-useful.
28610 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28612         * scripts/evaluate-test.sh: Handle fourth argument to determine
28613         whether test run should stop on failure.
28614         * Makeconfig (stop-on-test-failure): New variable.
28615         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28616         $(stop-on-test-failure).
28617         * Makefile (tests): Give a summary of results from testing and
28618         exit with failure status if they include an ERROR or FAIL.
28619         (xtests): Likewise.
28620         * manual/install.texi (Configuring and compiling): Mention
28621         stop-on-test-failure=y.
28622         * INSTALL: Regenerated.
28624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28626         * scripts/versionlist.awk: New file.
28627         * Makerules [$(build-shared) = yes]
28628         (postclean-generated): Add Versions.def, not Versions.def.v and
28629         Versions.def.v.i.
28630         ($(common-objpfx)Versions.def.v.i): Target removed.
28631         ($(common-objpfx)Versions.def): New target.
28632         ($(common-objpfx)Versions.all): Depend on that rather that
28633         $(common-objpfx)Versions.def.v.
28634         * Versions.def: File removed.
28636         * Makeconfig (+gccwarn): Add -Wundef.
28637         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28638         a dl-sysdep.h breaking its contract.
28639         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28640         * include/stackinfo.h: New file.
28641         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28642         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28643         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28644         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28645         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28646         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28647         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28648         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28649         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28650         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28651         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28652         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28653         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28654         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28655         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28657 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28659         [BZ #16707]
28660         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28661         implementation.
28662         * math/libm-test.inc (round_test_data): Add more tests.
28664         [BZ #16706]
28665         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28666         implementation.
28667         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28669         [BZ #16701]
28670         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28671         implementation.
28672         * math/libm-test.inc (ceil_test_data): Add more tests.
28674         * math/libm-test.inc (trunc_test_data): Add more tests related to
28675         BZ#16414.
28677 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28679         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28680         with #if rather than #ifdef.
28681         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28683 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28685         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28686         first.  Disable AVX-512 GCC support if assembler doesn't support
28687         it.
28688         * sysdeps/x86_64/configure: Regenerated.
28690 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28692         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28693         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28694         (__old_pthread_attr_setstack): Likewise.
28695         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28696         [!_STACK_GROWS_DOWN]: Likewise.
28698 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28700         * config.make.in (have-bash2): Delete.
28701         * configure.ac (libc_cv_have_bash2): Delete.
28702         * configure: Regenerate.
28703         * elf/Makefile (common-ldd-rewrite): Rename to ...
28704         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28705         (sh-ldd-rewrite): Delete.
28706         (bash-ldd-rewrite): Delete.
28707         (have-bash2): Delete checks.
28708         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28709         ldd-rewrite.
28711         * config.make.in (have-ksh): Delete.
28712         (KSH): Delete.
28713         * configure.ac (libc_cv_have_ksh): Delete.
28714         * configure: Regenerate.
28716         * elf/Makefile: Delete $(have-ksh) check.
28717         ($(objpfx)sotruss): Change KSH to BASH.
28718         * elf/sotruss.ksh: Rename to ...
28719         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28720         function style to match POSIX.  Drop ksh vim mode setting.
28722         * manual/time.texi (Specifying the Time Zone with TZ): Change
28723         Tuesday to Thursday.
28725         * debug/tst-longjmp_chk2.c: Update header comment.
28726         (stackoverflow_handler): Add comment.  Call assert on pass value.
28728 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28730         [BZ #16194]
28731         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28732         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28733         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28734         (La_x86_64_vector): Add zmm.
28735         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28736         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28737         ($(objpfx)tst-audit10): New target.
28738         ($(objpfx)tst-audit10.out): Likewise.
28739         (tst-audit10-ENV): New.
28740         (AVX512-CFLAGS): Likewise.
28741         (CFLAGS-tst-audit10.c): Likewise.
28742         (CFLAGS-tst-auditmod10a.c): Likewise.
28743         (CFLAGS-tst-auditmod10b.c): Likewise.
28744         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28745         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28746         * sysdeps/x86_64/configure: Regenerated.
28747         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28748         AVX-512 zmm register support.
28749         (_dl_x86_64_save_sse): Likewise.
28750         (_dl_x86_64_restore_sse): Likewise.
28751         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28752         size vector registers.
28753         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28754         (ZMM_SIZE): Likewise.
28755         * sysdeps/x86_64/tst-audit10.c: New file.
28756         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28757         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28759 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28761         * configure.ac (HAVE_EHDR_START): New check.
28762         * configure: Regenerated.
28763         * config.h.in (HAVE_EHDR_START): New #undef.
28764         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28765         assuming the lowest-addressed segment maps the start of the file.
28767 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28769         * INSTALL: Regenerated.
28771 2014-03-13  Will Newton  <will.newton@linaro.org>
28773         * manual/setjmp.texi (System V contexts): Improve
28774         clarity and grammar of documentation.
28776 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28778         [BZ #16381]
28779         * elf/Makefile (tests): Add tst-pie2.
28780         (tests-pie): Add tst-pie2.
28781         * elf/tst-pie2.c: New file.
28782         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28783         for ET_EXEC.
28784         * elf/rtld.c (map_doit): Load executable as lt_executable.
28785         (dl_main): Likewise.
28787 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28789         [BZ #16642]
28790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28791         (__ASSUME_PSELECT): Undefine.
28793 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28795         [BZ #16689]
28796         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28797         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28798         static build.
28799         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28800         selector for static builds.
28802 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28804         [BZ #16695]
28805         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28806         key in the buffer.
28808 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28810         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28811         IFUNC selector for static builds.
28813 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28815         * sysdeps/mips/math_private.h [__mips_hard_float]
28816         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28817         libc_feresetround_mips_ctx.
28818         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28819         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28820         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28822         [BZ #16677]
28823         * math/s_nextafter.c (__nextafter): Do not return value from
28824         overflowing computation.
28825         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28826         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28828         Likewise.
28829         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28830         Likewise.
28831         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28832         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28834 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28836         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28837         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28838         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28839         the new mov targetting sp.
28841 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28843         [BZ #16683]
28844         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28845         Define it for static builds as well.
28846         (NO_BZERO_IMPL): Likewise.
28848 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28850         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28851         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28852         multiarch strspn for PPC64.
28853         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28854         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28856         (__libc_ifunc_impl_list): Likewise.
28857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28858         multiarch optimizations
28859         * string/strspn.c (strspn): Using macro to redefine symbol name.
28861 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28862             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28864         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28865         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28866         multiarch strncat for PPC64.
28867         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28868         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28870         (__libc_ifunc_impl_list): Likewise.
28871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28872         multiarch optimizations
28874 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28876         [BZ #16639]
28877         * nscd/nscd.service: Make service type forking.
28879 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28881         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28882         sign in non default rounding modes.
28883         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28885 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28887         * math/libm-test.inc (ALL_RM_TEST): New macro.
28888         (ceil_test): Use ALL_RM_TEST.
28889         (cimag_test): Likewise.
28890         (conj_test): Likewise.
28891         (copysign_test): Likewise.
28892         (cproj_test): Likewise.
28893         (creal_test): Likewise.
28894         (fabs_test): Likewise.
28895         (floor_test): Likewise.
28896         (fmax_test): Likewise.
28897         (fmin_test): Likewise.
28898         (fmod_test): Likewise.
28899         (fpclassify_test): Likewise.
28900         (frexp_test): Likewise.
28901         (ilogb_test): Likewise.
28902         (isfinite_test): Likewise.
28903         (finite_test): Likewise.
28904         (isgreater_test): Likewise.
28905         (isgreaterequal_test): Likewise.
28906         (isinf_test): Likewise.
28907         (isless_test): Likewise.
28908         (islessequal_test): Likewise.
28909         (islessgreater_test): Likewise.
28910         (isnan_test): Likewise.
28911         (isnormal_test): Likewise.
28912         (issignaling_test): Likewise.
28913         (isunordered_test): Likewise.
28914         (logb_test): Likewise.
28915         (logb_downward_test_data): Remove.
28916         (logb_test_downward): Likewise.
28917         (lround_test): Use ALL_RM_TEST.
28918         (llround_test): Likewise.
28919         (modf_test): Likewise.
28920         (nexttoward_test): Likewise.
28921         (remainder_test): Likewise.
28922         (drem_test): Likewise.
28923         (remainder_tonearest_test_data): Likewise.
28924         (remainder_test_tonearest): Likewise.
28925         (drem_test_tonearest): Likewise.
28926         (remainder_towardzero_test_data): Likewise.
28927         (remainder_test_towardzero): Likewise.
28928         (drem_test_towardzero): Likewise.
28929         (remainder_downward_test_data): Likewise.
28930         (remainder_test_downward): Likewise.
28931         (drem_test_downward): Likewise.
28932         (remainder_upward_test_data): Likewise.
28933         (remainder_test_upward): Likewise.
28934         (drem_test_upward): Likewise.
28935         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28936         (round_test): Use ALL_RM_TEST.
28937         (signbit_test): Likewise.
28938         (trunc_test): Likewise.
28939         (significand_test): Likewise.
28940         (main): Don't call removed functions.
28942 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28944         [BZ #16674]
28945         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28946         || __USE_XOPEN2K8].
28947         (ILL_ILLOPN): Likewise.
28948         (ILL_ILLADR): Likewise.
28949         (ILL_ILLTRP): Likewise.
28950         (ILL_PRVOPC): Likewise.
28951         (ILL_PRVREG): Likewise.
28952         (ILL_COPROC): Likewise.
28953         (ILL_BADSTK): Likewise.
28954         (FPE_INTDIV): Likewise.
28955         (FPE_INTOVF): Likewise.
28956         (FPE_FLTDIV): Likewise.
28957         (FPE_FLTOVF): Likewise.
28958         (FPE_FLTUND): Likewise.
28959         (FPE_FLTRES): Likewise.
28960         (FPE_FLTINV): Likewise.
28961         (FPE_FLTSUB): Likewise.
28962         (SEGV_MAPERR): Likewise.
28963         (SEGV_ACCERR): Likewise.
28964         (BUS_ADRALN): Likewise.
28965         (BUS_ADRERR): Likewise.
28966         (BUS_OBJERR): Likewise.
28967         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28968         (TRAP_TRACE): Likewise.
28969         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28970         __USE_XOPEN2K8].
28971         (CLD_KILLED): Likewise.
28972         (CLD_DUMPED): Likewise.
28973         (CLD_TRAPPED): Likewise.
28974         (CLD_STOPPED): Likewise.
28975         (CLD_CONTINUED): Likewise.
28976         (POLL_IN): Likewise.
28977         (POLL_OUT): Likewise.
28978         (POLL_MSG): Likewise.
28979         (POLL_ERR): Likewise.
28980         (POLL_PRI): Likewise.
28981         (POLL_HUP): Likewise.
28982         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28983         Likewise.
28984         (ILL_ILLOPN): Likewise.
28985         (ILL_ILLADR): Likewise.
28986         (ILL_ILLTRP): Likewise.
28987         (ILL_PRVOPC): Likewise.
28988         (ILL_PRVREG): Likewise.
28989         (ILL_COPROC): Likewise.
28990         (ILL_BADSTK): Likewise.
28991         (FPE_INTDIV): Likewise.
28992         (FPE_INTOVF): Likewise.
28993         (FPE_FLTDIV): Likewise.
28994         (FPE_FLTOVF): Likewise.
28995         (FPE_FLTUND): Likewise.
28996         (FPE_FLTRES): Likewise.
28997         (FPE_FLTINV): Likewise.
28998         (FPE_FLTSUB): Likewise.
28999         (SEGV_MAPERR): Likewise.
29000         (SEGV_ACCERR): Likewise.
29001         (BUS_ADRALN): Likewise.
29002         (BUS_ADRERR): Likewise.
29003         (BUS_OBJERR): Likewise.
29004         (BUS_MCEERR_AR): Likewise.
29005         (BUS_MCEERR_AO): Likewise.
29006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29007         (TRAP_TRACE): Likewise.
29008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29009         __USE_XOPEN2K8].
29010         (CLD_KILLED): Likewise.
29011         (CLD_DUMPED): Likewise.
29012         (CLD_TRAPPED): Likewise.
29013         (CLD_STOPPED): Likewise.
29014         (CLD_CONTINUED): Likewise.
29015         (POLL_IN): Likewise.
29016         (POLL_OUT): Likewise.
29017         (POLL_MSG): Likewise.
29018         (POLL_ERR): Likewise.
29019         (POLL_PRI): Likewise.
29020         (POLL_HUP): Likewise.
29021         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29022         (ILL_ILLOPN): Likewise.
29023         (ILL_ILLADR): Likewise.
29024         (ILL_ILLTRP): Likewise.
29025         (ILL_PRVOPC): Likewise.
29026         (ILL_PRVREG): Likewise.
29027         (ILL_COPROC): Likewise.
29028         (ILL_BADSTK): Likewise.
29029         (FPE_INTDIV): Likewise.
29030         (FPE_INTOVF): Likewise.
29031         (FPE_FLTDIV): Likewise.
29032         (FPE_FLTOVF): Likewise.
29033         (FPE_FLTUND): Likewise.
29034         (FPE_FLTRES): Likewise.
29035         (FPE_FLTINV): Likewise.
29036         (FPE_FLTSUB): Likewise.
29037         (SEGV_MAPERR): Likewise.
29038         (SEGV_ACCERR): Likewise.
29039         (BUS_ADRALN): Likewise.
29040         (BUS_ADRERR): Likewise.
29041         (BUS_OBJERR): Likewise.
29042         (BUS_MCEERR_AR): Likewise.
29043         (BUS_MCEERR_AO): Likewise.
29044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29045         (TRAP_TRACE): Likewise.
29046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29047         __USE_XOPEN2K8].
29048         (CLD_KILLED): Likewise.
29049         (CLD_DUMPED): Likewise.
29050         (CLD_TRAPPED): Likewise.
29051         (CLD_STOPPED): Likewise.
29052         (CLD_CONTINUED): Likewise.
29053         (POLL_IN): Likewise.
29054         (POLL_OUT): Likewise.
29055         (POLL_MSG): Likewise.
29056         (POLL_ERR): Likewise.
29057         (POLL_PRI): Likewise.
29058         (POLL_HUP): Likewise.
29059         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29060         Likewise.
29061         (ILL_ILLOPN): Likewise.
29062         (ILL_ILLADR): Likewise.
29063         (ILL_ILLTRP): Likewise.
29064         (ILL_PRVOPC): Likewise.
29065         (ILL_PRVREG): Likewise.
29066         (ILL_COPROC): Likewise.
29067         (ILL_BADSTK): Likewise.
29068         (ILL_BADIADDR): Likewise.
29069         (ILL_BREAK): Likewise.
29070         (FPE_INTDIV): Likewise.
29071         (FPE_INTOVF): Likewise.
29072         (FPE_FLTDIV): Likewise.
29073         (FPE_FLTOVF): Likewise.
29074         (FPE_FLTUND): Likewise.
29075         (FPE_FLTRES): Likewise.
29076         (FPE_FLTINV): Likewise.
29077         (FPE_FLTSUB): Likewise.
29078         (FPE_DECOVF): Likewise.
29079         (FPE_DECDIV): Likewise.
29080         (FPE_DECERR): Likewise.
29081         (FPE_INVASC): Likewise.
29082         (FPE_INVDEC): Likewise.
29083         (SEGV_MAPERR): Likewise.
29084         (SEGV_ACCERR): Likewise.
29085         (SEGV_PSTKOVF): Likewise.
29086         (BUS_ADRALN): Likewise.
29087         (BUS_ADRERR): Likewise.
29088         (BUS_OBJERR): Likewise.
29089         (BUS_MCEERR_AR): Likewise.
29090         (BUS_MCEERR_AO): Likewise.
29091         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29092         (TRAP_TRACE): Likewise.
29093         (TRAP_BRANCH): Likewise.
29094         (TRAP_HWBKPT): Likewise.
29095         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29096         __USE_XOPEN2K8].
29097         (CLD_KILLED): Likewise.
29098         (CLD_DUMPED): Likewise.
29099         (CLD_TRAPPED): Likewise.
29100         (CLD_STOPPED): Likewise.
29101         (CLD_CONTINUED): Likewise.
29102         (POLL_IN): Likewise.
29103         (POLL_OUT): Likewise.
29104         (POLL_MSG): Likewise.
29105         (POLL_ERR): Likewise.
29106         (POLL_PRI): Likewise.
29107         (POLL_HUP): Likewise.
29108         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29109         (ILL_ILLOPN): Likewise.
29110         (ILL_ILLADR): Likewise.
29111         (ILL_ILLTRP): Likewise.
29112         (ILL_PRVOPC): Likewise.
29113         (ILL_PRVREG): Likewise.
29114         (ILL_COPROC): Likewise.
29115         (ILL_BADSTK): Likewise.
29116         (FPE_INTDIV): Likewise.
29117         (FPE_INTOVF): Likewise.
29118         (FPE_FLTDIV): Likewise.
29119         (FPE_FLTOVF): Likewise.
29120         (FPE_FLTUND): Likewise.
29121         (FPE_FLTRES): Likewise.
29122         (FPE_FLTINV): Likewise.
29123         (FPE_FLTSUB): Likewise.
29124         (SEGV_MAPERR): Likewise.
29125         (SEGV_ACCERR): Likewise.
29126         (BUS_ADRALN): Likewise.
29127         (BUS_ADRERR): Likewise.
29128         (BUS_OBJERR): Likewise.
29129         (BUS_MCEERR_AR): Likewise.
29130         (BUS_MCEERR_AO): Likewise.
29131         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29132         (TRAP_TRACE): Likewise.
29133         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29134         __USE_XOPEN2K8].
29135         (CLD_KILLED): Likewise.
29136         (CLD_DUMPED): Likewise.
29137         (CLD_TRAPPED): Likewise.
29138         (CLD_STOPPED): Likewise.
29139         (CLD_CONTINUED): Likewise.
29140         (POLL_IN): Likewise.
29141         (POLL_OUT): Likewise.
29142         (POLL_MSG): Likewise.
29143         (POLL_ERR): Likewise.
29144         (POLL_PRI): Likewise.
29145         (POLL_HUP): Likewise.
29146         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29147         (ILL_ILLOPN): Likewise.
29148         (ILL_ILLADR): Likewise.
29149         (ILL_ILLTRP): Likewise.
29150         (ILL_PRVOPC): Likewise.
29151         (ILL_PRVREG): Likewise.
29152         (ILL_COPROC): Likewise.
29153         (ILL_BADSTK): Likewise.
29154         (FPE_INTDIV): Likewise.
29155         (FPE_INTOVF): Likewise.
29156         (FPE_FLTDIV): Likewise.
29157         (FPE_FLTOVF): Likewise.
29158         (FPE_FLTUND): Likewise.
29159         (FPE_FLTRES): Likewise.
29160         (FPE_FLTINV): Likewise.
29161         (FPE_FLTSUB): Likewise.
29162         (SEGV_MAPERR): Likewise.
29163         (SEGV_ACCERR): Likewise.
29164         (BUS_ADRALN): Likewise.
29165         (BUS_ADRERR): Likewise.
29166         (BUS_OBJERR): Likewise.
29167         (BUS_MCEERR_AR): Likewise.
29168         (BUS_MCEERR_AO): Likewise.
29169         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29170         (TRAP_TRACE): Likewise.
29171         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29172         __USE_XOPEN2K8].
29173         (CLD_KILLED): Likewise.
29174         (CLD_DUMPED): Likewise.
29175         (CLD_TRAPPED): Likewise.
29176         (CLD_STOPPED): Likewise.
29177         (CLD_CONTINUED): Likewise.
29178         (POLL_IN): Likewise.
29179         (POLL_OUT): Likewise.
29180         (POLL_MSG): Likewise.
29181         (POLL_ERR): Likewise.
29182         (POLL_PRI): Likewise.
29183         (POLL_HUP): Likewise.
29184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29185         (ILL_ILLOPN): Likewise.
29186         (ILL_ILLADR): Likewise.
29187         (ILL_ILLTRP): Likewise.
29188         (ILL_PRVOPC): Likewise.
29189         (ILL_PRVREG): Likewise.
29190         (ILL_COPROC): Likewise.
29191         (ILL_BADSTK): Likewise.
29192         (FPE_INTDIV): Likewise.
29193         (FPE_INTOVF): Likewise.
29194         (FPE_FLTDIV): Likewise.
29195         (FPE_FLTOVF): Likewise.
29196         (FPE_FLTUND): Likewise.
29197         (FPE_FLTRES): Likewise.
29198         (FPE_FLTINV): Likewise.
29199         (FPE_FLTSUB): Likewise.
29200         (SEGV_MAPERR): Likewise.
29201         (SEGV_ACCERR): Likewise.
29202         (BUS_ADRALN): Likewise.
29203         (BUS_ADRERR): Likewise.
29204         (BUS_OBJERR): Likewise.
29205         (BUS_MCEERR_AR): Likewise.
29206         (BUS_MCEERR_AO): Likewise.
29207         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29208         (TRAP_TRACE): Likewise.
29209         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29210         __USE_XOPEN2K8].
29211         (CLD_KILLED): Likewise.
29212         (CLD_DUMPED): Likewise.
29213         (CLD_TRAPPED): Likewise.
29214         (CLD_STOPPED): Likewise.
29215         (CLD_CONTINUED): Likewise.
29216         (POLL_IN): Likewise.
29217         (POLL_OUT): Likewise.
29218         (POLL_MSG): Likewise.
29219         (POLL_ERR): Likewise.
29220         (POLL_PRI): Likewise.
29221         (POLL_HUP): Likewise.
29222         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29223         (ILL_ILLOPN): Likewise.
29224         (ILL_ILLADR): Likewise.
29225         (ILL_ILLTRP): Likewise.
29226         (ILL_PRVOPC): Likewise.
29227         (ILL_PRVREG): Likewise.
29228         (ILL_COPROC): Likewise.
29229         (ILL_BADSTK): Likewise.
29230         (ILL_DBLFLT): Likewise.
29231         (ILL_HARDWALL): Likewise.
29232         (FPE_INTDIV): Likewise.
29233         (FPE_INTOVF): Likewise.
29234         (FPE_FLTDIV): Likewise.
29235         (FPE_FLTOVF): Likewise.
29236         (FPE_FLTUND): Likewise.
29237         (FPE_FLTRES): Likewise.
29238         (FPE_FLTINV): Likewise.
29239         (FPE_FLTSUB): Likewise.
29240         (SEGV_MAPERR): Likewise.
29241         (SEGV_ACCERR): Likewise.
29242         (BUS_ADRALN): Likewise.
29243         (BUS_ADRERR): Likewise.
29244         (BUS_OBJERR): Likewise.
29245         (BUS_MCEERR_AR): Likewise.
29246         (BUS_MCEERR_AO): Likewise.
29247         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29248         (TRAP_TRACE): Likewise.
29249         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29250         __USE_XOPEN2K8].
29251         (CLD_KILLED): Likewise.
29252         (CLD_DUMPED): Likewise.
29253         (CLD_TRAPPED): Likewise.
29254         (CLD_STOPPED): Likewise.
29255         (CLD_CONTINUED): Likewise.
29256         (POLL_IN): Likewise.
29257         (POLL_OUT): Likewise.
29258         (POLL_MSG): Likewise.
29259         (POLL_ERR): Likewise.
29260         (POLL_PRI): Likewise.
29261         (POLL_HUP): Likewise.
29262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29263         (ILL_ILLOPN): Likewise.
29264         (ILL_ILLADR): Likewise.
29265         (ILL_ILLTRP): Likewise.
29266         (ILL_PRVOPC): Likewise.
29267         (ILL_PRVREG): Likewise.
29268         (ILL_COPROC): Likewise.
29269         (ILL_BADSTK): Likewise.
29270         (FPE_INTDIV): Likewise.
29271         (FPE_INTOVF): Likewise.
29272         (FPE_FLTDIV): Likewise.
29273         (FPE_FLTOVF): Likewise.
29274         (FPE_FLTUND): Likewise.
29275         (FPE_FLTRES): Likewise.
29276         (FPE_FLTINV): Likewise.
29277         (FPE_FLTSUB): Likewise.
29278         (SEGV_MAPERR): Likewise.
29279         (SEGV_ACCERR): Likewise.
29280         (BUS_ADRALN): Likewise.
29281         (BUS_ADRERR): Likewise.
29282         (BUS_OBJERR): Likewise.
29283         (BUS_MCEERR_AR): Likewise.
29284         (BUS_MCEERR_AO): Likewise.
29285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29286         (TRAP_TRACE): Likewise.
29287         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29288         __USE_XOPEN2K8].
29289         (CLD_KILLED): Likewise.
29290         (CLD_DUMPED): Likewise.
29291         (CLD_TRAPPED): Likewise.
29292         (CLD_STOPPED): Likewise.
29293         (CLD_CONTINUED): Likewise.
29294         (POLL_IN): Likewise.
29295         (POLL_OUT): Likewise.
29296         (POLL_MSG): Likewise.
29297         (POLL_ERR): Likewise.
29298         (POLL_PRI): Likewise.
29299         (POLL_HUP): Likewise.
29300         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29301         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29303         [BZ #16670]
29304         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29305         before #include of <time.h>.
29306         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29307         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29308         (test-xfail-UNIX98/sched.h/conform): Likewise.
29310 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29312         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29313         error absence of trapping exception support.
29314         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29316 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29318         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29319         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29320         * timezone/Makefile (testdata): Move definition above include of
29321         Rules.
29322         (test-zones): New variable.
29323         (tests-special): Add zone files.
29324         (build-testdata): Use $(evaluate-test).
29326         * elf/Makefile (tests-special): Rename tests to end with .out.
29327         ($(objpfx)noload-mem): Likewise.
29328         ($(objpfx)tst-leaks1-mem): Likewise.
29329         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29330         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29331         $(objpfx)test-iconvconfig.out.
29332         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29333         set -e inside subshell and redirect output to file.
29334         * iconvdata/Makefile (generated): Rename tests to end with .out.
29335         Correct type.
29336         (tests-special): Rename tests to end with .out.
29337         ($(objpfx)mtrace-tst-loading): Likewise.
29338         * intl/Makefile (generated): Likewise.
29339         (tests-special): Likewise.
29340         ($(objpfx)mtrace-tst-gettext): Likewise.
29341         * misc/Makefile (generated): Likewise.
29342         (tests-special): Likewise.
29343         ($(objpfx)tst-error1-mem): Likewise.
29344         * nptl/Makefile (tests-special): Likewise.
29345         ($(objpfx)tst-stack3-mem): Likewise.
29346         (generated): Likewise.
29347         * posix/Makefile (generated): Likewise.
29348         (tests-special): Likewise.
29349         (xtests-special): Likewise.
29350         ($(objpfx)tst-fnmatch-mem): Likewise.
29351         ($(objpfx)bug-regex2-mem): Likewise.
29352         ($(objpfx)bug-regex14-mem): Likewise.
29353         ($(objpfx)bug-regex21-mem): Likewise.
29354         ($(objpfx)bug-regex31-mem): Likewise.
29355         ($(objpfx)tst-vfork3-mem): Likewise.
29356         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29357         ($(objpfx)tst-pcre-mem): Likewise.
29358         ($(objpfx)tst-boost-mem): Likewise.
29359         ($(objpfx)bug-ga2-mem): Likewise.
29360         ($(objpfx)bug-glob2-mem): Likewise.
29361         * resolv/Makefile (generate): Likewise.
29362         (tests-special): Likewise.
29363         (xtests-special): Likewise.
29364         (generated): Likewise.
29365         ($(objpfx)mtrace-tst-leaks): Likewise.
29366         ($(objpfx)mtrace-tst-leaks2): Likewise.
29368         * scripts/merge-test-results.sh: New file.
29369         * Makefile (tests-special-notdir): New variable.
29370         (tests): Run merge-test-results.sh.
29371         (xtests): Likewise.
29372         * Rules (tests-special-notdir): New variable.
29373         (xtests-special-notdir): Likewise.
29374         (tests): Run merge-test-results.sh
29375         (xtests): Likewise.
29377         * Makeconfig (test-xfail-name): New variable.
29378         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29379         compute variable name for expected failures.
29380         * conform/Makefile (conformtest-headers-data): New variable.
29381         (conformtest-standards): Likewise.
29382         (conformtest-headers-ISO): Likewise.
29383         (conformtest-headers-ISO99): Likewise.
29384         (conformtest-headers-ISO11): Likewise.
29385         (conformtest-headers-POSIX): Likewise.
29386         (conformtest-headers-XPG3): Likewise.
29387         (conformtest-headers-XPG4): Likewise.
29388         (conformtest-headers-UNIX98): Likewise.
29389         (conformtest-headers-XOPEN2K): Likewise.
29390         (conformtest-headers-POSIX2008): Likewise.
29391         (conformtest-headers-XOPEN2K8): Likewise.
29392         (conformtest-header-list-base): Likewise.
29393         (conformtest-header-list-tests): Likewise.
29394         (conformtest-header-base): Likewise.
29395         (conformtest-header-tests): Likewise.
29396         (tests-special): Add $(conformtest-header-list-tests).  If
29397         [$(fast-check) && !$(cross-compiling)], add
29398         $(conformtest-header-tests) instead of
29399         $(objpfx)run-conformtest.out.
29400         (generated): Add $(conformtest-header-list-base).  If
29401         [$(fast-check) && !$(cross-compiling)], add
29402         $(conformtest-header-base).  Remove previous setting.
29403         ($(conformtest-header-list-tests)): New target.
29404         (test-xfail-run-conformtest): Remove variable.
29405         ($(objpfx)run-conformtest.out): Remove target.
29406         (test-xfail-ISO11/complex.h/conform): New variable.
29407         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29408         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29409         (test-xfail-XPG3/varargs.h/conform): Likewise.
29410         (test-xfail-XPG4/varargs.h/conform): Likewise.
29411         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29412         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29413         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29414         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29415         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29416         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29417         (test-xfail-XPG3/ftw.h/conform): Likewise.
29418         (test-xfail-XPG3/grp.h/conform): Likewise.
29419         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29420         (test-xfail-XPG3/limits.h/conform): Likewise.
29421         (test-xfail-XPG3/pwd.h/conform): Likewise.
29422         (test-xfail-XPG3/search.h/conform): Likewise.
29423         (test-xfail-XPG3/signal.h/conform): Likewise.
29424         (test-xfail-XPG3/stdio.h/conform): Likewise.
29425         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29426         (test-xfail-XPG3/string.h/conform): Likewise.
29427         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29428         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29429         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29430         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29431         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29432         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29433         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29434         (test-xfail-XPG3/termios.h/conform): Likewise.
29435         (test-xfail-XPG3/time.h/conform): Likewise.
29436         (test-xfail-XPG3/unistd.h/conform): Likewise.
29437         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29438         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29439         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29440         (test-xfail-XPG4/netdb.h/conform): Likewise.
29441         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29442         (test-xfail-XPG4/signal.h/conform): Likewise.
29443         (test-xfail-XPG4/stdio.h/conform): Likewise.
29444         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29445         (test-xfail-XPG4/stropts.h/conform): Likewise.
29446         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29447         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29448         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29449         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29450         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29451         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29452         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29453         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29454         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29455         (test-xfail-XPG4/termios.h/conform): Likewise.
29456         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29457         (test-xfail-XPG4/unistd.h/conform): Likewise.
29458         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29459         (test-xfail-POSIX/sched.h/conform): Likewise.
29460         (test-xfail-POSIX/signal.h/conform): Likewise.
29461         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29462         (test-xfail-POSIX/tar.h/conform): Likewise.
29463         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29464         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29465         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29466         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29467         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29468         (test-xfail-UNIX98/sched.h/conform): Likewise.
29469         (test-xfail-UNIX98/signal.h/conform): Likewise.
29470         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29471         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29472         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29473         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29474         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29475         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29476         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29477         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29478         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29479         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29480         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29481         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29482         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29483         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29484         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29485         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29486         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29487         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29488         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29489         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29490         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29491         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29492         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29493         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29494         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29495         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29496         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29497         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29498         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29499         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29500         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29501         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29502         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29503         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29504         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29505         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29506         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29507         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29508         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29509         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29510         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29511         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29512         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29513         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29514         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29515         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29516         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29517         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29518         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29519         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29520         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29521         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29522         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29523         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29524         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29525         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29526         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29527         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29528         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29529         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29530         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29531         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29532         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29533         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29534         (conformtest-cc-flags): Likewise.
29535         ($(conformtest-header-tests): New target.
29536         * conform/check-header-lists.sh: New file.
29537         * conform/run-conformtest.sh: Remove.
29539         * conform/conformtest.pl: Allow ' and \ in values given for
29540         constants.
29541         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29542         inclusion.
29543         [POSIX] (sys/types.h): Likewise.
29544         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29545         inclusion.
29546         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29547         inclusion.
29548         * conform/data/signal.h-data (SIGIO): Remove expectation.
29549         [XPG3] (SIGBUS): Do not expect.
29550         [POSIX || XPG3] (SIGPOLL): Likewise.
29551         [POSIX || XPG3] (SIGPROF): Likewise.
29552         [POSIX || XPG3] (SIGSYS): Likewise.
29553         [XPG3] (SIGTRAP): Likewise.
29554         [POSIX || XPG3] (SIGURG): Likewise.
29555         [POSIX || XPG3] (SIGVTALRM): Likewise.
29556         [POSIX || XPG3] (SIGXCPU): Likewise.
29557         [POSIX || XPG3] (SIGXFSZ): Likewise.
29558         [POSIX] (SA_SIGINFO): Expect.
29559         [XPG3] (siginfo_t): Do not expect type or contents.
29560         [POSIX] (si_pid): Do not expect element.
29561         [POSIX] (si_uid): Likewise.
29562         [POSIX] (si_addr): Likewise.
29563         [POSIX] (si_status): Likewise.
29564         [POSIX] (si_band): Likewise.
29565         [XPG4] (si_value): Likewise.
29566         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29567         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29568         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29569         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29570         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29571         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29572         [POSIX || XPG3] (ILL_COPROC): Likewise.
29573         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29574         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29575         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29576         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29577         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29578         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29579         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29580         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29581         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29582         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29583         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29584         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29585         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29586         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29587         [POSIX || XPG3] (CLD_EXITED): Likewise.
29588         [POSIX || XPG3] (CLD_KILLED): Likewise.
29589         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29590         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29591         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29592         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29593         [POSIX || XPG3] (POLL_IN): Likewise.
29594         [POSIX || XPG3] (POLL_OUT): Likewise.
29595         [POSIX || XPG3] (POLL_MSG): Likewise.
29596         [POSIX || XPG3] (POLL_ERR): Likewise.
29597         [POSIX || XPG3] (POLL_PRI): Likewise.
29598         [POSIX || XPG3] (POLL_HUP): Likewise.
29599         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29600         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29601         (SIG*): Do not allow.
29602         [XPG3] (si_*): Likewise.
29603         [XPG3] (SI_*): Likewise.
29604         [XPG3 || XPG4] (sigev_*): Likewise.
29605         [XPG3 || XPG4] (SIGEV_*): Likewise.
29606         [XPG3 || XPG4] (sival_*): Likewise.
29607         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29608         [POSIX || XPG3] (BUS_*): Likewise.
29609         [POSIX || XPG3] (CLD_*): Likewise.
29610         [POSIX || XPG3] (FPE_*): Likewise.
29611         [POSIX || XPG3] (ILL_*): Likewise.
29612         [POSIX || XPG3] (POLL_*): Likewise.
29613         [POSIX || XPG3] (SEGV_*): Likewise.
29614         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29615         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29616         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29617         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29618         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29619         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29620         Specify type and value.
29621         (TVERSLEN): Likewise.
29622         (REGTYPE): Likewise.
29623         (AREGTYPE): Likewise.
29624         (LNKTYPE): Likewise.
29625         (SYMTYPE): Likewise.
29626         (CHRTYPE): Likewise.
29627         (BLKTYPE): Likewise.
29628         (DIRTYPE): Likewise.
29629         (FIFOTYPE): Likewise.
29630         (CONTTYPE): Likewise.
29631         (TSUID): Likewise.
29632         (TSGID): Likewise.
29633         (TSVTX): Likewise.
29634         (TUREAD): Likewise.
29635         (TUWRITE): Likewise.
29636         (TUEXEC): Likewise.
29637         (TGREAD): Likewise.
29638         (TGWRITE): Likewise.
29639         (TGEXEC): Likewise.
29640         (TOREAD): Likewise.
29641         (TOWRITE): Likewise.
29642         (TOEXEC): Likewise.
29643         [POSIX] (TSVTX): Expect constant.
29645 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29647         * Makefile (tests): Change dependencies to ....
29648         (tests-special): ... additions to this variable.
29649         (tests): Depend on $(tests-special).
29650         * Makerules (check-abi-list): New variable.
29651         (check-abi): Depend on $(check-abi-list).
29652         [$(subdir) = elf] (tests-special): Add
29653         $(objpfx)check-abi-libc.out.
29654         [$(build-shared) = yes && subdir] (tests-special): Add
29655         $(check-abi-list).
29656         [$(build-shared) = yes && subdir] (tests): Do not depend on
29657         check-abi.
29658         * Rules (tests): Depend on $(tests-special).
29659         (xtests): Depend on $(xtests-special).
29660         * catgets/Makefile (tests): Change dependencies to ....
29661         (tests-special): ... additions to this variable.
29662         * conform/Makefile (tests): Change dependencies to ....
29663         (tests-special): ... additions to this variable.
29664         * elf/Makefile (tests): Change dependencies to ....
29665         (tests-special): ... additions to this variable.
29666         * grp/Makefile (tests): Change dependencies to ....
29667         (tests-special): ... additions to this variable.
29668         * iconv/Makefile (xtests): Change dependencies to ....
29669         (xtests-special): ... additions to this variable.
29670         * iconvdata/Makefile (tests): Change dependencies to ....
29671         (tests-special): ... additions to this variable.
29672         * intl/Makefile (tests): Change dependencies to ....
29673         (tests-special): ... additions to this variable.  Also add
29674         $(objpfx)tst-gettext.out.
29675         * io/Makefile (tests): Change dependencies to ....
29676         (tests-special): ... additions to this variable.
29677         * libio/Makefile (tests): Change dependencies to ....
29678         (tests-special): ... additions to this variable.
29679         * malloc/Makefile (tests): Change dependencies to ....
29680         (tests-special): ... additions to this variable.
29681         * misc/Makefile (tests): Change dependencies to ....
29682         (tests-special): ... additions to this variable.
29683         * nptl/Makefile (tests): Change dependencies to ....
29684         (tests-special): ... additions to this variable.
29685         * nptl_db/Makefile (tests): Change dependencies to ....
29686         (tests-special): ... additions to this variable.
29687         * posix/Makefile (tests): Change dependencies to ....
29688         (tests-special): ... additions to this variable.
29689         (xtests): Change dependencies to ....
29690         (xtests-special): ... additions to this variable.
29691         * resolv/Makefile (tests): Change dependencies to ....
29692         (tests-special): ... additions to this variable.
29693         (xtests): Change dependencies to ....
29694         (xtests-special): ... additions to this variable.
29695         * stdio-common/Makefile (tests): Change dependencies to ....
29696         (tests-special): ... additions to this variable.
29697         (do-tst-unbputc): Remove target.
29698         (do-tst-printf): Likewise.
29699         * stdlib/Makefile (tests): Change dependencies to ....
29700         (tests-special): ... additions to this variable.
29701         * string/Makefile (tests): Change dependencies to ....
29702         (tests-special): ... additions to this variable.
29703         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29704         (tests-special): ... additions to this variable.
29706         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29707         whole file.
29708         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29709         whole file.
29710         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29711         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29713         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29714         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29715         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29716         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29717         * conform/data/libgen.h-data [XPG3]: Likewise.
29718         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29719         * conform/data/ndbm.h-data [XPG3]: Likewise.
29720         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29721         * conform/data/netdb.h-data [XPG3]: Likewise.
29722         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29723         * conform/data/poll.h-data [XPG3]: Likewise.
29724         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29725         * conform/data/strings.h-data [XPG3]: Likewise.
29726         * conform/data/stropts.h-data [XPG3]: Likewise.
29727         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29728         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29729         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29730         Likewise.
29731         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29732         * conform/data/sys/time.h-data [XPG3]: Likewise.
29733         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29734         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29735         * conform/data/sys/un.h-data [XPG3]: Likewise.
29736         * conform/data/syslog.h-data [XPG3]: Likewise.
29737         * conform/data/ucontext.h-data [XPG3]: Likewise.
29738         * conform/data/utmpx.h-data [XPG3]: Likewise.
29739         * conform/data/varargs.h-data [UNIX98]: Enable file.
29741         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29743         * math/libm-test.inc (struct test_f_f_data): Move expected results
29744         into structure for each rounding mode.
29745         (struct test_ff_f_data): Likewise.
29746         (struct test_ff_f_data_nexttoward): Likewise.
29747         (struct test_fi_f_data): Likewise.
29748         (struct test_fl_f_data): Likewise.
29749         (struct test_if_f_data): Likewise.
29750         (struct test_fff_f_data): Likewise.
29751         (struct test_c_f_data): Likewise.
29752         (struct test_f_f1_data): Likewise.
29753         (struct test_fF_f1_data): Likewise.
29754         (struct test_ffI_f1_data): Likewise.
29755         (struct test_c_c_data): Likewise.
29756         (struct test_cc_c_data): Likewise.
29757         (struct test_f_i_data): Likewise.
29758         (struct test_ff_i_data): Likewise.
29759         (struct test_f_l_data): Likewise.
29760         (struct test_f_L_data): Likewise.
29761         (struct test_fFF_11_data): Likewise.
29762         (RM_): New macro.
29763         (RM_FE_DOWNWARD): Likewise.
29764         (RM_FE_TONEAREST): Likewise.
29765         (RM_FE_TOWARDZERO): Likewise.
29766         (RM_FE_UPWARD): Likewise.
29767         (RUN_TEST_LOOP_f_f): Update references to expected results.
29768         (RUN_TEST_LOOP_2_f): Likewise.
29769         (RUN_TEST_LOOP_fff_f): Likewise.
29770         (RUN_TEST_LOOP_c_f): Likewise.
29771         (RUN_TEST_LOOP_f_f1): Likewise.
29772         (RUN_TEST_LOOP_fF_f1): Likewise.
29773         (RUN_TEST_LOOP_fI_f1): Likewise.
29774         (RUN_TEST_LOOP_ffI_f1): Likewise.
29775         (RUN_TEST_LOOP_c_c): Likewise.
29776         (RUN_TEST_LOOP_cc_c): Likewise.
29777         (RUN_TEST_LOOP_f_i): Likewise.
29778         (RUN_TEST_LOOP_f_i_tg): Likewise.
29779         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29780         (RUN_TEST_LOOP_f_b): Likewise.
29781         (RUN_TEST_LOOP_f_b_tg): Likewise.
29782         (RUN_TEST_LOOP_f_l): Likewise.
29783         (RUN_TEST_LOOP_f_L): Likewise.
29784         (RUN_TEST_LOOP_fFF_11): Likewise.
29785         * math/gen-libm-test.pl (parse_args): Output four copies of
29786         expected results for each test.
29788         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29789         (__ASSUME_UTIMES): Remove.
29790         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29791         (__ASSUME_UTIMES): Likewise.
29793         * math/gen-auto-libm-tests.c: Update comment on output format.
29794         (output_for_one_input_case): Generate before-rounding and
29795         after-rounding information as conditions on output flags not
29796         floating-point format.
29797         * math/auto-libm-test-out: Regenerated.
29798         * math/gen-libm-test.pl (cond_value): New function.
29799         (or_cond_value): Use cond_value.
29800         (generate_testfile): Handle conditional exceptions.
29802 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29804         * math/libm-test.inc (max_valid_error): New variable.
29805         (init_max_error): Take new argument specifying whether function
29806         results are exactly determined.  Set max_valid_error and bound
29807         other variables for errors based on this argument.
29808         (set_max_error): Do not record results above max_valid_error.
29809         (check_float_internal): Only accept errors of up to 0.5ulps if
29810         also at most max_valid_error.
29811         (START): Take new argument EXACT and pass it to init_max_error.
29812         (acos_test): Update call to START.
29813         (acos_test_tonearest): Likewise.
29814         (acos_test_towardzero): Likewise.
29815         (acos_test_downward): Likewise.
29816         (acos_test_upward): Likewise.
29817         (acosh_test): Likewise.
29818         (asin_test): Likewise.
29819         (asin_test_tonearest): Likewise.
29820         (asin_test_towardzero): Likewise.
29821         (asin_test_downward): Likewise.
29822         (asin_test_upward): Likewise.
29823         (asinh_test): Likewise.
29824         (atan_test): Likewise.
29825         (atanh_test): Likewise.
29826         (atan2_test): Likewise.
29827         (cabs_test): Likewise.
29828         (cacos_test): Likewise.
29829         (cacosh_test): Likewise.
29830         (carg_test): Likewise.
29831         (casin_test): Likewise.
29832         (casinh_test): Likewise.
29833         (catan_test): Likewise.
29834         (catanh_test): Likewise.
29835         (cbrt_test): Likewise.
29836         (ccos_test): Likewise.
29837         (ccosh_test): Likewise.
29838         (ceil_test): Likewise.
29839         (cexp_test): Likewise.
29840         (cimag_test): Likewise.
29841         (clog_test): Likewise.
29842         (clog10_test): Likewise.
29843         (conj_test): Likewise.
29844         (copysign_test): Likewise.
29845         (cos_test): Likewise.
29846         (cos_test_tonearest): Likewise.
29847         (cos_test_towardzero): Likewise.
29848         (cos_test_downward): Likewise.
29849         (cos_test_upward): Likewise.
29850         (cosh_test): Likewise.
29851         (cosh_test_tonearest): Likewise.
29852         (cosh_test_towardzero): Likewise.
29853         (cosh_test_downward): Likewise.
29854         (cosh_test_upward): Likewise.
29855         (cpow_test): Likewise.
29856         (cproj_test): Likewise.
29857         (creal_test): Likewise.
29858         (csin_test): Likewise.
29859         (csinh_test): Likewise.
29860         (csqrt_test): Likewise.
29861         (ctan_test): Likewise.
29862         (ctan_test_tonearest): Likewise.
29863         (ctan_test_towardzero): Likewise.
29864         (ctan_test_downward): Likewise.
29865         (ctan_test_upward): Likewise.
29866         (ctanh_test): Likewise.
29867         (ctanh_test_tonearest): Likewise.
29868         (ctanh_test_towardzero): Likewise.
29869         (ctanh_test_downward): Likewise.
29870         (ctanh_test_upward): Likewise.
29871         (erf_test): Likewise.
29872         (erfc_test): Likewise.
29873         (exp_test): Likewise.
29874         (exp_test_tonearest): Likewise.
29875         (exp_test_towardzero): Likewise.
29876         (exp_test_downward): Likewise.
29877         (exp_test_upward): Likewise.
29878         (exp10_test): Likewise.
29879         (exp10_test_tonearest): Likewise.
29880         (exp10_test_towardzero): Likewise.
29881         (exp10_test_downward): Likewise.
29882         (exp10_test_upward): Likewise.
29883         (pow10_test): Likewise.
29884         (exp2_test): Likewise.
29885         (expm1_test): Likewise.
29886         (expm1_test_tonearest): Likewise.
29887         (expm1_test_towardzero): Likewise.
29888         (expm1_test_downward): Likewise.
29889         (expm1_test_upward): Likewise.
29890         (fabs_test): Likewise.
29891         (fdim_test): Likewise.
29892         (floor_test): Likewise.
29893         (fma_test): Likewise.
29894         (fma_test_towardzero): Likewise.
29895         (fma_test_downward): Likewise.
29896         (fma_test_upward): Likewise.
29897         (fmax_test): Likewise.
29898         (fmin_test): Likewise.
29899         (fmod_test): Likewise.
29900         (fpclassify_test): Likewise.
29901         (frexp_test): Likewise.
29902         (hypot_test): Likewise.
29903         (ilogb_test): Likewise.
29904         (isfinite_test): Likewise.
29905         (finite_test): Likewise.
29906         (isgreater_test): Likewise.
29907         (isgreaterequal_test): Likewise.
29908         (isinf_test): Likewise.
29909         (isless_test): Likewise.
29910         (islessequal_test): Likewise.
29911         (islessgreater_test): Likewise.
29912         (isnan_test): Likewise.
29913         (isnormal_test): Likewise.
29914         (issignaling_test): Likewise.
29915         (isunordered_test): Likewise.
29916         (j0_test): Likewise.
29917         (j1_test): Likewise.
29918         (jn_test): Likewise.
29919         (ldexp_test): Likewise.
29920         (lgamma_test): Likewise.
29921         (gamma_test): Likewise.
29922         (lrint_test): Likewise.
29923         (lrint_test_tonearest): Likewise.
29924         (lrint_test_towardzero): Likewise.
29925         (lrint_test_downward): Likewise.
29926         (lrint_test_upward): Likewise.
29927         (llrint_test): Likewise.
29928         (llrint_test_tonearest): Likewise.
29929         (llrint_test_towardzero): Likewise.
29930         (llrint_test_downward): Likewise.
29931         (llrint_test_upward): Likewise.
29932         (log_test): Likewise.
29933         (log10_test): Likewise.
29934         (log1p_test): Likewise.
29935         (log2_test): Likewise.
29936         (logb_test): Likewise.
29937         (logb_test_downward): Likewise.
29938         (lround_test): Likewise.
29939         (llround_test): Likewise.
29940         (modf_test): Likewise.
29941         (nearbyint_test): Likewise.
29942         (nextafter_test): Likewise.
29943         (nexttoward_test): Likewise.
29944         (pow_test): Likewise.
29945         (pow_test_tonearest): Likewise.
29946         (pow_test_towardzero): Likewise.
29947         (pow_test_downward): Likewise.
29948         (pow_test_upward): Likewise.
29949         (remainder_test): Likewise.
29950         (drem_test): Likewise.
29951         (remainder_test_tonearest): Likewise.
29952         (drem_test_tonearest): Likewise.
29953         (remainder_test_towardzero): Likewise.
29954         (drem_test_towardzero): Likewise.
29955         (remainder_test_downward): Likewise.
29956         (drem_test_downward): Likewise.
29957         (remainder_test_upward): Likewise.
29958         (drem_test_upward): Likewise.
29959         (remquo_test): Likewise.
29960         (rint_test): Likewise.
29961         (rint_test_tonearest): Likewise.
29962         (rint_test_towardzero): Likewise.
29963         (rint_test_downward): Likewise.
29964         (rint_test_upward): Likewise.
29965         (round_test): Likewise.
29966         (scalb_test): Likewise.
29967         (scalbn_test): Likewise.
29968         (scalbln_test): Likewise.
29969         (signbit_test): Likewise.
29970         (sin_test): Likewise.
29971         (sin_test_tonearest): Likewise.
29972         (sin_test_towardzero): Likewise.
29973         (sin_test_downward): Likewise.
29974         (sin_test_upward): Likewise.
29975         (sincos_test): Likewise.
29976         (sinh_test): Likewise.
29977         (sinh_test_tonearest): Likewise.
29978         (sinh_test_towardzero): Likewise.
29979         (sinh_test_downward): Likewise.
29980         (sinh_test_upward): Likewise.
29981         (sqrt_test): Likewise.
29982         (sqrt_test_tonearest): Likewise.
29983         (sqrt_test_towardzero): Likewise.
29984         (sqrt_test_downward): Likewise.
29985         (sqrt_test_upward): Likewise.
29986         (tan_test): Likewise.
29987         (tan_test_tonearest): Likewise.
29988         (tan_test_towardzero): Likewise.
29989         (tan_test_downward): Likewise.
29990         (tan_test_upward): Likewise.
29991         (tanh_test): Likewise.
29992         (tgamma_test): Likewise.
29993         (trunc_test): Likewise.
29994         (y0_test): Likewise.
29995         (y1_test): Likewise.
29996         (yn_test): Likewise.
29997         (significand_test): Likewise.
29999         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30000         individual tests in comment.
30001         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30002         (prev_max_error): New variable.
30003         (prev_real_max_error): Likewise.
30004         (prev_imag_max_error): Likewise.
30005         (compare_ulp_data): Don't refer to test names in comment.
30006         (find_test_ulps): Remove function.
30007         (find_function_ulps): Likewise.
30008         (find_complex_function_ulps): Likewise.
30009         (init_max_error): Take function name as argument.  Look up ulps
30010         for that function.
30011         (print_ulps): Remove function.
30012         (print_max_error): Use prev_max_error instead of calling
30013         find_function_ulps.
30014         (print_complex_max_error): Use prev_real_max_error and
30015         prev_imag_max_error instead of calling find_complex_function_ulps.
30016         (check_float_internal): Take max_ulp parameter instead of calling
30017         find_test_ulps.  Don't call print_ulps.
30018         (check_float): Update call to check_float_internal.
30019         (check_complex): Update calls to check_float_internal.
30020         (START): Pass argument to init_max_error.
30021         * math/gen-libm-test.pl (%results): Don't include "kind"
30022         information.
30023         (parse_ulps): Don't handle ulps of individual tests.
30024         (print_ulps_file): Likewise.
30025         (output_ulps): Likewise.
30026         * math/README.libm-test: Update.
30027         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30028         individual tests.
30029         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30030         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30031         * sysdeps/arm/libm-test-ulps: Likewise.
30032         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30033         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30034         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30035         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30036         * sysdeps/microblaze/libm-test-ulps: Likewise.
30037         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30038         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30039         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30040         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30042         * sysdeps/sh/libm-test-ulps: Likewise.
30043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30044         * sysdeps/tile/libm-test-ulps: Likewise.
30045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30047 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30049         * math/libm-test.inc (print_complex_max_error): Check separately
30050         whether real and imaginary errors are within allowed range and
30051         pass 0 to print_complex_function_ulps instead of value within
30052         allowed range.
30054 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30056         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30057         formatting.
30058         (get_handles_fopen): Likewise.
30059         (do_write_test): Likewise.
30061         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30063         * libio/fileops.c (do_ftell): Use cached offset when
30064         available.
30065         * libio/iofwide.c (do_ftell_wide): Likewise.
30066         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30067         _IO_file_attach.
30068         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30070         [BZ #16532]
30071         * libio/libioP.h (get_file_offset): New function.
30072         * libio/fileops.c (get_file_offset): Likewise.
30073         (do_ftell): Likewise.
30074         (_IO_new_file_seekoff): Split out ftell logic.
30075         * libio/wfileops.c (do_ftell_wide): Likewise.
30076         (_IO_wfile_seekoff): Split out ftell logic.
30077         * libio/tst-ftell-active-handler.c: New test case.
30078         * libio/Makefile (tests): Add it.
30080 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30082         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30083         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30085 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30087         [BZ #16639]
30088         * nscd/connections.c (nscd_init): Call do_exit.
30089         (start_threads): Call do_exit and notify_parent.
30090         (begin_drop_privileges): Call do_exit.
30091         (finish_drop_privileges): Likewise.
30092         * nscd/selinux.c (preserve_capabilities): Likewise.
30093         (install_real_capabilities): Likewise.
30094         (nscd_selinux_enabled): Likewise.
30095         (avc_create_thread): Likewise.
30096         (avc_alloc_lock): Likewise.
30097         (nscd_avc_init): Likewise.
30098         * nscd/nscd.c (parent_fd): New static variable.
30099         (main): Create a pipe between parent and child processes.
30100         Skip closing parent_fd.
30101         (monitor_child): New function.
30102         (do_exit): Likewise.
30103         (notify_parent): Likewise.
30104         * nscd/nscd.h (notify_parent): Likewise.
30105         (do_exit): Likewise.
30107 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30109         * malloc/malloc.c (__libc_calloc): Revert last change.
30111 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30115 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30117         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30119         implementation.
30120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30121         (__libc_ifunc_impl_list): Likewise.
30122         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30123         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30124         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30125         * string/strrchr.c: Define STRRCHR.
30127 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30129         * benchtest/bench-strtok.c (simple_strtok): Delete.
30130         (strtok_string): Use as benchmark.
30131         * string/strtok (STRTOK): New macro.
30133 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30135         * manual/threads.texi: Add header and standard comments to all
30136         functions.
30138         * elf/dl-lookup.c (check_match): New function.
30139         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30140         (do_lookup_x): Remove nested function check_match. Use non-nested
30141         function check_match.
30143 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30145         * csu/Makefile (generated, before-compile): Use += rather than =.
30146         * catgets/Makefile (generated, generated-dirs): Likewise.
30147         * debug/Makefile (generated): Likewise.
30148         * dlfcn/Makefile (generated): Likewise.
30149         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30150         * iconvdata/Makefile (before-compile, generated): Likewise.
30151         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30152         * libio/Makefile (generated): Likewise.
30153         * malloc/Makefile (generated): Likewise.
30154         * manual/Makefile (generated, generated-dirs): Likewise.
30155         * misc/Makefile (generated): Likewise.
30156         * posix/Makefile (generated): Likewise.
30157         * resolv/Makefile (generated): Likewise.
30158         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30159         * timezone/Makefile (generated, generated-dirs): Likewise.
30161         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30163 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30166         power8 implementation.
30167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30168         file: POWER8 llround ifunc implementation.
30169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30170         (__lllround): Add POWER8 implementation.
30171         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30172         POWER8 llround implementation.
30174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30175         power8 implementation.
30176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30177         file: POWER8 llrint ifunc implementation.
30178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30179         Add POWER8 implementation.
30180         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30181         POWER8 llrint implementation.
30183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30184         power8 implementation.
30185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30186         file: POWER8 finite ifunc implementation.
30187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30188         Add POWER8 implementation.
30189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30190         Likewise.
30191         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30192         POWER8 finite implementation.
30193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30196         power8 implementation.
30197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30198         file: POWER8 isinf ifunc implementation.
30199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30200         POWER8 implementation.
30201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30202         Likewise.
30203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30204         isinf implementation.
30205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30207         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30208         (INIT_ARCH): Add hwcap2 initialization.
30209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30210         power8 implementation.
30211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30212         file: POWER8 isnan ifunc implementation.
30213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30214         POWER8 implementation.
30215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30216         Likewise.
30217         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30218         isnan implementation.
30219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30221 2014-02-27  Joey Ye  <joey.ye@arm.com>
30223         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30224         (_FP_NANFRAC_Q): Set to zero.
30226 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30228         [BZ #16623]
30229         * math/auto-libm-test-in: New test inputs.
30230         * math/auto-libm-test-out: Regenerate.
30231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30232         and DA.
30233         (__cos): Likewise.
30234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30236 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30238         * scripts/evaluate-test.sh: Take new argument indicating whether
30239         failure is expected.
30240         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30241         indicating whether failure is expected.
30242         * conform/Makefile (test-xfail-run-conformtest): New variable.
30243         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30244         level.
30245         * posix/Makefile (test-xfail-annexc): New variable.
30246         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30248 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30250         * argp/Makefile: Include Makeconfig immediately after defining
30251         subdir.
30252         * assert/Makefile: Likewise.
30253         * benchtests/Makefile: Likewise.
30254         * catgets/Makefile: Likewise.
30255         * conform/Makefile: Likewise.
30256         * crypt/Makefile: Likewise.
30257         * csu/Makefile: Likewise.
30258         (all): Remove target.
30259         * ctype/Makefile: Include Makeconfig immediately after defining
30260         subdir.
30261         * debug/Makefile: Likewise.
30262         * dirent/Makefile: Likewise.
30263         * dlfcn/Makefile: Likewise.
30264         * gmon/Makefile: Likewise.
30265         * gnulib/Makefile: Likewise.
30266         * grp/Makefile: Likewise.
30267         * gshadow/Makefile: Likewise.
30268         * hesiod/Makefile: Likewise.
30269         * hurd/Makefile: Likewise.
30270         (all): Remove target.
30271         * iconvdata/Makefile: Include Makeconfig immediately after
30272         defining subdir.
30273         * inet/Makefile: Likewise.
30274         * intl/Makefile: Likewise.
30275         * io/Makefile: Likewise.
30276         * libio/Makefile: Likewise.
30277         (all): Remove target.
30278         * locale/Makefile: Include Makeconfig immediately after defining
30279         subdir.
30280         * login/Makefile: Likewise.
30281         * mach/Makefile: Likewise.
30282         (all): Remove target.
30283         * malloc/Makefile: Include Makeconfig immediately after defining
30284         subdir.
30285         (all): Remove target.
30286         * manual/Makefile: Include Makeconfig immediately after defining
30287         subdir.
30288         * math/Makefile: Likewise.
30289         * misc/Makefile: Likewise.
30290         * nis/Makefile: Likewise.
30291         * nss/Makefile: Likewise.
30292         * po/Makefile: Likewise.
30293         (all): Remove target.
30294         * posix/Makefile: Include Makeconfig immediately after defining
30295         subdir.
30296         * pwd/Makefile: Likewise.
30297         * resolv/Makefile: Likewise.
30298         * resource/Makefile: Likewise.
30299         * rt/Makefile: Likewise.
30300         * setjmp/Makefile: Likewise.
30301         * shadow/Makefile: Likewise.
30302         * signal/Makefile: Likewise.
30303         * socket/Makefile: Likewise.
30304         * soft-fp/Makefile: Likewise.
30305         * stdio-common/Makefile: Likewise.
30306         * stdlib/Makefile: Likewise.
30307         * streams/Makefile: Likewise.
30308         * string/Makefile: Likewise.
30309         * sunrpc/Makefile: Likewise.
30310         (all): Remove target.
30311         * sysvipc/Makefile: Include Makeconfig immediately after defining
30312         subdir.
30313         * termios/Makefile: Likewise.
30314         * time/Makefile: Likewise.
30315         * timezone/Makefile: Likewise.
30316         (all): Remove target.
30317         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30318         subdir.
30319         * wctype/Makefile: Likewise.
30321 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30323         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30324         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30325         (libc_feholdexcept_setround_mips): Ditto.
30326         (libc_feholdsetround): New.
30327         (libc_feholdsetroundf): New.
30328         (libc_feholdsetroundl): New.
30329         (libc_feupdateenv_test_mips): New.
30330         (libc_feupdateenv_test): New.
30331         (libc_feupdateenv_testf): New.
30332         (libc_feupdateenv_testl): New.
30333         (libc_feresetround): New.
30334         (libc_feresetroundf): New.
30335         (libc_feresetroundl): New.
30336         (libc_fetestexcept_mips): New.
30337         (libc_fetestexcept): New.
30338         (libc_fetestexceptf): New.
30339         (libc_fetestexceptl): New.
30340         (HAVE_RM_CTX): New.
30341         (libc_feholdexcept_setround_mips_ctx): New.
30342         (libc_feholdexcept_setround_ctx): New.
30343         (libc_feholdexcept_setroundf_ctx): New.
30344         (libc_feholdexcept_setroundl_ctx): New.
30345         (libc_fesetenv_mips_ctx): New.
30346         (libc_fesetenv_ctx): New.
30347         (libc_fesetenv_ctxf): New.
30348         (libc_fesetenv_ctxl): New.
30349         (libc_feupdateenv_mips_ctx): New.
30350         (libc_feupdateenv_ctx): New.
30351         (libc_feupdateenvf_ctx): New.
30352         (libc_feupdateenvl_ctx): New.
30353         (libc_feholdsetround_mips_ctx): New.
30354         (libc_feholdsetround_ctx): New.
30355         (libc_feholdsetroundf_ctx): New.
30356         (libc_feholdsetroundl_ctx): New.
30357         (libc_feresetround_mips_ctx): New.
30358         (libc_feresetround_ctx): New.
30359         (libc_feresetroundf_ctx): New.
30360         (libc_feresetroundl_ctx): New.
30362 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30364         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30366         * manual/ipc.texi: New file.
30367         * manual/Makefile (chapters): Add ipc.
30368         * manual/job.texi: Add "Inter-Process Communication" to next.
30369         * manual/process.texi: Add "Inter-Process Communication" to prev.
30371 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30375 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30377         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30379         * manual/arith.texi: Fix spaces after sentences.
30380         * manual/charset.texi: Likewise.
30381         * manual/errno.texi: Likewise.
30382         * manual/install.texi: Likewise.
30383         * manual/llio.texi: Likewise.
30384         * manual/locale.texi: Likewise.
30385         * manual/maint.texi: Likewise.
30386         * manual/math.texi: Likewise.
30387         * manual/memory.texi: Likewise.
30388         * manual/message.texi: Likewise.
30389         * manual/probes.texi: Likewise.
30390         * manual/resource.texi: Likewise.
30391         * manual/signal.texi: Likewise.
30392         * manual/socket.texi: Likewise.
30393         * manual/stdio.texi: Likewise.
30394         * manual/string.texi: Likewise.
30395         * manual/time.texi: Likewise.
30396         * manual/users.texi: Likewise.
30398 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30400         [BZ #16632]
30401         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30402         _DEFAULT_SOURCE is defined.
30404 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30405             Carlos O'Donell  <carlos@redhat.com>
30407         [BZ #16613]
30408         * elf/dl-tls.c (_dl_count_modids): New function.
30409         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30410         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30411         audit library and increment generation counter.
30412         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30413         * elf/tst-audit9.c: New file.
30414         * elf/tst-auditmod9a.c: New file.
30415         * elf/tst-auditmod9b.c: New file.
30416         * elf/Makefile: Add rules to build and run tst-audit9.
30418 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30420         [BZ #15347]
30421         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30423 2014-02-25  Will Newton  <will.newton@linaro.org>
30425         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30426         (__longjmp): Restore sp and lr before restoring callee
30427         saved registers.  Add longjmp and longjmp_target
30428         SystemTap probe point.
30429         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30430         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30431         Define to zero to match jmpbuf layout.
30432         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30433         (__sigsetjmp): Save sp and lr before saving callee
30434         saved registers.  Add setjmp SystemTap probe point.
30436 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30438         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30440 2014-02-24  Andreas Schwab  <schwab@suse.de>
30442         [BZ #15804]
30443         * elf/pldd.c (wait_for_ptrace_stop): New function.
30444         (main): Call it after attaching.
30446 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30448         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30449         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30450         Versions files is now verboten.
30451         * hurd/Versions (libc: GLIBC_2.0):
30452         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30453         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30454         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30455         * mach/Versions: Likewise.
30457         * csu/Versions: Remove unused %include.
30458         * resolv/Versions: Likewise.
30460 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30462         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30463         ($(objpfx)check-local-headers.out): Likewise.
30464         ($(objpfx)begin-end-check.out): Likewise.
30465         * Makerules (check-abi-%.out): Likewise.
30466         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30467         ($(objpfx)test2.cat): Likewise.
30468         ($(objpfx)de/libc.cat): Likewise.
30469         ($(objpfx)test-gencat.out): Likewise.
30470         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30471         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30472         ($(objpfx)noload-mem): Likewise.
30473         ($(objpfx)tst-pathopt.out): Likewise.
30474         ($(objpfx)tst-rtld-load-self.out): Likewise.
30475         ($(objpfx)tst-array1-cmp.out): Likewise.
30476         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30477         ($(objpfx)tst-array2-cmp.out): Likewise.
30478         ($(objpfx)tst-array3-cmp.out): Likewise.
30479         ($(objpfx)tst-array4-cmp.out): Likewise.
30480         ($(objpfx)tst-array5-cmp.out): Likewise.
30481         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30482         ($(objpfx)check-textrel.out): Likewise.
30483         ($(objpfx)check-execstack.out): Likewise.
30484         ($(objpfx)check-localplt.out): Likewise.
30485         ($(objpfx)order2-cmp.out): Likewise.
30486         ($(objpfx)tst-leaks1-mem): Likewise.
30487         ($(objpfx)tst-leaks1-static-mem): Likewise.
30488         ($(objpfx)tst-initorder-cmp.out): Likewise.
30489         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30490         ($(objpfx)tst-unused-dep.out): Likewise.
30491         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30492         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30493         * iconv/Makefile (test-iconvconfig): Likewise.
30494         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30495         ($(objpfx)iconv-test.out): Likewise.
30496         ($(objpfx)tst-tables.out): Likewise.
30497         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30498         ($(objpfx)tst-gettext.out): Likewise.
30499         ($(objpfx)tst-translit.out): Likewise.
30500         ($(objpfx)tst-gettext2.out): Likewise.
30501         ($(objpfx)tst-gettext4.out): Likewise.
30502         ($(objpfx)tst-gettext6.out): Likewise.
30503         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30504         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30505         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30506         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30507         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30508         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30509         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30510         ($(objpfx)wordexp-tst.out): Likewise.
30511         ($(objpfx)annexc.out): Likewise.
30512         ($(objpfx)tst-fnmatch-mem): Likewise.
30513         ($(objpfx)bug-regex2-mem): Likewise.
30514         ($(objpfx)bug-regex14-mem): Likewise.
30515         ($(objpfx)bug-regex21-mem): Likewise.
30516         ($(objpfx)bug-regex31-mem): Likewise.
30517         ($(objpfx)tst-vfork3-mem): Likewise.
30518         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30519         ($(objpfx)tst-pcre-mem): Likewise.
30520         ($(objpfx)tst-boost-mem): Likewise.
30521         ($(objpfx)tst-getconf.out): Likewise.
30522         ($(objpfx)bug-ga2-mem): Likewise.
30523         ($(objpfx)bug-glob2-mem): Likewise.
30524         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30525         ($(objpfx)mtrace-tst-leaks2): Likewise.
30526         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30527         ($(objpfx)tst-printf.out): Likewise.
30528         ($(objpfx)tst-setvbuf1.out): Likewise.
30529         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30530         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30531         ($(objpfx)tst-fmtmsg.out): Likewise.
30532         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30533         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30535         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30536         * bits/sigaction.h [__USE_MISC]: Likewise.
30537         * bits/waitstatus.h: Update #endif comments.
30538         * ctype/ctype.h: Likewise.
30539         * dirent/dirent.h: Likewise.
30540         [__USE_MISC]: Remove redundant conditionals.
30541         * grp/grp.h: Update #endif comments.
30542         [__USE_GNU]: Remove redundant conditionals.
30543         [__USE_MISC]: Likewise.
30544         * inet/netinet/in.h [__USE_GNU]: Likewise.
30545         * io/sys/stat.h [__USE_MISC]: Likewise.
30546         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30547         * libio/bits/stdio.h: Update #endif comments.
30548         [__USE_MISC]: Remove redundant conditionals.
30549         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30550         * libio/stdio.h: Update #endif comments.
30551         [__USE_MISC]: Remove redundant conditionals.
30552         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30553         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30554         * math/math.h: Update #else and #endif comments.
30555         [__USE_MISC]: Remove redundant conditionals.
30556         * misc/sys/uio.h: Update #endif comments.
30557         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30558         * posix/glob.h [__USE_MISC]: Likewise.
30559         * posix/sys/types.h: Update #endif comments.
30560         [__USE_MISC]: Remove redundant conditionals.
30561         * posix/sys/wait.h: Update #endif comments.
30562         [__USE_MISC]: Remove redundant conditionals.
30563         * posix/unistd.h: Update #endif comments.
30564         [__USE_MISC]: Remove redundant conditionals.
30565         * pwd/pwd.h [__USE_GNU]: Likewise.
30566         [__USE_MISC]: Likewise.
30567         * resolv/netdb.h [__USE_GNU]: Likewise.
30568         * signal/signal.h: Update #endif comments.
30569         [__USE_MISC]: Remove redundant conditionals.
30570         * stdlib/stdlib.h: Update #else and #endif comments.
30571         [__USE_MISC]: Remove redundant conditionals.
30572         [__USE_GNU]: Likewise.
30573         * string/bits/string2.h [__USE_MISC]: Likewise.
30574         * string/string.h: Update #endif comments.
30575         [__USE_MISC]: Remove redundant conditionals.
30576         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30577         Likewise.
30578         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30579         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30580         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30581         Likewise.
30582         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30583         Likewise.
30584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30585         comments.
30586         [__USE_MISC]: Remove redundant conditionals.
30587         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30588         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30589         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30590         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30591         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30592         Likewise.
30593         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30594         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30595         Likewise.
30596         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30597         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30598         Likewise.
30599         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30600         Likewise.
30601         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30602         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30603         Likewise.
30604         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30605         Likewise.
30606         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30607         * sysdeps/x86/bits/string.h: Update #endif comments.
30608         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30609         conditionals.
30610         * time/sys/time.h: Update #endif comments.
30611         * time/time.h: Likewise.
30612         [__USE_MISC]: Remove redundant conditionals.
30614 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30616         [BZ #16600]
30617         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30619 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30621         * Versions.def (librt): Add GLIBC_2.17.
30623 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30625         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30626         synonym for _SYS_AUXV_H to allow direct inclusion.
30627         * sysdeps/sparc/bits/hwcap.h: Likewise.
30628         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30629         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30630         * sysdeps/sparc/sysdep.h: Likewise.
30632 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30634         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30636 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30638         * benchtests/bench-strrchr.c: Print length instead of position.
30640 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #16611]
30643         * sysdeps/unix/sysv/linux/kernel-features.h
30644         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30645         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30646         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30647         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30648         Likewise.
30649         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30650         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30651         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30652         (__ASSUME_SENDMMSG): Define instead of using previous
30653         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30654         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30655         (__ASSUME_SENDMMSG_SYSCALL): Define.
30656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30657         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30658         Likewise.
30659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30660         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30661         Likewise.
30662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30663         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30664         Likewise.
30665         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30666         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30667         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30668         [__ASSUME_SENDMMSG]: Change conditionals to
30669         [__ASSUME_SENDMMSG_SOCKETCALL].
30670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30671         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30672         Define.
30673         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30674         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30675         Likewise.
30676         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30677         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30678         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30679         [!__ASSUME_SENDMMSG]: Change conditional to
30680         [!__ASSUME_SENDMMSG_SOCKETCALL].
30681         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30683         Define.
30685         [BZ #16610]
30686         * sysdeps/unix/sysv/linux/kernel-features.h
30687         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30688         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30689         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30690         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30691         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30692         [__i386__ || __sparc__]
30693         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30694         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30695         (__ASSUME_RECVMMSG): Define instead of using previous
30696         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30697         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30698         (__ASSUME_RECVMMSG_SYSCALL): Define.
30699         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30700         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30701         Likewise.
30702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30703         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30704         Likewise.
30705         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30706         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30707         Likewise.
30708         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30709         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30710         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30711         [__ASSUME_RECVMMSG]: Change condition to
30712         [__ASSUME_RECVMMSG_SOCKETCALL].
30713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30714         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30715         Define.
30716         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30719         Likewise.
30720         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30721         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30722         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30723         [!__ASSUME_RECVMMSG]: Change condition to
30724         [!__ASSUME_RECVMMSG_SOCKETCALL].
30725         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30726         (__ASSUME_RECVMMSG_SYSCALL): Define.
30728         [BZ #16609]
30729         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30730         __powerpc__ || __s390__ || __sh__ || __sparc__]
30731         (__ASSUME_SOCKETCALL): Define.
30732         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30733         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30734         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30735         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30736         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30737         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30738         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30739         (__ASSUME_ACCEPT4): Define instead of using previous
30740         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30741         __powerpc__ || __sparc__ || __s390__)] condition.
30742         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30743         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30744         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30745         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30746         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30747         [!__ASSUME_ACCEPT4]: Change condition to
30748         [!__ASSUME_ACCEPT4_SOCKETCALL].
30749         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30750         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30751         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30752         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30753         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30754         __ASSUME_ACCEPT4_SYSCALL.
30755         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30756         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30757         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30758         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30759         __ASSUME_ACCEPT4_SYSCALL.
30760         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30761         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30762         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30763         [__ASSUME_ACCEPT4]: Change condition to
30764         [__ASSUME_ACCEPT4_SOCKETCALL].
30765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30766         (__ASSUME_SOCKETCALL): Define.
30767         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30769         (__ASSUME_SOCKETCALL): Define.
30770         (__ASSUME_ACCEPT4): Remove.
30771         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30772         Define.
30773         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30774         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30775         Likewise.
30776         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30777         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30779         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30780         macro.
30781         (HWCAP_ARM_LPAE): Likewise.
30782         (HWCAP_ARM_EVTSTRM): Likewise.
30783         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30784         Add vpfd32, lpae and evtstrm.
30785         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30786         Increase to 22.
30788 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30790         * math/auto-libm-test-in: Add tests of clog10.
30791         * math/auto-libm-test-out: Regenerated.
30792         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30793         * sysdeps/i386/fpu/libm-test-ulps: Update.
30794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30796 2014-02-18  Andreas Schwab  <schwab@suse.de>
30798         [BZ #16574]
30799         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30800         Store non-zero if the second buffer was newly allocated.
30801         (send_dg): Likewise.
30802         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30803         to send_vc and send_dg.
30804         (res_nsend): Pass NULL for ansp2_malloced.
30805         * resolv/res_query.c (__libc_res_nquery): Add parameter
30806         answerp2_malloced and pass it down to __libc_res_nsend.
30807         (res_nquery): Pass additional NULL to __libc_res_nquery.
30808         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30809         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30810         second answer buffer if answerp2_malloced was set.
30811         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30812         (__libc_res_nquerydomain): Add parameter
30813         answerp2_malloced and pass it down to __libc_res_nquery.
30814         (res_nquerydomain): Pass additional NULL to
30815         __libc_res_nquerydomain.
30816         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30817         additional NULL to __libc_res_nsend and __libc_res_nquery.
30818         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30819         additional NULL to __libc_res_nsearch.
30820         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30821         parameter of __libc_res_nsearch to check for separately allocated
30822         second buffer.
30823         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30824         __libc_res_nquery.
30825         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30826         additional NULL to __libc_res_nquery.
30827         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30828         __libc_res_nsearch.
30829         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30830         * include/resolv.h: Update prototypes of __libc_res_nquery,
30831         __libc_res_nsearch, __libc_res_nsend.
30833 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30835         * math/auto-libm-test-in: Add tests of fma.
30836         * math/auto-libm-test-out: Regenerated.
30837         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30838         (fma_towardzero_test_data): Likewise.
30839         (fma_downward_test_data): Likewise.
30840         (fma_upward_test_data): Likewise.
30841         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30842         mpc_mode.
30843         (rounding_modes): Add values for new field.
30844         (func_calc_method): Add value mpfr_fff_f.
30845         (func_calc_desc): Add mpfr_fff_f union field.
30846         (test_function): Add field exact_args.
30847         (FUNC): Add macro argument EXACT_ARGS.
30848         (FUNC_mpfr_f_f): Update call to FUNC.
30849         (FUNC_mpfr_f_f): Likewise.
30850         (FUNC_mpfr_ff_f): Likewise.
30851         (FUNC_mpfr_if_f): Likewise.
30852         (FUNC_mpc_c_f): Likewise.
30853         (FUNC_mpc_c_c): Likewise.
30854         (test_functions): Add fma.  Update calls to FUNC.
30855         (handle_input_arg): Add argument exact_args.
30856         (add_test): Update call to handle_input_arg.
30857         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30858         (output_for_one_input_case): Update call to calc_generic_results.
30859         Recalculate exact zero results in each rounding mode.
30861         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30862         non-negative before setting low bit.
30863         * math/auto-libm-test-in: Mark one asin test possibly having
30864         spurious underflow.
30865         * math/auto-libm-test-out: Regenerated.
30866         * sysdeps/i386/fpu/libm-test-ulps: Update.
30867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30869 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30871         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30872         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30873         ports/sysdeps/unix/sysv/linux/microblaze.
30874         * README: Add missing listing for microblaze*-*-linux-gnu.
30876 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30878         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30879         duplicate code
30881 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30883         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30884         * sysdeps/unix/sysv/linux/ia64: Move directory from
30885         ports/sysdeps/unix/sysv/linux/ia64.
30886         * README: Update listing for ia64-*-linux-gnu.
30888 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30889             Joseph Myers  <joseph@codesourcery.com>
30891         * Makeconfig (test-name): New variable.
30892         (evaluate-test): Likewise.
30893         * Makerules (do-test-clean): Remove .test-result files.
30894         (common-mostlyclean): Likewise.
30895         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30896         * scripts/evaluate-test.sh: New file.
30898 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30900         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30901         separate $(objpfx)tst-fopenloc-cmp.out and
30902         $(objpfx)tst-fopenloc-mem.out targets.
30903         (tests): Update dependencies.
30904         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30905         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30906         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30907         (tst-rxspencer-no-utf8-ARGS): New variable.
30908         (tst-rxspencer-no-utf8-ENV): Likewise.
30909         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30910         instead of $(objpfx)tst-rxspencer-mem.
30911         ($(objpfx)tst-rxspencer-mem): Change target to
30912         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30913         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30914         * posix/tst-rxspencer-no-utf8.c: New file.
30916         * elf/Makefile ($(objpfx)order.out): Remove rule.
30917         [$(run-built-tests) = yes] (tests): Depend on
30918         $(objpfx)order-cmp.out.
30919         ($(objpfx)order-cmp.out): New rule.
30920         [$(run-built-tests) = yes] (tests): Depend on
30921         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30922         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30923         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30924         $(objpfx)tst-array5-static-cmp.out.
30925         ($(objpfx)tst-array1.out): Remove rule.
30926         ($(objpfx)tst-array1-cmp.out): New rule.
30927         ($(objpfx)tst-array1-static.out): Remove rule.
30928         ($(objpfx)tst-array1-static-cmp.out): New rule.
30929         ($(objpfx)tst-array2.out): Remove rule.
30930         ($(objpfx)tst-array2-cmp.out): New rule.
30931         ($(objpfx)tst-array3.out): Remove rule.
30932         ($(objpfx)tst-array3-cmp.out): New rule.
30933         ($(objpfx)tst-array4.out): Remove rule.
30934         ($(objpfx)tst-array4-cmp.out): New rule.
30935         ($(objpfx)tst-array5.out): Remove rule.
30936         ($(objpfx)tst-array5-cmp.out): New rule.
30937         ($(objpfx)tst-array5-static.out): Remove rule.
30938         ($(objpfx)tst-array5-static-cmp.out): New rule.
30939         [$(run-built-tests) = yes] (tests): Depend on
30940         $(objpfx)order2-cmp.out.
30941         ($(objpfx)order2.out): Remove rule.
30942         ($(objpfx)order2-cmp.out): New rule.
30943         ($(objpfx)tst-initorder.out): Remove rule.
30944         [$(run-built-tests) = yes] (tests): Depend on
30945         $(objpfx)tst-initorder-cmp.out.
30946         ($(objpfx)tst-initorder-cmp.out): New rule.
30947         ($(objpfx)tst-initorder2.out): Remove rule.
30948         [$(run-built-tests) = yes] (tests): Depend on
30949         $(objpfx)tst-initorder2-cmp.out.
30950         ($(objpfx)tst-initorder2-cmp.out): New rule.
30951         [$(run-built-tests) = yes] (tests): Depend on
30952         $(objpfx)tst-unused-dep-cmp.out.
30953         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30954         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30955         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30956         on $(objpfx)tst-setvbuf1-cmp.out.
30957         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30958         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30959         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30960         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30961         ($(objpfx)tst-svc.out): Remove rule.
30962         ($(objpfx)tst-svc-cmp.out): New rule.
30964 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30966         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30967         * ctype/ctype.h [__USE_MISC]: Likewise.
30968         * dirent/dirent.h [__USE_MISC]: Likewise.
30969         * grp/grp.h [__USE_MISC]: Likewise.
30970         * io/fcntl.h [__USE_MISC]: Likewise.
30971         * io/sys/stat.h [__USE_MISC]: Likewise.
30972         * libio/stdio.h [__USE_MISC]: Likewise.
30973         * posix/unistd.h [__USE_MISC]: Likewise.
30974         * pwd/pwd.h [__USE_MISC]: Likewise.
30975         * stdlib.h [__USE_MISC]: Likewise.
30976         * string/bits/string2.h [__USE_MISC]: Likewise.
30977         * string/string.h [__USE_MISC]: Likewise.
30978         * time/time.h [__USE_MISC]: Likewise.
30980 2014-02-13  Andreas Schwab  <schwab@suse.de>
30982         [BZ #16574]
30983         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30984         second answer buffer if it was separately allocated.
30986 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30988         * sysdeps/mips/math-tests.h: Include <features.h>.
30989         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30990         (ROUNDING_TESTS_long_double): Do not define.
30991         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30992         (EXCEPTION_TESTS_long_double): Likewise.
30993         * sysdeps/mips/mips64/libm-test-ulps: Update.
30995         * include/features.h (__USE_BSD): Remove macro definitions.
30996         (__USE_SVID): Likewise.
30997         (_BSD_SOURCE): Likewise.
30998         (_SVID_SOURCE): Likewise.
30999         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31000         from definition of _DEFAULT_SOURCE.
31001         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31002         [_DEFAULT_SOURCE].
31003         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31004         * bits/mman.h [__USE_BSD]: Likewise.
31005         * bits/termios.h [__USE_BSD]: Likewise.
31006         * bits/waitstatus.h [__USE_BSD]: Likewise.
31007         * ctype/ctype.h [__USE_SVID]: Likewise.
31008         * dirent/dirent.h [__USE_BSD]: Likewise.
31009         * grp/grp.h [__USE_SVID]: Likewise.
31010         [__USE_BSD]: Likewise.
31011         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31012         * io/fcntl.h [__USE_BSD]: Likewise.
31013         * io/ftw.h [__USE_BSD]: Likewise.
31014         * io/sys/stat.h [__USE_BSD]: Likewise.
31015         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31016         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31017         * libio/stdio.h [__USE_SVID]: Likewise.
31018         [__USE_BSD]: Likewise.
31019         * math/math.h [__USE_SVID]: Likewise.
31020         [__USE_BSD]: Likewise.
31021         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31022         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31023         * misc/search.h [__USE_SVID]: Likewise.
31024         * misc/sys/mman.h [__USE_BSD]: Likewise.
31025         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31026         * misc/sys/uio.h [__USE_BSD]: Likewise.
31027         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31028         * posix/glob.h [__USE_BSD]: Likewise.
31029         * posix/regex.h [__USE_BSD]: Likewise.
31030         * posix/sys/types.h [__USE_BSD]: Likewise.
31031         [__USE_SVID]: Likewise.
31032         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31033         * posix/sys/wait.h [__USE_BSD]: Likewise.
31034         [__USE_SVID]: Likewise.
31035         * posix/unistd.h [__USE_BSD]: Likewise.
31036         [__USE_SVID]: Likewise.
31037         * pwd/pwd.h [__USE_SVID]: Likewise.
31038         * resolv/netdb.h [__USE_BSD]: Likewise.
31039         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31040         * signal/signal.h [__USE_BSD]: Likewise.
31041         [__USE_SVID]: Likewise.
31042         * socket/sys/socket.h [__USE_BSD]: Likewise.
31043         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31044         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31045         [__USE_SVID]: Likewise.
31046         * string/bits/string2.h [__USE_BSD]: Likewise.
31047         [__USE_SVID]: Likewise.
31048         * string/bits/string3.h [__USE_BSD]: Likewise.
31049         * string/endian.h [__USE_BSD]: Likewise.
31050         * string/string.h [__USE_SVID]: Likewise.
31051         [__USE_BSD]: Likewise.
31052         * string/strings.h [__USE_BSD]: Likewise.
31053         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31054         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31055         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31056         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31057         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31058         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31059         Likewise.
31060         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31061         Likewise.
31062         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31063         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31064         Likewise.
31065         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31066         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31067         Likewise.
31068         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31069         Likewise.
31070         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31071         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31072         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31073         Likewise.
31074         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31075         Likewise.
31076         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31077         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31078         * termios/termios.h [__USE_BSD]: Likewise.
31079         * time/sys/time.h [__USE_BSD]: Likewise.
31080         * time/time.h [__USE_BSD]: Likewise.
31081         [__USE_SVID]: Likewise.
31083         * Makefile (subdir_targets): Remove subdir_lint.out.
31085         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31086         (do-tst-printf): Likewise.
31087         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31088         $(objpfx)tst-printf.out.
31090         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31092         * Makerules (check-abi-%): Change target to
31093         $(objpfx)check-abi-%.out.
31094         (check-abi target): Update dependencies.
31095         (check-abi-pattern variable): Redirect output of diff to $@.
31096         (check-abi variable): Likewise.
31097         * elf/Makefile (check-abi): Update dependencies.
31099         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31100         unused.
31101         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31102         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31103         subnormal range.
31104         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31105         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31106         value has largest subnormal exponent.
31107         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31108         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31109         * sysdeps/aarch64/soft-fp/sfp-machine.h
31110         (_FP_TININESS_AFTER_ROUNDING): New macro.
31111         * sysdeps/alpha/soft-fp/sfp-machine.h
31112         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31113         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31114         Likewise.
31115         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31116         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31117         * sysdeps/mips/soft-fp/sfp-machine.h
31118         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31119         * sysdeps/powerpc/soft-fp/sfp-machine.h
31120         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31121         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31122         Likewise.
31123         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31124         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31125         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31126         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31127         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31128         Likewise.
31130 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31132         [BZ #16545]
31133         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31134         model 1.
31136 2014-02-12  Richard Henderson  <rth@redhat.com>
31138         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31139         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31140         * sysdeps/unix/sysv/linux/alpha: Move directory from
31141         ports/sysdeps/unix/sysv/linux/alpha.
31142         * README: Update listing for alpha-*-linux-gnu.
31144 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31146         * include/features.h: Update comment documenting feature test
31147         macros.
31148         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31149         _DEFAULT_SOURCE.
31150         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31151         (_SVID_SOURCE): Likewise.
31152         (_DEFAULT_SOURCE): Update description of default features.
31153         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31154         with _GNU_SOURCE.
31155         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31156         (S_ISVTX): Likewise.
31157         * manual/math.texi (Mathematical Constants): Likewise.
31158         * manual/signal.texi (Interrupted Primitives): Likewise.
31159         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31160         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31161         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31162         Don't refer to _SVID_SOURCE in warning text.
31164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31166         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31167         already defined.
31168         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31169         * sysdeps/mips/dl-lookup.c: Remove.
31170         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31172 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31174         [BZ #16447]
31175         * math/auto-libm-test-in: Add testcase for expl.
31176         * math/auto-libm-test-out: Regenerate.
31177         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31178         calculation of unsafe.
31179         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31181 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31183         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31184         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31185         ports/sysdeps/unix/sysv/linux/aarch64.
31186         * README: Update listing for aarch64*-*-linux-gnu.
31188 2014-02-11  Will Newton  <will.newton@linaro.org>
31190         * manual/probes.texi (Mathematical Function Probes): Use
31191         "triggered" instead of "hit".
31193         * manual/probes.texi (Internal Probes): Add documentation
31194         of setjmp, longjmp and longjmp_target probes.
31196         * include/stap-probe.h: Add comment about probe argument
31197         format.
31199         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31200         definition.  (tr_where, tr_freehook, tr_mallochook,
31201         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31203 2014-02-11  David S. Miller  <davem@davemloft.net>
31205         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31206         processing int_tests.
31208 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31210         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31211         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31212         * sysdeps/unix/sysv/linux/mips: Move directory from
31213         ports/sysdeps/unix/sysv/linux/mips.
31214         * README: Update listing for mips-*-linux-gnu and
31215         mips64-*-linux-gnu.
31217 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31219         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31220         * sysdeps/unix/sysv/linux/m68k: Move directory from
31221         ports/sysdeps/unix/sysv/linux/m68k.
31222         * README: Update listing for m68k-*-linux-gnu.
31224 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31226         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31227         * sysdeps/unix/sysv/linux/generic: Move directory from
31228         ports/sysdeps/unix/sysv/linux/generic.
31229         * sysdeps/unix/sysv/linux/tile: Move directory from
31230         ports/sysdeps/unix/sysv/linux/tile.
31231         * README: Update listing for tile*-*-linux-gnu.
31233 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31235         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31236         __builtin_expect.
31237         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31238         * catgets/open_catalog.c (__open_catalog): Likewise.
31239         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31240         * debug/confstr_chk.c: Likewise.
31241         * debug/fread_chk.c (__fread_chk): Likewise.
31242         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31243         * debug/getgroups_chk.c: Likewise.
31244         * debug/mbsnrtowcs_chk.c: Likewise.
31245         * debug/mbsrtowcs_chk.c: Likewise.
31246         * debug/mbstowcs_chk.c: Likewise.
31247         * debug/memcpy_chk.c: Likewise.
31248         * debug/memmove_chk.c: Likewise.
31249         * debug/mempcpy_chk.c: Likewise.
31250         * debug/memset_chk.c: Likewise.
31251         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31252         * debug/strcat_chk.c (__strcat_chk): Likewise.
31253         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31254         * debug/strncat_chk.c (__strncat_chk): Likewise.
31255         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31256         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31257         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31258         * debug/wcpncpy_chk.c: Likewise.
31259         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31260         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31261         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31262         * debug/wcsncpy_chk.c: Likewise.
31263         * debug/wcsnrtombs_chk.c: Likewise.
31264         * debug/wcsrtombs_chk.c: Likewise.
31265         * debug/wcstombs_chk.c: Likewise.
31266         * debug/wmemcpy_chk.c: Likewise.
31267         * debug/wmemmove_chk.c: Likewise.
31268         * debug/wmempcpy_chk.c: Likewise.
31269         * debug/wmemset_chk.c: Likewise.
31270         * dirent/scandirat.c (SCANDIRAT): Likewise.
31271         * dlfcn/dladdr1.c (dladdr1): Likewise.
31272         * dlfcn/dladdr.c (dladdr): Likewise.
31273         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31274         * dlfcn/dlerror.c (__dlerror): Likewise.
31275         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31276         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31277         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31278         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31279         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31280         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31281         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31282         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31283         Likewise.
31284         * elf/dl-conflict.c: Likewise.
31285         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31286         * elf/dl-dst.h: Likewise.
31287         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31288         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31289         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31290         * elf/dl-init.c (call_init, _dl_init): Likewise.
31291         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31292         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31293         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31294         Likewise.
31295         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31296         Likewise.
31297         * elf/dl-minimal.c (__libc_memalign): Likewise.
31298         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31299         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31300         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31301         * elf/dl-sym.c (do_sym): Likewise.
31302         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31303         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31304         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31305         * elf/dl-writev.h (_dl_writev): Likewise.
31306         * elf/ldconfig.c (search_dir): Likewise.
31307         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31308         (dl_main): Likewise.
31309         * elf/setup-vdso.h (setup_vdso): Likewise.
31310         * grp/compat-initgroups.c (compat_call): Likewise.
31311         * grp/fgetgrent.c (fgetgrent): Likewise.
31312         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31313         * grp/putgrent.c (putgrent): Likewise.
31314         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31315         Likewise.
31316         * hurd/hurdinit.c: Likewise.
31317         * iconvdata/8bit-gap.c (struct): Likewise.
31318         * iconvdata/ansi_x3.110.c : Likewise.
31319         * iconvdata/big5.c : Likewise.
31320         * iconvdata/big5hkscs.c : Likewise.
31321         * iconvdata/cp1255.c: Likewise.
31322         * iconvdata/cp1258.c : Likewise.
31323         * iconvdata/cp932.c : Likewise.
31324         * iconvdata/euc-cn.c: Likewise.
31325         * iconvdata/euc-jisx0213.c : Likewise.
31326         * iconvdata/euc-jp.c: Likewise.
31327         * iconvdata/euc-jp-ms.c : Likewise.
31328         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31329         * iconvdata/gb18030.c : Likewise.
31330         * iconvdata/gbbig5.c (const): Likewise.
31331         * iconvdata/gbgbk.c: Likewise.
31332         * iconvdata/gbk.c : Likewise.
31333         * iconvdata/ibm1364.c : Likewise.
31334         * iconvdata/ibm930.c : Likewise.
31335         * iconvdata/ibm932.c: Likewise.
31336         * iconvdata/ibm933.c : Likewise.
31337         * iconvdata/ibm935.c : Likewise.
31338         * iconvdata/ibm937.c : Likewise.
31339         * iconvdata/ibm939.c : Likewise.
31340         * iconvdata/ibm943.c: Likewise.
31341         * iconvdata/iso_11548-1.c: Likewise.
31342         * iconvdata/iso-2022-cn.c : Likewise.
31343         * iconvdata/iso-2022-cn-ext.c : Likewise.
31344         * iconvdata/iso-2022-jp-3.c: Likewise.
31345         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31346         * iconvdata/iso-2022-kr.c : Likewise.
31347         * iconvdata/iso646.c (gconv_end): Likewise.
31348         * iconvdata/iso_6937-2.c : Likewise.
31349         * iconvdata/iso_6937.c : Likewise.
31350         * iconvdata/iso8859-1.c: Likewise.
31351         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31352         * iconvdata/shift_jisx0213.c : Likewise.
31353         * iconvdata/sjis.c : Likewise.
31354         * iconvdata/t.61.c : Likewise.
31355         * iconvdata/tcvn5712-1.c : Likewise.
31356         * iconvdata/tscii.c: Likewise.
31357         * iconvdata/uhc.c : Likewise.
31358         * iconvdata/unicode.c (gconv_end): Likewise.
31359         * iconvdata/utf-16.c (gconv_end): Likewise.
31360         * iconvdata/utf-32.c (gconv_end): Likewise.
31361         * iconvdata/utf-7.c (base64): Likewise.
31362         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31363         * iconv/gconv_close.c (__gconv_close): Likewise.
31364         * iconv/gconv_open.c (__gconv_open): Likewise.
31365         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31366         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31367         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31368         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31369         (ucs4le_internal_loop_single): Likewise.
31370         * iconv/iconv.c (iconv): Likewise.
31371         * iconv/iconv_close.c: Likewise.
31372         * iconv/loop.c (SINGLE): Likewise.
31373         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31374         * include/atomic.h: Likewise.
31375         * inet/inet6_option.c (option_alloc): Likewise.
31376         * intl/bindtextdom.c (set_binding_values): Likewise.
31377         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31378         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31379         * intl/localealias.c (read_alias_file): Likewise.
31380         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31381         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31382         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31383         * libio/fmemopen.c (fmemopen): Likewise.
31384         * libio/iofgets.c (_IO_fgets): Likewise.
31385         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31386         * libio/iofgetws.c (fgetws): Likewise.
31387         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31388         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31389         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31390         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31391         * locale/findlocale.c (_nl_find_locale): Likewise.
31392         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31393         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31394         Likewise.
31395         * locale/setlocale.c (setlocale): Likewise.
31396         * login/programs/pt_chown.c (main): Likewise.
31397         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31398         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31399         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31400         (mmap, mmap64, mremap, munmap): Likewise.
31401         * math/e_exp2l.c: Likewise.
31402         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31403         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31404         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31405         * math/s_catan.c (__catan): Likewise.
31406         * math/s_catanf.c (__catanf): Likewise.
31407         * math/s_catanh.c (__catanh): Likewise.
31408         * math/s_catanhf.c (__catanhf): Likewise.
31409         * math/s_catanhl.c (__catanhl): Likewise.
31410         * math/s_catanl.c (__catanl): Likewise.
31411         * math/s_ccosh.c (__ccosh): Likewise.
31412         * math/s_ccoshf.c (__ccoshf): Likewise.
31413         * math/s_ccoshl.c (__ccoshl): Likewise.
31414         * math/s_cexp.c (__cexp): Likewise.
31415         * math/s_cexpf.c (__cexpf): Likewise.
31416         * math/s_cexpl.c (__cexpl): Likewise.
31417         * math/s_clog10.c (__clog10): Likewise.
31418         * math/s_clog10f.c (__clog10f): Likewise.
31419         * math/s_clog10l.c (__clog10l): Likewise.
31420         * math/s_clog.c (__clog): Likewise.
31421         * math/s_clogf.c (__clogf): Likewise.
31422         * math/s_clogl.c (__clogl): Likewise.
31423         * math/s_csin.c (__csin): Likewise.
31424         * math/s_csinf.c (__csinf): Likewise.
31425         * math/s_csinh.c (__csinh): Likewise.
31426         * math/s_csinhf.c (__csinhf): Likewise.
31427         * math/s_csinhl.c (__csinhl): Likewise.
31428         * math/s_csinl.c (__csinl): Likewise.
31429         * math/s_csqrt.c (__csqrt): Likewise.
31430         * math/s_csqrtf.c (__csqrtf): Likewise.
31431         * math/s_csqrtl.c (__csqrtl): Likewise.
31432         * math/s_ctan.c (__ctan): Likewise.
31433         * math/s_ctanf.c (__ctanf): Likewise.
31434         * math/s_ctanh.c (__ctanh): Likewise.
31435         * math/s_ctanhf.c (__ctanhf): Likewise.
31436         * math/s_ctanhl.c (__ctanhl): Likewise.
31437         * math/s_ctanl.c (__ctanl): Likewise.
31438         * math/w_pow.c: Likewise.
31439         * math/w_powf.c: Likewise.
31440         * math/w_powl.c: Likewise.
31441         * math/w_scalb.c (sysv_scalb): Likewise.
31442         * math/w_scalbf.c (sysv_scalbf): Likewise.
31443         * math/w_scalbl.c (sysv_scalbl): Likewise.
31444         * misc/error.c (error_tail): Likewise.
31445         * misc/pselect.c (__pselect): Likewise.
31446         * nis/nis_callback.c (__nis_create_callback): Likewise.
31447         * nis/nis_call.c (__nisfind_server): Likewise.
31448         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31449         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31450         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31451         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31452         * nis/nis_lookup.c (nis_lookup): Likewise.
31453         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31454         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31455         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31456         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31457         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31458         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31459         * nis/nss_compat/compat-initgroups.c (add_group)
31460         (internal_getgrent_r): Likewise.
31461         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31462         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31463         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31464         (internal_getspnam_r): Likewise.
31465         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31466         (_nss_nis_getaliasbyname_r): Likewise.
31467         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31468         (_nss_nis_getntohost_r): Likewise.
31469         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31470         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31471         (_nss_nis_getgrgid_r): Likewise.
31472         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31473         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31474         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31475         (_nss_nis_gethostbyname4_r): Likewise.
31476         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31477         (initgroups_netid): Likewise.
31478         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31479         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31480         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31481         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31482         (_nss_nis_getprotobynumber_r): Likewise.
31483         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31484         (_nss_nis_getsecretkey): Likewise.
31485         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31486         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31487         (_nss_nis_getpwuid_r): Likewise.
31488         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31489         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31490         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31491         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31492         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31493         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31494         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31495         Likewise.
31496         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31497         (_nss_nisplus_getntohost_r): Likewise.
31498         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31499         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31500         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31501         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31502         Likewise.
31503         * nis/nss_nisplus/nisplus-initgroups.c
31504         (_nss_nisplus_initgroups_dyn): Likewise.
31505         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31506         (_nss_nisplus_getnetbyaddr_r): Likewise.
31507         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31508         (_nss_nisplus_getprotobynumber_r): Likewise.
31509         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31510         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31511         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31512         Likewise.
31513         * nis/nss_nisplus/nisplus-service.c
31514         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31515         (_nss_nisplus_getservbyport_r): Likewise.
31516         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31517         (_nss_nisplus_getspnam_r): Likewise.
31518         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31519         Likewise.
31520         * nscd/aicache.c (addhstaiX): Likewise.
31521         * nscd/cache.c (cache_search, prune_cache): Likewise.
31522         * nscd/connections.c (register_traced_file, send_ro_fd)
31523         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31524         (main_loop_epoll): Likewise.
31525         * nscd/grpcache.c (addgrbyX): Likewise.
31526         * nscd/hstcache.c (addhstbyX): Likewise.
31527         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31528         * nscd/mem.c (gc, mempool_alloc): Likewise.
31529         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31530         (addinnetgrX): Likewise.
31531         * nscd/nscd-client.h (__nscd_acquire_maplock)
31532         (__nscd_drop_map_ref): Likewise.
31533         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31534         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31535         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31536         Likewise.
31537         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31538         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31539         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31540         (__nscd_get_map_ref): Likewise.
31541         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31542         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31543         Likewise.
31544         * nscd/pwdcache.c (addpwbyX): Likewise.
31545         * nscd/selinux.c (preserve_capabilities): Likewise.
31546         * nscd/servicescache.c (addservbyX): Likewise.
31547         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31548         * posix/fnmatch.c (fnmatch): Likewise.
31549         * posix/getopt.c (_getopt_internal_r): Likewise.
31550         * posix/glob.c (glob, glob_in_dir): Likewise.
31551         * posix/wordexp.c (exec_comm_child): Likewise.
31552         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31553         (getanswer_r, gaih_getanswer_slice): Likewise.
31554         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31555         * resolv/res_init.c: Likewise.
31556         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31557         * resolv/res_query.c (__libc_res_nquery): Likewise.
31558         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31559         Likewise.
31560         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31561         * stdio-common/perror.c (perror): Likewise.
31562         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31563         * stdio-common/tmpnam.c (tmpnam): Likewise.
31564         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31565         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31566         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31567         Likewise.
31568         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31569         * stdlib/putenv.c (putenv): Likewise.
31570         * stdlib/setenv.c (__add_to_environ): Likewise.
31571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31572         * stdlib/strtol_l.c (INTERNAL): Likewise.
31573         * string/memmem.c (memmem): Likewise.
31574         * string/strerror.c (strerror): Likewise.
31575         * string/strnlen.c (__strnlen): Likewise.
31576         * string/test-memmem.c (simple_memmem): Likewise.
31577         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31578         * sunrpc/pm_getport.c (__get_socket): Likewise.
31579         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31580         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31581         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31582         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31583         Likewise.
31584         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31585         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31586         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31587         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31588         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31589         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31590         Likewise.
31591         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31592         Likewise.
31593         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31594         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31595         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31596         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31597         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31599         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31600         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31601         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31602         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31603         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31604         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31605         Likewise.
31606         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31607         Likewise.
31608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31609         Likewise.
31610         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31612         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31613         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31614         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31615         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31616         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31617         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31618         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31619         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31620         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31622         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31623         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31625         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31626         Likewise.
31627         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31628         Likewise.
31629         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31630         Likewise.
31631         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31632         Likewise.
31633         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31635         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31636         Likewise.
31637         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31638         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31639         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31640         * sysdeps/posix/sleep.c: Likewise.
31641         * sysdeps/posix/tempname.c: Likewise.
31642         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31643         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31644         Likewise.
31645         * sysdeps/powerpc/powerpc32/dl-machine.h
31646         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31647         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31648         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31649         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31650         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31651         Likewise.
31652         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31653         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31654         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31655         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31656         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31657         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31658         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31659         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31660         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31661         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31662         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31663         (elf_machine_lazy_rel): Likewise.
31664         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31666         (elf_machine_lazy_rel): Likewise.
31667         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31668         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31669         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31670         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31671         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31672         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31673         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31675         Likewise.
31676         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31677         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31678         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31679         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31680         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31681         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31682         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31683         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31684         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31685         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31686         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31687         Likewise.
31688         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31689         (__posix_fallocate64_l64): Likewise.
31690         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31691         (posix_fallocate): Likewise.
31692         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31693         Likewise.
31694         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31695         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31696         (getifaddrs_internal): Likewise.
31697         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31698         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31699         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31700         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31701         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31702         (__posix_fallocate64_l64): Likewise.
31703         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31704         Likewise.
31705         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31706         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31707         (__get_clockfreq): Likewise.
31708         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31709         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31710         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31713         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31714         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31715         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31716         Likewise.
31717         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31718         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31719         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31720         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31721         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31722         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31723         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31724         Likewise.
31725         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31726         (posix_fallocate): Likewise.
31727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31728         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31729         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31730         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31731         (elf_machine_rela, elf_machine_rela_relative)
31732         (elf_machine_lazy_rel): Likewise.
31733         * time/asctime.c (asctime_internal): Likewise.
31734         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31735         * time/tzset.c (__tzset_parse_tz): Likewise.
31736         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31737         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31738         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31739         * wcsmbs/wcsmbsload.h: Likewise.
31741         [BZ #15894]
31742         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31744         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31745         (arena_get2): Remove THREAD_STATS conditionals.
31746         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31747         (__malloc_stats, int): Likewise.
31749 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31751         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31752         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31754         * manual/setjmp.texi: Fix typos/grammar errors.
31756         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31757         Only return early when n is <= 0.  Delete unused return statement.
31759         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31760         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31761         * debug/tst-longjmp_chk3.c: New file.
31763         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31764         (test_main): Replace code with set_fortify_handler call.
31765         * debug/test-strcpy_chk.c: Likewise.
31766         * debug/tst-chk1.c: Likewise.
31767         * debug/tst-longjmp_chk.c: Likewise.
31768         * test-skeleton.c: Include fcntl.h & paths.h
31769         (set_fortify_handler): Define.
31771         * debug/tst-longjmp_chk.c: Add header comment and include
31772         ../test-skeleton.c.
31773         (do_test): Mark static.
31774         (TEST_FUNCTION): Define.
31776         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31777         (IP_PMTUDISC_INTERFACE): Likewise.
31778         (IP_MULTICAST_IF): Likewise.
31779         (IP_MULTICAST_TTL): Likewise.
31780         (IP_MULTICAST_LOOP): Likewise.
31781         (IP_ADD_MEMBERSHIP): Likewise.
31782         (IP_DROP_MEMBERSHIP): Likewise.
31783         (IP_UNBLOCK_SOURCE): Likewise.
31784         (IP_BLOCK_SOURCE): Likewise.
31785         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31786         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31787         (IP_MSFILTER): Likewise.
31788         (MCAST_JOIN_GROUP): Likewise.
31789         (MCAST_BLOCK_SOURCE): Likewise.
31790         (MCAST_UNBLOCK_SOURCE): Likewise.
31791         (MCAST_LEAVE_GROUP): Likewise.
31792         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31793         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31794         (MCAST_MSFILTER): Likewise.
31795         (IP_MULTICAST_ALL): Likewise.
31796         (IP_UNICAST_IF): Likewise.
31798         * timezone/Makefile: Delete $(have-ksh) check.
31799         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31800         * timezone/tzselect.ksh: Add +x mode bits.
31802         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31803         (ANON_INODE_FS_MAGIC): Likewise.
31804         (BDEVFS_MAGIC): Likewise.
31805         (BINFMTFS_MAGIC): Likewise.
31806         (BTRFS_TEST_MAGIC): Likewise.
31807         (CRAMFS_MAGIC_WEND): Likewise.
31808         (DEBUGFS_MAGIC): Likewise.
31809         (ECRYPTFS_SUPER_MAGIC): Likewise.
31810         (EXT3_SUPER_MAGIC): Likewise.
31811         (EXT4_SUPER_MAGIC): Likewise.
31812         (FUTEXFS_SUPER_MAGIC): Likewise.
31813         (HOSTFS_SUPER_MAGIC): Likewise.
31814         (HUGETLBFS_MAGIC): Likewise.
31815         (MINIX3_SUPER_MAGIC): Likewise.
31816         (MTD_INODE_FS_MAGIC): Likewise.
31817         (NILFS_SUPER_MAGIC): Likewise.
31818         (OPENPROM_SUPER_MAGIC): Likewise.
31819         (PIPEFS_MAGIC): Likewise.
31820         (PSTOREFS_MAGIC): Likewise.
31821         (QNX6_SUPER_MAGIC): Likewise.
31822         (RAMFS_MAGIC): Likewise.
31823         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31824         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31825         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31826         (SECURITYFS_MAGIC): Likewise.
31827         (SELINUX_MAGIC): Likewise.
31828         (SMACK_MAGIC): Likewise.
31829         (SOCKFS_MAGIC): Likewise.
31830         (SQUASHFS_MAGIC): Likewise.
31831         (STACK_END_MAGIC): Likewise.
31832         (TMPFS_MAGIC): Likewise.
31833         (USBDEVICE_SUPER_MAGIC): Likewise.
31834         (V9FS_MAGIC): Likewise.
31835         (XENFS_SUPER_MAGIC): Likewise.
31836         (CRAMFS_MAGIC): Fix typo in comment.
31837         (EXT2_SUPER_MAGIC): Update comment.
31838         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31840 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31842         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31843         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31844         * sysdeps/unix/sysv/linux/arm: Move directory from
31845         ports/sysdeps/unix/sysv/linux/arm.
31846         * README: Update listing for arm-*-linux-gnueabi.
31848         * README: Remove mention of am33.
31850 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31852         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31853         than the comma operator, to avoid "rhs of comma has no effect"
31854         compiler warnings.
31855         (__sigfillset, __sigandset, __sigorset): Likewise.
31856         * include/signal.h (__sigemptyset): Likewise.
31857         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31859 2014-02-07  Allan McRae  <allan@archlinux.org>
31861         * version.h (RELEASE): Set to "development".
31862         (VERSION): Set to "2.19.90"
31863         * NEWS: Add 2.20 section.
31865 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31867         [BZ #16529]
31868         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31870 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31872         * manual/contrib.texi: Update entry for Carlos O'Donell,
31873         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31875 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31877         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31879         * sysdeps/unix/sysv/linux/kernel-features.h
31880         [__LINUX_KERNEL_VERSION >= 0x020621]
31881         (__ASSUME_PROC_PID_TASK_COMM): Define.
31883 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31885         [BZ #16398]
31886         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31887         conversion when destination buffer does not have enough space.
31888         * libio/tst-ftell-partial-wide.c: New test case.
31889         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31891         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31892         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31893         Leonard and Allan McRae.
31895 2014-02-04  David S. Miller  <davem@davemloft.net>
31897         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31898         32-bit.
31900 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31903         New file
31904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31905         New file
31906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31907         New file.
31908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31909         New file.
31910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31911         New file.
31912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31913         New file.
31914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31915         New file.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31917         New file.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31919         New file.
31920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31921         New file.
31922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31923         New file.
31924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31925         New file.
31926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31927         New file.
31929 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31931         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31932         * shlib-versions: Likewise.
31934 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31935             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31937         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31938         (abilist-pattern): New variable, set to %-le.abilist.
31940         * Makerules (abilist-pattern): New variable.
31941         (vpath): Use $(abilist-pattern) in place of %.abilist.
31942         (check-abi-% pattern rule): Likewise.
31943         (check-abi, update-abi): Likewise.
31945 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31949 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31951         * manual/startup.texi: Add next, previous, and top entries for
31952         the `Program Arguments' and `Environment Variables' nodes.
31954 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31956         * manual/macros.texi: Add comments before MTASC-safety macros.
31958         * manual/users.texi: Document MTASC-safety properties.
31960         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31961         (pthread_getspecific, pthread_setspecific): Format with
31962         @deftypefun, and add @safety note.
31963         * manual/signal.texi: Move comments that analyze the above
31964         functions to their home place.
31966 2014-02-03  Allan McRae  <allan@archlinux.org>
31968         * po/sl.po: Update Slovenian translation from translation project.
31970 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31972         * manual/time.texi (timegm): Add missing blank after @c.
31973         Reported by Joseph Myers <joseph@codesourcery.com>.
31975 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31977         * manual/check-safety.sh: New.
31978         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31980         * manual/terminal.texi: Document MTASC-safety properties.
31982         * manual/filesys.texi: Document MTASC-safety properties.
31984         * manual/errno.texi: Document MTASC-safety properties.
31986         * manual/intro.texi: Document safety identifiers and
31987         conditionals.
31989         * manual/string.texi (wcstok): Fix prototype.
31990         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31992         * manual/time.texi: Document MTASC-safety properties.
31994         * manual/string.texi: Document MTASC-safety properties.
31996         * manual/threads.texi: Document MTASC-safety properties.
31998         * manual/stdio.texi: Document MTASC-safety properties.
32000         * manual/syslog.texi: Document MTASC-safety properties.
32002         * manual/sysinfo.texi: Document MTASC-safety properties.
32004         * manual/startup.texi: Document MTASC-safety properties.
32006         * manual/socket.texi: Document MTASC-safety properties.
32008         * manual/signal.texi: Document MTASC-safety properties.
32010 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32012         * manual/setjmp.texi: Document MTASC-safety properties.
32014         * manual/search.texi: Document MTASC-safety properties.
32016         * manual/resource.texi: Document MTASC-safety properties.
32018         * manual/process.texi: Document MTASC-safety properties.
32020         * manual/platform.texi: Document MTASC-safety properties.
32022         * manual/pipe.texi: Document MTASC-safety properties.
32024         * manual/pattern.texi: Document MTASC-safety properties.
32026         * manual/message.texi: Document MTASC-safety properties.
32028         [BZ #12751]
32029         * manual/memory.texi: Document MTASC-safety properties.
32031         * manual/math.texi: Document MTASC-safety properties.
32033         * manual/locale.texi: Document MTASC-safety properties.
32035         * manual/llio.texi: Document MTASC-safety properties.
32037         * manual/libdl.texi: New.
32039         * manual/lang.texi: Document MTASC-safety properties.
32041         * manual/job.texi: Document MTASC-safety properties.
32043         * manual/getopt.texi: Document MTASC-safety properties.
32045         * manual/ctype.texi: Document MTASC-safety properties.
32047 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32049         [BZ #16046]
32050         * csu/libc-tls.c (static_map): Remove variable.
32051         (__libc_setup_tls): Use main executable's link map for TLS data.
32052         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32053         casing for LM_ID_BASE and GL(dl_nns).
32054         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32055         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32056         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32057         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32058         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32059         member.
32060         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32061         l_phnum members.
32063 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32065         * manual/debug.texi: Document MTASC-safety properties.
32067 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32069         [BZ #16510]
32070         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32071         of __x86_64__ when disabling x87 inline functions.
32073 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32075         * manual/charset.texi: Document MTASC-safety properties.
32077         * manual/crypt.texi: Document MTASC-safety properties.
32079         * manual/conf.texi: Document MTASC-safety properties.
32081         * manual/arith.texi: Document MTASC-safety properties.
32083         * manual/argp.texi: Document MTASC-safety properties.
32085         * manual/macros.texi: Introduce macros to document multi
32086         thread, asynchronous signal and asynchronous cancellation
32087         safety properties.
32088         * manual/intro.texi: Introduce the properties themselves.
32090 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32092         * sysdeps/sh/sh4/Makefile: New file.
32094 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32096         * math/gen-libm-test.pl ($srcdir): New variable.
32097         ($auto_input): Use it.
32099 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32101         [BZ #16506]
32102         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32103         access beyond array bounds when parsing netgroups file.
32105         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32106         the old buffer before realloc.
32108 2014-01-27  Allan McRae  <allan@archlinux.org>
32110         * po/fr.po: Update French translation from translation project.
32112 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32114         * sysdeps/sh/libm-test-ulps: Regenerate.
32116 2014-01-24  David S. Miller  <davem@davemloft.net>
32118         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32120 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32122         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32123         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32125 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32127         [BZ #16474]
32128         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32129         string pointers after reallocation.
32131 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32133         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32134         __SH4A__ instead of __SH_FPU_ANY__.
32136 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32138         * sysdeps/sh/fpu_control.h: New file.
32139         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32140         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32141         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32142         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32143         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32144         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32145         * sysdeps/sh/sys/ucontext.h: Remove.
32146         * sysdeps/sh/sys: Remove directory.
32148 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32150         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32151         s390/sys/ucontext.h.
32152         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32153         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32155 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32157         [BZ #15605]
32158         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32160 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32162         [BZ#16431]
32163         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32164         Adjust the vDSO correctly for internal calls.
32165         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32167 2014-01-20  Allan McRae  <allan@archlinux.org>
32169         * po/ca.po: Update Catalan translation from translation project.
32171 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32173         * sysdeps/s390/sotruss-lib.c: New file.
32175 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32177         [BZ#16430]
32178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32179         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32180         local calls issues by not having a PLT stub required for IFUNC calls.
32181         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32183 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32185         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32186         * math/test-fpucw-static.c: Likewise.
32188 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32190         [BZ #16453]
32191         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32193 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32195         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32196         implementation for powerpc.
32198 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32200         [BZ #14782]
32201         * sysdeps/posix/system.c (__libc_system): Do not enable
32202         asynchronous cancellation.
32204 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32206         [BZ #16427]
32207         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32208         handling only for numbers special also in the IEEE case.
32210 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32212         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32214 2014-01-11  Allan McRae  <allan@archlinux.org>
32216         * po/bg.po: Update Bulgarian translation from translation project.
32218         * po/de.po: Update German translation from translation project.
32220 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32222         * sysdeps/generic/gcc-compat.h: New file.
32224 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32226         * benchtests/asin-inputs: Correct slow inputs.
32227         * benchtests/acos-inputs: Likewise.
32229 2014-01-10  Allan McRae  <allan@archlinux.org>
32231         * po:sv.po: Update Swedish translation from translation project.
32233         * po/vi.po: Update Vietnamese translation from translation project.
32235         * po/eo.po: Update Esperanto translation from translation project.
32237         * po/cs.po: Update Czech translation from translation project.
32239         * po/nl.po: Update Dutch translation from translation project.
32241         * po/pl.po: Update Polish translation from translation project.
32243         * po/ru.po: Update Russian translation from translation project.
32245         * po/uk.po: Update Ukrainian translation from translation project.
32247 2014-01-08  Brooks Moses  <bmoses@google.com>
32249         * elf/dl-load.c: Fix comment typo.
32251 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32253         * po/header.pot: Rename to...
32254         * po/pot.header: ... this.
32255         * po/Makefile: Use pot.header.
32257 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32258             Maxim Kuvyrkov  <maxim@kugelworks.com>
32260         [BZ #16394]
32261         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32262         SRC and DEST against LEN.
32264 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32266         [BZ #16414]
32267         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32268         implementation.
32269         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32271 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32275 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32277         [BZ #16408]
32278         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32279         for large positive arguments.
32281 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32283         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32285         * math/auto-libm-test-in: Mark various tests with
32286         xfail-rounding:ldbl-128ibm.
32287         * math/auto-libm-test-out: Regenerated.
32289         [BZ #16407]
32290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32291         Increase overflow threshold.
32293 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32295         [BZ #14286]
32296         * stdio-common/vfprintf.c: Check for integer overflow.
32298 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32300         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32301         the first argument and return value of __tls_get_addr_internal.
32303 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32305         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32306         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32308 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32310         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32311         * sysdeps/s390/rtld-global-offsets.sym: New file.
32312         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32313         GLIBC_2.19 symbol.
32314         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32316         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32317         ... this.
32318         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32319         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32320         ... this.
32321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32322         Regenerate.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32324         Regenerate.
32325         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32326         halfs of GPRs for high_gprs contexts.
32327         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32328         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32329         field.
32330         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32331         uc_flags field.
32332         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32333         64 bit versions:
32334         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32335         for high GPRs (uc_high_gprs) and for future extensions
32336         (__reserved).
32337         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32338         for future extensions (__reserved).
32339         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32340         64 bit versions:
32341         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32342         SC_HIGHGPRS offset definition.
32343         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32344         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32346         * Versions.def: Add GLIBC_2.19 for libpthread.
32347         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32348         siglongjmp for libpthread with GLIBC_2.19 symver.
32349         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32350         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32351         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32352         * sysdeps/s390/__longjmp.c: New file.
32353         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32354         * sysdeps/s390/longjmp.c: New file.
32355         * sysdeps/s390/setjmp.S: New file.
32356         * sysdeps/s390/sigjmp.S: New file.
32357         * sysdeps/s390/v1-longjmp.c: New file.
32358         * sysdeps/s390/v1-setjmp.h: New file.
32359         * sysdeps/s390/v1-sigjmp.c: New file.
32360         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32361         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32362         GLIBC_2.19 version.
32363         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32364         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32365         versioned symbols for ____longjmp_chk.
32366         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32367         Likewise.
32368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32369         Regenerate.
32370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32371         Regenerate.
32372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32373         Regenerate.
32374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32375         Regenerate.
32376         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32377         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32378         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32379         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32380         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32381         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32382         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32383         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32384         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32385         * sysdeps/s390/rtld-__longjmp.c: New file.
32386         * sysdeps/s390/rtld-setjmp.S: New file.
32388 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #16400]
32391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32392         Return -__logl (x) for small positive arguments without evaluating
32393         a polynomial.
32395 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32397         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32398         Rename to ...
32399         (__ptrace_peeksiginfo_args): ... this.
32400         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32402         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32404 2014-01-06  Allan McRae  <allan@archlinux.org>
32406         * inet/netinet/in.h: Fix typo in comment.
32408 2014-01-05  Andreas Jaeger  <aj@suse.de>
32410         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412 2014-01-05  Allan McRae  <allan@archlinux.org>
32414         * po/libc.pot: Regenerated.
32416         * malloc/memusagestat.c: Fix gettext call formatting.
32418 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32420         * nscd/nscd.c: Improve usage() output.
32422 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32424         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32425         * sysdeps/unix/sysv/linux/configure: Regenerated.
32426         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32427         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32429 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32431         [BZ #16390]
32432         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32433         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32435 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32438         extra tokens at end of #undef directive.
32439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32440         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32441         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32443 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32445         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32447         * math/auto-libm-test-in: Mark various tests with
32448         xfail-rounding:ldbl-128ibm.
32449         * math/auto-libm-test-out: Regenerated.
32451 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32453         [BZ #16386]
32454         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32455         numbers with subnormal high part when calculating exponent.
32457         [BZ #16385]
32458         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32459         fabs.
32461         [BZ #16384]
32462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32463         M_LN2l.
32464         (__ieee754_acoshl): Use __log1pl not __log1p.
32466 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32468         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32469         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32470         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32471         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32472         (reused_arena, arena_get2): Convert to GNU style.
32473         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32474         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32475         (memalign_check, __malloc_set_state): Likewise.
32476         * malloc/mallocbug.c (main): Likewise.
32477         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32478         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32479         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32480         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32481         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32482         (__posix_memalign, malloc_info): Likewise.
32483         * malloc/malloc.h: Likewise.
32484         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32485         (mallochook, memalignhook, reallochook, mabort): Likewise.
32486         * malloc/mcheck.h: Likewise.
32487         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32488         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32489         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32490         * malloc/morecore.c (__default_morecore): Likewise.
32491         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32492         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32493         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32494         (print_and_abort): Likewise.
32495         * malloc/obstack.h: Likewise.
32496         * malloc/set-freeres.c (__libc_freeres): Likewise.
32497         * malloc/tst-mallocstate.c (main): Likewise.
32498         * malloc/tst-mtrace.c (main): Likewise.
32499         * malloc/tst-realloc.c (do_test): Likewise.
32501 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32503         [BZ #16366]
32504         * nscd/netgroupcache.c (do_notfound): New function.
32505         (addgetnetgrentX): Use it.
32507         [BZ # 16365]
32508         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32509         NSS_STATUS_NOTFOUND.
32511 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32513         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32516 2014-01-01  Allan McRae  <allan@archlinux.org>
32518         * scripts/update-copyrights: Update configure input file suffix.
32520         * NEWS: Update copyright year.
32521         * catgets/gencat.c: Likewise.
32522         * csu/version.c: Likewise.
32523         * debug/catchsegv.sh: Likewise.
32524         * debug/pcprofiledump.c: Likewise.
32525         * debug/xtrace.sh: Likewise.
32526         * elf/ldconfig.c: Likewise.
32527         * elf/ldd.bash.in: Likewise.
32528         * elf/pldd.c: Likewise.
32529         * elf/sotruss.ksh: Likewise.
32530         * elf/sprof.c: Likewise.
32531         * iconv/iconv_prog.c: Likewise.
32532         * iconv/iconvconfig.c: Likewise.
32533         * locale/programs/locale.c: Likewise.
32534         * locale/programs/localedef.c: Likewise.
32535         * login/programs/pt_chown.c: Likewise.
32536         * malloc/memusage.sh: Likewise.
32537         * malloc/memusagestat.c: Likewise.
32538         * malloc/mtrace.pl: Likewise.
32539         * manual/libc.texinfo: Likewise.
32540         * nscd/nscd.c: Likewise.
32541         * nss/getent.c: Likewise.
32542         * nss/makedb.c: Likewise.
32543         * posix/getconf.c: Likewise.
32544         * scripts/test-installation.pl: Likewise.
32546         * All files with FSF copyright notices: Update copyright dates
32547         using scripts/update-copyrights.
32548         * intl/plural.c: Regenerated.
32549         * locale/programs/charmap-kw.h: Likewise.
32550         * locale/programs/locfile-kw.h: Likewise.
32552 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32554         * sysdeps/unix/sysv/linux/configure: Regenerated.
32555         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32556         the linux/fanotify.h header.
32557         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32558         HAVE_LINUX_FANOTIFY_H is defined.
32560 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32562         * benchtests/cos-inputs: New inputs.
32563         * benchtests/sin-inputs: Likewise.
32565         * benchtests/atan-inputs: New inputs. Fix name of multiple
32566         precision fallback inputs.
32568         * benchtests/atanh-inputs: New inputs.
32569         * benchtests/tanh-inputs: Likewise.
32571         * benchtests/acosh-inputs: New inputs.
32572         * benchtests/asinh-inputs: Likewise.
32574         * benchtests/cosh-inputs: New inputs.
32575         * benchtests/sinh-inputs: Likewise.
32577         * benchtests/acos-inputs: Add more inputs.
32578         * benchtests/asin-inputs: Likewise.
32580 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32582         [BZ #16375]
32583         * manual/arith.texi: Fix spelling.
32584         * manual/charset.texi: Likewise.
32585         * manual/errno.texi: Likewise.
32586         * manual/filesys.texi: Likewise.
32587         * manual/lang.texi: Likewise.
32588         * manual/llio.texi: Likewise.
32589         * manual/locale.texi: Likewise.
32590         * manual/message.texi: Likewise.
32591         * manual/resource.texi: Likewise.
32592         * manual/search.texi: Likewise.
32593         * manual/setjmp.texi: Likewise.
32594         * manual/stdio.texi: Likewise.
32595         * manual/string.texi: Likewise.
32596         * manual/sysinfo.texi: Likewise.
32597         * manual/time.texi: Likewise.
32599 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32601         * po/sl.po: New file.
32603 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32605         * .gitignore: Add core/.gdbinit/.gdb_history.
32607 2013-12-27  Allan McRae  <allan@archlinux.org>
32609         [BZ #16369]
32610         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32611         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32613 2013-12-24  Brooks Moses  <bmoses@google.com>
32615         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32616         all compilers that claim C++98 compliance, not just GCC.
32617         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32618         Likewise.
32620 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32622         * NEWS: Restore accidentally deleted bug-fix entries.
32624 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32625             Ondřej Bílka  <neleai@seznam.cz>
32627         [BZ #15073]
32628         * malloc/malloc.c (_int_free): Perform sanity check only if we
32629         have_lock.
32631 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32633         [BZ #12986]
32634         * manual/stdio.texi (String Input Conversions): Clarify that character
32635         classes are not supported.
32637 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32641 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #16337]
32644         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32645         Calculate results for small negative arguments directly rather
32646         than using reflection formula with special underflow handling.
32648         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32649         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32650         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32651         (fchflags): Likewise.
32652         (revoke): Likewise.
32653         (setlogin): Likewise.
32654         (sigaltstack): Likewise.
32655         (wait4): Likewise.
32656         (sigblock): Remove.
32657         (sigsetmask): Likewise.
32658         (wait3): Likewise.
32659         (waitpid): Likewise.
32660         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32661         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32662         file.
32663         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32664         * sysdeps/unix/bsd/Makefile: ... here.
32665         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32666         * sysdeps/unix/bsd/Versions: ... here.
32667         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32668         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32669         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32670         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32671         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32672         * sysdeps/unix/bsd/sigblock.c: ... here.
32673         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32674         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32675         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32676         * sysdeps/unix/bsd/sigvec.c: ... here.
32677         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32678         * sysdeps/unix/bsd/tcdrain.c: ... here.
32679         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32680         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32681         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32682         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32683         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32684         * sysdeps/unix/bsd/wait.c: ... here.
32685         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32686         * sysdeps/unix/bsd/wait3.c: ... here.
32687         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32688         * sysdeps/unix/bsd/waitpid.c: ... here.
32690 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32692         [BZ #16356]
32693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32694         round-to-nearest for [!USE_AS_EXPM1L].
32695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32696         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32697         more tests of exp and exp10.  Expect some exp10 tests to miss
32698         exceptions or fail in directed rounding modes.
32699         * math/auto-libm-test-out: Regenerated.
32700         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32701         (exp10_test_tonearest): New function.
32702         (exp10_towardzero_test_data): New array.
32703         (exp10_test_towardzero): New function.
32704         (exp10_downward_test_data): New array.
32705         (exp10_test_downward): New function.
32706         (exp10_upward_test_data): New array.
32707         (exp10_test_upward): New function.
32708         (main): Call the new functions.
32709         * sysdeps/i386/fpu/libm-test-ulps: Update.
32710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32712 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32714         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32715         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32716         * math/auto-libm-test-out: Regenerated.
32717         * math/libm-test.inc (acosh_test_data): Add more tests.
32718         (atanh_test_data): Likewise.
32719         (ceil_test_data): Likewise.
32720         (copysign_test_data): Likewise.
32721         * sysdeps/i386/fpu/libm-test-ulps: Update.
32722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32724         * timezone/checktab.awk: Update from tzcode 2013i.
32725         * timezone/private.h: Likewise.
32726         * timezone/scheck.c: Likewise.
32727         * timezone/tzfile.h: Likewise.
32728         * timezone/tzselect.ksh: Likewise.
32729         * timezone/zdump.c: Likewise.
32730         * timezone/zic.c: Likewise.
32732         * math/auto-libm-test-in: Add tests of cpow.
32733         * math/auto-libm-test-out: Regenerated.
32734         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32735         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32736         mpc_cc_c.
32737         (func_calc_desc): Add mpc_cc_c union field.
32738         (test_functions): Add cpow.
32739         (special_fill_2pi): New function.
32740         (special_real_inputs): Add 2pi.
32741         (calc_generic_results): Handle mpc_cc_c.
32742         * sysdeps/i386/fpu/libm-test-ulps: Update.
32743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32745         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32746         csqrt, ctan and ctanh.
32747         * math/auto-libm-test-out: Regenerated.
32748         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32749         (TEST_COND_x86): Likewise.
32750         (ccos_test_data): Use AUTO_TESTS_c_c.
32751         (ccosh_test_data): Likewise.
32752         (cexp_test_data): Likewise.
32753         (clog_test_data): Likewise.
32754         (csqrt_test_data): Likewise.
32755         (ctan_test_data): Likewise.
32756         (ctan_tonearest_test_data): Likewise.
32757         (ctan_towardzero_test_data): Likewise.
32758         (ctan_downward_test_data): Likewise.
32759         (ctan_upward_test_data): Likewise.
32760         (ctanh_test_data): Likewise.
32761         (ctanh_tonearest_test_data): Likewise.
32762         (ctanh_towardzero_test_data): Likewise.
32763         (ctanh_downward_test_data): Likewise.
32764         (ctanh_upward_test_data): Likewise.
32765         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32766         mpc_c_c.
32767         (func_calc_desc): Add mpc_c_c union field.
32768         (FUNC_mpc_c_c): New macro.
32769         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32770         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32771         ctanh.
32772         (special_fill_min_subnorm_p120): New function.
32773         (special_real_inputs): Add min_subnorm_p120.
32774         (calc_generic_results): Handle mpc_c_c.
32775         * sysdeps/i386/fpu/libm-test-ulps: Update.
32776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32778 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32780         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32781         (do_sin_slow): New functions.
32782         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32783         (cslow2, csloww1, csloww2): Use the new functions.
32785         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32786         Use M to change sign of result instead of X.  Assume X is
32787         positive.
32788         (csloww1): Likewise.
32789         (__sin): Adjust.
32790         (__cos): Adjust.
32792         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32793         arguments A and DA.
32794         (__sin): Adjust.
32795         (__cos): Likewise.
32797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32798         (__cos): Likewise.
32799         (sloww1): Don't adjust sign of DX.
32800         (csloww1): Likewise.
32801         (sloww2): Use X directly and don't adjust sign of DX.
32802         (csloww2): Likewise.
32804 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32806         * math/auto-libm-test-in: Add tests of cabs and carg.
32807         * math/auto-libm-test-out: Regenerated.
32808         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32809         (carg_test_data): Likewise.
32810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32811         mpc_c_f.
32812         (func_calc_desc): Add mpc_c_f union field.
32813         (test_functions): Add cabs and carg.
32814         (calc_generic_results): Handle mpc_c_f.
32816         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32817         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32818         as a macro and a compat symbol.
32819         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32820         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32821         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32822         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32823         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32824         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32825         not use .hidden.
32826         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32827         Likewise.
32828         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32829         Likewise.
32830         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32831         Likewise.
32832         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32833         Likewise.
32834         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32835         Likewise.
32836         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32837         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32838         from GLIBC_2.3.2.
32840 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32844 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32846         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32847         trailing whitespace removed.
32848         * scripts/config.guess: Update to version 2013-11-29.
32849         * scripts/config.sub: Update to version 2013-10-01.
32851         * math/auto-libm-test-in: Add tests of sincos.
32852         * math/auto-libm-test-out: Regenerated.
32853         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32854         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32855         mpfr_f_11.
32856         (func_calc_desc): Add mpfr_f_11 union field.
32857         (test_functions): Add sincos.
32858         (calc_generic_results): Handle mpfr_f_11.
32859         * sysdeps/i386/fpu/libm-test-ulps: Update.
32860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32862 2013-12-19  Andreas Schwab  <schwab@suse.de>
32864         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32865         CALL_MCOUNT.
32866         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32867         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32868         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32870 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32872         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32873         * sysdeps/i386/fpu/libm-test-ulps: Update.
32874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32876         [BZ #16293]
32877         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32878         round-to-nearest mode when using frndint.
32879         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32880         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32881         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32882         Likewise.
32883         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32884         sinh test to fail.
32885         * math/auto-libm-test-out: Regenerated.
32886         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32887         (TEST_COND_x86): Likewise.
32888         (expm1_tonearest_test_data): New array.
32889         (expm1_test_tonearest): New function.
32890         (expm1_towardzero_test_data): New array.
32891         (expm1_test_towardzero): New function.
32892         (expm1_downward_test_data): New array.
32893         (expm1_test_downward): New function.
32894         (expm1_upward_test_data): New array.
32895         (expm1_test_upward): New function.
32896         (main): Run the new test functions.
32897         * sysdeps/i386/fpu/libm-test-ulps: Update.
32898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32900         * include/features.h: Update comment documenting feature test
32901         macros.  Mention _DEFAULT_SOURCE in comment.
32902         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32903         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32904         _BSD_SOURCE and _SVID_SOURCE.
32905         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32906         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32907         !_SVID_SOURCE]: Likewise.
32908         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32909         (__USE_POSIX_IMPLICITLY): Define.
32910         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32911         (_POSIX_SOURCE): Undefine and redefine.
32912         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32913         (_POSIX_C_SOURCE): Likewise.
32914         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32915         (Feature Test Macros): Update documentation of default features.
32917 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32919         * benchtests/Makefile: Add bench-strtok.
32920         * benchtests/bench-strtok.c: New file: strtok benchtest.
32922 2013-12-19  Allan McRae  <allan@archlinux.org>
32924         * manual/install.texi: Suppress menu for plain text output.
32925         * INSTALL: Regenerated.
32927 2013-12-18  Brooks Moses  <bmoses@google.com>
32929         [BZ #15846]
32930         * misc/getauxval.c: Include errno.h.
32931         (__getauxval): Set errno to ENOENT if the requested type is not
32932         found.
32933         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32934         don't declare with __attribute_const__.
32935         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32936         * manual/startup.texi: Document that getauxval sets errno.
32938 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32940         * math/auto-libm-test-in: Add tests of jn and yn.
32941         * math/auto-libm-test-out: Regenerated.
32942         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32943         (yn_test_data): Likewise.
32944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32945         mpfr_if_f.
32946         (func_calc_desc): Add mpfr_if_f union field.
32947         (FUNC_mpfr_if_f): New macro.
32948         (test_functions): Add jn and yn.
32949         (calc_generic_results): Assert type of second input for
32950         mpfr_ff_f.  Handle mpfr_if_f.
32951         (output_for_one_input_case): Disable all checking for arguments
32952         fitting floating-point types in case of an integer argument.
32953         * sysdeps/i386/fpu/libm-test-ulps: Update.
32954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32957         Don't expect fegetround reference in libm.so.
32959 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32961         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32962         $(config-cflags-nofma).
32964 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32966         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32967         * math/auto-libm-test-out: Regenerated.
32969         [BZ #16338]
32970         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32971         to determine exponent and adjust argument to have exponent of -1.
32972         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32973         log2.
32974         * math/auto-libm-test-out: Regenerated.
32975         * sysdeps/i386/fpu/libm-test-ulps: Update.
32976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32978 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32980         * manual/probes.texi: Remove cases when per-thread arenas are
32981         disabled.
32983 2013-12-18  Andreas Schwab  <schwab@suse.de>
32985         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32986         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32987         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32988         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32989         * sysdeps/i386/i686/multiarch/Makefile: Update.
32990         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32992 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32994         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32995         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32997 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32999         [BZ #15968]
33000         Support TZ transition times < 00:00:00.
33001         This is needed for version-3 tz-format files; it supports time
33002         stamps past 2037 for America/Godthab (the only entry in the tz
33003         database for which this change is relevant).
33004         * manual/time.texi (TZ Variable): Document transition times
33005         from -167:59:59 through -00:00:01.
33006         * time/tzset.c (tz_rule): Time of day is now signed.
33007         (__tzset_parse_tz): Parse negative time of day.
33009         Document TZ transition times >= 25:00:00.
33010         * manual/time.texi (TZ Variable): Document transition times from
33011         25:00:00 through 167:59:59.  These are already supported, and this
33012         support will help with version-3 tz-format files.
33014         * manual/time.texi (TZ Variable): Modernize North America example
33015         to reflect current (i.e., 2007-and-later) daylight saving rules.
33017         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33019 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33021         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33022         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33025         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33026         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33027         * sysdeps/unix/bsd/clock.c: Likewise.
33028         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33029         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33030         * sysdeps/unix/bsd/init-posix.c: Likewise.
33031         * sysdeps/unix/bsd/poll.c: Likewise.
33032         * sysdeps/unix/bsd/ptsname.c: Likewise.
33033         * sysdeps/unix/bsd/seekdir.c: Likewise.
33034         * sysdeps/unix/bsd/setegid.c: Likewise.
33035         * sysdeps/unix/bsd/seteuid.c: Likewise.
33036         * sysdeps/unix/bsd/setgid.c: Likewise.
33037         * sysdeps/unix/bsd/setrgid.c: Likewise.
33038         * sysdeps/unix/bsd/setruid.c: Likewise.
33039         * sysdeps/unix/bsd/setsid.c: Likewise.
33040         * sysdeps/unix/bsd/setuid.c: Likewise.
33041         * sysdeps/unix/bsd/sigaction.c: Likewise.
33042         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33043         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33044         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33045         * sysdeps/unix/bsd/telldir.c: Likewise.
33046         * sysdeps/unix/bsd/times.c: Likewise.
33047         * sysdeps/unix/bsd/usleep.c: Likewise.
33049         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33050         ($(objpfx)libbsd-compat.a): Remove rule.
33052         * include/features.h (__FAVOR_BSD): Do not define.
33053         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33054         features conflicting with POSIX.
33055         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33056         (_BSD_SOURCE): Remove description of not being a subset of other
33057         feature test macros.
33058         * manual/job.texi (getpgrp): Do not document BSD version.
33059         (getpgid): Do not document by reference to BSD getpgrp.
33060         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33061         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33062         * signal/signal.h [__FAVOR_BSD]: Likewise.
33063         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33064         instead of making contents conditional on [__FAVOR_BSD].
33065         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33067 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33071 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33073         [BZ #16314]
33074         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33075         values below 2**-450, not 2**-500.
33076         * math/auto-libm-test-in: Don't allow spurious underflow from
33077         hypot.
33078         * math/auto-libm-test-out: Regenerated.
33080         [BZ #16316]
33081         [BZ #16330]
33082         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33083         values of ha and hb and sort them after adjusting subnormal
33084         arguments.
33085         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33086         Likewise.
33087         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33088         values of ea and eb and sort them after adjusting subnormal
33089         arguments.
33090         * math/auto-libm-test-in: Do not expect some hypot tests of
33091         subnormals to fail.  Add more hypot tests.
33092         * math/auto-libm-test-out: Regenerated.
33094 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33096         [BZ #13304]
33097         * sysdeps/sh/s_fma.c: New file.
33098         * sysdeps/sh/s_fmaf.c: New file.
33099         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33100         version.
33101         * sysdeps/sh/Implies: Add sh/soft-fp.
33103 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33105         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33106         level of indirection to members `objname', `errstring', `malloced'.
33107         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33108         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33109         it as the __longjmp argument (just pass 1 instead).
33110         (_dl_catch_error): Initialize C with argument pointers and address of
33111         volatile local ERRCODE rather than copying values out of C at return.
33113 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33115         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33116         * math/auto-libm-test-out: Regenerated.
33117         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33118         (hypot_test_data): Likewise.
33119         (pow_test_data): Likewise.
33120         (pow_tonearest_test_data): Likewise.
33121         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33122         mpfr_ff_f.
33123         (func_calc_desc): Add mpfr_ff_f union field.
33124         (FUNC_mpfr_ff_f): New macro.
33125         (test_functions): Add atan2, hypot and pow.
33126         (special_fill_min): New function.
33127         (special_fill_minus_min): Likewise.
33128         (special_fill_min_subnorm): Likewise.
33129         (special_fill_minus_min_subnorm): Likewise.
33130         (special_real_inputs): Add min, -min, min_subnorm and
33131         -min_subnorm.
33132         (calc_generic_results): Handle mpfr_ff_f.
33133         * sysdeps/i386/fpu/libm-test-ulps: Update.
33134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136 2013-12-16  Will Newton  <will.newton@linaro.org>
33138         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33139         (Aligned Memory Blocks): Add documentation for aligned_alloc
33140         and suggest it as an alternative to posix_memalign.
33141         (Hooks for Malloc): Document __memalign_hook is also called
33142         for aligned_alloc.  (Summary of Malloc): Add summary for
33143         aligned alloc.  Document __memalign_hook is also called
33144         for aligned_alloc.
33146 2013-12-16  Will Newton  <will.newton@linaro.org>
33148         * manual/memory.texi (Malloc Examples): Clarify default
33149         alignment documentation.  Suggest posix_memalign rather
33150         than memalign or valloc.
33151         (Aligned Memory Blocks): Remove suggestion to use memalign
33152         or valloc.  Remove obsolete comment about BSD.
33153         Document memalign errno values and mark the function obsolete.
33154         Document posix_memalign returned error codes.  Mark valloc
33155         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33156         called for posix_memalign and valloc.
33157         (Summary of Malloc): Add posix_memalign to function summary.
33158         __memalign_hook is also called for posix_memalign and valloc.
33160 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33162         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33163         TAYLOR_SIN.
33164         (__sin): Adjust.
33165         (__cos): Likewise.
33166         (sloww): Use mynumber union.  Expand ternary operator into
33167         if-else statements.
33168         (cslow): use mynumber union.
33170 2013-12-16  Allan McRae  <allan@archlinux.org>
33172         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33173         * configure: Regenerated.
33175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33177         [BZ #14120]
33178         * configure.ac: Added --enable-maintainer-mode. Check for
33179         autoconf when enabled.
33180         * configure: Regenerated.
33182         * nscd/nscd.service: New file.
33183         * nscd/nscd.tmpfiles: New file.
33185 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33187         [BZ #12100]
33188         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33189         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33190         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33191         (strstr): Add __strstr_sse2_unaligned ifunc.
33192         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33193         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33194         (strcasestr): Remove __strcasestr_sse42 ifunc.
33195         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33199 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33201         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33202         * sysdeps/sh/bits/fenv.h: ... here.
33203         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33205 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33207         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33210         hypotf multiarch implementations.
33211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33212         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33214         multiarch hypot for PPC64.
33215         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33216         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33217         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33218         multiarch hypotf for PPC64.
33220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33221         modff multiarch implementations.
33222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33225         multiarch modf for PPC64.
33226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33229         multiarch modff for PPC64.
33231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33232         and logl multiarch implementations.
33233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33236         multiarch logb for PPC64.
33237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33240         multiarch logb for PPC64.
33241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33244         multiarch logb for PPC64.
33246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33247         isinff multiarch implementation.
33248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33249         file.
33250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33252         multiarch isinf for PPC64.
33253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33254         file.
33255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33256         multiarch isinff for PPC64.
33258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33259         finitef multiarch implementation.
33260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33261         file.
33262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33264         multiarch finite for PPC64.
33265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33266         file.
33267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33268         multiarch finitef for PPC64.
33270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33271         lrint multiarch implementation.
33272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33273         file.
33274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33276         multiarch llrint for PPC64.
33277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33278         multiarch lrint for PPC64.
33280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33281         copysignf multiarch implementation.
33282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33283         file.
33284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33285         file.
33286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33287         multiarch copysign for PPC64.
33288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33289         multiarch copysignf for PPC64.
33291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33292         multiarch implementation.
33293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33294         file.
33295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33296         file.
33297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33298         file.
33299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33300         file.
33301         multiarch llround for PPC64.
33302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33303         multiarch trunc for PPC64.
33304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33305         multiarch truncf for PPC64.
33307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33308         multiarch implementation.
33309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33310         file.
33311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33312         file.
33313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33314         file.
33315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33316         file.
33317         multiarch llround for PPC64.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33319         multiarch round for PPC64.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33321         multiarch roundf for PPC64.
33323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33324         multiarch implementation.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33326         file.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33328         file.
33329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33330         file.
33331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33332         file.
33333         multiarch llround for PPC64.
33334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33335         multiarch floor for PPC64.
33336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33337         multiarch floorf for PPC64.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33340         multiarch implementation.
33341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33342         file.
33343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33344         file.
33345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33346         file.
33347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33348         file.
33349         multiarch llround for PPC64.
33350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33351         multiarch ceil for PPC64.
33352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33353         multiarch ceilf for PPC64.
33355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33356         multiarch implementation.
33357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33358         file.
33359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33360         file.
33361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33362         file.
33363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33364         multiarch llround for PPC64.
33365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33366         multiarch lround for PPC64.
33368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33369         multiarch implementation.
33370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33373         file.
33374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33377         multiarch isnan for PPC64.
33378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33379         multiarch isnanf for PPC64.
33381         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33382         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33383         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33384         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33385         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33388         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33389         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33390         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33394         multiarch implementations.
33395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33396         (__libc_ifunc_impl_list): Likewise.
33397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33400         multiarch stpcpy for PPC64.
33402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33403         multiarch implementations.
33404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33405         (__libc_ifunc_impl_list): Likewise.
33406         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33407         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33408         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33409         multiarch strcpy for PPC64.
33411         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33412         redefine function name.
33413         (_wordcopy_fwd_dest_aligned): Likewise.
33414         (_wordcopy_bwd_aligned): Likewise.
33415         (_wordcopy_bwd_dest_aligned): Likewise.
33416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33417         multiarch implementations.
33418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33419         (__libc_ifunc_impl_list): Likewise.
33420         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33421         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33422         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33423         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33424         multiarch wcscpy for PPC64.
33426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33427         multiarch implementations.
33428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33429         (__libc_ifunc_impl_list): Likewise.
33430         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33432         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33433         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33434         multiarch wcscpy for PPC64.
33436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33437         multiarch implementations.
33438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33439         (__libc_ifunc_impl_list): Likewise.
33440         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33441         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33442         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33443         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33444         multiarch wcsrchr for PPC64.
33446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33447         multiarch implementations.
33448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33449         (__libc_ifunc_impl_list): Likewise.
33450         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33451         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33452         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33453         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33454         multiarch wcschr for PPC64.
33456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33457         multiarch implementations.
33458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33459         (__libc_ifunc_impl_list): Likewise.
33460         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33461         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33462         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33463         multiarch strchrnul for PPC64.
33465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33466         implementations.
33467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33468         (__libc_ifunc_impl_list): Likewise.
33469         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33470         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33471         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33472         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33473         strchr for PPC64.
33475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33476         implementations.
33477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33478         (__libc_ifunc_impl_list): Likewise.
33479         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33480         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33481         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33482         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33483         strncmp for PPC64.
33485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33486         multiarch implementations.
33487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33488         (__libc_ifunc_impl_list): Likewise.
33489         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33490         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33491         strncasecmp for PPC64.
33492         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33493         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33494         multiarch strncasecmp_l for PPC64.
33496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33497         multiarch implementations.
33498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33499         (__libc_ifunc_impl_list): Likewise.
33500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33502         multiarch strcasecmp for PPC64.
33503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33504         file.
33505         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33506         multiarch strcasecmp_l for PPC64.
33508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33509         implementations.
33510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33511         (__libc_ifunc_impl_list): Likewise.
33512         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33513         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33514         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33515         strnlen for PPC64.
33517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33518         implementations.
33519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33520         (__libc_ifunc_impl_list): Likewise.
33521         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33522         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33523         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33524         strlen for PPC64.
33526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33527         implementations.
33528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33529         (__libc_ifunc_impl_list): Likewise.
33530         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33531         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33532         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33533         rawmemrchr for PPC64.
33535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33536         implementation.
33537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33538         (__libc_ifunc_impl_list): Likewise.
33539         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33540         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33541         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33542         memrchr for PPC64.
33544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33545         implementation.
33546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33547         (__libc_ifunc_impl_list): Likewise.
33548         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33549         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33550         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33551         memchr for PPC64.
33553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33554         implementation.
33555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33556         (__libc_ifunc_impl_list): Likewise.
33557         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33558         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33559         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33560         mempcpy for PPC64.
33562         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33563         avoid cretion of __bzero symbol.
33564         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33565         Likewise.
33566         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33567         Likewise.
33568         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33569         Likewise.
33570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33571         multiarch implementations.
33572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33573         (__libc_ifunc_impl_list): Likewise.
33574         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33575         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33576         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33577         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33578         bzero for PPC32.
33579         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33580         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33581         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33582         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33583         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33584         memset for PPC64.
33585         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33587         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33589         implementations.
33590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33591         (__libc_ifunc_impl_list): Likewise.
33592         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33593         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33594         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33595         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33596         memcmp for PPC64.
33598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33599         multiarch for POWER/PPC64.
33600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33601         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33606         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33608         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33609         memcpy for PPC64.
33611         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33612         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33613         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33614         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33615         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33616         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33617         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33618         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33619         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33620         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33621         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33622         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33623         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33624         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33625         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33634 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33636         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33638 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33640         * benchtests/Makefile (bench): Add exp2 and log2.
33641         (LDLIBS-bench-exp2): Add -lm.
33642         (LDLIBS-bench-log2): Likewise.
33643         * benchtests/exp2-inputs: New inputs file.
33644         * benchtests/log2-inputs: New inputs file.
33645         * benchtests/log-inputs: Add new inputs.
33646         * benchtests/tan-inputs: Likewise.
33648 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33650         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33651         definition...
33652         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33653         (csloww2): ... from here.
33655         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33656         instead of structures.
33657         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33658         (POLYNOMIAL): Likewise.
33659         (TAYLOR_SLOW): Likewise.
33660         (__sin): Likewise.
33661         (__cos): Likewise.
33662         (slow1): Likewise.
33663         (slow2): Likewise.
33664         (sloww): Likewise.
33665         (sloww1); Likewise.
33666         (sloww2): Likewise.
33667         (bsloww1): Likewise.
33668         (bsloww2): Likewise.
33669         (cslow2): Likewise.
33670         (csloww): Likewise.
33671         (csloww1): Likewise.
33672         (csloww2): Likewise.
33674 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33676         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33677         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33678         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33679         * malloc/hooks.c (realloc_check): Likewise.
33681         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33682         * malloc/arena.c: Remove PER_THREAD conditional.
33683         [!PER_THREAD]: Remove code.
33684         (ptmalloc_unlock_all2): Likewise.
33685         (ptmalloc_init): Likewise.
33686         (_int_new_arena): Likewise.
33687         (arena_get2): Likewise.
33688         * malloc/hooks.c (__malloc_get_state): Likewise.
33689         (__malloc_set_state): Likewise.
33690         * malloc/malloc.c: Likewise.
33691         (struct malloc_state): Likewise.
33692         (struct malloc_par): Likewise.
33693         (__libc_realloc): Likewise.
33694         (__libc_mallopt): Likewise.
33696 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33698         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33700 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33702         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33703         macro to a function.  Check for zero perturb_byte.
33704         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33706         * malloc/malloc.c: (force_reg): Remove.
33707         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33708         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33709         force_reg by atomic_forced_read.
33710         * malloc/arena.c (ptmalloc_init): Likewise.
33711         * malloc/hooks.c (top_check): Likewise.
33713 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33717 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33721 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33723         * math/auto-libm-test-in: Add tests of lgamma.
33724         * math/auto-libm-test-out: Regenerated.
33725         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33726         (M_LOG_2_SQRT_PIl): Likewise.
33727         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33729         mpfr_f_f1.
33730         (func_calc_desc): Add mpfr_f_f1 union field.
33731         (ARGS1): New macro.
33732         (ARGS2): Likewise.
33733         (ARGS3): Likewise.
33734         (ARGS4): Likewise.
33735         (RET1): Likewise.
33736         (RET2): Likewise.
33737         (CALC): Likewise.
33738         (FUNC): Likewise.
33739         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33740         (test_functions): Add lgamma.
33741         (calc_generic_results): Handle mpfr_f_f1.
33742         * sysdeps/i386/fpu/libm-test-ulps: Update.
33743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33747         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33748         __mpn_add_n for PowerPC64/POWER7.
33749         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33750         __mpn_sub_n for PowerPC64/POWER7.
33752         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33753         __mpn_addmul_1 for PowerPC64.
33754         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33755         __mpn_submul_1 for PowerPC64.
33756         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33757         for PowerPC64.
33758         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33759         for PowerPC64.
33761 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33763         [BZ #15089]
33764         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33766 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33768         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33770         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33771         add multiarch folders.
33772         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33773         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33774         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33775         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33776         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33777         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33778         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33779         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33780         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33781         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33782         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33791         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33793         New file.
33794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33795         New file.
33796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33797         multiarch __ieee754_hypot for PowerPC32.
33798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33799         New file.
33800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33801         New file.
33802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33803         multiarch __ieee754_hypotf for PowerPC32.
33805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33806         long_double_symbol only if __logbl is defined.
33807         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33808         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33810         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33812         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33813         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33814         path for implementation.
33815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33816         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33818         logb, and logbl multiarch implementations for PowerPC32.
33819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33820         file.
33821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33822         file.
33823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33824         multiarch logb for PowerPC32.
33825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33826         file.
33827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33828         file.
33829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33830         multiarch logbf for PowerPC32.
33831         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33833         file.
33834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33835         multiarch logbl implementation for PowerPC32.
33837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33838         and modff multiarch implementations.
33839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33840         New file.
33841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33842         New file.
33843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33844         multiarch modf for PowerPC32.
33845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33846         New file.
33847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33848         New file.
33849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33850         multiarch modff for PowerPC32.
33852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33853         and lrintf multiarch implementations.
33854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33855         New file.
33856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33857         New file.
33858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33859         multiarch lrint for PowerPC32.
33860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33861         file: multiarch lrintf for PowerPC32.
33863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33864         and lroundf multiarch implementations.
33865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33866         New file.
33867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33868         New file.
33869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33870         New file.
33871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33872         multiarch lround for PowerPC32.
33873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33874         file: multiarch lroundf for PowerPC32.
33876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33877         copysign and copysignf multiarch implementations.
33878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33879         New file.
33880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33881         New file.
33882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33883         file: multiarch copysign for PowerPC32.
33884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33885         file: multiarch copysignf for PowerPC32.
33887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33888         and truncf multiarch implementations.
33889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33890         New file.
33891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33892         file.
33893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33894         multiarch trunc for PowerPC32.
33895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33896         New file.
33897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33898         New file.
33899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33900         multiarch truncf for PowerPC32.
33902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33903         and roundf multiarch implementations.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33905         New file.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33907         file.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33909         multiarch round for PowerPC32.
33910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33911         New file.
33912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33913         New file.
33914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33915         multiarch roundf for PowerPC32.
33917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33918         and floorf multiarch implementations.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33920         New file.
33921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33922         file.
33923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33924         multiarch floor for PowerPC32.
33925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33926         New file.
33927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33928         New file.
33929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33930         multiarch floorf for PowerPC32.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33933         and ceilf multiarch implementations.
33934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33935         New file.
33936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33937         file.
33938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33939         multiarch ceil for PowerPC32.
33940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33941         New file.
33942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33943         file.
33944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33945         multiarch ceilf for PowerPC32.
33947         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33948         is defined.
33949         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33950         FINITEF is defined.
33951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33952         and finitef multiarch implementations.
33953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33954         New file.
33955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33956         file.
33957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33958         multiarch finite for PowerPC32.
33959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33960         New file.
33961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33962         file: multiarch finitef for PowerPC32.
33964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33965         and isinff multiarch implementations.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33967         file.
33968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33969         file.
33970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33971         multiarch isinf for PowerPC32.
33972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33973         New file.
33974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33975         multiarch isinff for PowerPC32.
33977         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33978         alias when __isnan is defined.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33980         and isnanf multiarch implementations.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33982         file.
33983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33984         file.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33986         file.
33987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33988         file.
33989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33990         multiarch isnan for PowerPC32.
33991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33992         New file.
33993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33994         New file.
33995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33996         multiarch isnanf for PowerPC32.
33998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33999         and sqrtf multiarch implementations.
34000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34001         file.
34002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34003         file.
34004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34005         multiarch sqrt for PowerPC32.
34006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34007         file.
34008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34009         file.
34010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34011         multiarch sqrtf for PowerPC32.
34013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34014         and llroundf multiarch implementations.
34015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34016         New file.
34017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34018         New file.
34019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34020         New file.
34021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34022         file: multiarch llround for PowerPC32.
34023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34024         file: multiarch llroundf for PowerPC32.
34026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34027         multiarch PowerPC32 fpu implementations.
34028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34029         New file.
34030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34031         New file.
34032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34033         multiarch llrint for PowerPC32.
34034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34035         New file.
34036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34037         New file.
34038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34039         file.
34041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34043         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34044         file.
34045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34046         file.
34047         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34048         file.
34049         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34050         multiarch wordcopy for PPC32.
34051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34052         wordcopy objects.
34053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34054         (__libc_ifunc_impl_list): Likewise.
34055         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34056         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34057         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34058         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34060         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34062         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34064         file.
34065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34066         file.
34067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34068         file.
34069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34070         multiarch wcscpy for PPC32.
34071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34072         multiarch objects.
34073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34074         (__libc_ifunc_impl_list): Likewise.
34075         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34076         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34077         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34078         sysdeps/powerpc/power6/wcscpy.c.
34080         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34082         file.
34083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34084         file.
34085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34086         file.
34087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34088         multiarch wcsrchr for PPC32.
34089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34090         multiarch objects.
34091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34092         (__libc_ifunc_impl_list): Likewise.
34093         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34094         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34095         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34096         sysdeps/powerpc/power6/wcsrchr.c.
34098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34099         file.
34100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34101         file.
34102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34104         multiarch wcschr for PPc32.
34105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34106         multiarch objects.
34107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34108         (__libc_ifunc_impl_list): Likewise.
34109         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34110         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34111         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34112         sysdeps/powerpc/power6/wcschr.c.
34114         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34115         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34116         file.
34117         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34118         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34119         file: multiarch strchr for PPC32.
34120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34121         multiarch objects.
34122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34123         (__libc_ifunc_impl_list): Likewise.
34125         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34126         name.
34127         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34128         file.
34129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34130         file.
34131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34132         multiarch strchrnul for PPC32.
34133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34134         multiarch objects.
34135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34136         (__libc_ifunc_impl_list): Likewise.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34139         file.
34140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34141         multiarch strncasecmp for PPC32.
34142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34143         file.
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34145         multiarch strncasecmp_l for PPC32.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34147         strncasecmp multiarch objects.
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34149         (__libc_ifunc_impl_list): Likewise.
34151         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34152         file.
34153         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34154         multiarch strncasecmp for PPC32.
34155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34156         New file.
34157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34158         multiarch strcasecmp_l for PPC32.
34159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34160         multiarch objects.
34161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34162         (__libc_ifunc_impl_list): Likewise.
34164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34165         file.
34166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34167         file.
34168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34169         multiarch strncmp for PPC32.
34170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34171         multiarch objects.
34172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34173         (__libc_ifunc_impl_list): Likewise.
34175         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34176         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34177         file.
34178         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34179         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34181         multiarch objects.
34182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34183         (__libc_ifunc_impl_list): Likewise.
34185         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34186         file.
34187         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34188         file.
34189         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34191         multiarch objects.
34192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34193         (__libc_ifunc_impl_list): Likewise.
34195         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34196         file.
34197         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34198         file.
34199         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34200         multiarch rawmemchr for PPC32.
34201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34202         multiarch objects.
34203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34204         (__libc_ifunc_impl_list): Likewise.
34206         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34207         file.
34208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34209         file.
34210         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34211         file: memrchr multiarch for PPC32.
34212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34213         multiarch objects.
34214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34215         (__libc_ifunc_impl_list): Likewise.
34217         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34219         file.
34220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34221         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34222         multiarch memchr for PPC32.
34223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34224         multiarch objects.
34225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34226         (__libc_ifunc_impl_list): Likewise.
34228         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34229         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34230         file.
34231         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34232         file.
34233         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34234         file: multiarch mempcpy for PPC32.
34235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34236         multiarch objects.
34237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34238         (__libc_ifunc_impl_list): Likewise.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34241         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34243         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34244         multiarch bzero for PPC32.
34245         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34246         file.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34248         file.
34249         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34250         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34251         file: multiarch memset for PPC32.
34252         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34254         memset multiarch objects.
34255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34256         (__libc_ifunc_impl_list): Likewise.
34258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34259         file.
34260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34262         memcmp for PPC32.
34263         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34265         multiarch objects.
34266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34267         (__libc_ifunc_impl_list): Likewise.
34269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34272         file.
34273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34274         file.
34275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34276         file.
34277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34278         multiarch memcpy for PPC32.
34279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34280         multiarch objects.
34281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34282         (__libc_ifunc_impl_list): Likewise.
34284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34285         support multiarch for POWER/PPC32.
34286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34287         Likewise.
34288         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34290         Implies file to make multiarch folder appers before the fpu and
34291         default folder for power4 configuration.
34293 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34295         * scripts/bench.pl: Append volatile keyword to type.
34297 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34299         * sysdeps/sh/sotruss-lib.c: New file.
34300         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34302 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34306 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34308         [BZ #6810]
34309         * math/w_tgamma.c: Include <errno.h>.
34310         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34311         * math/w_tgammaf.c: Include <errno.h>.
34312         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34313         * math/w_tgammal.c: Include <errno.h>.
34314         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34315         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34316         underflow.  Add more tgamma tests.
34317         * math/auto-libm-test-out: Regenerated.
34318         * sysdeps/i386/fpu/libm-test-ulps: Update.
34319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34321         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34322         sin, sinh, tan, tanh, tgamma, y0 and y1.
34323         * math/auto-libm-test-out: Regenerated.
34324         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34325         (TEST_COND_x86): Likewise.
34326         (M_E2l): Remove macro.
34327         (M_E3l): Likewise.
34328         (M_2_SQRT_PIl): Likewise.
34329         (M_SQRT_PIl): Likewise.
34330         (M_1_DIV_El): Likewise.
34331         (log_test_data): Use AUTO_TESTS_f_f.
34332         (log10_test_data): Likewise.
34333         (log1p_test_data): Likewise.
34334         (log2_test_data): Likewise.
34335         (sin_test_data): Likewise.
34336         (sin_tonearest_test_data): Likewise.
34337         (sin_towardzero_test_data): Likewise.
34338         (sin_downward_test_data): Likewise.
34339         (sin_upward_test_data): Likewise.
34340         (sinh_test_data): Likewise.
34341         (sinh_tonearest_test_data): Likewise.
34342         (sinh_towardzero_test_data): Likewise.
34343         (sinh_downward_test_data): Likewise.
34344         (sinh_upward_test_data): Likewise.
34345         (tan_test_data): Likewise.
34346         (tan_tonearest_test_data): Likewise.
34347         (tan_towardzero_test_data): Likewise.
34348         (tan_downward_test_data): Likewise.
34349         (tan_upward_test_data): Likewise.
34350         (tanh_test_data): Likewise.
34351         (tgamma_test_data): Likewise.
34352         (y0_test_data): Likewise.
34353         (y1_test_data): Likewise.
34354         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34355         (special_real_inputs): Add pi/4.
34356         * sysdeps/i386/fpu/libm-test-ulps: Update.
34357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34359 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34361         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34362         "longjmp_target" static probes.
34363         (__longjmp): Rename to __longjmp_symbol.
34364         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34365         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34366         on which longjmp to generate.
34367         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34368         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34369         probe.
34370         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34371         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34372         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34373         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34374         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34375         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34377         __longjmp_symbol based on which __longjmp to generate.
34378         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34379         probe.
34380         (setjmp): Rename to setjmp_symbol.
34381         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34382         (_setjmp): Rename to _setjmp_symbol.
34383         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34384         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34385         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34386         which setjmp to generate.
34387         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34388         "longjmp_target" static probes.
34390 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34392         * benchtests/README: Add note about output arguments.
34393         * benchtests/bench-sincos.c: Remove file.
34394         * benchtests/sincos-inputs: New file.
34395         * scripts/bench.pl: Identify output arguments and define
34396         static variables for them.
34398         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34400         [BZ #15941]
34401         * Makefile (INSTALL): Add install-plain.texi as the primary
34402         dependency.
34403         * manual/install-plain.texi: New file.
34404         * manual/install.texi: Include node directive only for
34405         non-plaintext output.
34407 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34409         * stdlib/longlong.h: Update from GCC.
34411         [BZ #6807]
34412         [BZ #15901]
34413         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34414         * math/w_j0f.c (y0f): Likewise.
34415         * math/w_j0l.c (__y0l): Likewise.
34416         * math/w_j1.c (y1): Likewise.
34417         * math/w_j1f.c (y1f): Likewise.
34418         * math/w_j1l.c (__y1l): Likewise
34419         * math/w_jn.c (yn): Likewise.
34420         * math/w_jnf.c (ynf): Likewise.
34421         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34422         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34423         value for Bessel function domain errors outside _SVID_ mode.
34424         Adjust sign of return value for yn (negative integer, 0).
34425         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34426         by zero in return for negative x and set sign appropriately for
34427         negative n.
34428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34430         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34431         expectations in error cases.
34432         (y1_test_data): Likewise.
34433         (yn_test_data): Likewise.
34434         * sysdeps/i386/fpu/libm-test-ulps: Update.
34435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34437 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34439         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34440         "64" to "64-v1".  Add "64-v2".
34441         (abi-64-options): Rename to ...
34442         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34443         (abi-64-condition): Rename to ...
34444         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34445         (abi-64-ld-soname): Rename to ...
34446         (abi-64-v1-ld-soname): ... this.
34447         (abi-64-v2-options): Define.
34448         (abi-64-v2-condition): Likewise.
34449         (abi-64-v2-ld-soname): Likewise.
34450         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34451         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34456 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34457             Alan Modra  <amodra@gmail.com>
34459         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34460         New versions for use with the ELFv2 ABI.
34461         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34462         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34463         declaration.
34464         (struct La_ppc64v2_retval): Likewise.
34465         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34466         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34467         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34468         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34469         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34470         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34471         Do not save or restore CR.
34472         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34473         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34474         return values for ELFv2 ABI.  Fix location of FPR return registers.
34475         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34476         updated values for _CALL_ELF == 2.
34477         (La_regs, La_retval, int_retval): Likewise.
34479 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34481         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34482         (FRAME_MIN_SIZE_PARM): Likewise.
34483         (FRAME_BACKCHAIN): Likewise.
34484         (FRAME_CR_SAVE): Likewise.
34485         (FRAME_LR_SAVE): Likewise.
34486         (FRAME_TOC_SAVE): Likewise.
34487         (FRAME_PARM_SAVE): Likewise.
34488         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34489         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34490         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34491         (call_mcount_parm_offset): New macro.
34492         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34493         (PROF): Use symbolic stack frame offsets.
34494         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34495         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34496         Redefine in terms of FRAME_MIN_SIZE.
34497         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34498         (_dl_profile_resolve): Likewise.  Update comment.
34499         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34500         symbols stack frame offsets.
34501         (__sigsetjmp): Likewise.
34502         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34503         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34504         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34505         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34508         (FRAME_BACKCHAIN): Remove.
34509         (FRAME_CR_SAVE): Likewise.
34510         (FRAME_LR_SAVE): Likewise.
34511         (FRAME_COMPILER_DW): Likewise.
34512         (FRAME_LINKER_DW): Likewise.
34513         (FRAME_TOC_SAVE): Likewise.
34514         (FRAME_PARM_SAVE): Likewise.
34515         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34516         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34517         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34519         (CHECK_SP): Use symbolic stack frame offsets.
34520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34521         zone" instead of caller's parameter save area for temp storage.
34522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34523         Likewise.  Also, use symbolic stack frame offsets.
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34525         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34526         our own stack frame instead of the caller's.
34527         (__socket): Use symbolic stack frame offsets.
34529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34530             Alan Modra  <amodra@gmail.com>
34532         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34533         Define.
34534         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34535         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34536         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34537         New function.
34538         (elf_machine_fixup_plt): Call it.
34539         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34540         reloc arguments.
34541         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34542         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34543         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34544         r2 before calling target.
34546 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34547             Alan Modra  <amodra@gmail.com>
34549         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34550         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34551         versions of macros to support ELFv2 ABI.
34552         (LOCALENTRY): New macro.
34553         (ENTRY, EALIGN): Use it.
34554         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34555         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34556         fall through into ENTRY entry point.
34557         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34558         Only define if _CALL_ELF != 2.
34560         (elf_machine_matches_host): Verify ABI version matches.
34561         (RTLD_START): Use LOCALENTRY.
34562         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34563         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34564         (PLT_ENTRY_WORDS): New macro.
34565         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34566         (elf_machine_runtime_setup): Support ELFv2 ABI.
34567         (elf_machine_fixup_plt): Likewise.
34568         (elf_machine_plt_conflict): Likewise.
34569         (resolve_ifunc): Likewise.
34570         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34571         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34572         Likewise.
34573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34574         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34576         (makecontext): Support ELFv2 ABI.
34577         * elf/elf.h (EF_PPC64_ABI): Define.
34579 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34581         * sysdeps/powerpc/powerpc64/sysdep.h
34582         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34583         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34584         (ENTRY) [ASSEMBLER]: ... but instead here ...
34585         (EALIGN) [ASSEMBLER]: ... and here.
34586         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34587         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34588         (ENTRY_2) [!ASSEMBLER]: Use it.
34589         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34590         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34591         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34592         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34593         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34595         Use PPC64_LOAD_FUNCPTR.
34597         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34599 2013-12-04  Alan Modra  <amodra@gmail.com>
34601         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34602         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34603         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34604         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34607         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34608         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34609         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34610         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34611         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34613 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34616         (__makecontext): Fix incorrect CFI when backtracing out of
34617         context created via makecontext.
34618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34619         (__setcontext): Fix incorrect CFI during switch to new context.
34620         (__novec_setcontext): Likewise.
34622 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34624         [BZ #4772]
34625         * time/strptime_l.c (__strptime_internal): Allow modifiers
34626         in strptime.
34627         * time/tst-strptime.c (day_tests): Add testcase.
34629 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34631         * scripts/bench.pl: Skip over blank lines.
34633 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34635         [BZ #926]
34636         * manual/time.texi (Calendar Time): Clarify what timezone functions
34637         use.
34639 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34643 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34645         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34646         implementation.
34647         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34648         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34649         * debug/memset_chk.c (__memset_chk): Likewise.
34650         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34651         * debug/strncpy_chk.c: Likewise.
34653 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34655         [BZ #15268]
34656         [BZ #15425]
34657         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34658         (__ieee754_exp): For possibly underflowing results, check size of
34659         result and force underflow exception if required.
34660         * math/auto-libm-test-in: Add more tests of exp.
34661         * math/auto-libm-test-out: Regenerated.
34662         * sysdeps/i386/fpu/libm-test-ulps: Update.
34663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34665         [BZ #16283]
34666         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34667         * math/w_exp2f.c (__exp2f): Likewise.
34668         * math/w_exp2l.c (__exp2l): Likewise.
34669         * math/auto-libm-test-in: Do not allow missing errno on exp2
34670         underflow.
34671         * math/auto-libm-test-out: Regenerated.
34673 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34675         [BZ #16274]
34676         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34677         handle filename validation.
34678         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34679         (do_open): Delete.
34681 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34683         [BZ #6786]
34684         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34685         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34686         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34687         <float.h>.
34688         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34689         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34690         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34692         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34693         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34694         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34695         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34696         Add more erfc tests.
34697         * math/auto-libm-test-out: Regenerated.
34698         * sysdeps/i386/fpu/libm-test-ulps: Update.
34699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34701         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34702         exp2, expm1, j0 and j1.
34703         * math/auto-libm-test-out: Regenerated.
34704         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34705         (erfc_test_data): Likewise.
34706         (exp_test_data): Likewise.
34707         (exp_tonearest_test_data): Likewise.
34708         (exp_towardzero_test_data): Likewise.
34709         (exp_downward_test_data): Likewise.
34710         (exp_upward_test_data): Likewise.
34711         (exp10_test_data): Likewise.
34712         (exp2_test_data): Likewise.
34713         (expm1_test_data): Likewise.
34714         (j0_test_data): Likewise.
34715         (j1_test_data): Likewise.
34716         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34717         (input_flag_type): Add flag_xfail_rounding.
34718         (input_flags): Add xfail-rounding.
34719         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34720         (output_for_one_input_case): Handle flag_xfail_rounding.
34721         * sysdeps/i386/fpu/libm-test-ulps: Update.
34722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34724 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34726         [BZ #16289]
34727         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34728         division by 0.
34730 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34732         [BZ #16195]
34733         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34734         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34735         (STAP_PROBE0): New macro.
34736         (STAP_PROBE1): Likewise.
34737         (STAP_PROBE2): Likewise.
34738         (STAP_PROBE3): Likewise.
34739         (STAP_PROBE4): Likewise.
34741 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34743         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34745 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34747         * benchtests/Makefile (bench): Add sqrt.
34748         (LDLIBS-bench-sqrt): New.
34749         * benchtests/sqrt-input: New.
34751 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34753         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34754         (GAIH_EAI): Likewise.
34755         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34756         (gaih_inet): Likewise.
34757         (getaddrinfo): Don't use GAIH_EAI.
34759         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34760         (struct gaih): Remove definition.
34762 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34764         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34765         Use HERRNOP directly.
34767 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34771 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34773         * math/gen-auto-libm-tests.c (test_functions): Add more
34774         single-argument functions.
34775         (special_fill_pi_2): New function.
34776         (special_fill_minus_pi_2): Likewise.
34777         (special_fill_pi_6): Likewise.
34778         (special_fill_minus_pi_6): Likewise.
34779         (special_fill_pi_3): Likewise.
34780         (special_fill_2pi_3): Likewise.
34781         (special_fill_e): Likewise.
34782         (special_fill_1_e): Likewise.
34783         (special_fill_e_minus_1): Likewise.
34784         (special_real_inputs): Add more special inputs.
34785         (output_for_one_input_case): Do not require ERANGE on underflow to
34786         zero if round-to-nearest result does not underflow to zero, unless
34787         exact results required.
34788         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34789         atan, atanh, cbrt, cos and cosh.
34790         * math/auto-libm-test-out: Regenerated.
34791         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34792         (acos_tonearest_test_data): Likewise.
34793         (acos_towardzero_test_data): Likewise.
34794         (acos_downward_test_data): Likewise.
34795         (acos_upward_test_data): Likewise.
34796         (acosh_test_data): Likewise.
34797         (asin_test_data): Likewise.
34798         (asin_tonearest_test_data): Likewise.
34799         (asin_towardzero_test_data): Likewise.
34800         (asin_upward_test_data): Likewise.
34801         (asinh_test_data): Likewise.
34802         (atan_test_data): Likewise.
34803         (atanh_test_data): Likewise.
34804         (cbrt_test_data): Likewise.
34805         (cos_test_data): Likewise.
34806         (cos_tonearest_test_data): Likewise.
34807         (cos_towardzero_test_data): Likewise.
34808         (cos_downward_test_data): Likewise.
34809         (cos_upward_test_data): Likewise.
34810         (cosh_test_data): Likewise.
34811         (cosh_tonearest_test_data): Likewise.
34812         (cosh_towardzero_test_data): Likewise.
34813         (cosh_downward_test_data): Likewise.
34814         (cosh_upward_test_data): Likewise.
34815         * sysdeps/i386/fpu/libm-test-ulps: Update.
34816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34818 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34820         [BZ #6787]
34821         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34822         * math/w_exp10f.c (__exp10f): Likewise.
34823         * math/w_exp10l.c (__exp10l): Likewise.
34824         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34825         errno settings in existing tests.
34827         [BZ #14032]
34828         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34829         precision control set to double precision.
34830         * sysdeps/i386/fpu/w_sqrt.c: New file.
34831         * math/auto-libm-test-in: Add more tests.
34832         * math/auto-libm-test-out: Update.
34834         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34835         (sqrt_test_tonearest): New function.
34836         (sqrt_towardzero_test_data): New variable.
34837         (sqrt_test_towardzero): New function.
34838         (sqrt_downward_test_data): New variable.
34839         (sqrt_test_downward): New function.
34840         (sqrt_upward_test_data): New variable.
34841         (sqrt_test_upward): New function.
34842         (main): Call the new functions.
34844         * math/gen-auto-libm-tests.c: New file.
34845         * math/auto-libm-test-in: Likewise.
34846         * math/auto-libm-test-out: New generated file.
34847         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34848         variables.
34849         (%beautify): Add generated representations of zero.
34850         (top level): Set $auto_input and call parse_auto_input.
34851         (beautify): Remove trailing "f" from hex float constants.
34852         (parse_args): Handle XFAIL_TEST.
34853         (convert_condition): New function.
34854         (or_value): Likewise.
34855         (or_cond_value): Likewise.
34856         (generate_testfile): Handle AUTO_TESTS_* lines.
34857         (parse_auto_input): New function.
34858         * math/libm-test.inc (XFAIL_TEST): New macro.
34859         (ERRNO_UNCHANGED): Update value.
34860         (ERRNO_EDOM): Likewise.
34861         (ERRNO_ERANGE): Likewise.
34862         (IGNORE_RESULT): Likewise.
34863         (TEST_COND_flt_32): New macro.
34864         (TEST_COND_dbl_64): Likewise.
34865         (TEST_COND_ldbl_96_intel): Likewise.
34866         (TEST_COND_ldbl_96_m68k): Likewise.
34867         (TEST_COND_ldbl_128): Likewise.
34868         (TEST_COND_ldbl_128ibm): Likewise.
34869         (TEST_COND_long32): Likewise.
34870         (TEST_COND_long64): Likewise.
34871         (TEST_COND_before_rounding): Likewise.
34872         (TEST_COND_after_rounding): Likewise.
34873         (enable_test): Handle XFAIL_TEST flag.
34874         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34875         with finite results.
34876         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34877         auto-libm-test-out.
34879 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34880             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34882         [BZ #16214]
34883         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34884         __tls_get_addr_internal instead of __tls_get_offset in order to
34885         avoid GOT pointer dependency.  Make rtld export
34886         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34887         __tls_get_addr since we are a __tls_get_offset platform.
34888         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34889         GOT pointer being set up before.
34890         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34892 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34894         * manual/math.texi (Errors in Math Functions): Document accuracy
34895         goals.
34897         [BZ #15004]
34898         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34899         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34900         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34901         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34902         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34903         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34904         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34905         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34906         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34907         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34908         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34909         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34910         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34911         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34912         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34913         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34915         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34916         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34917         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34918         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34919         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34920         Likewise.
34921         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34922         Likewise.
34923         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34924         Likewise.
34925         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34926         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34927         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34928         atomic-feupdateenv and flt-rounds.
34929         * sysdeps/powerpc/nofpu/Versions (libc): Add
34930         __atomic_feholdexcept, __atomic_feclearexcept,
34931         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34932         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34933         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34934         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34935         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34936         here.
34937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34938         Update.
34940         * manual/arith.texi (FP Exceptions): Document that exceptions may
34941         not be raised when matherr is used.
34942         (Math Error Reporting): Document overflow in directed rounding
34943         modes.  Document that errno may not be set when finite values are
34944         returned on overflow.  Document intent to set errno on underflow
34945         only for underflow to zero.
34947         [BZ #16271]
34948         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34949         round-to-nearest then adjust result for other rounding modes.
34950         * include/fenv.h (fegetround): Use libm_hidden_proto.
34951         * math/fegetround.c (fegetround): Use libm_hidden_def.
34952         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34953         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34954         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34955         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34956         Likewise.
34957         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34958         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34959         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34960         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34962 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34964         [BZ #16077]
34965         * nss/Versions (libnss_files): Add
34966         _nss_files_gethostbyname3_r.
34967         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34968         New function.
34969         (HOST_DB_LOOKUP): Remove macro.
34970         (_nss_files_gethostbyname_r): Implement function without the
34971         HOST_DB_LOOKUP macro.
34972         (_nss_files_gethostbyname2_r): Likewise.
34974 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34976         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34978 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34980         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34981         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34982         warning.
34984 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34986         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34987         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34988         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34989         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34990         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34991         __fe_nomask_env_priv and attribute_hidden.
34992         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34993         (libc_feupdateenv_test_ppc): Likewise.
34994         (libc_feresetround_ppc): Likewise.
34995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34996         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34997         compat_symbol macro.
34998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34999         (__fe_nomask_env): Likewise.
35000         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35002 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35004         * string/Makefile: Remove ifunc tests.
35005         * string/test-string.h: Define TEST_IFUNC.
35006         * string/test-bcopy-ifunc.c: Remove.
35007         * string/test-bzero-ifunc.c: Likewise.
35008         * string/test-memccpy-ifunc.c: Likewise.
35009         * string/test-memchr-ifunc.c: Likewise.
35010         * string/test-memcmp-ifunc.c: Likewise.
35011         * string/test-memcpy-ifunc.c: Likewise.
35012         * string/test-memmem-ifunc.c: Likewise.
35013         * string/test-memmove-ifunc.c: Likewise.
35014         * string/test-mempcpy-ifunc.c: Likewise.
35015         * string/test-memrchr-ifunc.c: Likewise.
35016         * string/test-memset-ifunc.c: Likewise.
35017         * string/test-rawmemchr-ifunc.c: Likewise.
35018         * string/test-stpcpy-ifunc.c: Likewise.
35019         * string/test-stpncpy-ifunc.c: Likewise.
35020         * string/test-strcasecmp-ifunc.c: Likewise.
35021         * string/test-strcasestr-ifunc.c: Likewise.
35022         * string/test-strcat-ifunc.c: Likewise.
35023         * string/test-strchr-ifunc.c: Likewise.
35024         * string/test-strchrnul-ifunc.c: Likewise.
35025         * string/test-strcmp-ifunc.c: Likewise.
35026         * string/test-strcpy-ifunc.c: Likewise.
35027         * string/test-strcspn-ifunc.c: Likewise.
35028         * string/test-strlen-ifunc.c: Likewise.
35029         * string/test-strncasecmp-ifunc.c: Likewise.
35030         * string/test-strncat-ifunc.c: Likewise.
35031         * string/test-strncmp-ifunc.c: Likewise.
35032         * string/test-strncpy-ifunc.c: Likewise.
35033         * string/test-strnlen-ifunc.c: Likewise.
35034         * string/test-strpbrk-ifunc.c: Likewise.
35035         * string/test-strrchr-ifunc.c: Likewise.
35036         * string/test-strspn-ifunc.c: Likewise.
35037         * string/test-strstr-ifunc.c: Likewise.
35039 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35041         * benchtests/Makefile: Remove ifunc tests.
35042         * benchtests/bench-string.h: Define TEST_IFUNC.
35043         * benchtests/bench-bcopy-ifunc.c: Remove.
35044         * benchtests/bench-bzero-ifunc.c: Likewise.
35045         * benchtests/bench-memccpy-ifunc.c: Likewise.
35046         * benchtests/bench-memchr-ifunc.c: Likewise.
35047         * benchtests/bench-memcmp-ifunc.c: Likewise.
35048         * benchtests/bench-memcpy-ifunc.c: Likewise.
35049         * benchtests/bench-memmem-ifunc.c: Likewise.
35050         * benchtests/bench-memmove-ifunc.c: Likewise.
35051         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35052         * benchtests/bench-memrchr-ifunc.c: Likewise.
35053         * benchtests/bench-memset-ifunc.c: Likewise.
35054         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35055         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35056         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35057         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35058         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35059         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35060         * benchtests/bench-strcat-ifunc.c: Likewise.
35061         * benchtests/bench-strchr-ifunc.c: Likewise.
35062         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35063         * benchtests/bench-strcmp-ifunc.c: Likewise.
35064         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35065         * benchtests/bench-strcpy-ifunc.c: Likewise.
35066         * benchtests/bench-strcspn-ifunc.c: Likewise.
35067         * benchtests/bench-strlen-ifunc.c: Likewise.
35068         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35069         * benchtests/bench-strncat-ifunc.c: Likewise.
35070         * benchtests/bench-strncmp-ifunc.c: Likewise.
35071         * benchtests/bench-strncpy-ifunc.c: Likewise.
35072         * benchtests/bench-strnlen-ifunc.c: Likewise.
35073         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35074         * benchtests/bench-strrchr-ifunc.c: Likewise.
35075         * benchtests/bench-strsep-ifunc.c: Likewise.
35076         * benchtests/bench-strspn-ifunc.c: Likewise.
35077         * benchtests/bench-strstr-ifunc.c: Likewise.
35079 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35081         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35083 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35085         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35086         * rt/aio.h: Likewise.
35087         * sysdeps/gnu/bits/utmp.h: Likewise.
35088         * sysdeps/gnu/bits/utmpx.h: Likewise.
35089         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35090         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35091         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35092         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35093         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35094         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35095         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35096         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35097         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35098         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35099         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35100         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35101         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35103         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35104         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35105         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35106         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35107         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35108         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35109         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35110         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35111         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35112         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35113         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35115         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35116         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35117         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35118         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35119         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35120         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35121         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35122         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35123         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35124         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35125         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35126         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35127         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35128         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35129         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35130         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35132 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35134         [BZ #16245]
35135         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35136         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35138 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35140         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35141         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35142         Likewise.
35144 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35147         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35148         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35149         (__fesetround): Remove define.
35150         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35151         rounding and exceptions handling.
35152         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35153         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35154         (__fe_nomask_env): Likewise.
35155         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35156         __fegetround instead of fegetround.
35157         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35158         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35160 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35162         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35163         it's there.
35165         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35167 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35169         [BZ #11157]
35170         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35171         (encrypt_r): Likewise.
35172         * malloc/obstack.h (obstack_free): Likewise.
35173         * posix/unistd.h (encrypt): Likewise.
35175 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35177         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35178         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35179         DL_CALL_DT_FINI() that call the functions directly.
35180         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35181         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35182         * elf/dl-fini.c: Likewise.
35184 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35186         * malloc/hooks.c (memalign_check): Add alignment rounding.
35187         * malloc/malloc.c (_mid_memalign): New function.
35188         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35189         Implement by calling _mid_memalign.
35190         * manual/probes.texi (Memory Allocation Probes): Remove
35191         memory_valloc_retry and memory_pvalloc_retry.
35193 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35195         * locale/programs/locarchive.c (open_archive): Add const
35196         qualifier to ARCHIVEFNAME and copy default fname to
35197         DEFAULT_FNAME.
35199         [BZ #15601]
35200         * libio/tst-widetext.input: Rename Oriya to Odia.
35201         * locale/iso-639.def: Likewise.
35203         * manual/probes.texi (Mathematical Function Probes): Add
35204         documentation for sin, cos, asin and acos probes.
35205         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35206         (__sin32): Add slowasin probe.
35207         (__cos32): Add slowacos probe.
35208         (__mpsin): Add slowsin probe.
35209         (__mpcos): Add slowcos probe.
35211 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35213         [BZ #15483]
35214         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35215         thread-local __sim_exceptions_thread and global
35216         __sim_exceptions_global.
35217         (__sim_disabled_exceptions): Change to thread-local
35218         __sim_disabled_exceptions_thread and global
35219         __sim_disabled_exceptions_global.
35220         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35221         and global __sim_round_mode_global.
35222         (__simulate_exceptions): Use thread-local floating-point state and
35223         set global state from it as needed.
35224         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35225         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35226         __sim_round_mode_thread.
35227         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35228         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35229         and global __sim_exceptions_global.
35230         (__sim_disabled_exceptions): Change to thread-local
35231         __sim_disabled_exceptions_thread and global
35232         __sim_disabled_exceptions_global.
35233         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35234         and global __sim_round_mode_global.
35235         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35236         (SIM_SET_GLOBAL): Likewise.
35237         * sysdeps/powerpc/soft-fp/sfp-machine.h
35238         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35239         __sim_round_mode_thread.
35240         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35241         __sim_disabled_exceptions_thread.
35242         (__sim_exceptions): Change to __sim_exceptions_thread.
35243         (__sim_disabled_exceptions): Change to
35244         __sim_disabled_exceptions_thread.
35245         (__sim_round_mode): Change to __sim_round_mode_thread.
35246         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35247         thread-local floating-point state and set global state from it as
35248         needed.
35249         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35250         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35251         (__sim_disabled_exceptions): Remove extern declaration.
35252         (feenableexcept): Use thread-local floating-point state and set
35253         global state from it as needed.
35254         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35255         extern declaration.
35256         (__sim_disabled_exceptions): Likewise.
35257         (__sim_round_mode): Likewise.
35258         (__fegetenv): Use thread-local floating-point state.
35259         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35260         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35261         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35262         floating-point state and set global state from it as needed.
35263         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35264         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35265         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35266         Likewise.
35267         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35268         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35269         Likewise.
35270         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35271         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35272         Use __sim_round_mode_thread.
35273         * math/test-fenv-tls.c: New file.
35274         * math/Makefile (tests): Add test-fenv-tls.
35275         ($(objpfx)test-fenv-tls): Depend on
35276         $(common-objpfx)nptl/libpthread.so.
35278 2013-11-19  Andreas Schwab  <schwab@suse.de>
35280         * locale/programs/locale.c (show_info): Decode wordarray elements.
35281         * locale/categories.def (LC_MONETARY): Add element for
35282         _NL_MONETARY_CRNCYSTR.
35283         * locale/C-monetary.c (conversion_rate): New variable.
35284         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35285         element.
35287 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35289         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35290         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35292 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35294         * elf/Makefile (tst-auxv): New test.
35295         * elf/tst-auxv.c: New
35296         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35298 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35300         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35301         (hidden_proto): Caller changed.
35302         (hidden_tls_proto): New macro.
35303         (libc_hidden_tls_proto): Likewise.
35304         (rtld_hidden_tls_proto): Likewise.
35305         (libm_hidden_tls_proto): Likewise.
35306         (libresolv_hidden_tls_proto): Likewise.
35307         (librt_hidden_tls_proto): Likewise.
35308         (libdl_hidden_tls_proto): Likewise.
35309         (libnss_files_hidden_tls_proto): Likewise.
35310         (libnsl_hidden_tls_proto): Likewise.
35311         (libnss_nisplus_hidden_tls_proto): Likewise.
35312         (libutil_hidden_tls_proto): Likewise.
35314 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35316         [BZ #10253]
35317         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35318         (decompose_rpath): Defer expansion to fillin_rpath.
35319         (_dl_init_paths): Pass linkmap to fillin_rpath.
35321 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35323         * benchtests/Makefile: Add strsep.
35324         * benchtests/bench-strsep.c: New file: strsep benchtest.
35325         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35327 2013-11-18  Andreas Schwab  <schwab@suse.de>
35329         * locale/programs/locale.c (show_info) [case byte]: Check for
35330         '\377' instead of '\177'.
35331         * locale/C-monetary.c (not_available): Always use "\377".
35332         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35333         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35334         detect unavailable sign_posn locale elements.
35335         * locale/localeconv.c (__localeconv): For grouping and
35336         mon_grouping handle "\177" and "\377" like no grouping.
35337         (INT_ELEM): New macro.  Use it to set all numeric members.
35338         * locale/programs/ld-monetary.c (monetary_read)
35339         <tok_mon_grouping>: Normalize single -1 to the empty string.
35340         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35341         Likewise.
35343 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35345         [BZ #16055]
35346         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35347         when we match (nil).
35348         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35350 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35352         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35353         (NO_TEST_INLINE): Update value.
35354         (ERRNO_UNCHANGED): Likewise.
35355         (ERRNO_EDOM): Likewise.
35356         (ERRNO_ERANGE): Likewise.
35357         (IGNORE_RESULT): Likewise.
35358         (check_float_internal): Check signs of NaN results if
35359         TEST_NAN_SIGN used.
35360         (check_complex): Pass TEST_NAN_SIGN flag through to second
35361         check_float_internal call.
35362         (copysign_test_data): Add tests with quiet NaNs as second
35363         argument.  Use TEST_NAN_SIGN.
35364         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35365         TEST_NAN_SIGN.
35366         (signbit_test_data): Add tests of quiet NaN argument.
35367         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35369         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35370         $ignore_result.
35371         (parse_args): Handle function results specified as IGNORE.
35372         * math/libm-test.inc (IGNORE_RESULT): New macro.
35373         (check_float_internal): Do not check numerical result if flag
35374         IGNORE_RESULT set.
35375         (check_complex): Pass through IGNORE_RESULT to second
35376         check_float_internal call.
35377         (check_int): Do not check numerical result if flag IGNORE_RESULT
35378         set.
35379         (check_long): Likewise.
35380         (check_bool): Likewise.
35381         (check_longlong): Likewise.
35382         (lrint_test_data): Add tests of infinite and NaN arguments.
35383         (lrint_tonearest_test_data): Likewise.
35384         (lrint_towardzero_test_data): Likewise.
35385         (lrint_downward_test_data): Likewise.
35386         (lrint_upward_test_data): Likewise.
35387         (llrint_test_data): Likewise.
35388         (llrint_tonearest_test_data): Likewise.
35389         (llrint_towardzero_test_data): Likewise.
35390         (llrint_downward_test_data): Likewise.
35391         (llrint_upward_test_data): Likewise.
35392         (lround_test_data): Likewise.
35393         (llround_test_data): Likewise.
35395         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35396         (ERRNO_UNCHANGED): Update value.
35397         (ERRNO_EDOM): Likewise.
35398         (ERRNO_ERANGE): Likewise.
35399         (NO_TEST_INLINE_FLOAT): New macro.
35400         (NO_TEST_INLINE_DOUBLE): Likewise.
35401         (enable_test): New function.
35402         (RUN_TEST_f_f): Check enable_test before running test.
35403         (RUN_TEST_2_f): Likewise.
35404         (RUN_TEST_fff_f): Likewise.
35405         (RUN_TEST_c_f): Likewise.
35406         (RUN_TEST_f_f1): Likewise.
35407         (RUN_TEST_fF_f1): Likewise.
35408         (RUN_TEST_fI_f1): Likewise.
35409         (RUN_TEST_ffI_f1): Likewise.
35410         (RUN_TEST_c_c): Likewise.
35411         (RUN_TEST_cc_c): Likewise.
35412         (RUN_TEST_f_i): Likewise.
35413         (RUN_TEST_f_i_tg): Likewise.
35414         (RUN_TEST_ff_i_tg): Likewise.
35415         (RUN_TEST_f_b): Likewise.
35416         (RUN_TEST_f_b_tg): Likewise.
35417         (RUN_TEST_f_l): Likewise.
35418         (RUN_TEST_f_L): Likewise.
35419         (RUN_TEST_fFF_11): Likewise.
35420         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35421         conditionals.
35422         (cosh_test_data): Likewise.
35423         (exp_test_data): Likewise.
35424         (expm1_test_data): Likewise.
35425         (hypot_test_data): Likewise.
35426         (pow_test_data): Likewise.
35427         (sinh_test_data): Likewise.
35428         (tanh_test_data): Likewise.
35429         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35430         flags argument.
35432         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35433         tests with quiet NaN input and output.
35434         (acosh_test_data): Likewise.
35435         (asin_test_data): Likewise.
35436         (asinh_test_data): Likewise.
35437         (atan_test_data): Likewise.
35438         (atanh_test_data): Likewise.
35439         (atan2_test_data): Likewise.
35440         (cbrt_test_data): Likewise.
35441         (cos_test_data): Likewise.
35442         (cosh_test_data): Likewise.
35443         (erf_test_data): Likewise.
35444         (erfc_test_data): Likewise.
35445         (exp_test_data): Likewise.
35446         (exp10_test_data): Likewise.
35447         (exp2_test_data): Likewise.
35448         (expm1_test_data): Likewise.
35449         (hypot_test_data): Likewise.
35450         (j0_test_data): Likewise.
35451         (j1_test_data): Likewise.
35452         (jn_test_data): Likewise.
35453         (lgamma_test_data): Likewise.
35454         (log_test_data): Likewise.
35455         (log10_test_data): Likewise.
35456         (log1p_test_data): Likewise.
35457         (log2_test_data): Likewise.
35458         (pow_test_data): Likewise.
35459         (scalb_test_data): Likewise.
35460         (sin_test_data): Likewise.
35461         (sincos_test_data): Likewise.
35462         (sinh_test_data): Likewise.
35463         (tan_test_data): Likewise.
35464         (tanh_test_data): Likewise.
35465         (tgamma_test_data): Likewise.
35466         (y0_test_data): Likewise.
35467         (y1_test_data): Likewise.
35468         (yn_test_data): Likewise.
35470         [BZ #16167]
35471         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35472         argument being NaN and avoid computations with second argument in
35473         that case.
35474         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35475         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35476         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35478 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35480         * locale/iso-639.def: Add Chitwani Tharu (the).
35482 2013-11-14  Andreas Schwab  <schwab@suse.de>
35484         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35485         word instead of empty string.
35487 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35490         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35492         (__fe_nomask_env): Likewise.
35494 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35496         * benchtests/bench-timing.h: Include time.h.
35498 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35500         [BZ #15997]
35501         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35502         to 3.4.0 for x32.
35503         * sysdeps/unix/sysv/linux/configure: Regenerated.
35505 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35507         [BZ #16151]
35508         * stdlib/strtod_l.c (round_and_return): Do not consider
35509         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35510         exponent one less than half the least subnormal exponent.
35511         * stdlib/test-strtod-round-data: Add more tests.
35512         * stdlib/tst-strtod-round.c (tests): Regenerated.
35514 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35516         [BZ #14143]
35517         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35518         (__fe_mask_env): Likewise.
35519         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35520         libm_hidden_proto and add function prototype.
35521         (__fe_mask_env): Add function prototype.
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35523         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35525         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35527         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35529 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35531         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35532         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35534 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35536         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35537         of htab_find_slot().
35539 2013-11-11  David S. Miller  <davem@davemloft.net>
35541         [BZ #16150]
35542         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35543         symbol in the non-vis3 case in static builds.
35544         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35545         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35546         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35547         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35549 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35551         [BZ #387]
35552         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35553         it is empty.
35555 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35557         * benchtests/Makefile: Add bench-strtod.
35558         * benchtests/bench-strtod.c: New file: strtod benchtest
35560 2013-11-11  Andreas Schwab  <schwab@suse.de>
35562         [BZ #16153]
35563         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35564         terminating NUL in key length.
35566 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35569         Add artificial ODP entry for vDSO symbol for PPC64.
35570         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35571         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35573 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35575         [BZ #15374]
35576         * nss/getent.c (services_keys): Recognize services starting with digit.
35578 2013-11-06  David S. Miller  <davem@davemloft.net>
35580         [BZ #15985]
35581         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35582         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35584 2013-11-06  Will Newton  <will.newton@linaro.org>
35586         * manual/memory.texi (Malloc Examples): Remove register
35587         keyword from examples.
35589 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35591         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35593 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35595         [BZ #6981]
35596         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35597         depending on [__GCC_IEC_559 > 0].
35598         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35599         depending on [__GCC_IEC_559_COMPLEX > 0].
35601 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35603         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35604         to iso-639.def.
35606 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35608         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35610 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35612         [BZ #16112]
35613         * malloc/malloc (malloc_info): Do not handle first bin as
35614         special case.
35616 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35618         * locale/iso-639.def: Add Central Nahuatl (nhn).
35620 2013-11-01  Bruno Haible  <bruno@clisp.org>
35622         [BZ #7003]
35623         * manual/math.texi (BSD Random): Specify range upper bound as
35624         in POSIX.
35626 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35628         * locale/iso-639.def: Add Meadow Mari (mhr).
35630 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35632         [BZ #14752], [BZ #15763]
35633         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35634         Validate name.
35635         * rt/tst_shm.c: Add test for escaping directory.
35637 2013-10-31  Andreas Schwab  <schwab@suse.de>
35639         [BZ #15917]
35640         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35641         followed by 'x' as part of digit sequence.
35642         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35644 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35646         [BZ #16037]
35647         * configure.ac: allow GNU Make 4.0 and greater.
35648         * configure: Regenerated.
35650 2013-10-30  Will Newton  <will.newton@linaro.org>
35652         [BZ #16038]
35653         * malloc/hooks.c (memalign_check): Limit alignment to the
35654         maximum representable power of two.
35655         * malloc/malloc.c (__libc_memalign): Likewise.
35656         * malloc/tst-memalign.c (do_test): Add test for very
35657         large alignment values.
35658         * malloc/tst-posix_memalign.c (do_test): Likewise.
35660 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35662         [BZ #11087]
35663         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35664         (munmap_chunk): Likewise.
35665         (mremap_chunk): Likewise.
35667 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35669         [BZ #15799]
35670         * stdlib/div.c (div): Remove obsolete code.
35671         * stdlib/ldiv.c (ldiv): Likewise.
35672         * stdlib/lldiv.c (lldiv): Likewise.
35674 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35676         [BZ #16071]
35677         * nss/nss_files/files-XXX.c (get_contents_ret): New
35678         enumerator.
35679         (get_contents): New function.
35680         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35682 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35684         * configure.in: Moved to ...
35685         * configure.ac: ... here. Change reference to configure.in
35686         to configure.ac.
35687         * sysdeps/arm/preconfigure.ac: ... here.
35688         configure.in to configure.ac.
35689         * sysdeps/gnu/configure.in: Moved to ...
35690         * sysdeps/gnu/configure.ac: ... here.
35691         * sysdeps/i386/configure.in: Moved to ...
35692         * sysdeps/i386/configure.ac: ... here.
35693         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35694         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35695         * sysdeps/mach/configure.in: Moved to ...
35696         * sysdeps/mach/configure.ac: ... here.
35697         * sysdeps/mach/hurd/configure.in: Moved to ...
35698         * sysdeps/mach/hurd/configure.ac: ... here.
35699         * sysdeps/powerpc/configure.in: Moved to ...
35700         * sysdeps/powerpc/configure.ac: ... here.
35701         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35702         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35703         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35704         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35705         * sysdeps/s390/s390-32/configure.in: Moved to ...
35706         * sysdeps/s390/s390-32/configure.ac: ... here.
35707         * sysdeps/s390/s390-64/configure.in: Moved to ...
35708         * sysdeps/s390/s390-64/configure.ac: ... here.
35709         * sysdeps/sh/configure.in: Moved to ...
35710         * sysdeps/sh/configure.ac: ... here.
35711         * sysdeps/sparc/configure.in: Moved to ...
35712         * sysdeps/sparc/configure.ac: ... here.
35713         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35714         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35715         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35716         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35717         * sysdeps/x86_64/configure.in: Moved to ...
35718         * sysdeps/x86_64/configure.ac: ... here.
35719         * sysdeps/x86_64/preconfigure.in: Moved to ...
35720         * sysdeps/x86_64/preconfigure.ac: ... here.
35721         * aclocal.m4: Change reference to configure.in to configure.ac.
35722         * config.h.in: Likewise.
35723         * manual/install.texi: Likewise.
35724         * manual/maint.texi: Likewise.
35725         * Makefile: Likewise.
35726         * malloc/Makefile: Likewise.
35727         * nscd/Makefile: Likewise.
35728         * Makeconfig: Change reference to configure.in and
35729         preconfigure.in to configure.ac and preconfigure.ac
35730         respectively.
35731         * INSTALL: Regenerated.
35732         * configure: Likewise.
35733         * sysdeps/gnu/configure: Likewise.
35734         * sysdeps/i386/configure: Likewise.
35735         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35736         * sysdeps/mach/configure: Likewise.
35737         * sysdeps/mach/hurd/configure: Likewise.
35738         * sysdeps/powerpc/configure: Likewise.
35739         * sysdeps/powerpc/powerpc32/configure: Likewise.
35740         * sysdeps/powerpc/powerpc64/configure: Likewise.
35741         * sysdeps/s390/s390-32/configure: Likewise.
35742         * sysdeps/s390/s390-64/configure: Likewise.
35743         * sysdeps/sh/configure: Likewise.
35744         * sysdeps/sparc/configure: Likewise.
35745         * sysdeps/unix/sysv/linux/configure: Likewise.
35746         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35747         * sysdeps/x86_64/configure: Likewise.
35748         * sysdeps/x86_64/preconfigure: Likewise.
35750 2013-10-29  Andreas Schwab  <schwab@suse.de>
35752         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35754 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35756         * benchtests/pow-inputs: Add new inputs.
35758         * benchtests/exp-inputs: Add new inputs.
35760         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35761         conditional check for return value.
35762         (__cos32): Likewise.
35764 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35766         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35767         to provide a boost for large inputs with word alignment.
35768         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35769         implementation based on optimized PPC64 strcpy.
35770         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35771         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35772         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35773         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35775 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35777         [BZ #2801]
35778         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35780 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35782         [BZ #14876]
35783         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35784         * time/tst-strptime.c (day_tests): Add testcase.
35786 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35788         [BZ #14029]
35789         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35791 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35793         [BZ #16074]
35794         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35795         MAP_FAILED on error.
35797 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35799         [BZ #16072]
35800         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35801         heap for large requests.
35803 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35805         [BZ #9954]
35806         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35807         result if the result has no associated interface.
35808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35809         interface for all 127.X.Y.Z addresses.
35811 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35813         * locale/iso-639.def: Add Ligurian (lij)
35815 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35817         [BZ #15825]
35818         * sunrpc/rpc_main.c: Document rpcgen -5.
35820 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35822         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35824 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35826         [BZ #10278]
35827         * posix/glob.c: Match only directories when trailing slash is present.
35828         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35829         (main): Add testcase.
35831 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35833         [BZ #15670]
35834         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35836 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35838         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35839         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35840         AUTH_DES and cindex for FIPS 140-2.
35841         (DES Encryption): Add cindex FIPS 46-3.
35843         * locale/locarchive.h (struct locarhandle): Add fname.
35844         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35845         if an optional argument was specified to --list-archive,
35846         otherwise NULL.
35847         * locale/programs/locarchive.c (show_archive_content): Take new
35848         argument fname and pass it via ah.fname to open_archive.
35849         * locale/programs/localedef.h: Update decl.
35850         (open_archive): If AH->fname is non-null, open that file
35851         rather than the default file name, and don't ignore ENOENT.
35852         (create_archive): Set AH.fname to NULL.
35853         (delete_locales_from_archive): Likewise.
35854         (add_locales_to_archive): Likewise.
35855         * locale/programs/locfile.c (write_all_categories): Likewise.
35857 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35858             Aldy Hernandez  <aldyh@redhat.com>
35860         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35861         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35862         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35863         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35864         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35865         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35866         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35867         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35868         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35869         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35870         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35871         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35872         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35873         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35874         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35875         Likewise.
35876         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35877         Likewise.
35878         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35879         Likewise.
35880         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35881         Likewise.
35882         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35883         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35884         Likewise.
35885         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35886         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35887         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35888         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35889         Likewise.
35890         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35891         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35892         * sysdeps/powerpc/preconfigure: Likewise.
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35894         Likewise.
35895         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35896         Replace contents of file by #include of <fenv_libc.h>.
35897         * sysdeps/powerpc/soft-fp/sfp-machine.h
35898         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35899         and <sys/prctl.h>.
35900         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35910         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35913         Allow copysignl PLT reference to be missing.
35915 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35916             Joseph Myers  <joseph@codesourcery.com
35918         [BZ #15948]
35919         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35920         single character.
35921         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35923 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35925         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35926         * elf/tst-tls1.c: Likewise.
35927         * elf/tst-tls10.h: Likewise.
35928         * elf/tst-tls14.c: Likewise.
35929         * elf/tst-tls2.c: Likewise.
35930         * elf/tst-tls3.c: Likewise.
35931         * elf/tst-tls4.c: Likewise.
35932         * elf/tst-tls5.c: Likewise.
35933         * elf/tst-tls6.c: Likewise.
35934         * elf/tst-tls7.c: Likewise.
35935         * elf/tst-tls8.c: Likewise.
35936         * elf/tst-tls9.c: Likewise.
35937         * elf/tst-tlsmod1.c: Likewise.
35938         * elf/tst-tlsmod13.c: Likewise.
35939         * elf/tst-tlsmod13a.c: Likewise.
35940         * elf/tst-tlsmod14a.c: Likewise.
35941         * elf/tst-tlsmod16a.c: Likewise.
35942         * elf/tst-tlsmod16b.c: Likewise.
35943         * elf/tst-tlsmod2.c: Likewise.
35944         * elf/tst-tlsmod3.c: Likewise.
35945         * elf/tst-tlsmod4.c: Likewise.
35946         * elf/tst-tlsmod5.c: Likewise.
35947         * elf/tst-tlsmod6.c: Likewise.
35949 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35951         [BZ #12486]
35952         * malloc/malloc.c: remove checks for statistics.
35954 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35956         [BZ #15277]
35957         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35958         * inet/tst-network.c: Add testcase.
35960 2013-10-17  Andreas Schwab  <schwab@suse.de>
35962         [BZ #15218]
35963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35964         to determine canonical name.
35966 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35968         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35969         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35971         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35973         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35974         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35975         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35976         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35977         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35978         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35979         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35980         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35981         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35982         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35983         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35984         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35985         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35986         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35987         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35991         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35992         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35993         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35994         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35995         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35996         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35997         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35998         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35999         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36000         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36001         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36002         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36003         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36004         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36005         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36006         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36007         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36008         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36009         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36010         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36011         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36012         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36013         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36014         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36015         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36016         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36017         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36018         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36019         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36021         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36022         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36023         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36025         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36027 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36029         [BZ #16041]
36030         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36031         make result into a quiet NaN.
36033 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36035         * soft-fp/adddf3.c: Fix horizontal whitespace.
36036         * soft-fp/addsf3.c: Likewise.
36037         * soft-fp/addtf3.c: Likewise.
36038         * soft-fp/divdf3.c: Likewise.
36039         * soft-fp/divsf3.c: Likewise.
36040         * soft-fp/divtf3.c: Likewise.
36041         * soft-fp/double.h: Likewise.
36042         * soft-fp/eqdf2.c: Likewise.
36043         * soft-fp/eqsf2.c: Likewise.
36044         * soft-fp/eqtf2.c: Likewise.
36045         * soft-fp/extenddftf2.c: Likewise.
36046         * soft-fp/extended.h: Likewise.
36047         * soft-fp/extendsfdf2.c: Likewise.
36048         * soft-fp/extendsftf2.c: Likewise.
36049         * soft-fp/extendxftf2.c: Likewise.
36050         * soft-fp/fixdfdi.c: Likewise.
36051         * soft-fp/fixdfsi.c: Likewise.
36052         * soft-fp/fixdfti.c: Likewise.
36053         * soft-fp/fixsfdi.c: Likewise.
36054         * soft-fp/fixsfsi.c: Likewise.
36055         * soft-fp/fixsfti.c: Likewise.
36056         * soft-fp/fixtfdi.c: Likewise.
36057         * soft-fp/fixtfsi.c: Likewise.
36058         * soft-fp/fixtfti.c: Likewise.
36059         * soft-fp/fixunsdfdi.c: Likewise.
36060         * soft-fp/fixunsdfsi.c: Likewise.
36061         * soft-fp/fixunsdfti.c: Likewise.
36062         * soft-fp/fixunssfdi.c: Likewise.
36063         * soft-fp/fixunssfsi.c: Likewise.
36064         * soft-fp/fixunssfti.c: Likewise.
36065         * soft-fp/fixunstfdi.c: Likewise.
36066         * soft-fp/fixunstfsi.c: Likewise.
36067         * soft-fp/fixunstfti.c: Likewise.
36068         * soft-fp/floatdidf.c: Likewise.
36069         * soft-fp/floatdisf.c: Likewise.
36070         * soft-fp/floatditf.c: Likewise.
36071         * soft-fp/floatsidf.c: Likewise.
36072         * soft-fp/floatsisf.c: Likewise.
36073         * soft-fp/floatsitf.c: Likewise.
36074         * soft-fp/floattidf.c: Likewise.
36075         * soft-fp/floattisf.c: Likewise.
36076         * soft-fp/floattitf.c: Likewise.
36077         * soft-fp/floatundidf.c: Likewise.
36078         * soft-fp/floatundisf.c: Likewise.
36079         * soft-fp/floatunditf.c: Likewise.
36080         * soft-fp/floatunsidf.c: Likewise.
36081         * soft-fp/floatunsisf.c: Likewise.
36082         * soft-fp/floatunsitf.c: Likewise.
36083         * soft-fp/floatuntidf.c: Likewise.
36084         * soft-fp/floatuntisf.c: Likewise.
36085         * soft-fp/floatuntitf.c: Likewise.
36086         * soft-fp/fmadf4.c: Likewise.
36087         * soft-fp/fmasf4.c: Likewise.
36088         * soft-fp/fmatf4.c: Likewise.
36089         * soft-fp/gedf2.c: Likewise.
36090         * soft-fp/gesf2.c: Likewise.
36091         * soft-fp/getf2.c: Likewise.
36092         * soft-fp/ledf2.c: Likewise.
36093         * soft-fp/lesf2.c: Likewise.
36094         * soft-fp/letf2.c: Likewise.
36095         * soft-fp/muldf3.c: Likewise.
36096         * soft-fp/mulsf3.c: Likewise.
36097         * soft-fp/multf3.c: Likewise.
36098         * soft-fp/negdf2.c: Likewise.
36099         * soft-fp/negsf2.c: Likewise.
36100         * soft-fp/negtf2.c: Likewise.
36101         * soft-fp/op-1.h: Likewise.
36102         * soft-fp/op-2.h: Likewise.
36103         * soft-fp/op-4.h: Likewise.
36104         * soft-fp/op-8.h: Likewise.
36105         * soft-fp/op-common.h: Likewise.
36106         * soft-fp/quad.h: Likewise.
36107         * soft-fp/single.h: Likewise.
36108         * soft-fp/soft-fp.h: Likewise.
36109         * soft-fp/sqrtdf2.c: Likewise.
36110         * soft-fp/sqrtsf2.c: Likewise.
36111         * soft-fp/sqrttf2.c: Likewise.
36112         * soft-fp/subdf3.c: Likewise.
36113         * soft-fp/subsf3.c: Likewise.
36114         * soft-fp/subtf3.c: Likewise.
36115         * soft-fp/truncdfsf2.c: Likewise.
36116         * soft-fp/trunctfdf2.c: Likewise.
36117         * soft-fp/trunctfsf2.c: Likewise.
36118         * soft-fp/trunctfxf2.c: Likewise.
36119         * soft-fp/unorddf2.c: Likewise.
36120         * soft-fp/unordsf2.c: Likewise.
36121         * soft-fp/unordtf2.c: Likewise.
36123 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36125         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36126         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36128 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36130         * elf/dl-libc.c: Clear initfini list after freeing.
36132 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36134         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36135         * soft-fp/addsf3.c: Likewise.
36136         * soft-fp/addtf3.c: Likewise.
36137         * soft-fp/divdf3.c: Likewise.
36138         * soft-fp/divsf3.c: Likewise.
36139         * soft-fp/divtf3.c: Likewise.
36140         * soft-fp/double.h: Likewise.
36141         * soft-fp/eqdf2.c: Likewise.
36142         * soft-fp/eqsf2.c: Likewise.
36143         * soft-fp/eqtf2.c: Likewise.
36144         * soft-fp/extenddftf2.c: Likewise.
36145         * soft-fp/extended.h: Likewise.
36146         * soft-fp/extendsfdf2.c: Likewise.
36147         * soft-fp/extendsftf2.c: Likewise.
36148         * soft-fp/extendxftf2.c: Likewise.
36149         * soft-fp/fixdfdi.c: Likewise.
36150         * soft-fp/fixdfsi.c: Likewise.
36151         * soft-fp/fixdfti.c: Likewise.
36152         * soft-fp/fixsfdi.c: Likewise.
36153         * soft-fp/fixsfsi.c: Likewise.
36154         * soft-fp/fixsfti.c: Likewise.
36155         * soft-fp/fixtfdi.c: Likewise.
36156         * soft-fp/fixtfsi.c: Likewise.
36157         * soft-fp/fixtfti.c: Likewise.
36158         * soft-fp/fixunsdfdi.c: Likewise.
36159         * soft-fp/fixunsdfsi.c: Likewise.
36160         * soft-fp/fixunsdfti.c: Likewise.
36161         * soft-fp/fixunssfdi.c: Likewise.
36162         * soft-fp/fixunssfsi.c: Likewise.
36163         * soft-fp/fixunssfti.c: Likewise.
36164         * soft-fp/fixunstfdi.c: Likewise.
36165         * soft-fp/fixunstfsi.c: Likewise.
36166         * soft-fp/fixunstfti.c: Likewise.
36167         * soft-fp/floatdidf.c: Likewise.
36168         * soft-fp/floatdisf.c: Likewise.
36169         * soft-fp/floatditf.c: Likewise.
36170         * soft-fp/floatsidf.c: Likewise.
36171         * soft-fp/floatsisf.c: Likewise.
36172         * soft-fp/floatsitf.c: Likewise.
36173         * soft-fp/floattidf.c: Likewise.
36174         * soft-fp/floattisf.c: Likewise.
36175         * soft-fp/floattitf.c: Likewise.
36176         * soft-fp/floatundidf.c: Likewise.
36177         * soft-fp/floatundisf.c: Likewise.
36178         * soft-fp/floatunsidf.c: Likewise.
36179         * soft-fp/floatunsisf.c: Likewise.
36180         * soft-fp/floatuntidf.c: Likewise.
36181         * soft-fp/floatuntisf.c: Likewise.
36182         * soft-fp/floatuntitf.c: Likewise.
36183         * soft-fp/fmadf4.c: Likewise.
36184         * soft-fp/fmasf4.c: Likewise.
36185         * soft-fp/fmatf4.c: Likewise.
36186         * soft-fp/gedf2.c: Likewise.
36187         * soft-fp/gesf2.c: Likewise.
36188         * soft-fp/getf2.c: Likewise.
36189         * soft-fp/ledf2.c: Likewise.
36190         * soft-fp/lesf2.c: Likewise.
36191         * soft-fp/letf2.c: Likewise.
36192         * soft-fp/muldf3.c: Likewise.
36193         * soft-fp/mulsf3.c: Likewise.
36194         * soft-fp/multf3.c: Likewise.
36195         * soft-fp/negdf2.c: Likewise.
36196         * soft-fp/negsf2.c: Likewise.
36197         * soft-fp/negtf2.c: Likewise.
36198         * soft-fp/op-1.h: Likewise.
36199         * soft-fp/op-2.h: Likewise.
36200         * soft-fp/op-4.h: Likewise.
36201         * soft-fp/op-8.h: Likewise.
36202         * soft-fp/op-common.h: Likewise.
36203         * soft-fp/quad.h: Likewise.
36204         * soft-fp/single.h: Likewise.
36205         * soft-fp/soft-fp.h: Likewise.
36206         * soft-fp/sqrtdf2.c: Likewise.
36207         * soft-fp/sqrtsf2.c: Likewise.
36208         * soft-fp/sqrttf2.c: Likewise.
36209         * soft-fp/subdf3.c: Likewise.
36210         * soft-fp/subsf3.c: Likewise.
36211         * soft-fp/subtf3.c: Likewise.
36212         * soft-fp/truncdfsf2.c: Likewise.
36213         * soft-fp/trunctfdf2.c: Likewise.
36214         * soft-fp/trunctfsf2.c: Likewise.
36215         * soft-fp/trunctfxf2.c: Likewise.
36216         * soft-fp/unorddf2.c: Likewise.
36217         * soft-fp/unordsf2.c: Likewise.
36218         * soft-fp/unordtf2.c: Likewise.
36220 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36222         [BZ #15672]
36223         * misc/error.c (error_tail): Fix possible buffer overflow.
36225 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36227         [BZ #13028]
36228         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36229         address.
36231 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36233         [BZ #832]
36234         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36235         testing pipefail option.
36237 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36239         * soft-fp/double.h: Indent preprocessor directives inside #if.
36240         * soft-fp/extended.h: Likewise.
36241         * soft-fp/op-2.h: Likewise.
36242         * soft-fp/op-4.h: Likewise.
36243         * soft-fp/op-common.h: Likewise.
36244         * soft-fp/quad.h: Likewise.
36245         * soft-fp/single.h: Likewise.
36246         * soft-fp/soft-fp.h: Likewise.
36248 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36250         * iconv/iconv_prog.c: Fix typos.
36251         * stdio-common/psiginfo-data.h: Likewise.
36253 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36255         [BZ #15764]
36256         * locale/setlocale.c: Fix typo.
36258 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36260         [BZ #16036]
36261         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36262         signaling NaN arguments.
36263         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36264         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36266         [BZ #14910]
36267         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36268         unordered operands.
36269         * soft-fp/gesf2.c (__gesf2): Likewise.
36270         * soft-fp/getf2.c (__getf2): Likewise.
36271         * soft-fp/ledf2.c (__ledf2): Likewise.
36272         * soft-fp/lesf2.c (__lesf2): Likewise.
36273         * soft-fp/letf2.c (__letf2): Likewise.
36275         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36276         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36277         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36278         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36279         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36280         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36281         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36282         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36283         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36284         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36285         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36286         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36287         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36288         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36289         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36290         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36291         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36292         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36293         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36294         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36295         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36296         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36297         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36298         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36299         * soft-fp/floattidf.c (__floattidf): Likewise.
36300         * soft-fp/floattisf.c (__floattisf): Likewise.
36301         * soft-fp/floattitf.c (__floattitf): Likewise.
36302         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36303         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36304         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36305         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36306         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36307         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36308         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36309         * soft-fp/gesf2.c (__gesf2): Likewise.
36310         * soft-fp/getf2.c (__getf2): Likewise.
36311         * soft-fp/ledf2.c (__ledf2): Likewise.
36312         * soft-fp/lesf2.c (__lesf2): Likewise.
36313         * soft-fp/letf2.c (__letf2): Likewise.
36315         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36316         Undefine and redefine.
36317         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36318         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36319         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36320         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36321         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36322         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36323         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36324         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36325         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36326         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36327         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36328         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36329         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36330         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36331         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36333         [BZ #16032]
36334         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36335         without decrementing exponent if mantissa >= that for the
36336         denominator, not >.
36337         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36338         denominator, not >.  Decrement exponent in < case instead of
36339         incrementing in >= case.
36340         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36341         without decrementing exponent if mantissa >= that for the
36342         denominator, not >.
36344         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36345         computing saturated result for unsigned overflow.
36347 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36348             Jeff Law  <law@redhat.com>
36350         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36351         (atan2Mp): Add systemtap probe marker.
36352         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36353         (__ieee754_log): Add systemtap probe marker.
36354         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36355         (atanMp): Add systemtap probe marker.
36356         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36357         (tanMp): Add systemtap probe marker.
36358         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36359         (__slowexp): Add systemtap probe marker.
36360         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36361         (__slowpow): Add systemtap probe marker.
36362         * manual/probes.texi: Document probes.
36364 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36366         [BZ #15362]
36367         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36368         written.
36369         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36370         written.
36371         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36372         written to buffer but not flushed.
36373         * libio/iofwrite_u.c:  Likewise.
36374         * libio/iopadn.c:  Return bytes returned even if EOF was
36375         encountered.
36376         * libio/iowpadn.c:  Likewise.
36377         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36378         if _IO_padn does not write the whole buffer.
36379         [!COMPILE_WPRINTF] (PAD): Likewise.
36381 2013-10-10  David S. Miller  <davem@davemloft.net>
36383         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36384         directory block.
36386 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36388         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36389         instead of FSF address.
36390         * soft-fp/fixdfti.c: Likewise.
36391         * soft-fp/fixsfti.c: Likewise.
36392         * soft-fp/fixtfti.c: Likewise.
36393         * soft-fp/fixunsdfti.c: Likewise.
36394         * soft-fp/fixunssfti.c: Likewise.
36395         * soft-fp/fixunstfti.c: Likewise.
36396         * soft-fp/floattidf.c: Likewise.
36397         * soft-fp/floattisf.c: Likewise.
36398         * soft-fp/floattitf.c: Likewise.
36399         * soft-fp/floatuntidf.c: Likewise.
36400         * soft-fp/floatuntisf.c: Likewise.
36401         * soft-fp/floatuntitf.c: Likewise.
36402         * soft-fp/trunctfxf2.c: Likewise.
36404         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36405         * soft-fp/fixdfti.c: Likewise.
36406         * soft-fp/fixsfti.c: Likewise.
36407         * soft-fp/fixtfti.c: Likewise.
36408         * soft-fp/fixunsdfti.c: Likewise.
36409         * soft-fp/fixunssfti.c: Likewise.
36410         * soft-fp/fixunstfti.c: Likewise.
36411         * soft-fp/floattidf.c: Likewise.
36412         * soft-fp/floattisf.c: Likewise.
36413         * soft-fp/floattitf.c: Likewise.
36414         * soft-fp/floatuntidf.c: Likewise.
36415         * soft-fp/floatuntisf.c: Likewise.
36416         * soft-fp/floatuntitf.c: Likewise.
36417         * soft-fp/trunctfxf2.c: Likewise.
36419 2013-10-10  David S. Miller  <davem@davemloft.net>
36421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36423 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36425         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36426         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36427         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36428         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36429         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36430         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36431         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36433         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36434         for NaNs before doing comparisons on argument.
36435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36436         Likewise.
36438 2013-10-10  Will Newton  <will.newton@linaro.org>
36440         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36441         passed to _int_memalign does not overflow.
36443 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36445         * scripts/bench.pl: Add include-sources directive.
36446         * benchtests/README: Update documentation.
36448 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36450         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36451         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36452         instead of FP_INIT_ROUNDMODE.
36453         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36454         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36456         [BZ #16034]
36457         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36458         copy class of input value.
36459         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36460         not handle exceptions.
36461         * soft-fp/negsf2.c (__negsf2): Likewise.
36462         * soft-fp/negtf2.c (__negtf2): Likewise.
36463         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36465 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36467         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36468         semicolon.  From Linux kernel.
36470 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36472         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36474 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36476         [BZ #156]
36477         * manual/socket.texi: Added statement about buffer
36478         for gethostbyname2_r.
36480 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36482         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36483         Use .p2align directive instead, throughout.
36484         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36485         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36486         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36487         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36489         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36490         * sysdeps/x86_64/strchr.S: Likewise.
36491         * sysdeps/x86_64/strrchr.S: Likewise.
36493 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36495         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36497         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36499         * sysdeps/generic/math_private.h (__mpsin1): Remove
36500         declaration.
36501         (__mpcos1): Likewise.
36502         (__mpsin): New argument __range_reduce.
36503         (__mpcos): Likewise.
36504         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36505         (slow): Use __mpsin and __mpcos.
36506         (slow1): Likewise.
36507         (slow2): Likewise.
36508         (sloww): Likewise.
36509         (sloww1): Likewise.
36510         (sloww2): Likewise.
36511         (bsloww): Likewise.
36512         (bsloww1): Likewise.
36513         (bsloww2): Likewise.
36514         (cslow2): Likewise.
36515         (csloww): Likewise.
36516         (csloww1): Likewise.
36517         (csloww2): Likewise.
36518         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36519         range_reduce.  Merge in __mpsin1.
36520         (__mpcos): Likewise.
36521         (__mpsin1): Remove.
36522         (__mpcos1): Likewise.
36524 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36526         * locale/loadlocale.c (_nl_intern_locale_data): Use
36527         LOCFILE_ALIGNED_P.
36528         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36529         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36530         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36531         obstack data is appropriately aligned.
36532         (obstack_int32_grow_fast): Likewise.
36533         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36534         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36535         (add_locale_uint32_array): Likewise.
36537 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36539         * benchtests/Makefile: Remove ARGLIST and RET variables.
36540         ($(objpfx)bench-%.c): Pass only function name to the script.
36541         * benchtests/README: Update documentation.
36542         * benchtests/acos-inputs: Add new directives.
36543         * benchtests/acosh-inputs: Likewise.
36544         * benchtests/asin-inputs: Likewise.
36545         * benchtests/asinh-inputs: Likewise.
36546         * benchtests/atan-inputs: Likewise.
36547         * benchtests/atanh-inputs: Likewise.
36548         * benchtests/cos-inputs: Likewise.
36549         * benchtests/cosh-inputs: Likewise.
36550         * benchtests/exp-inputs: Likewise.
36551         * benchtests/log-inputs: Likewise.
36552         * benchtests/pow-inputs: Likewise.
36553         * benchtests/rint-inputs: Likewise.
36554         * benchtests/sin-inputs: Likewise.
36555         * benchtests/sinh-inputs: Likewise.
36556         * benchtests/tan-inputs: Likewise.
36557         * benchtests/tanh-inputs: Likewise.
36558         * scripts/bench.pl: Add support for new directives.
36560 2013-10-07  Alan Modra  <amodra@gmail.com>
36562         * README: Fix careless merge.
36564 2013-10-05  Alan Modra  <amodra@gmail.com>
36566         * NEWS: Mention powerpc64le support and bugs fixed.
36567         * README: Both big-endian and little-endian powerpc64 supported.
36569 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36571         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36572         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36573         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36574         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36576 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36578         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36579         match prototype.
36581 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36583         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36584         Move -mhard-float appending from
36585         ports/sysdeps/powerpc/powerpc32/Makefile.
36586         [$(with-fp) = yes] (ASFLAGS): Likewise.
36587         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36588         * sysdeps/powerpc/nofpu: Move directory from
36589         ports/sysdeps/powerpc/nofpu.
36590         * sysdeps/powerpc/soft-fp: Move directory from
36591         ports/sysdeps/powerpc/soft-fp.
36592         * sysdeps/powerpc/powerpc32/405: Move directory from
36593         ports/sysdeps/powerpc/powerpc32/405.
36594         * sysdeps/powerpc/powerpc32/440: Move directory from
36595         ports/sysdeps/powerpc/powerpc32/440.
36596         * sysdeps/powerpc/powerpc32/464: Move directory from
36597         ports/sysdeps/powerpc/powerpc32/464.
36598         * sysdeps/powerpc/powerpc32/476: Move directory from
36599         ports/sysdeps/powerpc/powerpc32/476.
36600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36601         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36603         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36607         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36609         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36610         * README: Update for powerpc-*-linux-gnu software floating point
36611         support in libc.
36613         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36614         case to powerpc/powerpc32*.
36615         * sysdeps/unix/sysv/linux/configure: Regenerated.
36617         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36618         (_FPU_MASK_OM): Define as 0x04.
36619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36621         0x00c10080.
36622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36623         0x0000003c.
36624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36627         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36628         getcontext_e500.
36629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36630         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36631         setcontext_e500.
36632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36633         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36634         and setcontext_e500.
36636 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36638         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36640 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36642         * manual/threads.texi (Default Thread Attributes): Fix typo.
36644 2013-10-04  Will Newton  <will.newton@linaro.org>
36646         * malloc/Makefile: Add tst-memalign.
36647         * malloc/tst-memalign.c: New file.
36649         * malloc/tst-posix_memalign.c: Add comments.
36650         (do_test): Add comments and call free on all potentially
36651         allocated pointers. Add space after cast.
36653         * malloc/tst-pvalloc.c: Add comments.
36654         (do_test): Add comments and call free on all potentially
36655         allocated pointers. Remove duplicate check for NULL pointer.
36656         Add space after cast.
36658         * malloc/tst-valloc.c: Add comments.
36659         (do_test): Add comments and call free on all potentially
36660         allocated pointers. Remove duplicate check for NULL pointer.
36661         Add space after cast.
36663 2013-10-04  Alan Modra  <amodra@gmail.com>
36665         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36666         Use stdint types in rather than __attribute__((mode())).
36667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36669 2013-10-04  Alan Modra  <amodra@gmail.com>
36671         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36672         Correct handling of unaligned relocs for little-endian.
36673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36675 2013-10-04  Alan Modra  <amodra@gmail.com>
36677         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36678         * configure: Regenerate.
36679         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36680         * shlib-versions: Likewise.
36682 2013-10-04  Alan Modra  <amodra@gmail.com>
36684         * string/tester.c (test_memrchr): Increment reported test cycle.
36686 2013-10-04  Alan Modra  <amodra@gmail.com>
36688         * string/test-memcpy.c (do_one_test): When reporting errors, print
36689         string address and don't overrun end of string.
36691 2013-10-04  Alan Modra  <amodra@gmail.com>
36693         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36694         insrdi.  Make better use of reg selection to speed exit slightly.
36695         Schedule entry path a little better.  Remove useless "are we done"
36696         checks on entry to main loop.  Handle wrapping around zero address.
36697         Correct main loop count.  Handle single left-over word from main
36698         loop inline rather than by using loop_small.  Remove extra word
36699         case in loop_small caused by wrong loop count.  Add little-endian
36700         support.
36701         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36703         cache hint.
36704         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36705         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36706         support.  Avoid rlwimi.
36707         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36709 2013-10-04  Alan Modra  <amodra@gmail.com>
36711         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36712         insrdi.  Formatting.
36713         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36714         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36715         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36716         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36717         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36718         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36720 2013-10-04  Alan Modra  <amodra@gmail.com>
36722         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36723         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36725         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36726         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36727         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36728         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36729         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36730         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36731         use of regs.  Use power7 mtocrf.  Tidy function tails.
36733 2013-10-04  Alan Modra  <amodra@gmail.com>
36735         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36736         Formatting.  Consistently use rXXX register defines or rN defines.
36737         Use early exit labels that avoid restoring unused non-volatile regs.
36738         Make cr field use more consistent with rWORDn compares.  Rename
36739         regs used as shift registers for unaligned loop, using rN defines
36740         for short lifetime/multiple use regs.
36741         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36742         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36743         addi 1,1,64 to pop stack frame.  Simplify return value code.
36744         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36746 2013-10-04  Alan Modra  <amodra@gmail.com>
36748         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36749         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36750         rather than rlwimi.
36751         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36752         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36753         little-endian support.  Correct typos.
36754         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36755         rather than rlwimi.
36756         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36757         in loop and entry code to keep "and." results.
36758         (strchr): Add little-endian support.  Comment.  Move cntlzd
36759         earlier in tail.
36760         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36762 2013-10-04  Alan Modra  <amodra@gmail.com>
36764         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36765         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36766         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36767         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36769 2013-10-04  Alan Modra  <amodra@gmail.com>
36771         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36772         (rTMP): Define as r11.
36773         (strcmp): Add little-endian support.  Optimise tail.
36774         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36775         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36776         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36777         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36778         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36779         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36780         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36782 2013-10-04  Alan Modra  <amodra@gmail.com>
36784         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36785         little-endian support.  Remove unnecessary "are we done" tests.
36786         Handle "s" wrapping around zero and extremely large "size".
36787         Correct main loop count.  Handle single left-over word from main
36788         loop inline rather than by using small_loop.  Correct comments.
36789         Delete "zero" tail, use "end_max" instead.
36790         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36792 2013-10-04  Alan Modra  <amodra@gmail.com>
36794         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36795         support.  Don't branch over align.
36796         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36797         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36798         support.  Rearrange tmp reg use to suit.  Comment.
36799         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36801 2013-10-04  Alan Modra  <amodra@gmail.com>
36803         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36805 2013-10-04  Alan Modra  <amodra@gmail.com>
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36808         conditional form of branch and link when obtaining pc.
36809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36811 2013-10-04  Alan Modra  <amodra@gmail.com>
36813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36814         HIWORD/LOWORD.
36815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36818 2013-10-04  Alan Modra  <amodra@gmail.com>
36820         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36821         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36822         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36823         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36824         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36825         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36826         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36827         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36828         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36829         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36831 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36832             Alistair Popple <alistair@ozlabs.au.ibm.com>
36833             Alan Modra <amodra@gmail.com>
36835         [BZ #15723]
36836         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36838         _dl_hwcap access for little-endian.
36839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36840         destroy vmx regs when saving unaligned.
36841         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36843         destroy vmx regs when saving unaligned.
36845 2013-10-04  Alan Modra  <amodra@gmail.com>
36847         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36848         Don't use a union to pack hi/low value.
36850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36852         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36853         for little-endian.
36854         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36855         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36856         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36857         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36858         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36860 2013-10-04  Alan Modra  <amodra@gmail.com>
36862         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36863         constants to usual value for .cst8 section, and remove redundant
36864         high address load.
36865         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36866         constant for 0x1p52.  Load little-endian words of double from
36867         correct stack offsets.
36869 2013-10-04  Alan Modra  <amodra@gmail.com>
36871         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36872         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36873         words of double from correct stack offsets.
36874         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36875         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36876         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36877         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36878         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36879         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36880         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36881         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36882         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36883         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36884         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36886         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36887         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36889         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36890         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36892 2013-10-04  Alan Modra  <amodra@gmail.com>
36894         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36895         64-bit int/double union.
36896         (_FPU_SETCW): Likewise.
36897         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36898         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36900 2013-10-04  Alan Modra  <amodra@gmail.com>
36902         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36903         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36905 2013-10-04  Alan Modra  <amodra@gmail.com>
36907         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36908         use vector int constants.
36909         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36911 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36913         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36914         array with long long.
36915         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36916         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36917         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36918         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36919         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36920         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36921         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36922         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36923         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36924         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36925         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36926         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36927         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36929 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36931         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36932         (__signbit): Likewise.  Correct for little-endian.
36933         (__signbitl): Call __signbit.
36934         (lrint): Correct for little-endian.
36935         (lrintf): Call lrint.
36937 2013-10-04  Alan Modra  <amodra@gmail.com>
36939         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36940         union 32-bit int array member with 64-bit int array.
36941         (t515, tm256): Double rather than long double.
36942         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36944 2013-10-04  Alan Modra  <amodra@gmail.com>
36946         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36947         Delete.
36948         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36950         version of math_ldbl.h.
36952 2013-10-04  Alan Modra  <amodra@gmail.com>
36954         [BZ #15734], [BZ #15735]
36955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36956         all uses of ieee875 long double macros and unions.  Simplify test
36957         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36958         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36959         normalize after ldbl_extract_mantissa, and don't add hidden bit
36960         already handled.  Don't treat low word of ieee854 mantissa like
36961         low word of IBM long double and mask off bit when testing for
36962         zero.
36963         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36964         all uses of ieee875 long double macros and unions.  Simplify tests
36965         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36966         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36967         two1022, instead use their values.  Recognise that tests for large
36968         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36969         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36970         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36971         test for 0.0L and nan.  Correct negation.
36972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36973         ieee875 long double macros and unions.  Correct output for large
36974         magnitude x.  Correct absolute value calculation.
36975         (__erfcl): Likewise.
36976         * math/libm-test.inc: Add tests for errors discovered in IBM long
36977         double versions of fmodl, remainderl, erfl and erfcl.
36979 2013-10-04  Alan Modra  <amodra@gmail.com>
36981         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36982         all uses of ieee854 long double macros and unions.  Simplify tests
36983         for long doubles that are fully specified by the high double.
36984         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36985         Likewise.
36986         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36987         Remove dead code too.
36988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36989         (__ieee754_ynl): Likewise.
36990         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36991         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36993         Remove dead code too.
36994         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36995         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36996         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36997         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36998         Simplify.
36999         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37000         Simplify.
37001         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37002         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37004         Comment on variable precision.
37005         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37006         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37007         Likewise.
37008         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37009         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37010         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37011         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37012         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37014 2013-10-04  Alan Modra  <amodra@gmail.com>
37016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37018         all uses of ieee854 long double macros and unions.
37019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37021         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37022         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37023         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37024         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37025         Likewise.
37026         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37027         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37028         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37029         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37030         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37031         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37032         Simplify sign and nan test too.
37033         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37034         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37035         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37036         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37037         Likewise.
37038         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37039         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37040         Likewise.
37041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37042         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37043         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37045         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37048 2013-10-04  Alan Modra  <amodra@gmail.com>
37050         * stdio-common/printf_size.c (__printf_size): Don't use
37051         union ieee854_long_double in fpnum union.
37052         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37053         signbit macro to retrieve sign from long double.
37054         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37055         retrieve sign from long double.
37056         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37057         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37058         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37059         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37060         * math/test-misc.c (main): Don't use union ieee854_long_double.
37062 2013-10-04  Alan Modra  <amodra@gmail.com>
37064         [BZ #15680]
37065         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37067         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37068         calculation.  Remove unnecessary test for denormal exponent.
37069         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37070         Correct handling of denormals.  Avoid undefined shift behaviour.
37071         Correct normalisation of low mantissa when low double is denormal.
37072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37073         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37074         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37075         Correct normalisation of low mantissa.  Test for overflow of high
37076         mantissa and normalise.
37077         (ldbl_nearbyint): Use more readable constant for two52.
37078         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37079         (__mpn_construct_long_double): Fix test for overflow of high
37080         mantissa and correct normalisation.  Avoid undefined shift.
37082 2013-10-04  Alan Modra  <amodra@gmail.com>
37084         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37085         (union ibm_extended_long_double): Define as an array of ieee754_double.
37086         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37087         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37088         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37089         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37091         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37092         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37093         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37094         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37095         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37096         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37098 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37100         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37101         page size instead of calling getpagesize.
37103         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37104         (LOCFILE_ALIGN_MASK): Likewise.
37105         (LOCFILE_ALIGN_UP): Likewise.
37106         (LOCFILE_ALIGNED_P): Likewise.
37107         * locale/programs/ld-collate.c (collate_output): Use the new
37108         macros instead of __alignof__ (int32_t).
37109         * locale/weight.h (findidx): Likewise.
37111 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37113         [BZ #431]
37114         * manual/string.texi: Fix strncat and wcsncat.
37116 2013-10-03  Brooks Moses  <bmoses@google.com>
37118         [BZ #15915]
37119         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37120         * Makerules: ...here, and adjust associated comments.
37122 2013-10-02  Will Newton  <will.newton@linaro.org>
37124         * malloc/Makefile: Add tst-pvalloc.
37125         * malloc/tst-pvalloc.c: New file.
37127 2013-10-02  Will Newton  <will.newton@linaro.org>
37129         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37130         improve test coverage.
37132 2013-10-02  Will Newton  <will.newton@linaro.org>
37134         * malloc/Makefile: Add tst-posix_memalign.
37135         * malloc/tst-posix_memalign.c: New file.
37137 2013-10-01  Eric Blake  <eblake@redhat.com>
37139         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37140         Use __THROWNL rather than __THROW on static functions.
37142 2013-09-30  Petr Machata  <pmachata@redhat.com>
37144         * elf/elf.h (R_AARCH64_ABS16): New macro.
37145         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37146         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37147         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37148         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37149         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37150         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37151         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37152         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37153         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37154         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37155         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37156         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37157         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37158         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37159         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37160         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37161         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37162         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37163         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37164         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37165         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37166         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37167         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37168         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37169         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37170         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37171         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37172         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37173         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37174         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37175         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37176         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37177         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37178         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37179         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37180         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37181         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37182         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37183         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37184         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37185         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37186         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37187         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37188         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37189         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37190         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37191         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37192         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37193         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37194         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37195         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37196         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37197         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37198         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37199         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37200         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37201         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37202         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37203         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37204         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37205         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37206         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37207         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37208         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37209         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37210         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37211         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37212         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37213         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37214         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37215         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37216         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37217         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37218         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37219         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37220         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37221         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37222         (R_AARCH64_TLSDESC_LDR): Likewise.
37223         (R_AARCH64_TLSDESC_ADD): Likewise.
37224         (R_AARCH64_TLSDESC_CALL): Likewise.
37226 2013-09-30  Andreas Schwab  <schwab@suse.de>
37228         [BZ #15048]
37229         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37230         the nss database lookup.
37231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37234 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37236         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37238 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37240         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37241         ${Bash-specific parameter/pattern/string} parameter expansion.
37242         * sysdeps/unix/make-syscalls.sh: Likewise.
37244 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37246         * sysdeps/sh/stackguard-macros.h: New file.
37248 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37252         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37253         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37255         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37257 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37259         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37260         Fix thread ID register.
37262 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37264         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37265         [POSIX || UNIX98]: Require rather than permitting all symbols from
37266         <time.h>.
37267         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37268         element of struct sched_param.
37269         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37270         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37271         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37272         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37273         constant.
37275 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37277         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37278         argument calculation.
37280 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37282         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37283         Expect macro.
37284         [POSIX] (pthread_attr_t): Do not require type.
37285         [POSIX] (pthread_cond_t): Likewise.
37286         [POSIX] (pthread_condattr_t): Likewise.
37287         [POSIX] (pthread_key_t): Likewise.
37288         [POSIX] (pthread_mutex_t): Likewise.
37289         [POSIX] (pthread_mutexattr_t): Likewise.
37290         [POSIX] (pthread_once_t): Likewise.
37291         [POSIX] (pthread_t): Likewise.
37292         [POSIX-based standards] (pthread_atfork): Expect function.
37294 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37295             Richard Sandiford  <richard@codesourcery.com>
37297         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37298         (swap_endianness_p): New extern variable.
37299         (set_big_endian): New inline function.
37300         (maybe_swap_uint32): Likewise.
37301         (maybe_swap_uint32_array): Likewise.
37302         (maybe_swap_uint32_obstack): Likewise.
37303         * locale/programs/locfile.c: Include <stdbool.h>.
37304         (swap_endianness_p): New variable.
37305         (add_locale_uint32): Call maybe_swap_uint32.
37306         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37307         (write_locale_data): Call maybe_swap_uint32_array.
37308         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37309         maybe_swap_uint32.
37310         (obstack_int32_grow_fast): Likewise.
37311         (output_weightwc): Call maybe_swap_uint32_obstack.
37312         (collate_output): Likewise.
37313         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37314         (OPT_LITTLE_ENDIAN): Likewise.
37315         (options): Add --little-endian and --big-endian options.
37316         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37317         * locale/programs/locarchive.c: Include "locfile.h".
37318         (GET): New macro.
37319         (SET): Likewise.
37320         (INC): Likewise.
37321         (create_archive): Use the new macros to access fields of
37322         structures directly mapped from or written to locale archives.
37323         (oldlocrecentcmp): Likewise.
37324         (enlarge_archive): Likewise.
37325         (insert_name): Likewise.
37326         (add_alias): Likewise.
37327         (add_locale): Likewise.
37328         (delete_locales_from_archive): Likewise.
37329         (show_archive_content): Likewise.
37330         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37331         locale data.
37333 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37335         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37336         http://www.gnu.org/doc/freemanuals.texi.
37337         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37339 2013-09-24  Will Newton  <will.newton@linaro.org>
37341         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37342         macro.
37344 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37346         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37347         unsigned char.
37349 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37351         * manual/threads.texi (POSIX Threads): Fix a typo.
37353 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37355         [BZ #14547]
37356         * string/tst-strcoll-overflow.c: New test case.
37357         * string/Makefile (xtests): Add tst-strcoll-overflow.
37358         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37359         cache if string sizes may cause integer overflow.
37361         [BZ #14547]
37362         * string/strcoll_l.c (coll_seq): New members rule, idx,
37363         save_idx and back_us.
37364         (get_next_seq_nocache): New function.
37365         (do_compare_nocache): New function.
37366         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37367         when malloc fails.
37369 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37371         [BZ #15754]
37372         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37373         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37374         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37376         [BZ #15754]
37377         * elf/Makefile (tests): Add tst-ptrguard1.
37378         (tests-static): Add tst-ptrguard1-static.
37379         (tst-ptrguard1-ARGS): Define.
37380         (tst-ptrguard1-static-ARGS): Define.
37381         * elf/tst-ptrguard1.c: New file.
37382         * elf/tst-ptrguard1-static.c: New file.
37383         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37384         * sysdeps/i386/stackguard-macros.h: Likewise.
37385         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37386         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37387         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37388         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37389         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37390         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37392 2013-09-23  Hector Marco  <hecmargi@upv.es>
37393             Ismael Ripoll  <iripoll@disca.upv.es>
37394             Carlos O'Donell  <carlos@redhat.com>
37396         [BZ #15754]
37397         * sysdeps/generic/stackguard-macros.h: Define
37398         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37399         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37400         Define __pointer_chk_guard_local.
37401         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37402         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37404 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37406         [BZ #15859]
37407         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37409 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37411         * include/string.h (__ffs): Declare as hidden.
37412         * string/ffs.c (__ffs): Define as hidden.
37413         * sysdeps/i386/ffs.c (__ffs): Likewise.
37414         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37415         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37416         * sysdeps/s390/ffs.c (__ffs): Likewise.
37417         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37419 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37421         * NEWS: Mention malloc probes.
37423         * malloc/arena.c (new_heap): New memory_heap_new probe.
37424         (grow_heap): New memory_heap_more probe.
37425         (shrink_heap): New memory_heap_less probe.
37426         (heap_trim): New memory_heap_free probe.
37427         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37428         (systrim): New memory_sbrk_less probe.
37429         * manual/probes.texi: Document them.
37431         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37432         * manual/probes.texi: Document it.
37434         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37435         (__libc_realloc): Add memory_realloc_retry probe.
37436         (__libc_memalign): Add memory_memalign_retry probe.
37437         (__libc_valloc): Add memory_valloc_retry probe.
37438         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37439         (__libc_calloc): Add memory_calloc_retry probe.
37440         * manual/probes.texi: Document them.
37442         * malloc/arena.c (get_free_list): Add probe
37443         memory_arena_reuse_free_list.
37444         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37445         and memory_arena_reuse.
37446         (arena_get2) [!PER_THREAD]: Likewise.
37447         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37448         memory_arena_reuse_realloc.
37449         * manual/probes.texi: Document them.
37451         * malloc/malloc.c (__libc_free): Add
37452         memory_mallopt_free_dyn_thresholds probe.
37453         (__libc_mallopt): Add multiple memory_mallopt probes.
37454         * manual/probes.texi: Document them.
37456         * malloc/malloc.c: Include stap-probe.h.
37457         (__libc_mallopt): Add memory_mallopt probe.
37458         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37459         * manual/probes.texi: New.
37460         * manual/Makefile (chapters): Add probes.
37461         * manual/threads.texi: Set next node.
37463 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37465         [BZ #15963, #13985]
37466         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37467         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37468         Add `Chinese' to `nan' entry name.
37470 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37472         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37473         (POLYNOMIAL): Likewise.
37474         (TAYLOR_SINCOS): Likewise.
37475         (TAYLOR_SLOW): Likewise.
37476         (__sin): Use TAYLOR_SINCOS.
37477         (__cos): Likewise.
37478         (slow): Use TAYLOR_SLOW.
37479         (sloww): Likewise.
37480         (bsloww): Likewise.
37481         (csloww): Likewise.
37483 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37485         * stdlib/strtod_l.c: Fix buffer overrun.
37487 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37489         * benchtests/Makefile (bench): Add sincos.
37490         * benchtests/bench-sincos.c: New file.
37492         * math/libm-test.inc (cos_test_data): New test inputs.
37493         (sin_test_data): Likewise.
37495         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37496         macro.
37497         (__sin): Use it.
37498         (__cos): Likewise.
37499         (slow1): Likewise.
37500         (slow2): Likewise.
37501         (sloww1): Likewise.
37502         (sloww2): Likewise.
37503         (bsloww1): Likewise.
37504         (bsloww2): Likewise.
37505         (cslow2): Likewise.
37506         (csloww1): Likewise.
37507         (csloww2): Likewise.
37509         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37510         function.
37511         (__sin): Use it.
37512         (__cos): Likewise.
37514         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37515         gotos.
37516         (__cos): Likewise.
37518 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37520         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37521         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37522         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37523         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37524         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37525         * elf/cache.c (print_entry): Handle the new cache flags.
37527 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37528             Aldy Hernandez  <aldyh@redhat.com>
37530         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37531         Change condition to [_SOFT_FLOAT].
37532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37544         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37547         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37548         declaration.
37550 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37552         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37553         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37554         (__longjmp): Use LOAD_GP to load saved GPRs.
37555         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37556         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37557         (__sigsetjmp): Use SAVE_GP to save GPRs.
37559         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37560         Do not append -msoft-float.
37561         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37563 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37565         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37567 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37569         [BZ #15966]
37570         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37571         (_FPU_GETCW): Use initial "__" on variable and field names but not
37572         on macro parameter name.
37573         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37574         parentheses around reference to macro parameter.
37576 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37578         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37579         prototype.
37580         (ctype_startup): Use uint32_t in cast and sizeof for
37581         ctype->charnames.
37583 2013-09-11  Jia Liu  <proljc@gmail.com>
37585         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37586         __daddr_t_defined.
37587         [__FreeBSD__]: Likewise.
37589 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37592         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37593         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37594         (strchr): Remove __strchr_sse42 ifunc selection.
37595         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37596         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37598 2013-09-11  Will Newton  <will.newton@linaro.org>
37600         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37601         parameter to RES. Remove hardcoded 1000 value.
37602         * benchtests/bench-skeleton.c (main): Pass RES parameter
37603         to TIMING_INIT and multiply result by 1000.
37605 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37609 2013-09-11  Andreas Schwab  <schwab@suse.de>
37611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37612         if not defined.
37613         (O_TMPFILE) [__USE_GNU]: Define.
37614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37615         Define.
37617 2013-09-11  Will Newton  <will.newton@linaro.org>
37619         [BZ #15857]
37620         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37621         does not overflow.
37623 2013-09-11  Will Newton  <will.newton@linaro.org>
37625         [BZ #15856]
37626         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37627         does not overflow.
37629 2013-09-11  Will Newton  <will.newton@linaro.org>
37631         [BZ #15855]
37632         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37633         does not overflow.
37635 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37637         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37638         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37643 2013-09-10  Allan McRae  <allan@archlinux.org>
37645         [BZ #15748]
37646         * manual/arith.texi (Parsing of Floats): Clarify
37647         cross-reference.
37649         [BZ #15849]
37650         * manual/install.texi (Running make install): Mention
37651         --enable-pt-chown.
37652         * INSTALL: Regenerated.
37654 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37656         * csu/init-first.c (_init): Remove the !SHARED condition around
37657         FPU control word initialization.
37658         * elf/dl-support.c (_dl_fpu_control): New variable.
37659         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37660         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37661         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37662         * math/test-fpucw-static.c: New file.
37663         * math/test-fpucw-ieee.c: New file.
37664         * math/test-fpucw-ieee-static.c: New file.
37665         * math/Makefile (tests): Add `test-fpucw-ieee' and
37666         `$(tests-static)'.
37667         (tests-static): New variable.
37668         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37669         dependency to...
37670         [($(build-shared),yes)]
37671         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37672         ... this.
37673         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37674         New dependency.
37676 2013-09-09  Allan McRae  <allan@archlinux.org>
37678         [BZ #15939]
37679         * manual/string.texi (Collation Functions): Fix typo in
37680         strcoll example.
37681         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37683         [BZ #15893]
37684         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37686         [BZ #15892]
37687         * libio/memstream.c (open_memstream): Fix memory leak.
37688         * libio/wmemstream.c (open_wmemstream): Likewise.
37690         [BZ #15895]
37691         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37693 2013-09-09  Will Newton  <will.newton@linaro.org>
37695         * malloc/Makefile: Add tst-realloc to tests.
37696         * malloc/tst-realloc.c: New file.
37698 2013-09-09  Allan McRae  <allan@archlinux.org>
37700         [BZ #15844]
37701         * COPYING: Update from GNU website to fix FSF address.
37702         * COPYING.LIB: Likewise.
37704 2013-09-06  David S. Miller  <davem@davemloft.net>
37706         * po/zh_TW.po: Update Chinese (traditional) translation from
37707         translation project.
37709 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37710             Joseph Myers  <joseph@codesourcery.com>
37712         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37713         "localeinfo.h".
37714         (obstack_chunk_alloc): New macro.
37715         (obstack_chunk_free): Likewise.
37716         (record_offset): New function.
37717         (init_locale_data): Likewise.
37718         (align_locale_data): Likewise.
37719         (add_locale_empty): Likewise.
37720         (add_locale_raw_data): Likewise.
37721         (add_locale_raw_obstack): Likewise.
37722         (add_locale_string): Likewise.
37723         (add_locale_wstring): Likewise.
37724         (add_locale_uint32): Likewise.
37725         (add_locale_uint32_array): Likewise.
37726         (add_locale_char): Likewise.
37727         (start_locale_structure): Likewise.
37728         (end_locale_structure): Likewise.
37729         (start_locale_prelude): Likewise.
37730         (end_locale_prelude): Likewise.
37731         (write_locale_data): Take locale_file structure rather than an
37732         iovec.
37733         * locale/programs/locfile.h: Include "obstack.h".
37734         (struct locale_file): Change to store locale file contents instead
37735         of header.
37736         (init_locale_data): New prototype.
37737         (align_locale_data): Likewise.
37738         (add_locale_empty): Likewise.
37739         (add_locale_raw_data): Likewise.
37740         (add_locale_raw_obstack): Likewise.
37741         (add_locale_string): Likewise.
37742         (add_locale_wstring): Likewise.
37743         (add_locale_uint32): Likewise.
37744         (add_locale_uint32_array): Likewise.
37745         (add_locale_char): Likewise.
37746         (start_locale_structure): Likewise.
37747         (end_locale_structure): Likewise.
37748         (start_locale_prelude): Likewise.
37749         (end_locale_prelude): Likewise.
37750         (write_locale_data): Update prototype.
37751         * locale/programs/3level.h (struct TABLE): Remove result field.
37752         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37753         Use new locale_file interface.
37754         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37755         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37756         * locale/programs/ld-address.c (address_output): Use new
37757         locale_file interface.
37758         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37759         NO_ADD_LOCALE.
37760         (collate_finish): Don't call collseq_table_finalize.
37761         (collate_output): Use new locale_file interface.
37762         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37763         in file.
37764         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37765         (TABLE): Move defines earlier in file.
37766         (ELEMENT): Likewise.
37767         (DEFAULT): Likewise.
37768         (wctrans_table_add): Move macro and inline function earlier in
37769         file.
37770         (struct wctype_table): Move type earlier in file.
37771         (add_locale_wctype_table): New static prototype.
37772         (struct locale_ctype_t): Use logical types instead of struct iovec
37773         pointers for members.
37774         (ctype_output): Use new locale_file interface.
37775         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37776         new locale_file interface.
37777         (allocate_arrays): Update for use of new locale_file interface.
37778         * locale/programs/ld-identification.c (identification_output): Use
37779         new locale_file interface.
37780         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37781         * locale/programs/ld-messages.c (messages_output): Likewise.
37782         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37783         * locale/programs/ld-name.c (name_output): Likewise.
37784         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37785         * locale/programs/ld-paper.c (paper_output): Likewise.
37786         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37787         * locale/programs/ld-time.c (time_output): Likewise.
37789 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37791         * benchtests/Makefile: Add memrchr benchmark.
37792         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37793         benchmark as memrchr.
37794         * benchtests/bench-memrchr-ifunc.c: New file.
37795         * benchtests/bench-memrchr.c: New file.
37797 2013-09-06   Will Newton  <will.newton@linaro.org>
37799         * benchtests/Makefile (string-bench): Add memcpy.
37801 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37802             Cong Wang  <amwang@redhat.com>
37804         [BZ #15850]
37805         * sysdeps/unix/sysv/linux/bits/in.h
37806         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37807         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37808         before __USE_KERNEL_IPV6_DEFS uses.
37809         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37810         IPPROTO_BEETPH.
37811         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37812         sockaddr_in6, or ipv6_mreq.
37814 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37816         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37817         memory access for final bytes in some large inputs.
37818         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37820 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37822         * string/test-memrchr.c: New file.
37823         * string/test-memrchr-ifunc.c: New file.
37824         * string/Makefile: Add new memrchr testcase.
37826 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37828         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37829         fanotify_init returns EPERM.
37831 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37833         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37834         errors.
37835         (top level): Treat second token from macro or constant entries for
37836         allowed headers as allowed.
37837         * include/complex.h: Condition internal declarations on
37838         [!_ISOMAC].
37839         * include/fenv.h: Condition include of <stdbool.h> and internal
37840         declarations on [!_ISOMAC].
37842 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37844         [BZ #15923]
37845         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37847 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37849         * configure.in (--enable-versioning): Remove configure option.
37850         (libc_cv_asm_symver_directive): Remove configure test.
37851         (libc_cv_ld_version_script_option): Likewise.
37852         (VERSIONING): Remove variable and AC_SUBST.
37853         (DO_VERSIONING): Remove AC_DEFINE.
37854         * configure: Regenerated.
37855         * config.h.in (DO_VERSIONING): Remove macro.
37856         * Makerules [$(versioning) = yes]: Change conditionals to
37857         [$(build-shared) = yes].
37858         * config.make.in (versioning): Remove variable.
37859         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37860         [$(build-shared) = yes].
37861         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37862         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37863         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37864         [$(build-shared) = yes].
37865         * extra-lib.mk [$(versioning) = yes]: Likewise.
37866         * hurd/Makefile [$(versioning) = yes]: Likewise.
37867         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37868         [SHARED].
37869         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37870         [SHARED].
37871         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37872         [SHARED && !NO_HIDDEN].
37873         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37874         [SHARED].
37875         [SHARED && DO_VERSIONING]: Likewise..
37876         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37877         [$(build-shared) = yes].
37878         * manual/install.texi (--disable-versioning): Remove
37879         documentation.
37880         * INSTALL: Regenerated.
37881         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37882         to [SHARED].
37883         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37884         [$(build-shared) = yes].
37885         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37886         * sysdeps/i386/i686/multiarch/strstr-c.c
37887         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37888         [SHARED && !NO_HIDDEN].
37889         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37890         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37891         * sysdeps/powerpc/powerpc32/dl-machine.c
37892         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37893         * sysdeps/powerpc/powerpc32/sysdep.h
37894         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37895         to [SHARED && PIC && !NO_HIDDEN].
37896         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37897         conditional to [SHARED].
37899 2013-09-04   Will Newton  <will.newton@linaro.org>
37901         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37902         * benchtests/bench-string.h: Include bench-timing.h instead
37903         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37904         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37905         call to HP_TIMING_DIFF_INIT.
37906         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37907         instead of hp-timing.h macros.
37908         * benchtests/bench-memchr.c: Likewise.
37909         * benchtests/bench-memcmp.c: Likewise.
37910         * benchtests/bench-memcpy.c: Likewise.
37911         * benchtests/bench-memmem.c: Likewise.
37912         * benchtests/bench-memmove.c: Likewise.
37913         * benchtests/bench-memset.c: Likewise.
37914         * benchtests/bench-rawmemchr.c: Likewise.
37915         * benchtests/bench-strcasecmp.c: Likewise.
37916         * benchtests/bench-strcasestr.c: Likewise.
37917         * benchtests/bench-strcat.c: Likewise.
37918         * benchtests/bench-strchr.c: Likewise.
37919         * benchtests/bench-strcmp.c: Likewise.
37920         * benchtests/bench-strcpy.c: Likewise.
37921         * benchtests/bench-strcpy_chk.c: Likewise.
37922         * benchtests/bench-strlen.c: Likewise.
37923         * benchtests/bench-strncasecmp.c: Likewise.
37924         * benchtests/bench-strncat.c: Likewise.
37925         * benchtests/bench-strncmp.c: Likewise.
37926         * benchtests/bench-strncpy.c: Likewise.
37927         * benchtests/bench-strnlen.c: Likewise.
37928         * benchtests/bench-strpbrk.c: Likewise.
37929         * benchtests/bench-strrchr.c: Likewise.
37930         * benchtests/bench-strspn.c: Likewise.
37931         * benchtests/bench-strstr.c: Likewise.
37933 2013-09-04  Will Newton  <will.newton@linaro.org>
37935         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37937 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37939         [BZ #15427]
37940         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37941         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37942         * math/libm-test.inc (lgamma_test_data): Add more tests.
37943         * sysdeps/i386/fpu/libm-test-ulps: Update.
37944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37946 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37948         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37950         Add ifunc.
37951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37952         Add strcmp-sse2-unaligned
37953         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37955 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37957         * Versions.def (libc): Add GLIBC_2.19.
37959 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37961         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37962         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37964 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37966         [BZ #14155]
37967         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37968         intermediate calculations in recurrence.
37969         (__ieee754_ynf): Likewise.
37970         * math/libm-test.inc (jn_test_data): Do not allow spurious
37971         underflow exception.  Add more tests.
37972         (yn_test_data): Add more tests.
37973         * sysdeps/i386/fpu/libm-test-ulps: Update.
37974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37976 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37978         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37980 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37982         * csu/init-first.c: Fix then/than typos.
37983         * locale/programs/ld-collate.c: Likewise.
37984         * locale/programs/linereader.h: Likewise.
37985         * manual/charset.texi: Likewise.
37986         * manual/filesys.texi: Likewise.
37987         * manual/stdio.texi: Likewise.
37988         * manual/string.texi: Likewise.
37989         * stdlib/fmtmsg.c: Likewise.
37990         * sysdeps/i386/stpncpy.S: Likewise.
37991         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37992         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37993         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37994         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37996 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37998         * elf/dl-open.c: Fix typos.
37999         * iconvdata/gbbig5.c: Likewise.
38000         * iconvdata/iso-2022-jp.c: Likewise.
38001         * iconv/gconv_int.h: Likewise.
38002         * iconv/loop.c: Likewise.
38003         * nis/rpcsvc/nis.h: Likewise.
38004         * resolv/ns_name.c: Likewise.
38005         * stdio-common/vfscanf.c: Likewise.
38006         * streams/stropts.h: Likewise.
38007         * sunrpc/rpc_thread.c: Likewise.
38008         * sysdeps/i386/strpbrk.S: Likewise.
38009         * sysdeps/ieee754/k_standard.c: Likewise.
38010         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38012         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38013         * sysdeps/mach/hurd/profil.c: Likewise.
38014         * sysdeps/s390/dl-procinfo.h: Likewise.
38015         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38016         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38017         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38018         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38021 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38023         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38026 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38028         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38029         aix specific files.
38030         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38031         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38032         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38033         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38034         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38035         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38036         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38037         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38039 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38040             Roland McGrath  <roland@hack.frob.com>
38042         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38043         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38045 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38047         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38048         __executable_start symbol instead of _start.
38050 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38052         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38053         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38054         Move macros to...
38055         * sysdeps/gnu/ldsodefs.h: ... this new file.
38057         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38058         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38059         instead of ELFOSABI_LINUX.
38061         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38062         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38063         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38064         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38065         Likewise.
38066         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38067         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38068         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38069         Likewise.
38070         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38071         (ibm_extended_long_double): Add ieee_nan member.
38072         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38073         (do_test): New function.
38075         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38076         TEST_TRUNC.
38077         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38078         functions, renamed from truncdfsf_test, trunctfsf_test,
38079         trunctfdf_test.
38080         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38081         functions.
38082         (do_test): Run all these.
38084 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38086         * argp/argp-help.c: Fix typos.
38087         * argp/argp-parse.c: Likewise.
38088         * debug/backtracesyms.c: Likewise.
38089         * elf/elf.h: Likewise.
38090         * malloc/malloc.c: Likewise.
38091         * nis/nis_print.c: Likewise.
38092         * resolv/res_comp.c: Likewise.
38093         * stdlib/stdlib.h: Likewise.
38094         * sunrpc/clnt_tcp.c: Likewise.
38095         * sunrpc/clnt_udp.c: Likewise.
38096         * sunrpc/clnt_unix.c: Likewise.
38097         * sysdeps/unix/bsd/ptsname.c: Likewise.
38098         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38099         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38101         Likewise.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38103         Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38105         Likewise.
38106         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38108 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38110         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38113 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38115         [BZ #15897]
38116         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38117         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38118         ($(objpfx)bug-dl-leaf): New rule.
38119         ($(objpfx)bug-dl-leaf.so): Likewise.
38120         ($(objpfx)bug-dl-leaf.out): Likewise.
38121         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38122         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38123         * dlfcn/bug-dl-leaf.c: New test.
38124         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38125         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38126         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38127         (dlclose): Likewise.
38128         (dlmopen): Likewise.
38130 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38132         * include/netdb.h [!_ISOMAC]:
38133         Don't include <tls.h>.
38134         (h_errno, __libc_h_errno): Move declaration and macros out of
38135         [_LIBC_REENTRANT].
38137         * include/resolv.h [_RESOLV_H_]:
38138         Don't include <tls.h>.
38139         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38140         * resolv/res_libc.c: Don't include <tls.h>.
38141         (_res): Use __attribute__ ((nocommon)) in place of
38142         __attribute__ ((section (".bss"))).
38144         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38145         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38147         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38149         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38150         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38152         * resolv/res_mkquery.c: Include <sys/time.h>.
38154         * inet/ifreq.c: Moved to ...
38155         * sysdeps/unix/ifreq.c: ... here.
38156         * inet/ifreq.c: New file, true stub version.
38158         * socket/sa_len.c: New file.
38159         * socket/Makefile (aux): Add it.
38160         * sysdeps/unix/sysv/linux/Makefile
38161         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38162         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38163         and #include <socket/sa_len.c>.
38164         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38165         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38167         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38168         * bits/socket.h: ... here.
38170         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38171         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38172         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38174 2013-08-27  Andreas Schwab  <schwab@suse.de>
38176         [BZ #15736]
38177         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38178         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38179         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38180         * string/test-strcasecmp.c (test_main): Run tests in several
38181         locales.
38182         * string/test-strncasecmp.c (test_main): Likewise.
38184         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38185         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38186         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38188         (__strncasecmp_ssse3) [PIC]: Likewise.
38190 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38192         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38194         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38195         instead of explicitly declaring xdecrypt.
38196         * nis/nss_nis/nis-publickey.c: Likewise.
38198 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38200         [BZ #15890]
38201         * nscd/aicache.c: Include res_hconf.h.
38202         (addhstaiX): Initialize res_hconf.
38204 2013-08-26  Andreas Schwab  <schwab@suse.de>
38206         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38207         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38209 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38211         * nscd/aicache.c (addhstaiX): Fix indentation.
38213 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38215         * configure.ac: Quote $build_pt_chown test.
38216         * configure: Regenerated.
38218 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38220         [BZ #15532]
38221         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38222         * math/s_cexpf.c (__cexpf): Likewise.
38223         * math/s_cexpl.c (__cexpl): Likewise.
38224         * math/libm-test.inc (cexp_test_data): Correct expected return
38225         value for NaN + i0.  Add another test.
38227 2013-08-22  David S. Miller  <davem@davemloft.net>
38229         * po/ca.po: Update Catalan translation from translation project.
38230         * po/uk.po: Add Ukrainian translations from translation project.
38232 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38234         [BZ #15797]
38235         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38236         is infinite, not alongside NaN test.
38237         * math/s_fdimf.c (__fdimf): Likewise.
38238         * math/s_fdiml.c (__fdiml): Likewise.
38239         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38240         errno is unchanged.
38242 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38244         * argp/argp-help.c: Fix typos.
38245         * crypt/speeds.c: Likewise.
38246         * csu/check_fds.c: Likewise.
38247         * elf/dl-load.c: Likewise.
38248         * elf/dl-open.c: Likewise.
38249         * elf/reldep3.c: Likewise.
38250         * elf/reldep.c: Likewise.
38251         * elf/sprof.c: Likewise.
38252         * iconv/iconv_charmap.c: Likewise.
38253         * iconv/skeleton.c: Likewise.
38254         * iconv/strtab.c: Likewise.
38255         * io/lockf64.c: Likewise.
38256         * libio/libioP.h: Likewise.
38257         * resolv/gai_notify.c: Likewise.
38258         * resolv/ns_name.c: Likewise.
38259         * resolv/ns_samedomain.c: Likewise.
38260         * resolv/res_send.c: Likewise.
38261         * stdlib/random.c: Likewise.
38262         * sunrpc/rpc/xdr.h: Likewise.
38263         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38264         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38265         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38266         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38267         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38268         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38270         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38271         * sysdeps/mach/hurd/check_fds.c: Likewise.
38272         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38273         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38274         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38275         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38276         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38277         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38278         * sysdeps/pthread/aio_notify.c: Likewise.
38279         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38280         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38281         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38282         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38283         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38285 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38287         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38288         version if bit_Slow_SSE4_2 is set.
38289         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38290         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38292 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38294         [BZ #15867]
38295         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38296         trampoline stack frame information.
38297         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38298         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38299         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38300         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38301         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38302         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38303         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38304         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38305         sa_flags value.
38306         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38307         interrupting a syscall and set with option SA_SIGINFO.
38309 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38311         [BZ #15531]
38312         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38313         argument is infinite.
38314         * math/s_cprojf.c (__cprojf): Likewise.
38315         * math/s_cprojl.c (__cprojl): Likewise.
38316         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38317         * math/libm-test.inc (cproj_test_data): Add more tests.
38319         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38321         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38322         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38323         size.  Use __ffs to determine corresponding shift.
38325 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38326             Roland McGrath  <roland@hack.frob.com>
38328         * Makefile (INSTALL): Remove trailing blank lines from output of
38329         makeinfo.
38331 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38333         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38334         Align 32 bit compat elf_greg to 8 bytes.
38336 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38338         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38340 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38342         * string/strcoll_l.c (coll_seq): New structure.
38343         (get_next_seq_cached): New function.
38344         (get_next_seq): New function.
38345         (do_compare): New function.
38346         (STRCOLL): Use GNU style definition.  Simplify implementation
38347         by using get_next_seq, get_next_seq_cached and do_compare.
38349 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38351         [BZ #14699]
38352         CVE-2013-4237
38353         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38354         member.
38355         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38356         member.
38357         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38358         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38359         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38360         conditional.
38361         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38362         GETDENTS_64BIT_ALIGNED.
38363         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38364         * manual/filesys.texi (Reading/Closing Directory): Document
38365         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38366         strongly.
38367         * manual/conf.texi (Limits for Files): Add portability note to
38368         NAME_MAX, PATH_MAX.
38369         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38371 2013-08-13  Andreas Schwab  <schwab@suse.de>
38373         [BZ #15749]
38374         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38375         of fabs.
38376         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38377         LDBL_MAX_EXP >= 16384]: Add tests for it.
38379 2013-08-12  David S. Miller  <davem@davemloft.net>
38381         * version.h (RELEASE): Set to "development".
38382         (VERSION): Set to "2.18.90".
38383         * NEWS: Add 2.19 section.
38385 2013-08-03  David S. Miller  <davem@davemloft.net>
38387         * po/ko.po: Update Korean translation from translation project.
38389 2013-08-01  David S. Miller  <davem@davemloft.net>
38391         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38392         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38393         Bilka.
38395 2013-07-30  David S. Miller  <davem@davemloft.net>
38397         * po/fr.po: Update French translation from translation project.
38399 2013-07-28  David S. Miller  <davem@davemloft.net>
38401         * po/cs.po: Update Czech translation from translation project.
38403         * po/sv.po: Update Swedish translation from translation project.
38405 2013-07-27  David S. Miller  <davem@davemloft.net>
38407         * po/eo.po: Update Esperanto translation from translation project.
38409         * po/vi.po: Update Vietnamese translation from translation project.
38411         * po/de.po: Update German translation from translation project.
38413 2013-07-26  David S. Miller  <davem@davemloft.net>
38415         * po/bg.po: Update Bulgarian translation from translation project.
38417         * po/nl.po: Update Dutch translation from translation project.
38418         * po/pl.po: Update Polish translation from translation project.
38419         * po/ru.po: Update Russian translation from translation project.
38421 2013-07-24  David S. Miller  <davem@davemloft.net>
38423         * po/libc.pot: Update.
38425 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38427         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38428         variable page size.
38429         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38430         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38431         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38433 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38435         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38437 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38438             Andreas Schwab  <schwab@suse.de>
38439             Roland McGrath  <roland@hack.frob.com>
38440             Joseph Myers  <joseph@codesourcery.com>
38441             Carlos O'Donell  <carlos@redhat.com>
38443         [BZ #15755]
38444         * config.h.in: Define HAVE_PT_CHOWN.
38445         * config.make.in (build-pt-chown): New variable.
38446         * configure.in (--enable-pt_chown): New configure option.
38447         * configure: Regenerate.
38448         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38449         build-pt-chown is enabled.
38450         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38451         pt_chown to fix pty ownership.
38452         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38453         CLOSE_ALL_FDS.
38454         * manual/install.texi (Configuring and compiling): Mention
38455         --enable-pt_chown. Add @findex for grantpt.
38456         * INSTALL: Regenerate.
38458 2013-07-20  David S. Miller  <davem@davemloft.net>
38460         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38461         difference between 32-bit and 64-bit.
38463 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38465         [BZ #15711]
38466         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38467         Avoid system header dependency with -ffreestanding.
38468         ($(objpfx)bits/syscall%d): Likewise.
38470 2013-07-13  David S. Miller  <davem@davemloft.net>
38472         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38473         underflows from atanl/atan2l due to bug 15319.
38474         (casinh_test_data): Likewise.
38476 2013-07-07  David S. Miller  <davem@davemloft.net>
38478         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38480 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38482         * sysdeps/i386/fpu/libm-test-ulps: Update.
38483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38485 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38487         * configure.in (--enable-lock-elision): Fix message text.
38488         * INSTALL: Regenerate.
38489         * configure: Regenerate.
38491 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38495 2013-07-03  Andreas Jaeger  <aj@suse.de>
38497         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38498         define.
38499         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38500         (ptrace_peeksiginfo_args): Add.
38501         (__ptrace_peeksiginfo_flags): Add.
38502         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38503         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38506 2013-07-03  Allan McRae  <allan@archlinux.org>
38508         * sysdeps/i386/fpu/libm-test-ulps: Update.
38510 2013-07-02  David S. Miller  <davem@davemloft.net>
38512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38514 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38518 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38520         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38523 2013-07-02  Andi Kleen <ak@linux.intel.com>
38525         * config.h.in (ENABLE_LOCK_ELISION): Add.
38526         * configure.in (--enable-lock-elision): Add option.
38527         * manual/install.texi: Document --enable lock elision.
38528         * configure: Regenerate
38529         * INSTALL: Regenerate.
38531 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38533         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38534         SSE4.2 strcasecmp for libc.a.
38535         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38537 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38539         [BZ #13304]
38540         * soft-fp/op-common.h (_FP_FMA): New macro.
38541         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38542         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38543         (_FP_MUL_MEAT_1_imm): ... here.
38544         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38545         (_FP_MUL_MEAT_1_wide): ... here.
38546         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38547         (_FP_MUL_MEAT_1_hard): ... here.
38548         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38549         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38550         (_FP_MUL_MEAT_2_wide): ... here.
38551         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38552         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38553         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38554         (_FP_MUL_MEAT_2_gmp): ... here.
38555         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38556         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38557         (_FP_MUL_MEAT_4_wide): ... here.
38558         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38559         (_FP_MUL_MEAT_4_gmp): ... here.
38560         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38561         (_FP_WFRACBITS_DW_S): Likewise.
38562         (_FP_WFRACXBITS_DW_S): Likewise.
38563         (_FP_HIGHBIT_DW_S): Likewise.
38564         (FP_FMA_S): Likewise.
38565         (_FP_FRAC_HIGH_DW_S): Likewise.
38566         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38567         (_FP_WFRACBITS_DW_D): Likewise.
38568         (_FP_WFRACXBITS_DW_D): Likewise.
38569         (_FP_HIGHBIT_DW_D): Likewise.
38570         (FP_FMA_D): Likewise.
38571         (_FP_FRAC_HIGH_DW_D): Likewise.
38572         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38573         (_FP_WFRACBITS_DW_E): Likewise.
38574         (_FP_WFRACXBITS_DW_E): Likewise.
38575         (_FP_HIGHBIT_DW_E): Likewise.
38576         (FP_FMA_E): Likewise.
38577         (_FP_FRAC_HIGH_DW_E): Likewise.
38578         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38579         (_FP_WFRACBITS_DW_Q): Likewise.
38580         (_FP_WFRACXBITS_DW_Q): Likewise.
38581         (_FP_HIGHBIT_DW_Q): Likewise.
38582         (FP_FMA_Q): Likewise.
38583         (_FP_FRAC_HIGH_DW_Q): Likewise.
38584         * soft-fp/fmasf4.c: New file.
38585         * soft-fp/fmadf4.c: Likewise.
38586         * soft-fp/fmatf4.c: Likewise.
38588 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38591         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38592         Silvermont.
38593         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38594         macro.
38595         (index_Slow_SSE4_2): Likewise.
38596         (index_Prefer_PMINUB_for_stringop): Likewise.
38597         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38598         bit_Slow_SSE4_2 is set.
38599         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38600         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38602 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38604         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38605         rtld_global._dl_hwcap2.
38606         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38607         POWER8.
38608         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38609         POWER8 feature descriptions defined in _dl_hwcap2.
38610         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38611         string handling for POWER8 feature bits.
38612         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38613         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38614         _dl_powerpc_cap_flags.
38615         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38616         * sysdeps/powerpc/rtld-global-offsets.sym
38617         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38618         _dl_hwcap2 in the rtld_global_ro structure.
38620 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38622         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38623         hardware capabilities in support of AT_HWCAP2.
38624         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38625         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38626         GLRO(dl_hwcap2).
38627         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38628         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38629         explicitly the unknown a_type display mechanism is used.
38630         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38631         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38632         struct member.
38633         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38634         to macro prototype for AT_HWCAP2 support.
38635         * sysdeps/i386/dl-procinfo.h: Likewise.
38636         * sysdeps/s390/dl-procinfo.h: Likewise.
38637         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38638         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38639         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38640         return -1 for unknown a_type display fallback.
38641         * sysdeps/sparc/dl-procinfo.h: Likewise.
38642         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38643         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38645 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38647         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38648         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38650 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38652         [BZ #12492]
38653         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38654         mprotect making __stack_prot writable.
38656 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38657             Joseph Myers  <joseph@codesourcery.com>
38659         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38660         as being properly aligned.
38662 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38664         * dlfcn/modstatic5.c: New file.
38665         * dlfcn/tststatic5.c: New file.
38666         * dlfcn/Makefile (tests): Add tststatic5.
38667         (tests-static): Likewise.
38668         (modules-names): Add modstatic5.
38669         (tststatic5-ENV): New variable.
38670         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38672         [BZ #15022]
38673         * elf/dl-support.c (_dl_main_map): New variable.
38674         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38675         (_dl_nns, _dl_load_adds): Set to 1.
38676         (_dl_initial_searchlist): Refer to _dl_main_map.
38677         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38678         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38679         call to _dl_get_origin.
38680         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38681         around call_map.
38682         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38683         * dlfcn/modstatic3.c: New file.
38684         * dlfcn/tststatic3.c: New file.
38685         * dlfcn/tststatic4.c: New file.
38686         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38687         (tests-static): Likewise.
38688         (modules-names): Add modstatic3.
38689         (tststatic3-ENV, tststatic4-ENV): New variables.
38690         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38691         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38693 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38695         * configure.in (CC): Require GCC version 4.4 or later.
38696         * configure: Regenerated.
38697         * manual/install.texi (Tools for Compilation): Update GCC version
38698         requirement.
38699         * INSTALL: Regenerated.
38701 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38703         [BZ #15674]
38704         * string/test-memcmp.c (check2): New.
38705         (main): Call check2.
38707         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38709 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38711         [BZ #15022]
38712         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38713         over to...
38714         (dl_open_worker) [!SHARED]: ... here.
38716 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38718         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38720 2013-06-25  Richard Henderson  <rth@redhat.com>
38722         * locale/programs/locarchive.c: Include <libc-internal.h>
38724 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38726         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38727         trailing whitespace removed.
38729 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38731         [BZ #10283]
38732         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38733         * locale/programs/locarchive.c: Include libc-mmap.h.
38734         (prepare_address_space): Take two new outputs (the mmap base and len).
38735         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38736         values.
38737         (create_archive): Declare new mmap base and len values for
38738         prepare_address_space, and store the result in ah.
38739         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38740         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38741         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38742         Declare new mmap base and len values for
38743         prepare_address_space, and store the result in new_ah.
38744         (open_archive): Declare new mmap base and len values for
38745         prepare_address_space, and store the result in ah.
38746         (close_archive): If ah->mmap_base is not NULL, use that and
38747         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38748         * sysdeps/generic/libc-mmap.h: New file.
38750 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38752         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38753         (ALIGN_UP): Likewise.
38754         (PTR_ALIGN_DOWN): Likewise.
38755         (PTR_ALIGN_UP): Likewise.
38757 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38759         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38760         entry mapped to PPC_PLATFORM_POWER8.
38761         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38762         POWER8.
38763         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38764         (_dl_string_platform): Add case for exporting platform position for
38765         POWER8.
38766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38767         search path to sysdeps/powerpc/powerpc32/power8 directory.
38768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38769         search path to sysdeps/powerpc/powerpc64/power8 directory.
38770         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38771         power7 directories.
38772         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38773         power7 directories.
38775 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38777         * INSTALL: Regenerate.
38779         * nscd/connections.c (nscd_init): Fix comment.
38781 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38783         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38785         [BZ #15667]
38786         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38787         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38789 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38791         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38792         DL_DST_REQ_STATIC.
38793         (DL_DST_REQ_STATIC): Remove macro.
38795 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38797         [BZ #7006]
38798         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38799         with a shift of 0 bits.
38801 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38803         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38804         $(tststatic-ENV).
38806 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38808         [BZ #15655]
38809         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38811 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38813         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38814         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38815         accepts -fno-tree-loop-distribute-patterns.
38816         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38817         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38818         recursive call.
38819         * string/memset.c (memset): Likewise.
38820         * string/test-memmove.c (simple_memmove): Disable loop transformation
38821         to library calls.
38822         * string/test-memset.c (simple_memset): Likewise.
38823         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38824         * benchtests/bench-memset.c (simple_memset): Likewise.
38825         * configure: Regenerated.
38827 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38829         * math/test-misc.c (main): Ignore fesetround failure when failures
38830         of subsequent rounding tests would be ignored.
38832         [BZ #15654]
38833         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38834         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38835         * math/fegetenv.c (__fegetenv): Return 0.
38836         * math/fegetexcept.c (fegetexcept): Return 0.
38837         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38838         FE_TONEAREST.
38839         * math/feholdexcpt.c (feholdexcept): Return 0.
38840         * math/fesetenv.c (__fesetenv): Return 0.
38841         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38842         argument FE_TONEAREST.
38843         * math/feupdateenv.c (__feupdateenv): Return 0.
38844         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38846 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38848         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38849         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38850         ($(objpfx)rtld-%.os rules): Use them.
38852 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38854         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38855         fields.
38857 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38859         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38860         length of target pattern, then descending length of dependency pattern.
38861         * configure.in (AWK): Require gawk 3.1.2 or newer.
38862         * manual/install.texi (Tools for Compilation): Say that we do.
38863         * configure: Regenerated.
38865         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38866         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38867         * scripts/sysd-rules.awk: ... this new script.
38868         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38869         than a glob-style pattern.
38871 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38873         * math/test-misc.c (main): Do not treat incorrectly rounded
38874         conversions as failure unless ROUNDING_TESTS passes.
38876 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38878         [BZ #15631]
38879         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38880         restore exception state around main square root computation, then
38881         check for inexactness explicitly.
38883         * math/libm-test.inc (fma_test_data): Add another test.
38885 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38887         * manual/threads.texi (Non-POSIX Extensions): New document
38888         node.  Document pthread_getattr_default_np and
38889         pthread_setattr_default_np.
38891         * Versions.def (libpthread): Add GLIBC_2.18.
38892         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38894         Likewise.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38896         Likewise.
38897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38898         Likewise.
38899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38900         Likewise.
38901         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38902         Likewise.
38903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38904         Likewise.
38905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38906         Likewise.
38907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38908         Likewise.
38909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38910         Likewise.
38912 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38915         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38917 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38918             H.J. Lu  <hjl.tools@gmail.com>
38920         [BZ #15627]
38921         * sysdeps/x86_64/rtld-memset.c: Remove file.
38922         * sysdeps/x86_64/rtld-memset.S: New file.
38924 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38926         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38927         (test_in_one_mode): Take arguments for whether the rounding mode
38928         is supported for each floating-point type.
38929         (do_test): Pass new arguments to test_in_one_mode using
38930         ROUNDING_TESTS.
38932 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38934         * posix/tst-waitid.c (do_test): Distinguish different instances of
38935         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38936         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38937         before entering the kernel for waitpid.
38939 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         * NEWS: Fix note on clock function precision.  Text by Roland
38942         McGrath.
38944 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38946         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38947         it into place only when and if the sanity check passes.
38949 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38951         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38952         output for whether conversion result is exact.  Take argument
38953         indicating whether type is IBM long double.
38954         (round_for_all): Change need_exact field to ibm_ld.
38955         * stdlib/tst-strtod-round.c (struct exactness): New type.
38956         (struct test): Change bool ld_ok field to struct exactness exact.
38957         (TEST): Update all definitions for change to field.
38958         (tests): Regenerate array contents.
38959         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38960         field value.  Check for IBM long double here.
38961         (do_test): Update calls to test_in_one_mode.
38963 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38965         [BZ #12515]
38966         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38967         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38969 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38971         [BZ #15605]
38972         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38973         generated by the compiler on loop optimizations.
38974         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38975         general definitions.
38977 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38979         * math/bug-nextafter.c: Include <math-tests.h>.
38980         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38981         the relevant type.
38982         * math/bug-nexttoward.c: Include <math-tests.h>.
38983         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38984         the relevant type.
38985         * math/test-misc.c: Include <math-tests.h>.
38986         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38987         the relevant type.
38989 2013-06-12  Andreas Jaeger  <aj@suse.de>
38991         * po/ia.po: Update Interlingua translation from translation
38992         project.
38994 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38996         * include/fenv.h: Include stdbool.h.
38997         (struct rm_ctx): New structure.
38998         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38999         Define macro.
39000         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39001         (SET_RESTORE_ROUNDF): Likewise.
39002         (SET_RESTORE_ROUNDL): Likewise.
39003         (SET_RESTORE_ROUND_NOEX): Likewise.
39004         (SET_RESTORE_ROUND_NOEXF): Likewise.
39005         (SET_RESTORE_ROUND_NOEXL): Likewise.
39006         (SET_RESTORE_ROUND_53BIT): Likewise.
39007         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39008         (libc_feresetround_noexf_ctx): Likewise.
39009         (libc_feresetround_noexl_ctx): Likewise.
39010         (libc_feholdsetround_53bit_ctx): Likewise.
39011         (libc_feresetround_53bit_ctx): Likewise.
39012         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39013         (libc_feholdexcept_setround_sse_ctx): New function.
39014         (libc_fesetenv_sse_ctx): Likewise.
39015         (libc_feupdateenv_sse_ctx): Likewise.
39016         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39017         (libc_feholdexcept_setround_387_ctx): Likewise.
39018         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39019         (libc_feholdsetround_387_prec_ctx): Likewise.
39020         (libc_feholdsetround_387_ctx): Likewise.
39021         (libc_feholdsetround_387_53bit_ctx): Likewise.
39022         (libc_feholdsetround_sse_ctx): Likewise.
39023         (libc_feresetround_sse_ctx): Likewise.
39024         (libc_feresetround_387_ctx): Likewise.
39025         (libc_feupdateenv_387_ctx): Likewise.
39026         (libc_feholdexcept_setroundf_ctx): Define macro.
39027         (libc_fesetenvf_ctx): Likewise.
39028         (libc_feupdateenvf_ctx): Likewise.
39029         (libc_feholdsetroundf_ctx): Likewise.
39030         (libc_feresetroundf_ctx): Likewise.
39031         (libc_feholdexcept_setround_ctx): Likewise.
39032         (libc_fesetenv_ctx): Likewise.
39033         (libc_feupdateenv_ctx): Likewise.
39034         (libc_feholdsetround_ctx): Likewise.
39035         (libc_feresetround_ctx): Likewise.
39036         (libc_feholdexcept_setroundl_ctx): Likewise.
39037         (libc_feupdateenvl_ctx): Likewise.
39038         (libc_feholdsetroundl_ctx): Likewise.
39039         (libc_feresetroundl_ctx): Likewise.
39040         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39041         (libc_feresetround_53bit_ctx): Likewise.
39043 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39045         * locale/iso-639.def: Convert to UTF-8.
39047 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39049         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39050         (EXCEPTION_TESTS_double): Likewise.
39051         (EXCEPTION_TESTS_long_double): Likewise.
39052         (EXCEPTION_TESTS): Likewise.
39053         * math/libm-test.inc (test_exceptions): Only test exceptions if
39054         EXCEPTION_TESTS (FLOAT).
39056 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39058         * benchtests/Makefile (string-bench): Add strcpy_chk and
39059         stpcpy_chk.
39060         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39061         * benchtests/bench-stpcpy_chk.c: New file.
39062         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39063         * benchtests/bench-strcpy_chk.c: New file.
39064         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39065         code.
39066         (do_test): Likewise.
39068 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39070         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39071         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39072         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39073         with tabs where appropriate.
39074         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39075         dl-procinfo.h.
39076         [PPC_PLATFORM_PPC440]: Likewise.
39077         [PPC_PLATFORM_PPC464]: Likewise.
39078         [PPC_PLATFORM_PPC476]: Likewise.
39079         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39080         ppc464, and ppc476 platform strings merging from ports/
39081         dl-procinfo.h.
39083 2013-06-11  Andreas Schwab  <schwab@suse.de>
39085         [BZ #14991]
39086         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39087         (from_ucs4_idx): Regenerate.
39088         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39089         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39090         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39091         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39092         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39093         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39094         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39095         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39096         from FROM_LOOP and TO_LOOP specific macros.
39097         (BODY): Handle combining characters.
39098         * iconvdata/BIG5HKSCS.irreversible: Update.
39099         * iconvdata/BIG5HKSCS.precomposed: New file.
39100         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39101         characters.
39102         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39104 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39106         * include/sys/time.h: Fix indentation and add copyright header.
39108         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39109         (do_test): Likewise.
39110         * string/test-memchr.c (do_one_test): Likewise.
39111         (do_test): Likewise.
39112         * string/test-memcmp.c (do_one_test): Likewise.
39113         (do_test): Likewise.
39114         * string/test-memcpy.c (do_one_test): Likewise.
39115         (do_test): Likewise.
39116         * string/test-memmem.c (do_one_test): Likewise.
39117         (do_test): Likewise.
39118         (do_random_tests): Likewise.
39119         * string/test-memmove.c (do_one_test): Likewise.
39120         (do_test): Likewise.
39121         * string/test-memset.c (do_one_test): Likewise.
39122         (do_test): Likewise.
39123         * string/test-rawmemchr.c (do_one_test): Likewise.
39124         (do_test): Likewise.
39125         * string/test-strcasecmp.c (do_one_test): Likewise.
39126         (do_test): Likewise.
39127         * string/test-strcasestr.c (do_one_test): Likewise.
39128         (do_test): Likewise.
39129         * string/test-strcat.c (do_one_test): Likewise.
39130         (do_test): Likewise.
39131         * string/test-strchr.c (do_one_test): Likewise.
39132         (do_test): Likewise.
39133         * string/test-strcmp.c (do_one_test): Likewise.
39134         (do_test): Likewise.
39135         * string/test-strcpy.c (do_one_test): Likewise.
39136         (do_test): Likewise.
39137         * string/test-string.h: Likewise.
39138         (test_init): Likewise.
39139         * string/test-strlen.c (do_one_test): Likewise.
39140         (do_test): Likewise.
39141         * string/test-strncasecmp.c (do_one_test): Likewise.
39142         (do_test): Likewise.
39143         * string/test-strncat.c (do_one_test): Likewise.
39144         (do_test): Likewise.
39145         * string/test-strncmp.c (do_one_test): Likewise.
39146         (do_test_limit): Likewise.
39147         (do_test): Likewise.
39148         * string/test-strncpy.c (do_one_test): Likewise.
39149         (do_test): Likewise.
39150         * string/test-strnlen.c (do_one_test): Likewise.
39151         (do_test): Likewise.
39152         * string/test-strpbrk.c (do_one_test): Likewise.
39153         (do_test): Likewise.
39154         * string/test-strrchr.c (do_one_test): Likewise.
39155         (do_test): Likewise.
39156         * string/test-strspn.c (do_one_test): Likewise.
39157         (do_test): Likewise.
39158         * string/test-strstr.c (do_one_test): Likewise.
39159         (do_test): Likewise.
39161         * benchtests/Makefile (string-bench): Add string benchmarks.
39162         * benchtests/bench-bcopy-ifunc.c: New file.
39163         * benchtests/bench-bcopy.c: New file.
39164         * benchtests/bench-bzero-ifunc.c: New file.
39165         * benchtests/bench-bzero.c: New file.
39166         * benchtests/bench-memccpy-ifunc.c: New file.
39167         * benchtests/bench-memccpy.c: New file.
39168         * benchtests/bench-memchr-ifunc.c: New file.
39169         * benchtests/bench-memchr.c: New file.
39170         * benchtests/bench-memcmp-ifunc.c: New file.
39171         * benchtests/bench-memcmp.c: New file.
39172         * benchtests/bench-memmem-ifunc.c: New file.
39173         * benchtests/bench-memmem.c: New file.
39174         * benchtests/bench-memmove-ifunc.c: New file.
39175         * benchtests/bench-memmove.c: New file.
39176         * benchtests/bench-mempcpy-ifunc.c: New file.
39177         * benchtests/bench-mempcpy.c: New file.
39178         * benchtests/bench-memset-ifunc.c: New file.
39179         * benchtests/bench-memset.c: New file.
39180         * benchtests/bench-rawmemchr-ifunc.c: New file.
39181         * benchtests/bench-rawmemchr.c: New file.
39182         * benchtests/bench-stpcpy-ifunc.c: New file.
39183         * benchtests/bench-stpcpy.c: New file.
39184         * benchtests/bench-stpncpy-ifunc.c: New file.
39185         * benchtests/bench-stpncpy.c: New file.
39186         * benchtests/bench-strcasecmp-ifunc.c: New file.
39187         * benchtests/bench-strcasecmp.c: New file.
39188         * benchtests/bench-strcasestr-ifunc.c: New file.
39189         * benchtests/bench-strcasestr.c: New file.
39190         * benchtests/bench-strcat-ifunc.c: New file.
39191         * benchtests/bench-strcat.c: New file.
39192         * benchtests/bench-strchr-ifunc.c: New file.
39193         * benchtests/bench-strchr.c: New file.
39194         * benchtests/bench-strchrnul-ifunc.c: New file.
39195         * benchtests/bench-strchrnul.c: New file.
39196         * benchtests/bench-strcmp-ifunc.c: New file.
39197         * benchtests/bench-strcmp.c: New file.
39198         * benchtests/bench-strcpy-ifunc.c: New file.
39199         * benchtests/bench-strcpy.c: New file.
39200         * benchtests/bench-strcspn-ifunc.c: New file.
39201         * benchtests/bench-strcspn.c: New file.
39202         * benchtests/bench-strlen-ifunc.c: New file.
39203         * benchtests/bench-strlen.c: New file.
39204         * benchtests/bench-strncasecmp-ifunc.c: New file.
39205         * benchtests/bench-strncasecmp.c: New file.
39206         * benchtests/bench-strncat-ifunc.c: New file.
39207         * benchtests/bench-strncat.c: New file.
39208         * benchtests/bench-strncmp-ifunc.c: New file.
39209         * benchtests/bench-strncmp.c: New file.
39210         * benchtests/bench-strncpy-ifunc.c: New file.
39211         * benchtests/bench-strncpy.c: New file.
39212         * benchtests/bench-strnlen-ifunc.c: New file.
39213         * benchtests/bench-strnlen.c: New file.
39214         * benchtests/bench-strpbrk-ifunc.c: New file.
39215         * benchtests/bench-strpbrk.c: New file.
39216         * benchtests/bench-strrchr-ifunc.c: New file.
39217         * benchtests/bench-strrchr.c: New file.
39218         * benchtests/bench-strspn-ifunc.c: New file.
39219         * benchtests/bench-strspn.c: New file.
39220         * benchtests/bench-strstr-ifunc.c: New file.
39221         * benchtests/bench-strstr.c: New file.
39223         * benchtests/Makefile: Disable parallel execution of targets.
39224         (string-bench): Add memcpy.
39225         (benchset): New variable to store a list of benchmark sets.
39226         (bench-func): Renamed from bench.
39227         (bench-set): New target.
39228         (bench): Depend on bench-func and bench-set.
39229         * benchtests/README: Add section on benchmark sets.
39230         * benchtests/bench-memcpy-ifunc.c: New file.
39231         * benchtests/bench-memcpy.c: New file.
39232         * benchtests/bench-string.h: New file.
39234 2013-06-11  Andreas Schwab  <schwab@suse.de>
39236         [BZ #15577]
39237         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39238         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39239         values in the triple.
39240         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39241         terminator in the group key.
39243 2013-06-11  Andreas Jaeger  <aj@suse.de>
39245         * po/zh_TW.po: Update Chinese (traditional) translation from
39246         translation project.
39248 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39250         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39251         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39252         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39254         (clock_getcpuclockid): Likewise.
39255         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39256         Add weak_alias and libc_hidden_def.
39257         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39258         * rt/clock_gettime.c (clock_gettime): Rename to
39259         __clock_gettime.  Add weak_alias and libc_hidden_def.
39260         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39261         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39262         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39263         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39264         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39265         Likewise.
39266         * rt/clock_settime.c (clock_settime): Rename to
39267         __clock_settime.  Add weak_alias and libc_hidden_def.
39268         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39270 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39272         * mach/err_boot.sub: Remove trailing whitespace.
39273         * mach/err_ipc.sub: Likewise.
39274         * mach/err_mach.sub: Likewise.
39276         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39277         (ROUNDING_TESTS_double): Likewise.
39278         (ROUNDING_TESTS_long_double): Likewise.
39279         (ROUNDING_TESTS): Likewise.
39280         * math/libm-test.inc: Include <math-tests.h>.
39281         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39282         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39283         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39284         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39286 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39288         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39289         of assigning.
39291 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39293         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39294         otherwise empty TRANS lines.
39295         * sysdeps/gnu/errlist.c: Regenerated.
39297         * catgets/gencat.c (error_print): Use (void) in function
39298         definition.
39299         * crypt/crypt_util.c (__init_des): Likewise.
39300         * crypt/speeds.c (Stop): Likewise.
39301         (main): Likewise.
39302         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39303         * inet/ruserpass.c (token): Likewise.
39304         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39305         * intl/localealias.c (extend_alias_table): Likewise.
39306         * intl/plural-exp.c (init_germanic_plural): Likewise.
39307         * libio/fcloseall.c (__fcloseall): Likewise.
39308         * libio/genops.c (_IO_flush_all): Likewise.
39309         (_IO_flush_all_linebuffered): Likewise.
39310         (_IO_cleanup): Likewise.
39311         (_IO_iter_begin): Likewise.
39312         (_IO_iter_end): Likewise.
39313         (_IO_list_lock): Likewise.
39314         (_IO_list_unlock): Likewise.
39315         (_IO_list_resetlock): Likewise.
39316         * libio/getchar.c (getchar): Likewise.
39317         * libio/getchar_u.c (getchar_unlocked): Likewise.
39318         * libio/getwchar.c (getwchar): Likewise.
39319         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39320         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39321         * login/getpt.c (__getpt): Likewise.
39322         * login/tst-utmp.c (main): Likewise.
39323         * malloc/hooks.c (__malloc_check_init): Likewise.
39324         * malloc/malloc.c (__malloc_stats): Likewise.
39325         * malloc/mtrace.c (tr_break): Likewise.
39326         (mtrace): Likewise.
39327         (muntrace): Likewise.
39328         * misc/fstab.c (endfsent): Likewise.
39329         * misc/getclktck.c (__getclktck): Likewise.
39330         * misc/getdtsz.c (__getdtablesize): Likewise.
39331         * misc/gethostid.c (gethostid): Likewise.
39332         * misc/getpagesize.c (__getpagesize): Likewise.
39333         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39334         (__get_nprocs): Likewise.
39335         (__get_phys_pages): Likewise.
39336         (__get_avphys_pages): Likewise.
39337         * misc/getttyent.c (getttyent): Likewise.
39338         (setttyent): Likewise.
39339         (endttyent): Likewise.
39340         * misc/getusershell.c (getusershell): Likewise.
39341         (endusershell): Likewise.
39342         (setusershell): Likewise.
39343         (initshells): Likewise.
39344         * misc/hsearch.c (__hdestroy): Likewise.
39345         * misc/sync.c (sync): Likewise.
39346         * misc/syslog.c (closelog_internal): Likewise.
39347         (closelog): Likewise.
39348         * misc/ttyslot.c (ttyslot): Likewise.
39349         * misc/vhangup.c (vhangup): Likewise.
39350         * posix/fork.c (__fork): Likewise.
39351         * posix/getegid.c (__getegid): Likewise.
39352         * posix/geteuid.c (__geteuid): Likewise.
39353         * posix/getgid.c (__getgid): Likewise.
39354         * posix/getpid.c (__getpid): Likewise.
39355         * posix/getppid.c (__getppid): Likewise.
39356         * posix/getuid.c (__getuid): Likewise.
39357         * posix/pause.c (pause): Likewise.
39358         * posix/setpgrp.c (setpgrp): Likewise.
39359         * posix/setsid.c (__setsid): Likewise.
39360         * posix/test-vfork.c (noop): Likewise.
39361         * resolv/gethnamaddr.c (_endhtent): Likewise.
39362         (_gethtent): Likewise.
39363         (ht_endhostent): Likewise.
39364         (gethostent): Likewise.
39365         (dns_service): Likewise.
39366         * stdlib/drand48.c (drand48): Likewise.
39367         * stdlib/lrand48.c (lrand48): Likewise.
39368         * stdlib/mrand48.c (mrand48): Likewise.
39369         * stdlib/rand.c (rand): Likewise.
39370         * stdlib/random.c (__random): Likewise.
39371         * stdlib/setenv.c (clearenv): Likewise.
39372         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39373         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39374         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39375         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39376         (__get_nprocs): Likewise.
39377         (__get_phys_pages): Likewise.
39378         (__get_avphys_pages): Likewise.
39379         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39380         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39381         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39382         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39383         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39384         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39385         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39386         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39387         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39388         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39389         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39390         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39391         * sysdeps/posix/clock.c (clock): Likewise.
39392         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39393         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39394         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39395         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39396         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39398         (__get_nprocs_conf): Likewise.
39399         (__get_phys_pages): Likewise.
39400         (__get_avphys_pages): Likewise.
39401         * time/clock.c (clock): Likewise.
39402         * time/tzset.c (__tzname_max): Likewise.
39404 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39406         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39407         (__bswap_32): Do not use "register".
39408         * crypt/crypt.c (_ufc_doit_r): Likewise.
39409         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39410         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39411         * gmon/gmon.c (__monstartup): Likewise.
39412         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39413         * hurd/hurdmalloc.c (more_memory): Likewise.
39414         (malloc): Likewise.
39415         (free): Likewise.
39416         (realloc): Likewise.
39417         (malloc_fork_prepare): Likewise.
39418         (malloc_fork_parent): Likewise.
39419         (malloc_fork_child): Likewise.
39420         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39421         (_svcauth_des): Likewise.
39422         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39423         * inet/inet_net.c (inet_network): Likewise.
39424         * inet/inet_netof.c (inet_netof): Likewise.
39425         * inet/rcmd.c (__validuser2_sa): Likewise.
39426         * io/fts.c (fts_open): Likewise.
39427         (fts_load): Likewise.
39428         (fts_close): Likewise.
39429         (fts_read): Likewise.
39430         (fts_children): Likewise.
39431         (fts_build): Likewise.
39432         (fts_stat): Likewise.
39433         (fts_sort): Likewise.
39434         (fts_alloc): Likewise.
39435         (fts_lfree): Likewise.
39436         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39437         (_IO_file_xsgetn): Likewise.
39438         (_IO_file_xsgetn_mmap): Likewise.
39439         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39440         (_IO_cookie_write): Likewise.
39441         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39442         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39443         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39444         * malloc/obstack.c (_obstack_begin): Likewise.
39445         (_obstack_begin_1): Likewise.
39446         (_obstack_newchunk): Likewise.
39447         (_obstack_allocated_p): Likewise.
39448         (obstack_free): Likewise.
39449         (_obstack_memory_used): Likewise.
39450         * misc/getttyent.c (getttynam): Likewise.
39451         (getttyent): Likewise.
39452         (skip): Likewise.
39453         (value): Likewise.
39454         * misc/getusershell.c (initshells): Likewise.
39455         * misc/syslog.c (__vsyslog_chk): Likewise.
39456         * misc/ttyslot.c (ttyslot): Likewise.
39457         * nis/nis_hash.c (__nis_hash): Likewise.
39458         * posix/fnmatch_loop.c (FCT): Likewise.
39459         * posix/getconf.c (print_all): Likewise.
39460         (main): Likewise.
39461         * posix/getopt.c (exchange): Likewise.
39462         * posix/glob.c (globfree): Likewise.
39463         (prefix_array): Likewise.
39464         (__glob_pattern_type): Likewise.
39465         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39466         (NS_GET32): Likewise.
39467         (NS_PUT16): Likewise.
39468         (NS_PUT32): Likewise.
39469         * resolv/gethnamaddr.c (getanswer): Likewise.
39470         (gethostbyname2): Likewise.
39471         (gethostbyaddr): Likewise.
39472         (_gethtent): Likewise.
39473         (_gethtbyname2): Likewise.
39474         (_gethtbyaddr): Likewise.
39475         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39476         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39477         * resolv/res_init.c (__res_vinit): Likewise.
39478         (net_mask): Likewise.
39479         * resolv/res_mkquery.c (outchar): Likewise.
39480         (PRINT): Likewise.
39481         * stdio-common/printf_fp.c (outchar): Likewise.
39482         (PRINT): Likewise.
39483         * stdio-common/printf_fphex.c (outchar): Likewise.
39484         (PRINT): Likewise.
39485         * stdio-common/printf_size.c (outchar): Likewise.
39486         (PRINT): Likewise.
39487         * stdio-common/test_rdwr.c (main): Likewise.
39488         * stdio-common/tfformat.c (matches): Likewise.
39489         * stdio-common/vfprintf.c (outchar): Likewise.
39490         (printf_unknown): Likewise.
39491         (buffered_vfprintf): Likewise.
39492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39493         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39494         (ReadFile): Likewise.
39495         * stdlib/qsort.c (SWAP): Likewise.
39496         (_quicksort): Likewise.
39497         * stdlib/setenv.c (__add_to_environ): Likewise.
39498         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39499         * stdlib/strtol_l.c (__strtol_l): Likewise.
39500         * stdlib/tst-strtod.c (main): Likewise.
39501         * stdlib/tst-strtol.c (main): Likewise.
39502         * stdlib/tst-strtoll.c (main): Likewise.
39503         * string/bits/string2.h (__strcmp_cc): Likewise.
39504         (__strcmp_cg): Likewise.
39505         (__strcspn_c1): Likewise.
39506         (__strcspn_c2): Likewise.
39507         (__strcspn_c3): Likewise.
39508         (__strspn_c1): Likewise.
39509         (__strspn_c2): Likewise.
39510         (__strspn_c3): Likewise.
39511         (__strsep_1c): Likewise.
39512         (__strsep_2c): Likewise.
39513         (__strsep_3c): Likewise.
39514         * string/memccpy.c (__memccpy): Likewise.
39515         * string/stpcpy.c (__stpcpy): Likewise.
39516         * string/strcmp.c (strcmp): Likewise.
39517         * string/strrchr.c (strrchr): Likewise.
39518         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39519         Likewise.
39520         * sysdeps/mach/hurd/getcwd.c
39521         (_hurd_canonicalize_directory_name_internal): Likewise.
39522         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39523         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39524         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39525         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39526         Likewise, in both definitions.
39527         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39528         definitions.
39529         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39530         64] (__bswap_64): Likewise.
39531         * time/test_time.c (main): Likewise.
39532         * time/tzfile.c (__tzfile_read): Likewise.
39533         (__tzfile_compute): Likewise.
39534         * time/tzset.c (__tzset_parse_tz): Likewise.
39535         (tzset_internal): Likewise.
39536         (compute_change): Likewise.
39537         * wcsmbs/wcscat.c (__wcscat): Likewise.
39538         * wcsmbs/wcschr.c (wcschr): Likewise.
39539         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39540         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39541         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39542         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39543         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39544         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39545         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39546         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39547         * wcsmbs/wmemset.c (wmemset): Likewise.
39549 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39551         * scripts/config.guess: Update to version 2013-05-16.
39552         * scripts/config.sub: Update to version 2013-04-24.
39553         * scripts/install-sh: Update to version 2011-11-20.07.
39554         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39555         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39557 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39559         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39560         * elf/sln.c: Likewise.
39561         * hurd/hurd/ioctl.h: Likewise.
39562         * hurd/hurdmalloc.c: Likewise.
39563         * hurd/xattr.c: Likewise.
39564         * include/shlib-compat.h: Likewise.
39565         * inet/ruserpass.c: Likewise.
39566         * libio/iofgets_u.c: Likewise.
39567         * libio/iofgetws_u.c: Likewise.
39568         * locale/programs/ld-identification.c: Likewise.
39569         * locale/programs/ld-time.c: Likewise.
39570         * mach/msg-destroy.c: Likewise.
39571         * nss/nss_files/files-netgrp.c: Likewise.
39572         * resolv/res_data.c: Likewise.
39573         * soft-fp/op-1.h: Likewise.
39574         * soft-fp/op-2.h: Likewise.
39575         * soft-fp/op-4.h: Likewise.
39576         * soft-fp/op-common.h: Likewise.
39577         * stdio-common/printf_fphex.c: Likewise.
39578         * stdlib/strtod_l.c: Likewise.
39579         * sunrpc/rpc/clnt.h: Likewise.
39580         * sysdeps/generic/framestate.c: Likewise.
39581         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39582         * sysdeps/i386/bsd-setjmp.S: Likewise.
39583         * sysdeps/i386/__longjmp.S: Likewise.
39584         * sysdeps/i386/setjmp.S: Likewise.
39585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39586         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39587         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39588         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39590         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39592         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39593         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39595         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39596         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39597         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39599         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39601         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39603         * sysdeps/ieee754/support.c: Likewise.
39604         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39605         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39606         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39607         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39608         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39609         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39610         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39611         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39612         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39613         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39614         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39615         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39616         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39617         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39618         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39619         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39620         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39623 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39625         * posix/transbug.c: Remove executable mode.
39627 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39629         * crypt/speeds.c: Remove trailing whitespace.
39630         * dlfcn/default.c: Likewise.
39631         * elf/ifuncdep2.c: Likewise.
39632         * elf/ifuncmain1.c: Likewise.
39633         * elf/ifuncmain1vis.c: Likewise.
39634         * elf/testobj.h: Likewise.
39635         * elf/tst-stackguard1.c: Likewise.
39636         * gmon/sys/gmon.h: Likewise.
39637         * hurd/hurdmsg.c: Likewise.
39638         * hurd/new-fd.c: Likewise.
39639         * hurd/ports-get.c: Likewise.
39640         * iconvdata/ibm1008_420.c: Likewise.
39641         * inet/tst-getni1.c: Likewise.
39642         * inet/tst-getni2.c: Likewise.
39643         * libio/ioungetc.c: Likewise.
39644         * libio/wfiledoalloc.c: Likewise.
39645         * manual/libm-err-tab.pl: Likewise.
39646         * math/w_dremf.c: Likewise.
39647         * misc/ftruncate.c: Likewise.
39648         * posix/bug-glob2.c: Likewise.
39649         * posix/tst-pcre.c: Likewise.
39650         * posix/wait4.c: Likewise.
39651         * resolv/README: Likewise.
39652         * resolv/res_debug.h: Likewise.
39653         * resolv/tst-inet_ntop.c: Likewise.
39654         * setjmp/bug269-setjmp.c: Likewise.
39655         * soft-fp/extended.h: Likewise.
39656         * soft-fp/op-1.h: Likewise.
39657         * soft-fp/op-2.h: Likewise.
39658         * soft-fp/op-4.h: Likewise.
39659         * soft-fp/op-8.h: Likewise.
39660         * soft-fp/testit.c: Likewise.
39661         * stdio-common/bug16.c: Likewise.
39662         * stdlib/random.c: Likewise.
39663         * sunrpc/rpcsvc/rquota.x: Likewise.
39664         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39665         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39667         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39668         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39669         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39670         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39671         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39672         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39673         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39674         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39691         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39693         * sysdeps/ieee754/s_lib_version.c: Likewise.
39694         * sysdeps/mach/hurd/check_fds.c: Likewise.
39695         * sysdeps/mach/hurd/getsockname.c: Likewise.
39696         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39697         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39698         * sysdeps/powerpc/bits/link.h: Likewise.
39699         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39700         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39701         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39702         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39703         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39704         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39705         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39706         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39707         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39708         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39709         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39710         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39711         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39712         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39714         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39715         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39716         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39718         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39719         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39720         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39721         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39722         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39723         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39724         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39725         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39726         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39727         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39729         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39730         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39732         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39733         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39734         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39735         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39736         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39737         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39738         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39739         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39740         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39741         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39742         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39743         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39744         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39745         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39746         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39747         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39748         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39750         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39751         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39752         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39753         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39754         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39755         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39756         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39757         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39758         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39759         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39761         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39762         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39763         * sysdeps/powerpc/sysdep.h: Likewise.
39764         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39765         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39766         * sysdeps/sh/dl-trampoline.S: Likewise.
39767         * sysdeps/sh/memset.S: Likewise.
39768         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39769         * sysdeps/sh/strlen.S: Likewise.
39770         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39771         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39772         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39773         * sysdeps/sparc/sparc32/rem.S: Likewise.
39774         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39775         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39776         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39777         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39778         * sysdeps/sparc/sparc32/urem.S: Likewise.
39779         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39780         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39781         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39782         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39783         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39784         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39785         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39786         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39787         * sysdeps/unix/bsd/times.c: Likewise.
39788         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39789         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39793         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39794         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39795         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39796         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39797         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39799         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39800         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39801         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39802         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39803         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39804         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39805         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39806         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39807         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39808         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39809         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39810         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39811         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39812         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39813         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39814         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39815         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39816         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39817         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39818         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39819         * sysdeps/x86_64/strcspn.S: Likewise.
39821 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39823         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39824         generated file.  Regenerate properly from gen-translit.pl.
39825         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39826         locale/C-translit.h.
39828 2013-06-05  Andreas Schwab  <schwab@suse.de>
39830         [BZ #15100]
39831         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39832         week as 6 instead of -1.
39833         * time/tst-strptime.c (day_tests): Add test case.
39835 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39837         * sysdeps/generic/math_private.h
39838         (libc_feholdexcept_setround_53bit): Replace with
39839         libc_feholdsetround_53bit.
39840         (libc_feupdateenv_53bit): Replace with
39841         libc_feresetround_53bit.
39842         (SET_RESTORE_ROUND_53BIT): Adjust.
39844 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39846         * string/test-strchrnul.c: Add copyright header.
39848         * posix/tst-getaddrinfo4.c: Increase test timeout.
39850 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39852         [BZ #15536]
39853         * math/libm-test.inc (MAX_EXP): Remove
39854         (MIN_EXP): Define.
39855         (ulp): Use MIN_EXP - MANT_DIG.
39856         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39858 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39860         * po/be.po: Revert last change.
39861         * po/zh_CN.po: Likewise.
39862         * po/header.pot: Likewise.
39864 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39866         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39867         link-libc-deps to empty as target-specific variable.
39868         * Makerules (link-libc-args): New variable.
39869         (libc-for-link): Likewise.
39870         (link-libc-deps): Likewise.
39871         (lib%.so): Depend on $(link-libc-deps).  Link with
39872         $(link-libc-args).
39873         (build-module): Link with $(link-libc-args).
39874         (build-module-asneeded): Likewise.
39875         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39876         list of objects.
39877         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39878         target-specific variable.
39879         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39880         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39881         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39882         libc.
39883         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39884         libc and ld.so.
39885         ($(objpfx)libpcprofile.so): Likewise.
39886         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39887         libc_nonshared.a.
39888         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39889         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39890         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39891         $(link-libc-deps).
39892         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39893         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39894         * login/Makefile ($(objpfx)libutil.so): Likewise.
39895         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39896         * math/Makefile ($(objpfx)libm.so): Likewise.
39897         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39898         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39899         variable instead of depending directly on libc.
39900         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39901         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39902         $(link-libc-deps).
39903         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39904         libc.
39905         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39906         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39907         ($(objpfx)libanl.so): Likewise.
39908         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39909         ld.so.
39910         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39911         $(link-libc-deps).
39912         * sysdeps/i386/fpu/Makefile: Remove file.
39913         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39914         ($(objpfx)libm.so): Remove dependency on ld.so.
39916 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39918         [BZ # 15553]
39919         * nis/yp_xdr.c (XDRMAXNAME): Define.
39920         (XDRMAXRECORD): Define.
39921         (xdr_domainname): Use XDRMAXNAME.
39922         (xdr_mapname): Likewise.
39923         (xdr_peername): Likewise.
39924         (xdr_keydat): Use XDRMAXRECORD.
39925         (xdr_valdat): Likewise.
39927 2013-05-30  Jeff Law  <law@redhat.com>
39929         [BZ #14256]
39930         * manual/errno.texi (ESTALE): Update to account for more than
39931         just NFS file systems.
39932         * sysdeps/gnu/errlist.c: Regenerated.
39934 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39936         [BZ #15465]
39937         * elf/Makefile (tests): Add tst-null-argv.
39938         (modules-names):  Add tst-null-argv-lib.
39939         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39940         (tst-null-argv-ENV): Set environment for tst-null-argv.
39941         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39942         (RTLD_PROGNAME): New macro.
39943         * elf/tst-null-argv.c: New test case.
39944         * elf/tst-null-argv-lib.c: Library for test case.
39945         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39946         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39947         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39948         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39949         * elf/dl-init.c (call_init): Likewise.
39950         (_dl_init): Likewise.
39951         * elf/dl-load.c (print_search_path): Likewise.
39952         (_dl_map_object): Likewise.
39953         * elf/dl-lookup.c (do_lookup_x): Likewise.
39954         (add_dependency): Likewise.
39955         (_dl_lookup_symbol_x): Likewise.
39956         (_dl_debug_bindings): Likewise.
39957         * elf/dl-open.c (_dl_show_scope): Likewise.
39958         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39959         * elf/dl-version.c (match_symbol): Likewise.
39960         (_dl_check_map_versions): Likewise.
39961         * elf/rtld.c (dl_main): Likewise.
39962         (print_unresolved): Use RTLD_PROGNAME.
39963         (print_missing_version): Likewise.
39964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39965         (elf_machine_rela): Likewise.
39966         * sysdeps/powerpc/powerpc32/dl-machine.c
39967         (__process_machine_rela): Likewise.
39968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39969         Likewise.
39970         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39971         Likewise.
39972         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39973         Likewise.
39974         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39976         Likewise.
39977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39978         Likewise.
39979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39981 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39983         * po/be.po: Add descriptive title.
39984         * po/zh_CN.po: Likewise.
39985         * po/header.pot: Likewise.
39987 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39989         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39990         error message.
39991         (enlarge_archive): Likewise.
39993 2013-05-28  Ben North  <ben@redfrontdoor.org>
39995         * manual/arith.texi (frexp): It is the magnitude of the return
39996         value which lies in [0.5, 1), not the return value itself.
39998 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40002 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40004         * stdio-common/bug26.c (main): Correct fscanf template.
40006         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40007         declare _dl_skip_args.
40009         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40010         Don't declare.
40012         * manual/platform.texi: Add missing @end deftypefun.
40014 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40016         [BZ #15529]
40017         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40018         bit of mantissa of 2^16382.
40019         * math/libm-test.inc (hypot_test_data): Add more tests.
40021         * math/libm-test.inc: Add drem and pow10 to list of tested
40022         functions.
40023         (pow10_test): New function.
40024         (drem_test): Likewise.
40025         (drem_test_tonearest): Likewise.
40026         (drem_test_towardzero): Likewise.
40027         (drem_test_downward): Likewise.
40028         (drem_test_upward): Likewise.
40029         (main): Call the new functions.
40031         * math/libm-test.inc (finite_test_data): Remove.
40032         (finite_test): Run tests from isfinite_test_data.
40033         (gamma_test_data): Remove.
40034         (gamma_test): Run tests from lgamma_test_data.
40035         * sysdeps/i386/fpu/libm-test-ulps: Update.
40036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40038 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40040         * manual/platform.texi: Add PowerPC PPR function set documentation.
40041         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40042         implementation.
40044 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40046         * math/libm-test.inc (MAX_EXP): Define.
40047         (ULPDIFF): Define.
40048         (ulp): New function.
40049         (check_float_internal): Use ULPDIFF.
40050         (cpow_test): Disable failing test.
40051         (check_ulp): Test ulp() implemetnation.
40052         (main): Call check_ulp before starting tests.
40054 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40056         * math/gen-libm-test.pl (generate_testfile): Do not handle
40057         START_DATA and END_DATA.
40058         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40059         END_DATA.
40060         (acos_tonearest_test_data): Likewise.
40061         (acos_towardzero_test_data): Likewise.
40062         (acos_downward_test_data): Likewise.
40063         (acos_upward_test_data): Likewise.
40064         (acosh_test_data): Likewise.
40065         (asin_test_data): Likewise.
40066         (asin_tonearest_test_data): Likewise.
40067         (asin_towardzero_test_data): Likewise.
40068         (asin_downward_test_data): Likewise.
40069         (asin_upward_test_data): Likewise.
40070         (asinh_test_data): Likewise.
40071         (atan_test_data): Likewise.
40072         (atanh_test_data): Likewise.
40073         (atan2_test_data): Likewise.
40074         (cabs_test_data): Likewise.
40075         (cacos_test_data): Likewise.
40076         (cacosh_test_data): Likewise.
40077         (carg_test_data): Likewise.
40078         (casin_test_data): Likewise.
40079         (casinh_test_data): Likewise.
40080         (catan_test_data): Likewise.
40081         (catanh_test_data): Likewise.
40082         (cbrt_test_data): Likewise.
40083         (ccos_test_data): Likewise.
40084         (ccosh_test_data): Likewise.
40085         (ceil_test_data): Likewise.
40086         (cexp_test_data): Likewise.
40087         (cimag_test_data): Likewise.
40088         (clog_test_data): Likewise.
40089         (clog10_test_data): Likewise.
40090         (conj_test_data): Likewise.
40091         (copysign_test_data): Likewise.
40092         (cos_test_data): Likewise.
40093         (cos_tonearest_test_data): Likewise.
40094         (cos_towardzero_test_data): Likewise.
40095         (cos_downward_test_data): Likewise.
40096         (cos_upward_test_data): Likewise.
40097         (cosh_test_data): Likewise.
40098         (cosh_tonearest_test_data): Likewise.
40099         (cosh_towardzero_test_data): Likewise.
40100         (cosh_downward_test_data): Likewise.
40101         (cosh_upward_test_data): Likewise.
40102         (cpow_test_data): Likewise.
40103         (cproj_test_data): Likewise.
40104         (creal_test_data): Likewise.
40105         (csin_test_data): Likewise.
40106         (csinh_test_data): Likewise.
40107         (csqrt_test_data): Likewise.
40108         (ctan_test_data): Likewise.
40109         (ctan_tonearest_test_data): Likewise.
40110         (ctan_towardzero_test_data): Likewise.
40111         (ctan_downward_test_data): Likewise.
40112         (ctan_upward_test_data): Likewise.
40113         (ctanh_test_data): Likewise.
40114         (ctanh_tonearest_test_data): Likewise.
40115         (ctanh_towardzero_test_data): Likewise.
40116         (ctanh_downward_test_data): Likewise.
40117         (ctanh_upward_test_data): Likewise.
40118         (erf_test_data): Likewise.
40119         (erfc_test_data): Likewise.
40120         (exp_test_data): Likewise.
40121         (exp_tonearest_test_data): Likewise.
40122         (exp_towardzero_test_data): Likewise.
40123         (exp_downward_test_data): Likewise.
40124         (exp_upward_test_data): Likewise.
40125         (exp10_test_data): Likewise.
40126         (exp2_test_data): Likewise.
40127         (expm1_test_data): Likewise.
40128         (fabs_test_data): Likewise.
40129         (fdim_test_data): Likewise.
40130         (finite_test_data): Likewise.
40131         (floor_test_data): Likewise.
40132         (fma_test_data): Likewise.
40133         (fma_towardzero_test_data): Likewise.
40134         (fma_downward_test_data): Likewise.
40135         (fma_upward_test_data): Likewise.
40136         (fmax_test_data): Likewise.
40137         (fmin_test_data): Likewise.
40138         (fmod_test_data): Likewise.
40139         (fpclassify_test_data): Likewise.
40140         (frexp_test_data): Likewise.
40141         (gamma_test_data): Likewise.
40142         (hypot_test_data): Likewise.
40143         (ilogb_test_data): Likewise.
40144         (isfinite_test_data): Likewise.
40145         (isgreater_test_data): Likewise.
40146         (isgreaterequal_test_data): Likewise.
40147         (isinf_test_data): Likewise.
40148         (isless_test_data): Likewise.
40149         (islessequal_test_data): Likewise.
40150         (islessgreater_test_data): Likewise.
40151         (isnan_test_data): Likewise.
40152         (isnormal_test_data): Likewise.
40153         (issignaling_test_data): Likewise.
40154         (isunordered_test_data): Likewise.
40155         (j0_test_data): Likewise.
40156         (j1_test_data): Likewise.
40157         (jn_test_data): Likewise.
40158         (ldexp_test_data): Likewise.
40159         (lgamma_test_data): Likewise.
40160         (lrint_test_data): Likewise.
40161         (lrint_tonearest_test_data): Likewise.
40162         (lrint_towardzero_test_data): Likewise.
40163         (lrint_downward_test_data): Likewise.
40164         (lrint_upward_test_data): Likewise.
40165         (llrint_test_data): Likewise.
40166         (llrint_tonearest_test_data): Likewise.
40167         (llrint_towardzero_test_data): Likewise.
40168         (llrint_downward_test_data): Likewise.
40169         (llrint_upward_test_data): Likewise.
40170         (log_test_data): Likewise.
40171         (log10_test_data): Likewise.
40172         (log1p_test_data): Likewise.
40173         (log2_test_data): Likewise.
40174         (logb_test_data): Likewise.
40175         (logb_downward_test_data): Likewise.
40176         (lround_test_data): Likewise.
40177         (llround_test_data): Likewise.
40178         (modf_test_data): Likewise.
40179         (nearbyint_test_data): Likewise.
40180         (nextafter_test_data): Likewise.
40181         (nexttoward_test_data): Likewise.
40182         (pow_test_data): Likewise.
40183         (pow_tonearest_test_data): Likewise.
40184         (pow_towardzero_test_data): Likewise.
40185         (pow_downward_test_data): Likewise.
40186         (pow_upward_test_data): Likewise.
40187         (remainder_test_data): Likewise.
40188         (remainder_tonearest_test_data): Likewise.
40189         (remainder_towardzero_test_data): Likewise.
40190         (remainder_downward_test_data): Likewise.
40191         (remainder_upward_test_data): Likewise.
40192         (remquo_test_data): Likewise.
40193         (rint_test_data): Likewise.
40194         (rint_tonearest_test_data): Likewise.
40195         (rint_towardzero_test_data): Likewise.
40196         (rint_downward_test_data): Likewise.
40197         (rint_upward_test_data): Likewise.
40198         (round_test_data): Likewise.
40199         (scalb_test_data): Likewise.
40200         (scalbn_test_data): Likewise.
40201         (scalbln_test_data): Likewise.
40202         (signbit_test_data): Likewise.
40203         (sin_test_data): Likewise.
40204         (sin_tonearest_test_data): Likewise.
40205         (sin_towardzero_test_data): Likewise.
40206         (sin_downward_test_data): Likewise.
40207         (sin_upward_test_data): Likewise.
40208         (sincos_test_data): Likewise.
40209         (sinh_test_data): Likewise.
40210         (sinh_tonearest_test_data): Likewise.
40211         (sinh_towardzero_test_data): Likewise.
40212         (sinh_downward_test_data): Likewise.
40213         (sinh_upward_test_data): Likewise.
40214         (sqrt_test_data): Likewise.
40215         (tan_test_data): Likewise.
40216         (tan_tonearest_test_data): Likewise.
40217         (tan_towardzero_test_data): Likewise.
40218         (tan_downward_test_data): Likewise.
40219         (tan_upward_test_data): Likewise.
40220         (tanh_test_data): Likewise.
40221         (tgamma_test_data): Likewise.
40222         (trunc_test_data): Likewise.
40223         (y0_test_data): Likewise.
40224         (y1_test_data): Likewise.
40225         (yn_test_data): Likewise.
40226         (significand_test_data): Likewise.
40228         * math/gen-libm-test.pl (@functions): Remove variable.
40229         (generate_testfile): Don't handle START and END lines.
40230         * math/libm-test.inc (START): New macro.
40231         (END): Likewise.
40232         (END_COMPLEX): Likewise.
40233         (acos_test): Use END macro without arguments.
40234         (acos_test_tonearest): Likewise.
40235         (acos_test_towardzero): Likewise.
40236         (acos_test_downward): Likewise.
40237         (acos_test_upward): Likewise.
40238         (acosh_test): Likewise.
40239         (asin_test): Likewise.
40240         (asin_test_tonearest): Likewise.
40241         (asin_test_towardzero): Likewise.
40242         (asin_test_downward): Likewise.
40243         (asin_test_upward): Likewise.
40244         (asinh_test): Likewise.
40245         (atan_test): Likewise.
40246         (atanh_test): Likewise.
40247         (atan2_test): Likewise.
40248         (cabs_test): Likewise.
40249         (cacos_test): Use END_COMPLEX macro without arguments.
40250         (cacosh_test): Likewise.
40251         (carg_test): Use END macro without arguments.
40252         (casin_test): Use END_COMPLEX macro without arguments.
40253         (casinh_test): Likewise.
40254         (catan_test): Likewise.
40255         (catanh_test): Likewise.
40256         (cbrt_test): Use END macro without arguments.
40257         (ccos_test): Use END_COMPLEX macro without arguments.
40258         (ccosh_test): Likewise.
40259         (ceil_test): Use END macro without arguments.
40260         (cexp_test): Use END_COMPLEX macro without arguments.
40261         (cimag_test): Use END macro without arguments.
40262         (clog_test): Use END_COMPLEX macro without arguments.
40263         (clog10_test): Likewise.
40264         (conj_test): Likewise.
40265         (copysign_test): Use END macro without arguments.
40266         (cos_test): Likewise.
40267         (cos_test_tonearest): Likewise.
40268         (cos_test_towardzero): Likewise.
40269         (cos_test_downward): Likewise.
40270         (cos_test_upward): Likewise.
40271         (cosh_test): Likewise.
40272         (cosh_test_tonearest): Likewise.
40273         (cosh_test_towardzero): Likewise.
40274         (cosh_test_downward): Likewise.
40275         (cosh_test_upward): Likewise.
40276         (cpow_test): Use END_COMPLEX macro without arguments.
40277         (cproj_test): Likewise.
40278         (creal_test): Use END macro without arguments.
40279         (csin_test): Use END_COMPLEX macro without arguments.
40280         (csinh_test): Likewise.
40281         (csqrt_test): Likewise.
40282         (ctan_test): Likewise.
40283         (ctan_test_tonearest): Likewise.
40284         (ctan_test_towardzero): Likewise.
40285         (ctan_test_downward): Likewise.
40286         (ctan_test_upward): Likewise.
40287         (ctanh_test): Likewise.
40288         (ctanh_test_tonearest): Likewise.
40289         (ctanh_test_towardzero): Likewise.
40290         (ctanh_test_downward): Likewise.
40291         (ctanh_test_upward): Likewise.
40292         (erf_test): Use END macro without arguments.
40293         (erfc_test): Likewise.
40294         (exp_test): Likewise.
40295         (exp_test_tonearest): Likewise.
40296         (exp_test_towardzero): Likewise.
40297         (exp_test_downward): Likewise.
40298         (exp_test_upward): Likewise.
40299         (exp10_test): Likewise.
40300         (exp2_test): Likewise.
40301         (expm1_test): Likewise.
40302         (fabs_test): Likewise.
40303         (fdim_test): Likewise.
40304         (finite_test): Likewise.
40305         (floor_test): Likewise.
40306         (fma_test): Likewise.
40307         (fma_test_towardzero): Likewise.
40308         (fma_test_downward): Likewise.
40309         (fma_test_upward): Likewise.
40310         (fmax_test): Likewise.
40311         (fmin_test): Likewise.
40312         (fmod_test): Likewise.
40313         (fpclassify_test): Likewise.
40314         (frexp_test): Likewise.
40315         (gamma_test): Likewise.
40316         (hypot_test): Likewise.
40317         (ilogb_test): Likewise.
40318         (isfinite_test): Likewise.
40319         (isgreater_test): Likewise.
40320         (isgreaterequal_test): Likewise.
40321         (isinf_test): Likewise.
40322         (isless_test): Likewise.
40323         (islessequal_test): Likewise.
40324         (islessgreater_test): Likewise.
40325         (isnan_test): Likewise.
40326         (isnormal_test): Likewise.
40327         (issignaling_test): Likewise.
40328         (isunordered_test): Likewise.
40329         (j0_test): Likewise.
40330         (j1_test): Likewise.
40331         (jn_test): Likewise.
40332         (ldexp_test): Likewise.
40333         (lgamma_test): Likewise.
40334         (lrint_test): Likewise.
40335         (lrint_test_tonearest): Likewise.
40336         (lrint_test_towardzero): Likewise.
40337         (lrint_test_downward): Likewise.
40338         (lrint_test_upward): Likewise.
40339         (llrint_test): Likewise.
40340         (llrint_test_tonearest): Likewise.
40341         (llrint_test_towardzero): Likewise.
40342         (llrint_test_downward): Likewise.
40343         (llrint_test_upward): Likewise.
40344         (log_test): Likewise.
40345         (log10_test): Likewise.
40346         (log1p_test): Likewise.
40347         (log2_test): Likewise.
40348         (logb_test): Likewise.
40349         (logb_test_downward): Likewise.
40350         (lround_test): Likewise.
40351         (llround_test): Likewise.
40352         (modf_test): Likewise.
40353         (nearbyint_test): Likewise.
40354         (nextafter_test): Likewise.
40355         (nexttoward_test): Likewise.
40356         (pow_test): Likewise.
40357         (pow_test_tonearest): Likewise.
40358         (pow_test_towardzero): Likewise.
40359         (pow_test_downward): Likewise.
40360         (pow_test_upward): Likewise.
40361         (remainder_test): Likewise.
40362         (remainder_test_tonearest): Likewise.
40363         (remainder_test_towardzero): Likewise.
40364         (remainder_test_downward): Likewise.
40365         (remainder_test_upward): Likewise.
40366         (remquo_test): Likewise.
40367         (rint_test): Likewise.
40368         (rint_test_tonearest): Likewise.
40369         (rint_test_towardzero): Likewise.
40370         (rint_test_downward): Likewise.
40371         (rint_test_upward): Likewise.
40372         (round_test): Likewise.
40373         (scalb_test): Likewise.
40374         (scalbn_test): Likewise.
40375         (scalbln_test): Likewise.
40376         (signbit_test): Likewise.
40377         (sin_test): Likewise.
40378         (sin_test_tonearest): Likewise.
40379         (sin_test_towardzero): Likewise.
40380         (sin_test_downward): Likewise.
40381         (sin_test_upward): Likewise.
40382         (sincos_test): Likewise.
40383         (sinh_test): Likewise.
40384         (sinh_test_tonearest): Likewise.
40385         (sinh_test_towardzero): Likewise.
40386         (sinh_test_downward): Likewise.
40387         (sinh_test_upward): Likewise.
40388         (sqrt_test): Likewise.
40389         (tan_test): Likewise.
40390         (tan_test_tonearest): Likewise.
40391         (tan_test_towardzero): Likewise.
40392         (tan_test_downward): Likewise.
40393         (tan_test_upward): Likewise.
40394         (tanh_test): Likewise.
40395         (tgamma_test): Likewise.
40396         (trunc_test): Likewise.
40397         (y0_test): Likewise.
40398         (y1_test): Likewise.
40399         (yn_test): Likewise.
40400         (significand_test): Likewise.
40402 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40404         [BZ #15381]
40405         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40407 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40409         [BZ #14894]
40410         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40411         __ppc_mdoio and __ppc_mdoom.
40412         * manual/platform.texi: Document new functions __ppc_yield,
40413         __ppc_mdoio and __ppc_mdoom.
40415 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40417         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40418         (main): Mention "tls" pseudo-hwcap is legacy.
40419         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40421 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40423         * math/gen-libm-test.pl (parse_args): Output only string of
40424         arguments as text for test name, not full call or descriptions of
40425         tests for extra outputs.
40426         (generate_testfile): Do not pass function name to parse_args.
40427         Generate this_func variable from START.
40428         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40429         field to arg_str.
40430         (struct test_ff_f_data): Likewise.
40431         (test_ff_f_data_nexttoward): Likewise.
40432         (struct test_fi_f_data): Likewise.
40433         (struct test_fl_f_data): Likewise.
40434         (struct test_if_f_data): Likewise.
40435         (struct test_fff_f_data): Likewise.
40436         (struct test_c_f_data): Likewise.
40437         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40438         (struct test_fF_f1_data): Likewise.
40439         (struct test_ffI_f1_data): Likewise.
40440         (struct test_c_c_data): Rename test_name field to arg_str.
40441         (struct test_cc_c_data): Likewise.
40442         (struct test_f_i_data): Likewise.
40443         (struct test_ff_i_data): Likewise.
40444         (struct test_f_l_data): Likewise.
40445         (struct test_f_L_data): Likewise.
40446         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40447         and extra2_name.
40448         (COMMON_TEST_SETUP): New macro.
40449         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40450         (COMMON_TEST_CLEANUP): Likewise.
40451         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40452         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40453         macros.
40454         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40455         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40456         macros.
40457         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40458         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40459         cleanup macros.
40460         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40461         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40462         macros.
40463         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40464         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40465         macros.
40466         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40467         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40468         cleanup macros.
40469         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40470         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40471         cleanup macros.
40472         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40473         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40474         cleanup macros.
40475         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40476         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40477         macros.
40478         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40479         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40480         macros.
40481         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40482         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40483         macros.
40484         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40485         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40486         cleanup macros.
40487         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40488         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40489         cleanup macros.
40490         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40491         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40492         macros.
40493         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40494         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40495         cleanup macros.
40496         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40497         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40498         macros.
40499         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40500         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40501         macros.
40502         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40503         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40504         cleanup macros.
40505         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40507 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40509         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40510         to _sifields.sigfault.
40511         (si_addr_lsb): Define new macro.
40512         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40513         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40516 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40518         [BZ #15441]
40519         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40520         returns -1.
40521         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40522         null return -1.
40523         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40524         loading the domain.
40526 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40528         * math/gen-libm-test.pl (parse_args): Do not include expected
40529         result in test name.
40530         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40532         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40534         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40537 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40539         * benchtests/Makefile: Sort function entries.
40541         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40542         tanh, asinh, acosh, atanh.
40543         * benchtests/acos-inputs: New file.
40544         * benchtests/acosh-inputs: New file.
40545         * benchtests/asin-inputs: New file.
40546         * benchtests/asinh-inputs: New file.
40547         * benchtests/atanh-inputs: New file.
40548         * benchtests/cosh-inputs: New file.
40549         * benchtests/log-inputs: New file.
40550         * benchtests/sinh-inputs: New file.
40551         * benchtests/tanh-inputs: New file.
40553 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40555         [BZ #15339]
40556         * posix/tst-getaddrinfo4.c: New test.
40557         * posix/Makefile (tests): Add it.
40559 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40561         [BZ #15339]
40562         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40563         when no services were used.
40564         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40565         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40567 2013-05-21  Andreas Schwab  <schwab@suse.de>
40569         [BZ #15014]
40570         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40571         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40572         successful.
40573         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40574         redundant variable declarations and reallocation of buffer when
40575         parsing as IPv6 address.  Always set NSS status when called from
40576         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40577         buffer too small.  Correct computation of needed size.
40578         * nss/Makefile (tests): Add test-digits-dots.
40579         * nss/test-digits-dots.c: New test.
40581 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40583         * benchtests/Makefile: Remove instructions for adding
40584         benchmark tests.
40585         * benchtests/README: New file to explain how to execute and
40586         enhance the benchmark tests.
40588 2013-05-21  Andreas Schwab  <schwab@suse.de>
40590         [BZ #15493]
40591         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40592         * setjmp/tst-sigsetjmp.c: New test.
40594 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40596         * sysdeps/x86_64/memset.S (memset): New implementation.
40597         (__bzero): Likewise.
40598         (__memset_tail): New function.
40600 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40602         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40603         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40604         __memcpy_sse2_unaligned ifunc selection.
40605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40606         Add memcpy-sse2-unaligned.S.
40607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40608         Add: __memcpy_sse2_unaligned.
40610 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40612         [BZ #15490]
40613         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40614         math_force_eval before restoring floating-point envrionment.
40615         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40616         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40617         Likewise.
40618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40619         <math_private.h>.
40620         (__nearbyintl): Use math_force_eval before restoring
40621         floating-point environment.
40622         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40624         * math/gen-libm-test.pl (special_functions): Remove.
40625         (parse_args): Don't handle TEST_extra.  Handle functions with no
40626         return value.
40627         * math/libm-test.inc (struct test_sincos_data): Replace with
40628         struct test_fFF_11_data.
40629         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40630         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40631         (sincos_test_data): Change element type to struct
40632         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40633         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40634         RUN_TEST_LOOP_sincos.
40635         * math/README.libm-test: Don't mention special handling of
40636         individual functions.
40637         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40638         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40639         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40640         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40644         * math/gen-libm-test.pl (get_variable): Remove function.
40645         (parse_args): Don't show pointer parameters to call in test
40646         names.  Use "extra output N" in test names for extra outputs
40647         rather than naming variables.
40649 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40651         [BZ #15488]
40652         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40653         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40654         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40655         double tests.
40656         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40657         disable.
40658         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40659         check_long_double.
40661         * math/gen-libm-test.pl (@tests): Remove variable.
40662         ($count): Likewise.
40663         (new_test): Remove function.
40664         (show_exceptions): New function.
40665         (special_functions): Use show_exceptions instead of new_test.
40666         (parse_args): Likewise.
40667         (generate_testfile): Pass only function name in generated call to
40668         print_max_error or print_complex_max_error.
40669         (get_ulps): Do not handle complex tests specially.
40670         (output_test): Rename to ...
40671         (get_all_ulps_for_test): ... this.  Return a string rather than
40672         printing to a file.  Require ulps to be present.
40673         (output_ulps): Generate arrays rather than #defines.
40674         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40675         (struct ulp_data): New type.
40676         (BUILD_COMPLEX_ULP): Remove macro.
40677         (compare_ulp_data): New function.
40678         (find_ulps): Likewise.
40679         (find_test_ulps): Likewise.
40680         (find_function_ulps): Likewise.
40681         (find_complex_function_ulps): Likewise.
40682         (print_max_error): Determine allowed ulps using
40683         find_function_ulps.
40684         (print_complex_max_error): Determine allowed ulps using
40685         find_complex_function_ulps.
40686         (check_float_internal): Determine max ulps using find_test_ulps.
40687         (check_float): Do not take max_ulp parameter.  Update call to
40688         check_float_internal.
40689         (check_complex): Likewise.
40690         (check_int): Do not take max_ulp parameter.
40691         (check_long): Likewise.
40692         (check_bool): Likewise.
40693         (check_longlong): Likewise.
40694         (struct test_f_f_data): Remove max_ulp field.
40695         (struct test_ff_f_data): Likewise.
40696         (struct test_ff_f_data_nexttoward): Likewise.
40697         (struct test_fi_f_data): Likewise.
40698         (struct test_fl_f_data): Likewise.
40699         (struct test_if_f_data): Likewise.
40700         (struct test_fff_f_data): Likewise.
40701         (struct test_c_f_data): Likewise.
40702         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40703         (struct test_fF_f1_data): Likewise.
40704         (struct test_ffI_f1_data): Likewise.
40705         (struct test_c_c_data): Remove max_ulp field.
40706         (struct test_cc_c_data): Likewise.
40707         (struct test_f_i_data): Likewise.
40708         (struct test_ff_i_data): Likewise.
40709         (struct test_f_l_data): Likewise.
40710         (struct test_f_L_data): Likewise.
40711         (struct test_sincos_data): Likewise.
40712         (RUN_TEST_f_f): Do not handle ulps.
40713         (RUN_TEST_LOOP_f_f): Likewise.
40714         (RUN_TEST_2_f): Likewise.
40715         (RUN_TEST_LOOP_2_f): Likewise.
40716         (RUN_TEST_fff_f): Likewise.
40717         (RUN_TEST_LOOP_fff_f): Likewise.
40718         (RUN_TEST_c_f): Likewise.
40719         (RUN_TEST_LOOP_c_f): Likewise.
40720         (RUN_TEST_f_f1): Likewise.
40721         (RUN_TEST_LOOP_f_f1): Likewise.
40722         (RUN_TEST_fF_f1): Likewise.
40723         (RUN_TEST_LOOP_fF_f1): Likewise.
40724         (RUN_TEST_fI_f1): Likewise.
40725         (RUN_TEST_LOOP_fI_f1): Likewise.
40726         (RUN_TEST_ffI_f1): Likewise.
40727         (RUN_TEST_LOOP_ffI_f1): Likewise.
40728         (RUN_TEST_c_c): Likewise.
40729         (RUN_TEST_LOOP_c_c): Likewise.
40730         (RUN_TEST_cc_c): Likewise.
40731         (RUN_TEST_LOOP_cc_c): Likewise.
40732         (RUN_TEST_f_i): Likewise.
40733         (RUN_TEST_LOOP_f_i): Likewise.
40734         (RUN_TEST_f_i_tg): Likewise.
40735         (RUN_TEST_LOOP_f_i_tg): Likewise.
40736         (RUN_TEST_ff_i_tg): Likewise.
40737         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40738         (RUN_TEST_f_b): Likewise.
40739         (RUN_TEST_LOOP_f_b): Likewise.
40740         (RUN_TEST_f_b_tg): Likewise.
40741         (RUN_TEST_LOOP_f_b_tg): Likewise.
40742         (RUN_TEST_f_l): Likewise.
40743         (RUN_TEST_LOOP_f_l): Likewise.
40744         (RUN_TEST_f_L): Likewise.
40745         (RUN_TEST_LOOP_f_L): Likewise.
40746         (RUN_TEST_sincos): Likewise.
40747         (RUN_TEST_LOOP_sincos): Likewise.
40749 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40751         [BZ #15480]
40752         [BZ #15485]
40753         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40754         main case of finite arguments, set rounding mode to FE_TONEAREST
40755         and discard exceptions.
40756         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40757         exceptions.
40758         (remainder_tonearest_test_data): New variable.
40759         (remainder_test_tonearest): New function.
40760         (remainder_towardzero_test_data): New variable.
40761         (remainder_test_towardzero): New function.
40762         (remainder_downward_test_data): New variable.
40763         (remainder_test_downward): New function.
40764         (remainder_upward_test_data): New variable.
40765         (remainder_test_upward): New function.
40766         (main): Call the new test functions.
40768         * math/libm-test.inc (struct test_f_f1_data): Remove field
40769         extra_init.
40770         (struct test_fF_f1_data): Likewise.
40771         (struct test_ffI_f1_data): Likewise.
40772         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40773         based on value of EXTRA_EXPECTED.
40774         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40775         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40776         EXTRA_VAR based on value of EXTRA_EXPECTED.
40777         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40778         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40779         EXTRA_VAR based on value of EXTRA_EXPECTED.
40780         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40781         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40782         EXTRA_VAR based on value of EXTRA_EXPECTED.
40783         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40784         * math/gen-libm-test.pl (parse_args): Don't output initializers
40785         for extra output values.
40787         * math/libm-test.inc (check_int): Expect result to be exactly
40788         equal to expected value and do not handle ulps.
40789         (check_long): Likewise.
40790         (check_longlong): Likewise.
40792         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40793         exceptions.
40794         (cimag_test_data): Likewise.
40795         (conj_test_data): Likewise.
40796         (copysign_test_data): Likewise.
40797         (cproj_test_data): Likewise.
40798         (creal_test_data): Likewise.
40799         (fabs_test_data): Likewise.
40800         (fdim_test_data): Likewise.
40801         (finite_test_data): Likewise.
40802         (floor_test_data): Likewise.
40803         (fmax_test_data): Likewise.
40804         (fmin_test_data): Likewise.
40805         (fmod_test_data): Likewise.
40806         (fpclassify_test_data): Likewise.
40807         (frexp_test_data): Likewise.
40808         (ilogb_test_data): Likewise.
40809         (isfinite_test_data): Likewise.
40810         (isgreater_test_data): Likewise.
40811         (isgreaterequal_test_data): Likewise.
40812         (isinf_test_data): Likewise.
40813         (isless_test_data): Likewise.
40814         (islessequal_test_data): Likewise.
40815         (islessgreater_test_data): Likewise.
40816         (isnan_test_data): Likewise.
40817         (isnormal_test_data): Likewise.
40818         (issignaling_test_data): Likewise.
40819         (isunordered_test_data): Likewise.
40820         (ldexp_test_data): Likewise.
40821         (lrint_test_data): Likewise.
40822         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40823         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40824         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40825         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40826         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40827         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40828         test input.
40829         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40830         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40831         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40832         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40833         that test input.
40834         (lrint_downward_test_data): Test for "inexact" exceptions.
40835         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40836         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40837         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40838         test input.
40839         (lrint_upward_test_data): Test for "inexact" exceptions.
40840         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40841         test input.
40842         (llrint_test_data): Test for "inexact" exceptions.
40843         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40844         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40845         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40846         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40847         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40848         (llrint_downward_test_data): Test for "inexact" exceptions.
40849         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40850         (llrint_upward_test_data): Test for "inexact" exceptions.
40851         (logb_test_data): Likewise.
40852         (logb_downward_test_data): Likewise.
40853         (nextafter_test_data): Likewise.
40854         (nexttoward_test_data): Likewise.
40855         (remainder_test_data): Likewise.
40856         (remquo_test_data): Likewise.
40857         (scalbn_test_data): Likewise.
40858         (scalbln_test_data): Likewise.
40859         (signbit_test_data): Likewise.
40860         (sqrt_test_data): Likewise.
40861         (significand_test_data): Likewise.
40863 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40865         [BZ #15424]
40866         * benchtests/bench-modf.c (struct args): Mark arg0 as
40867         volatile.
40868         * scripts/bench.pl: Mark members of struct args as volatile.
40870 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40872         [BZ # 15497]
40873         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40874         negative infinity on POWER6 or lower.
40875         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40877 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40879         [BZ #15442]
40880         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40881         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40882         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40883         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40884         (_FP_SETQNAN): New macro.
40885         (_FP_SETQNAN_SEMIRAW): Likewise.
40886         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40887         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40888         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40889         (FP_EXTEND): Use _FP_FRAC_SNANP.
40890         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40891         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40892         into account.
40893         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40894         New macro.
40895         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40896         Likewise.
40898 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40900         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40901         with DIVIDE_BY_ZERO_EXCEPTION.
40902         (gamma_test_data): Likewise.
40903         (lgamma_test_data): Likewise.
40904         (log_test_data): Likewise.
40905         (log10_test_data): Likewise.
40906         (log2_test_data): Likewise.
40907         (tgamma_test_data): Likewise.
40909         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40910         (acos_test_tonearest): Likewise.
40911         (acos_test_towardzero): Likewise.
40912         (acos_test_downward): Likewise.
40913         (acos_test_upward): Likewise.
40914         (acosh_test): Likewise.
40915         (asin_test): Likewise.
40916         (asin_test_tonearest): Likewise.
40917         (asin_test_towardzero): Likewise.
40918         (asin_test_downward): Likewise.
40919         (asin_test_upward): Likewise.
40920         (asinh_test): Likewise.
40921         (atan_test): Likewise.
40922         (atanh_test): Likewise.
40923         (atan2_test): Likewise.
40924         (cabs_test): Likewise.
40925         (cacos_test): Likewise.
40926         (cacosh_test): Likewise.
40927         (casin_test): Likewise.
40928         (casinh_test): Likewise.
40929         (catan_test): Likewise.
40930         (catanh_test): Likewise.
40931         (cbrt_test): Likewise.
40932         (ccos_test): Likewise.
40933         (ccosh_test): Likewise.
40934         (cexp_test): Likewise.
40935         (clog_test): Likewise.
40936         (clog10_test): Likewise.
40937         (cos_test): Likewise.
40938         (cos_test_tonearest): Likewise.
40939         (cos_test_towardzero): Likewise.
40940         (cos_test_downward): Likewise.
40941         (cos_test_upward): Likewise.
40942         (cosh_test): Likewise.
40943         (cosh_test_tonearest): Likewise.
40944         (cosh_test_towardzero): Likewise.
40945         (cosh_test_downward): Likewise.
40946         (cosh_test_upward): Likewise.
40947         (cpow_test): Likewise.
40948         (csin_test): Likewise.
40949         (csinh_test): Likewise.
40950         (csqrt_test): Likewise.
40951         (ctan_test): Likewise.
40952         (ctan_test_tonearest): Likewise.
40953         (ctan_test_towardzero): Likewise.
40954         (ctan_test_downward): Likewise.
40955         (ctan_test_upward): Likewise.
40956         (ctanh_test): Likewise.
40957         (ctanh_test_tonearest): Likewise.
40958         (ctanh_test_towardzero): Likewise.
40959         (ctanh_test_downward): Likewise.
40960         (ctanh_test_upward): Likewise.
40961         (erf_test): Likewise.
40962         (erfc_test): Likewise.
40963         (exp_test): Likewise.
40964         (exp_test_tonearest): Likewise.
40965         (exp_test_towardzero): Likewise.
40966         (exp_test_downward): Likewise.
40967         (exp_test_upward): Likewise.
40968         (exp10_test): Likewise.
40969         (exp2_test): Likewise.
40970         (expm1_test): Likewise.
40971         (fmod_test): Likewise.
40972         (gamma_test): Likewise.
40973         (hypot_test): Likewise.
40974         (j0_test): Likewise.
40975         (j1_test): Likewise.
40976         (jn_test): Likewise.
40977         (lgamma_test): Likewise.
40978         (log_test): Likewise.
40979         (log10_test): Likewise.
40980         (log1p_test): Likewise.
40981         (log2_test): Likewise.
40982         (logb_test_downward): Likewise.
40983         (pow_test): Likewise.
40984         (pow_test_tonearest): Likewise.
40985         (pow_test_towardzero): Likewise.
40986         (pow_test_downward): Likewise.
40987         (pow_test_upward): Likewise.
40988         (remainder_test): Likewise.
40989         (remquo_test): Likewise.
40990         (sin_test): Likewise.
40991         (sin_test_tonearest): Likewise.
40992         (sin_test_towardzero): Likewise.
40993         (sin_test_downward): Likewise.
40994         (sin_test_upward): Likewise.
40995         (sincos_test): Likewise.
40996         (sinh_test): Likewise.
40997         (sinh_test_tonearest): Likewise.
40998         (sinh_test_towardzero): Likewise.
40999         (sinh_test_downward): Likewise.
41000         (sinh_test_upward): Likewise.
41001         (sqrt_test): Likewise.
41002         (tan_test): Likewise.
41003         (tan_test_tonearest): Likewise.
41004         (tan_test_towardzero): Likewise.
41005         (tan_test_downward): Likewise.
41006         (tan_test_upward): Likewise.
41007         (tanh_test): Likewise.
41008         (tgamma_test): Likewise.
41009         (y0_test): Likewise.
41010         (y1_test): Likewise.
41011         (yn_test): Likewise.
41013         * math/gen-libm-test.pl (adjust_arg): Remove function.
41014         (special_function): Remove argument $in_func.  Only handle
41015         generating output for tables of tests, not inside functions.
41016         (parse_args): Likewise.
41017         (generate_testfile): Remove variable $in_func.  Update call to
41018         parse_args.
41019         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41020         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41021         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41022         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41023         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41024         (MAX_VALUE_INIT): Rename macro to max_value.
41025         (MIN_VALUE_INIT): Rename macro to min_value.
41026         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41027         (plus_zero): Remove variable.
41028         (minus_zero): Likewise.
41029         (plus_infty): Likewise.
41030         (minus_infty): Likewise.
41031         (qnan_value): Likewise.
41032         (max_value): Likewise.
41033         (min_value): Likewise.
41034         (min_subnorm_value): Likewise.
41036 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41038         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41039         uint64_t or uint32_t usage.
41040         * crypt/sha256-block.c: Likewise.
41041         * crypt/sha256-crypt.c: Likewise.
41042         * crypt/sha256.c: Likewise.
41043         * crypt/sha512-block.c: Likewise.
41044         * crypt/sha512-crypt.c: Likewise.
41045         * crypt/sha512.c: Likewise.
41046         * debug/backtrace-tst.c: Likewise.
41047         * debug/pcprofiledump.c: Likewise.
41048         * elf/cache.c: Likewise.
41049         * elf/dl-cache.c: Likewise.
41050         * elf/dl-misc.c: Likewise.
41051         * elf/dl-profile.c: Likewise.
41052         * elf/dl-support.c: Likewise.
41053         * elf/ldconfig.c: Likewise.
41054         * elf/sprof.c: Likewise.
41055         * iconv/dummy-repertoire.c: Likewise.
41056         * iconv/iconv_charmap.c: Likewise.
41057         * iconv/skeleton.c: Likewise.
41058         * iconvdata/8bit-generic.c: Likewise.
41059         * iconvdata/cp737.h: Likewise.
41060         * iconvdata/cp775.h: Likewise.
41061         * iconvdata/ibm1008.h: Likewise.
41062         * iconvdata/ibm1025.h: Likewise.
41063         * iconvdata/ibm1046.h: Likewise.
41064         * iconvdata/ibm1097.h: Likewise.
41065         * iconvdata/ibm1112.h: Likewise.
41066         * iconvdata/ibm1122.h: Likewise.
41067         * iconvdata/ibm1123.h: Likewise.
41068         * iconvdata/ibm1124.h: Likewise.
41069         * iconvdata/ibm1129.h: Likewise.
41070         * iconvdata/ibm1130.h: Likewise.
41071         * iconvdata/ibm1132.h: Likewise.
41072         * iconvdata/ibm1133.h: Likewise.
41073         * iconvdata/ibm1137.h: Likewise.
41074         * iconvdata/ibm1140.h: Likewise.
41075         * iconvdata/ibm1141.h: Likewise.
41076         * iconvdata/ibm1142.h: Likewise.
41077         * iconvdata/ibm1143.h: Likewise.
41078         * iconvdata/ibm1144.h: Likewise.
41079         * iconvdata/ibm1145.h: Likewise.
41080         * iconvdata/ibm1146.h: Likewise.
41081         * iconvdata/ibm1147.h: Likewise.
41082         * iconvdata/ibm1148.h: Likewise.
41083         * iconvdata/ibm1149.h: Likewise.
41084         * iconvdata/ibm1153.h: Likewise.
41085         * iconvdata/ibm1154.h: Likewise.
41086         * iconvdata/ibm1155.h: Likewise.
41087         * iconvdata/ibm1156.h: Likewise.
41088         * iconvdata/ibm1157.h: Likewise.
41089         * iconvdata/ibm1158.h: Likewise.
41090         * iconvdata/ibm1160.h: Likewise.
41091         * iconvdata/ibm1161.h: Likewise.
41092         * iconvdata/ibm1162.h: Likewise.
41093         * iconvdata/ibm1163.h: Likewise.
41094         * iconvdata/ibm1164.h: Likewise.
41095         * iconvdata/ibm1166.h: Likewise.
41096         * iconvdata/ibm1167.h: Likewise.
41097         * iconvdata/ibm12712.h: Likewise.
41098         * iconvdata/ibm1390.h: Likewise.
41099         * iconvdata/ibm1399.h: Likewise.
41100         * iconvdata/ibm16804.h: Likewise.
41101         * iconvdata/ibm4517.h: Likewise.
41102         * iconvdata/ibm4899.h: Likewise.
41103         * iconvdata/ibm4909.h: Likewise.
41104         * iconvdata/ibm4971.h: Likewise.
41105         * iconvdata/ibm5347.h: Likewise.
41106         * iconvdata/ibm803.h: Likewise.
41107         * iconvdata/ibm856.h: Likewise.
41108         * iconvdata/ibm901.h: Likewise.
41109         * iconvdata/ibm902.h: Likewise.
41110         * iconvdata/ibm9030.h: Likewise.
41111         * iconvdata/ibm9066.h: Likewise.
41112         * iconvdata/ibm921.h: Likewise.
41113         * iconvdata/ibm922.h: Likewise.
41114         * iconvdata/ibm9448.h: Likewise.
41115         * iconvdata/isiri-3342.h: Likewise.
41116         * iconvdata/jis0201.h: Likewise.
41117         * include/link.h: Likewise.
41118         * include/netdb.h: Likewise.
41119         * inet/check_native.c: Likewise.
41120         * inet/check_pf.c: Likewise.
41121         * inet/getipv4sourcefilter.c: Likewise.
41122         * inet/getnameinfo.c: Likewise.
41123         * inet/getsourcefilter.c: Likewise.
41124         * inet/htonl.c: Likewise.
41125         * inet/setipv4sourcefilter.c: Likewise.
41126         * inet/setsourcefilter.c: Likewise.
41127         * inet/test-inet6_opt.c: Likewise.
41128         * inet/tst-network.c: Likewise.
41129         * locale/C-collate.c: Likewise.
41130         * locale/C-ctype.c: Likewise.
41131         * locale/C-time.c: Likewise.
41132         * locale/C-translit.h: Likewise.
41133         * locale/loadarchive.c: Likewise.
41134         * locale/programs/3level.h: Likewise.
41135         * locale/programs/charmap.c: Likewise.
41136         * locale/programs/charmap.h: Likewise.
41137         * locale/programs/ld-address.c: Likewise.
41138         * locale/programs/ld-collate.c: Likewise.
41139         * locale/programs/ld-ctype.c: Likewise.
41140         * locale/programs/ld-identification.c: Likewise.
41141         * locale/programs/ld-measurement.c: Likewise.
41142         * locale/programs/ld-messages.c: Likewise.
41143         * locale/programs/ld-monetary.c: Likewise.
41144         * locale/programs/ld-name.c: Likewise.
41145         * locale/programs/ld-numeric.c: Likewise.
41146         * locale/programs/ld-paper.c: Likewise.
41147         * locale/programs/ld-telephone.c: Likewise.
41148         * locale/programs/ld-time.c: Likewise.
41149         * locale/programs/linereader.c: Likewise.
41150         * locale/programs/locale.c: Likewise.
41151         * locale/programs/locarchive.c: Likewise.
41152         * locale/programs/locfile.h: Likewise.
41153         * locale/programs/repertoire.c: Likewise.
41154         * locale/programs/simple-hash.c: Likewise.
41155         * locale/programs/simple-hash.h: Likewise.
41156         * malloc/memusage.c: Likewise.
41157         * malloc/memusagestat.c: Likewise.
41158         * nis/nis_defaults.c: Likewise.
41159         * nis/nis_hash.c: Likewise.
41160         * nis/nis_print.c: Likewise.
41161         * nis/nis_xdr.c: Likewise.
41162         * nscd/connections.c: Likewise.
41163         * nscd/hstcache.c: Likewise.
41164         * nscd/nscd_gethst_r.c: Likewise.
41165         * nscd/nscd_getserv_r.c: Likewise.
41166         * nscd/nscd_helper.c: Likewise.
41167         * nscd/servicescache.c: Likewise.
41168         * nss/makedb.c: Likewise.
41169         * nss/nss_db/db-XXX.c: Likewise.
41170         * nss/nss_db/db-initgroups.c: Likewise.
41171         * nss/nss_db/db-netgrp.c: Likewise.
41172         * nss/nss_files/files-network.c: Likewise.
41173         * nss/nss_files/files-parse.c: Likewise.
41174         * posix/bug-regex5.c: Likewise.
41175         * posix/fnmatch_loop.c: Likewise.
41176         * posix/regcomp.c: Likewise.
41177         * posix/regexec.c: Likewise.
41178         * posix/tst-rfc3484-2.c: Likewise.
41179         * posix/tst-rfc3484-3.c: Likewise.
41180         * posix/tst-rfc3484.c: Likewise.
41181         * resolv/nss_dns/dns-canon.c: Likewise.
41182         * resolv/nss_dns/dns-network.c: Likewise.
41183         * resolv/res_init.c: Likewise.
41184         * resolv/res_mkquery.c: Likewise.
41185         * resolv/tst-aton.c: Likewise.
41186         * stdlib/cxa_atexit.c: Likewise.
41187         * stdlib/cxa_finalize.c: Likewise.
41188         * stdlib/gen-fpioconst.c: Likewise.
41189         * stdlib/strtol_l.c: Likewise.
41190         * string/tst-endian.c: Likewise.
41191         * sunrpc/auth_des.c: Likewise.
41192         * sunrpc/clnt_udp.c: Likewise.
41193         * sunrpc/rtime.c: Likewise.
41194         * sunrpc/svcauth_des.c: Likewise.
41195         * sunrpc/xdr.c: Likewise.
41196         * sunrpc/xdr_intXX_t.c: Likewise.
41197         * sunrpc/xdr_rec.c: Likewise.
41198         * sysdeps/generic/ldconfig.h: Likewise.
41199         * sysdeps/generic/ldsodefs.h: Likewise.
41200         * sysdeps/generic/memusage.h: Likewise.
41201         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41202         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41203         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41204         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41207         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41208         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41211         * sysdeps/posix/getaddrinfo.c: Likewise.
41212         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41213         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41214         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41215         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41216         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41217         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41218         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41219         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41220         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41221         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41222         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41223         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41224         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41225         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41226         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41227         * sysdeps/x86_64/dl-tls.h: Likewise.
41228         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41229         * time/alt_digit.c: Likewise.
41230         * time/era.c: Likewise.
41231         * wcsmbs/tst-c16c32-1.c: Likewise.
41233 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41235         * math/libm-test.inc (struct test_sincos_data): New type.
41236         (RUN_TEST_LOOP_sincos): New macro.
41237         (sincos_test_data): New variable.
41238         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41240 2013-05-16  Richard Henderson  <rth@redhat.com>
41242         * math/atest-exp2.c (LIMB64): New macro.
41243         (CONSTSZ): New macro.
41244         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41245         (hexdig): Move ...
41246         (print_mpn_fp): ... to function scope.
41247         (read_mpn_hex): Remove.
41248         (get_log2): Remove.
41249         (exp2_mpn): Use mp_log2.
41250         (main): Use mp_exp1.
41252 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41254         * math/libm-test.inc: Remove comment about not testing "inexact"
41255         exceptions.
41256         (INEXACT_EXCEPTION): New macro.
41257         (NO_INEXACT_EXCEPTION): Likewise.
41258         (INVALID_EXCEPTION_OK): Update value.
41259         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41260         (OVERFLOW_EXCEPTION_OK): Likewise.
41261         (UNDERFLOW_EXCEPTION_OK): Likewise.
41262         (IGNORE_ZERO_INF_SIGN): Likewise.
41263         (ERRNO_UNCHANGED): Likewise.
41264         (ERRNO_EDOM): Likewise.
41265         (ERRNO_ERANGE): Likewise.
41266         (test_exceptions): Handle testing "inexact" exceptions.
41267         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41268         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41269         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41270         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41271         INEXACT_EXCEPTION.
41272         (rint_towardzero_test_data): Likewise.
41273         (rint_downward_test_data): Likewise.
41274         (rint_upward_test_data): Likewise.
41276         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41277         with OVERFLOW_EXCEPTION.
41278         (exp10_test_data): Likewise.
41279         (exp2_test_data): Likewise.
41280         (expm1_test_data): Likewise.
41281         (lgamma_test_data): Likewise.
41282         (pow_test_data): Likewise.
41283         (tgamma_test_data): Likewise.
41284         (yn_test_data): Remove duplicate test of overflow.
41286         * math/libm-test.inc (struct test_cc_c_data): New type.
41287         (RUN_TEST_LOOP_cc_c): New macro.
41288         (cpow_test_data): New variable.
41289         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41291         * math/libm-test.inc (struct test_f_L_data): New type.
41292         (RUN_TEST_LOOP_f_L): New macro.
41293         (llrint_test_data): New variable.
41294         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41295         (llrint_tonearest_test_data): New variable.
41296         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41297         (llrint_towardzero_test_data): New variable.
41298         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41299         (llrint_downward_test_data): New variable.
41300         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41301         (llrint_upward_test_data): New variable.
41302         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41303         (llround_test_data): New variable.
41304         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41306 2013-05-13  Peter Collingbourne  <pcc@google.com>
41308         * math/atest-exp2.c (get_log2): Remove const attribute.
41310 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41312         * math/libm-test.inc (struct test_f_l_data): New type.
41313         (RUN_TEST_LOOP_f_l): New macro.
41314         (lrint_test_data): New variable.
41315         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41316         (lrint_tonearest_test_data): New variable.
41317         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41318         (lrint_towardzero_test_data): New variable.
41319         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41320         (lrint_downward_test_data): New variable.
41321         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41322         (lrint_upward_test_data): New variable.
41323         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41324         (lround_test_data): New variable.
41325         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41327 2013-05-15  Peter Collingbourne  <pcc@google.com>
41329         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41330         (EXTRACT_WORDS64) Use where appropriate.
41331         (INSERT_WORDS64) Likewise.
41333         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41334         constraints with x constraints.
41335         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41337         * malloc/obstack.c (_obstack_compat): Add initializer.
41339 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41341         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41342         si_trapno and add si_addr_lsb to _sifields.sigfault.
41343         (si_trapno): Remove macro.
41344         (si_addr_lsb): Define new macro.
41345         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41347 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41349         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41350         instead of TEST_f_l.
41351         (llrint_test_tonearest): Likewise.
41352         (llrint_test_towardzero): Likewise.
41353         (llrint_test_downward): Likewise.
41354         (llrint_test_upward): Likewise.
41355         (llround_test): Likewise.
41357         * math/libm-test.inc (struct test_f_i_data): Add comment.
41358         (RUN_TEST_LOOP_f_b): New macro.
41359         (RUN_TEST_LOOP_f_b_tg): Likewise.
41360         (finite_test_data): New variable.
41361         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41362         (isfinite_test_data): New variable.
41363         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41364         (isinf_test_data): New variable.
41365         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41366         (isnan_test_data): New variable.
41367         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41368         (isnormal_test_data): New variable.
41369         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41370         (issignaling_test_data): New variable.
41371         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41372         (signbit_test_data): New variable.
41373         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41375         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41376         with INVALID_EXCEPTION.
41377         (acosh_test_data): Likewise.
41378         (asin_test_data): Likewise.
41379         (atanh_test_data): Likewise.
41380         (fmod_test_data): Likewise.
41381         (log_test_data): Likewise.
41382         (log10_test_data): Likewise.
41383         (log2_test_data): Likewise.
41384         (pow_test_data): Likewise.
41385         (sqrt_test_data): Likewise.
41386         (y0_test_data): Likewise.
41387         (y1_test_data): Likewise.
41388         (yn_test_data): Likewise.
41390         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41391         function contents.
41393         * math/libm-test.inc (struct test_ff_i_data): New type.
41394         (RUN_TEST_LOOP_ff_i_tg): New macro.
41395         (isgreater_test_data): New variable.
41396         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41397         (isgreaterequal_test_data): New variable.
41398         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41399         (isless_test_data): New variable.
41400         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41401         (islessequal_test_data): New variable.
41402         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41403         (islessgreater_test_data): New variable.
41404         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41405         (isunordered_test_data): New variable.
41406         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41408 2013-05-14  David S. Miller  <davem@davemloft.net>
41410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41412 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41414         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41416         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41417         extra_test to int.
41418         (struct test_f_i_data): Change type of max_ulp to int.
41420         * math/libm-test.inc (test_ffI_f1_data): New type.
41421         (RUN_TEST_LOOP_ffI_f1): New macro.
41422         (remquo_test_data): New variable.
41423         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41425         * setjmp/tst-setjmp-fp.c: New file.
41426         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41427         (link-libm): New variable.
41428         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41430         * math/libm-test.inc (struct test_f_i_data): New type.
41431         (RUN_TEST_LOOP_f_i): New macro.
41432         (RUN_TEST_LOOP_f_i_tg): Likewise.
41433         (fpclassify_test_data): New variable.
41434         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41435         (ilogb_test_data): New variable.
41436         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41438         * math/libm-test.inc (scalbln_test): Correct function name in END
41439         call.
41441         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41442         (RUN_TEST_LOOP_fI_f1): New macro.
41443         (frexp_test_data): New variable.
41444         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41446         * math/libm-test.inc (struct test_fF_f1_data): New type.
41447         (RUN_TEST_LOOP_fF_f1): New macro.
41448         (modf_test_data): New variable.
41449         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41451         * math/libm-test.inc (struct test_f_f1_data): New type.
41452         (RUN_TEST_LOOP_f_f1): New macro.
41453         (gamma_test_data): New variable.
41454         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41455         (lgamma_test_data): New variable.
41456         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41458 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41460         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41461         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41462         (main): Comment "tls" pseudo-hwcap.
41464 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41466         * math/libm-test.inc (struct test_fl_f_data): New type.
41467         (RUN_TEST_LOOP_fl_f): New variable.
41468         (scalbln_test_data): New variable.
41469         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41471         * math/libm-test.inc (struct test_fi_f_data): New type.
41472         (RUN_TEST_LOOP_fi_f): New macro.
41473         (ldexp_test_data): New variable.
41474         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41475         (scalbn_test_data): New variable.
41476         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41478         * math/libm-test.inc (struct test_c_f_data): New type.
41479         (RUN_TEST_LOOP_c_f): New macro.
41480         (cabs_test_data): New variable.
41481         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41482         (carg_test_data): New variable.
41483         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41484         (cimag_test_data): New variable.
41485         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41486         (creal_test_data): New variable.
41487         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41489         * math/libm-test.inc (struct test_if_f_data): New type.
41490         (RUN_TEST_LOOP_if_f): New macro.
41491         (jn_test_data): New variable.
41492         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41493         (yn_test_data): New variable.
41494         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41496         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41498 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41500         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41501         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41503 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41505         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41506         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41507         (bench-deps): Add bench-timing.h.
41508         * benchtests-bench-skeleton.c: Include bench-timing.h.
41509         (main): Use TIMING_* macros instead of clock_gettime.
41510         * benchtests/bench-timing.h: New file.
41512         [BZ #14582]
41513         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41514         Renamed from _LIB_VERSION.
41515         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41517 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41519         * math/libm-test.inc (struct test_fff_f_data): New type.
41520         (RUN_TEST_LOOP_fff_f): New macro.
41521         (fma_test_data): New variable.
41522         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41523         (fma_towardzero_test_data): New variable.
41524         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41525         (fma_downward_test_data): New variable.
41526         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41527         (fma_upward_test_data): New variable.
41528         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41530         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41531         (struct test_c_c_data): New type.
41532         (RUN_TEST_LOOP_c_c): New macro.
41533         (cacos_test_data): New variable.
41534         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41535         (cacosh_test_data): New variable.
41536         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41537         (casin_test_data): New variable.
41538         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41539         (casinh_test_data): New variable.
41540         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41541         (catan_test_data): New variable.
41542         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41543         (catanh_test_data): New variable.
41544         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41545         (ccos_test_data): New variable.
41546         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41547         (ccosh_test_data): New variable.
41548         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41549         (cexp_test_data): New variable.
41550         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41551         (clog_test_data): New variable.
41552         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41553         (clog10_test_data): New variable.
41554         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41555         (conj_test_data): New variable.
41556         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41557         (cproj_test_data): New variable.
41558         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41559         (csin_test_data): New variable.
41560         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41561         (csinh_test_data): New variable.
41562         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41563         (csqrt_test_data): New variable.
41564         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41565         (ctan_test_data): New variable.
41566         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41567         (ctan_tonearest_test_data): New variable.
41568         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41569         (ctan_towardzero_test_data): New variable.
41570         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41571         (ctan_downward_test_data): New variable.
41572         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41573         (ctan_upward_test_data): New variable.
41574         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41575         (ctanh_test_data): New variable.
41576         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41577         (ctanh_tonearest_test_data): New variable.
41578         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41579         (ctanh_towardzero_test_data): New variable.
41580         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41581         (ctanh_downward_test_data): New variable.
41582         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41583         (ctanh_upward_test_data): New variable.
41584         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41585         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41586         of BUILD_COMPLEX.
41588         * math/libm-test.inc (struct test_ff_f_data): New type.
41589         (struct test_ff_f_data_nexttoward): Likewise.
41590         (RUN_TEST_LOOP_2_f): New macro.
41591         (RUN_TEST_LOOP_ff_f): Likewise.
41592         (atan2_test_data): New variable.
41593         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41594         (copysign_test_data): New variable.
41595         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41596         (fdim_test_data): New variable.
41597         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41598         (fmax_test_data): New variable.
41599         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41600         (fmin_test_data): New variable.
41601         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41602         (fmod_test_data): New variable.
41603         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41604         (hypot_test_data): New variable.
41605         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41606         (nextafter_test_data): New variable.
41607         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41608         (nexttoward_test_data): New variable.
41609         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41610         (pow_test_data): New variable.
41611         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41612         (pow_tonearest_test_data): New variable.
41613         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41614         (pow_towardzero_test_data): New variable.
41615         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41616         (pow_downward_test_data): New variable.
41617         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41618         (pow_upward_test_data): New variable.
41619         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41620         (remainder_test_data): New variable.
41621         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41622         (scalb_test_data): New variable.
41623         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41624         * sysdeps/i386/fpu/libm-test-ulps: Update.
41626 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41628         * math/libm-test.inc (fma_test): Use max_value instead of local
41629         variable fltmax.
41630         (nextafter_test): Likewise.
41632         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41633         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41634         (acos_downward_test_data): New variable.
41635         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41636         (acos_upward_test_data): New variable.
41637         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41638         (acosh_test_data): New variable.
41639         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41640         (asin_test_data): New variable.
41641         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41642         (asin_tonearest_test_data): New variable.
41643         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41644         (asin_towardzero_test_data): New variable.
41645         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41646         (asin_downward_test_data): New variable.
41647         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41648         (asin_upward_test_data): New variable.
41649         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41650         (asinh_test_data): New variable.
41651         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41652         (atan_test_data): New variable.
41653         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41654         (atanh_test_data): New variable.
41655         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41656         (cbrt_test_data): New variable.
41657         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41658         (ceil_test_data): New variable.
41659         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41660         (cos_test_data): New variable.
41661         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41662         (cos_tonearest_test_data): New variable.
41663         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41664         (cos_towardzero_test_data): New variable.
41665         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41666         (cos_downward_test_data): New variable.
41667         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41668         (cos_upward_test_data): New variable.
41669         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41670         (cosh_test_data): New variable.
41671         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41672         (cosh_tonearest_test_data): New variable.
41673         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41674         (cosh_towardzero_test_data): New variable.
41675         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41676         (cosh_downward_test_data): New variable.
41677         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41678         (cosh_upward_test_data): New variable.
41679         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41680         (erf_test_data): New variable.
41681         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41682         (erfc_test_data): New variable.
41683         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41684         (exp_test_data): New variable.
41685         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41686         (exp_tonearest_test_data): New variable.
41687         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41688         (exp_towardzero_test_data): New variable.
41689         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41690         (exp_downward_test_data): New variable.
41691         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41692         (exp_upward_test_data): New variable.
41693         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41694         (exp10_test_data): New variable.
41695         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41696         (exp2_test_data): New variable.
41697         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41698         (expm1_test_data): New variable.
41699         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41700         (fabs_test_data): New variable.
41701         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41702         (floor_test_data): New variable.
41703         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41704         (j0_test_data): New variable.
41705         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41706         (j1_test_data): New variable.
41707         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41708         (log_test_data): New variable.
41709         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41710         (log10_test_data): New variable.
41711         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41712         (log1p_test_data): New variable.
41713         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41714         (log2_test_data): New variable.
41715         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41716         (logb_test_data): New variable.
41717         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41718         (logb_downward_test_data): New variable.
41719         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41720         (nearbyint_test_data): New variable.
41721         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41722         (rint_test_data): New variable.
41723         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41724         (rint_tonearest_test_data): New variable.
41725         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41726         (rint_towardzero_test_data): New variable.
41727         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41728         (rint_downward_test_data): New variable.
41729         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41730         (rint_upward_test_data): New variable.
41731         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41732         (round_test_data): New variable.
41733         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41734         (sin_test_data): New variable.
41735         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41736         (sin_tonearest_test_data): New variable.
41737         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41738         (sin_towardzero_test_data): New variable.
41739         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41740         (sin_downward_test_data): New variable.
41741         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41742         (sin_upward_test_data): New variable.
41743         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41744         (sinh_test_data): New variable.
41745         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41746         (sinh_tonearest_test_data): New variable.
41747         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41748         (sinh_towardzero_test_data): New variable.
41749         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41750         (sinh_downward_test_data): New variable.
41751         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41752         (sinh_upward_test_data): New variable.
41753         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41754         (sqrt_test_data): New variable.
41755         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41756         (tan_test_data): New variable.
41757         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41758         (tan_tonearest_test_data): New variable.
41759         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41760         (tan_towardzero_test_data): New variable.
41761         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41762         (tan_downward_test_data): New variable.
41763         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41764         (tan_upward_test_data): New variable.
41765         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41766         (tanh_test_data): New variable.
41767         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41768         (tgamma_test_data): New variable.
41769         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41770         (trunc_test_data): New variable.
41771         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41772         (y0_test_data): New variable.
41773         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41774         (y1_test_data): New variable.
41775         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41776         (significand_test_data): New variable.
41777         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41779 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41781         [BZ #12387]
41782         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41784 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41786         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41788 2013-05-10  Andreas Jaeger  <aj@suse.de>
41790         [BZ #15448]
41791         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41792         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41794 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41796         * math/gen-libm-test.pl (adjust_arg): New function.
41797         (special_functions): Handle generating output in both functions
41798         and arrays.
41799         (parse_args): Likewise.
41800         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41801         $in_func argument to parse_args.
41802         * math/libm-test.inc (struct test_f_f_data): New type.
41803         (IF_ROUND_INIT_): New macro.
41804         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41805         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41806         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41807         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41808         (ROUND_RESTORE_): Likewise.
41809         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41810         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41811         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41812         (ROUND_RESTORE_FE_UPWARD): Likewise.
41813         (RUN_TEST_LOOP_f_f): New macro.
41814         (acos_test_data): New variable.
41815         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41816         (acos_tonearest_test_data): New variable.
41817         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41819 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41821         * benchtests/bench-skeleton.c (startup): Fix coding style.
41823 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41825         [BZ #6809]
41826         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41827         negative infinity argument.
41828         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41829         negative infinity argument.
41830         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41831         negative infinity argument.
41832         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41833         domain errors.
41835 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41837         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41838         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41839         * iconv/iconv_prog.c (main): Likewise.
41840         * locale/programs/charmap-dir.c (charmap_readdir)
41841         (fopen_uncompressed): Likewise.
41842         * locale/programs/locfile.c (siblings_uncached)
41843         (write_locale_data): Use lstat64 instead of lstat.
41844         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41845         stat.
41847 2013-05-10  Andreas Jaeger  <aj@suse.de>
41849         [BZ #15395]
41850         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41851         localization.
41852         Include <locale.h>.
41854 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41856         * elf/dl-close.c (_dl_close_worker): Add comments.
41858 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41860         [BZ #15359]
41861         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41862         high part of pi/2.
41863         (__ieee754_rem_pio2l): Update comments.
41865         [BZ #15429]
41866         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41867         high part of pi/2.
41868         (__ieee754_rem_pio2l): Update comments.
41870         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41871         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41873         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41874         M_PI_4l.
41876         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41877         (M_PI_34_LOG10El): Likewise.
41878         (M_PI2_LOG10El): Likewise.
41879         (M_PI4_LOG10El): Likewise.
41880         (M_PI_LOG10El): Likewise.
41882 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41886 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41888         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41889         (MINUS_ZERO_INIT): Likewise.
41890         (PLUS_INFTY_INIT): Likewise.
41891         (MINUS_INFTY_INIT): Likewise.
41892         (QNAN_VALUE_INIT): Likewise.
41893         (MAX_VALUE_INIT): Likewise.
41894         (MIN_VALUE_INIT): Likewise.
41895         (MIN_SUBNORM_VALUE_INIT): Likewise.
41896         (plus_zero): Initialize with PLUS_ZERO_INIT.
41897         (minus_zero): Initialize with MINUS_ZERO_INIT.
41898         (plus_infty): Initialize with PLUS_INFTY_INIT.
41899         (minus_infty): Initialize with MINUS_INFTY_INIT.
41900         (qnan_value): Initialize with QNAN_VALUE_INIT.
41901         (max_value): Initialize with MAX_VALUE_INIT.
41902         (min_value): Initialize with MIN_VALUE_INIT.
41903         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41905         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41906         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41907         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41908         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41910         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41911         (RUN_TEST_2_f): Likewise.
41912         (RUN_TEST_ff_f): Likewise.
41913         (RUN_TEST_fi_f): Likewise.
41914         (RUN_TEST_fl_f): Likewise.
41915         (RUN_TEST_fff_f): Likewise.
41916         (RUN_TEST_c_f): Likewise.
41917         (RUN_TEST_f_f1): Likewise.
41918         (RUN_TEST_fF_f1): Likewise.
41919         (RUN_TEST_fI_f1): Likewise.
41920         (RUN_TEST_ffI_f1): Likewise.
41921         (RUN_TEST_c_c): Likewise.
41922         (RUN_TEST_cc_c): Likewise.
41923         (RUN_TEST_f_i): Likewise.
41924         (RUN_TEST_f_i_tg): Likewise.
41925         (RUN_TEST_ff_i_tg): Likewise.
41926         (RUN_TEST_f_b): Likewise.
41927         (RUN_TEST_f_b_tg): Likewise.
41928         (RUN_TEST_f_l): Likewise.
41929         (RUN_TEST_f_L): Likewise.
41930         (RUN_TEST_sincos): Likewise.
41931         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41932         whether to show exceptions.  Do not include ");\n" in return
41933         value.
41934         (special_functions): Output call to RUN_TEST_sincos instead of
41935         check_float calls.  Update calls to new_test.
41936         (parse_args): Output call to single RUN_TEST_* macro instead of
41937         check_* calls and other assignments.  Update calls to new_test.
41939         [BZ #2546]
41940         [BZ #2560]
41941         [BZ #5159]
41942         [BZ #15426]
41943         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41944         input to result for tgamma overflow.
41945         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41946         (gamma_coeff): New variable.
41947         (NCOEFF): New macro.
41948         (gamma_positive): New function.
41949         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41950         underflow here.  Use gamma_positive instead of exp (lgamma) for
41951         other arguments.
41952         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41953         (gamma_coeff): New variable.
41954         (NCOEFF): New macro.
41955         (gammaf_positive): New function.
41956         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41957         underflow here.  Use gamma_positive instead of exp (lgamma) for
41958         other arguments.
41959         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41960         (gamma_coeff): New variable.
41961         (NCOEFF): New macro.
41962         (gammal_positive): New function.
41963         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41964         underflow here.  Use gamma_positive instead of exp (lgamma) for
41965         other arguments.
41966         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41967         (gamma_coeff): New variable.
41968         (NCOEFF): New macro.
41969         (gammal_positive): New function.
41970         (__ieee754_gammal_r): Handle positive infinity, overflow and
41971         underflow here.  Handle NaN the same as positive infinity.  Remove
41972         check x < 0xffffffff for negative integers.  Use gamma_positive
41973         instead of exp (lgamma) for other arguments.
41974         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41975         (gamma_coeff): New variable.
41976         (NCOEFF): New macro.
41977         (gammal_positive): New function.
41978         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41979         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41980         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41981         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41982         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41983         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41984         * sysdeps/generic/math_private.h (__gamma_productf): New
41985         prototype.
41986         (__gamma_product): Likewise.
41987         (__gamma_productl): Likewise.
41988         * math/Makefile (libm-calls): Add gamma_product.
41989         * math/libm-test.inc (tgamma_test): Add more tests.
41990         * sysdeps/i386/fpu/libm-test-ulps: Update.
41991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41993 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41995         * benchtests/bench-skeleton.c (main): Preheat CPU.
41997 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41999         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42001 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42003         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42004         and _dl_skip_args_internal.
42006 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42008         * manual/message.texi (Message Translation): Talk about users.
42009         Message to key mapping impacts design.
42011 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42013         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42015         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42017         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42018         * sysdeps/wordsize-64/glob64.c: ... here.
42020         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42021         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42022         New macros.
42024         * debug/getlogin_r_chk.c: Moved to ...
42025         * login/getlogin_r_chk.c: ... here.
42026         * debug/Makefile (routines): Move getlogin_r_chk to ...
42027         * login/Makefile (routines): ... here.
42028         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42029         * login/Versions (libc: GLIBC_2.4): ... here.
42031         * io/poll.c (__poll): Renamed from poll.
42032         Add libc_hidden_def.
42033         (poll): Define as weak alias.
42035         * debug/ptsname_r_chk.c: Moved to ...
42036         * login/ptsname_r_chk.c: ... here.
42037         * debug/Makefile (routines): Move ptsname_r_chk to ...
42038         * login/Makefile (routines): ... here.
42039         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42040         * login/Versions (libc: GLIBC_2.4): ... here.
42042         * posix/getlogin.c: Moved to ...
42043         * login/getlogin.c: ... here.
42044         * posix/getlogin_r.c: Moved to ...
42045         * login/getlogin_r.c: ... here.
42046         * posix/getlogin_r.c: Moved to ...
42047         * login/getlogin_r.c: ... here.
42048         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42049         * login/Makefile (routines): ... here.
42050         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42051         * login/Versions (libc: GLIBC_2.0): ... here.
42053         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42054         (setrlimit): Define as weak alias.
42056         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42057         Call __ names for open, ftruncate, and close.
42058         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42059         (truncate): Define as weak alias.
42061 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42063         * math/gen-libm-test.pl (parse_args): Initialize x before each
42064         test of frexp, modf and remquo.
42066         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42067         test signgam value.
42069 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42071         [BZ #15418]
42072         [BZ #15419]
42073         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42074         internal tests.
42075         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42077 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42079         * elf/dl-writev.h: New file.
42080         * elf/dl-misc.c: Include it.
42081         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42082         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42084 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42086         * math/libm-test.inc (noXFails): Remove variable.
42087         (noXPasses): Likewise.
42088         (BUILD_COMPLEX_INT): Remove macro.
42089         (print_screen): Remove xfail argument.
42090         (print_screen_max_error): Likewise.
42091         (update_stats): Likewise.
42092         (print_max_error): Likewise.  Update calls to other affected
42093         functions.
42094         (print_complex_max_error): Likewise.
42095         (test_single_exception): Update calls to print_screen.
42096         (test_single_errno): Likewise.
42097         (check_float_internal): Remove xfail argument.  Update calls to
42098         other affected functions.
42099         (check_float): Likewise.
42100         (check_complex): Likewise.
42101         (check_int): Likewise.
42102         (check_long): Likewise.
42103         (check_bool): Likewise.
42104         (check_longlong): Likewise.
42105         (main): Don't print noXFails and noXPasses.
42106         * math/gen-libm-test.pl (top level): Don't mention expected
42107         failure handling in comment.
42108         (new_test): Don't handle expected failures.
42109         (parse_args): Don't mention expected failure handling in comment.
42110         (generate_testfile): Don't handle expected failures.
42111         (parse_ulps): Likewise.
42112         (print_ulps_file): Likewise.
42113         (get_failure): Remove function.
42114         (output_test): Don't handle expected failures.
42115         * make/README.libm-test: Don't mention expected failure handling.
42117         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42118         (minus_zero): Likewise.
42119         (plus_infty): Likewise.
42120         (minus_infty): Likewise.
42121         (qnan_value): Likewise.
42122         (max_value): Likewise.
42123         (min_value): Likewise.
42124         (min_subnorm_value): Likewise.
42125         (initialize): Do not initialize those variables dynamically.
42127 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42129         * io/open.c (__open_2): Moved to ...
42130         * io/open_2.c: ... this new file.
42131         * io/open64.c (__open64_2): Moved to ...
42132         * io/open64_2.c: ... this new file.
42133         * io/openat.c (__openat_2): Moved to ...
42134         * io/openat_2.c: ... this new file.
42135         * io/openat64.c (__openat64_2): Moved to ...
42136         * io/openat64_2.c: ... this new file.
42137         * io/Makefile (routines): Add them.
42138         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42139         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42140         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42141         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42142         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42143         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42144         (__openat64): Add hidden_ver.
42145         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42146         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42148         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42149         Separately conditionalize setting of GLRO(dl_sysinfo) so
42150         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42151         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42153 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42155         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42157         definition.
42158         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42159         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42160         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42161         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42162         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42164 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42166         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42167         test signgam value.
42169         * math/libm-test.inc (hypot_test): Do not use
42170         IGNORE_ZERO_INF_SIGN.
42172 2013-05-03  Andreas Jaeger  <aj@suse.de>
42174         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42175         Linux 3.9.
42176         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42177         (PF_MAX): Adjust for VSOCK change.
42179 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42183 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42185         [BZ #15264]
42186         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42187         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42188         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42190 2013-05-02  David S. Miller  <davem@davemloft.net>
42192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42194 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42196         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42198 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42200         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42202 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42204         [BZ #14952]
42205         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42206         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42207         Use __attribute__ ((__gnu_inline__)).
42208         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42209         Don't use __attribute__ ((__gnu_inline__)).
42211 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42213         [BZ #15423]
42214         * math/s_catan.c (__catan): Handle small real or imaginary part of
42215         input specially to avoid spurious underflow.
42216         * math/s_catanf.c (__catanf): Likewise.
42217         * math/s_catanh.c (__catanh): Likewise.
42218         * math/s_catanhf.c (__catanhf): Likewise.
42219         * math/s_catanhl.c (__catanhl): Likewise.
42220         * math/s_catanl.c (__catanl): Likewise.
42221         * math/libm-test.inc (catan_test): Add more tests.
42222         (catanh_test): Likewise.
42223         * sysdeps/i386/fpu/libm-test-ulps: Update.
42224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42226 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42230 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42232         [BZ #15416]
42233         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42234         accurately for denominator in atan2.
42235         * math/s_catanf.c (__catanf): Likewise.
42236         * math/s_catanh.c (__catanh): Likewise.
42237         * math/s_catanhf.c (__catanhf): Likewise.
42238         * math/s_catanhl.c (__catanhl): Likewise.
42239         * math/s_catanl.c (__catanl): Likewise.
42240         * math/libm-test.inc (catan_test): Add more tests.
42241         (catanh_test): Likewise.
42242         * sysdeps/i386/fpu/libm-test-ulps: Update.
42243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42245 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42247         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42249         * benchtests/Makefile (bench): Remove slow benchmarks.
42250         * benchtests/atan-inputs: Add slow benchmark inputs.
42251         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42252         (BENCH_FUNC): Accept variant offset.
42253         (VARIANT): Define.
42254         * benchtests/bench-skeleton.c (main): Run benchmark for each
42255         variant.
42256         * benchtests/cos-inputs: Add slow benchmark inputs.
42257         * benchtests/exp-inputs: Likewise.
42258         * benchtests/pow-inputs: Likewise.
42259         * benchtests/sin-inputs: Likewise.
42260         * benchtests/slowatan-inputs: Remove.
42261         * benchtests/slowatan.c: Remove.
42262         * benchtests/slowcos-inputs: Remove.
42263         * benchtests/slowcos.c: Remove.
42264         * benchtests/slowexp-inputs: Remove.
42265         * benchtests/slowexp.c: Remove.
42266         * benchtests/slowpow-inputs: Remove.
42267         * benchtests/slowpow.c: Remove.
42268         * benchtests/slowsin-inputs: Remove.
42269         * benchtests/slowsin.c: Remove.
42270         * benchtests/slowtan-inputs: Remove.
42271         * benchtests/slowtan.c: Remove.
42272         * benchtests/tan-inputs: Add slow benchmark inputs.
42273         * scripts/bench.pl: Parse comments and directives.
42275         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42276         in CPPFLAGS.
42277         ($(objpfx)bench-%.c): Remove *-ITER.
42278         * benchtests/bench-modf.c: Remove definition of ITER.
42279         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42280         (main): Loop for DURATION seconds instead of fixed number of
42281         iterations.
42282         * scripts/bench.pl: Don't expect iterations in parameters.
42284 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42286         * io/fchdir.c (__fchdir): Renamed from fchdir.
42287         (fchdir): Define as weak alias.
42289 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42291         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42292         (ERRNO_EDOM): Likewise.
42293         (ERRNO_ERANGE): Likewise.
42294         (noErrnoTests): New variable.
42295         (init_max_error): Set errno to 0.
42296         (test_single_errno): New function.
42297         (test_errno): Likewise.
42298         (check_float_internal): Call test_errno.  Set errno to 0.
42299         (check_complex): Refer to errno tests in comment.
42300         (check_int): Call test_errno.  Set errno to 0.
42301         (check_long): Likewise.
42302         (check_bool): Likewise.
42303         (check_longlong): Likewise.
42304         (cos_test): Use ERRNO_* flags for errno tests instead of
42305         check_int.
42306         (expm1_test): Likewise.
42307         (fmod_test): Likewise.
42308         (ilogb_test): Likewise.
42309         (lgamma_test): Likewise.
42310         (pow_test): Likewise.
42311         (remainder_test): Likewise.
42312         (sin_test): Likewise.
42313         (tan_test): Likewise.
42314         (yn_test): Likewise.
42315         (initialize): Set errno to 0.
42316         (main): Print number of errno tests.
42317         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42319 2013-04-29  Andreas Jaeger  <aj@suse.de>
42321         [BZ #15084]
42322         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42323         and RES_USEVC.
42325         [BZ #15085]
42326         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42327         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42328         unimplemented.
42330         [BZ #15380]
42331         * stdlib/random.c (__initstate): Return NULL if
42332         __initstate fails.
42334         [BZ #15086]
42335         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42336         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42337         RES_SNGLKUPREOP.
42339 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42343 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42345         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42346         of individual tests.
42347         (casin_test): Likewise.
42348         (casinh_test): Likewise.
42350 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42352         [BZ #15409]
42353         * math/s_catan.c (__catan): Handle arguments with large real or
42354         imaginary part separately without squaring.
42355         * math/s_catanf.c (__catanf): Likewise.
42356         * math/s_catanh.c (__catanh): Likewise.
42357         * math/s_catanhf.c (__catanhf): Likewise.
42358         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42359         and redefine.
42360         (__catanhl): Handle arguments with large real or imaginary part
42361         separately without squaring.
42362         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42363         and redefine.
42364         (__catanl): Handle arguments with large real or imaginary part
42365         separately without squaring.
42366         * math/libm-test.inc (catan_test): Add more tests.
42367         (catanh_test): Likewise.
42368         * sysdeps/i386/fpu/libm-test-ulps: Update.
42369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42371 2013-04-27  Andreas Jaeger  <aj@suse.de>
42373         [BZ #15007]
42374         * stdlib/stdlib.h: Update guards for qecvt.
42375         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42376         <stdlib.h>.
42378 2013-04-27  Allan McRae  <allan@archlinux.org>
42380         * sysdeps/i386/fpu/libm-test-ulps: Update.
42382 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42384         [BZ #15406]
42385         * math/s_catan.c: Include <float.h>.
42386         (__catan): Ensure underflow exception occurs for underflowed
42387         result.
42388         * math/s_catanf.c: Include <float.h>.
42389         (__catanf): Ensure underflow exception occurs for underflowed
42390         result.
42391         * math/s_catanh.c: Include <float.h>.
42392         (__catanh): Ensure underflow exception occurs for underflowed
42393         result.
42394         * math/s_catanhf.c: Include <float.h>.
42395         (__catanhf): Ensure underflow exception occurs for underflowed
42396         result.
42397         * math/s_catanhl.c: Include <float.h>.
42398         (__catanhl): Ensure underflow exception occurs for underflowed
42399         result.
42400         * math/s_catanl.c: Include <float.h>.
42401         (__catanl): Ensure underflow exception occurs for underflowed
42402         result.
42403         * math/libm-test.inc (catan_test): Add more tests.
42404         (catanh_test): Likewise.
42406         [BZ #15405]
42407         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42408         underflowed result.
42409         * math/s_ccoshf.c (__ccoshf): Likewise.
42410         * math/s_ccoshl.c (__ccoshl): Likewise.
42411         * math/s_csin.c (__csin): Likewise.
42412         * math/s_csinf.c (__csinf): Likewise.
42413         * math/s_csinh.c (__csinh): Likewise.
42414         * math/s_csinhf.c (__csinhf): Likewise.
42415         * math/s_csinhl.c (__csinhl): Likewise.
42416         * math/s_csinl.c (__csinl): Likewise.
42417         * math/libm-test.inc (ccos_test): Add more tests.
42418         (ccosh_test): Likewise.
42419         (csin_test): Likewise.
42420         (csinh_test): Likewise.
42422 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42424         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42425         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42426         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42427         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42428         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42429         powerpc/power5+/fpu folders.
42430         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42433 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42437 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42439         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42440         additions to variable.
42441         [$(config-machine) = x86_64] (modules-names): Likewise.
42442         ($(objpfx)tst-audit3): Remove dependency.
42443         ($(objpfx)tst-audit3.out): Likewise.
42444         ($(objpfx)tst-audit4): Likewise.
42445         ($(objpfx)tst-audit4.out): Likewise.
42446         ($(objpfx)tst-audit5): Likewise.
42447         ($(objpfx)tst-audit5.out): Likewise.
42448         ($(objpfx)tst-audit6): Likewise.
42449         ($(objpfx)tst-audit6.out): Likewise.
42450         ($(objpfx)tst-audit7): Likewise.
42451         ($(objpfx)tst-audit7.out): Likewise.
42452         (tst-audit3-ENV): Remove variable.
42453         (tst-audit4-ENV): Likewise.
42454         (tst-audit5-ENV): Likewise.
42455         (tst-audit6-ENV): Likewise.
42456         (tst-audit7-ENV): Likewise.
42457         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42458         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42459         addition to variable.
42460         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42461         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42462         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42463         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42464         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42465         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42466         tst-audit3, tst-audit4 and tst-audit5.
42467         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42468         tst-audit6 and tst-audit7.
42469         [$(subdir) = elf] (modules-names): Add audit modules for those
42470         tests.
42471         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42472         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42473         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42474         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42475         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42476         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42477         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42478         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42479         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42480         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42481         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42482         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42483         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42484         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42485         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42486         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42487         Likewise.
42488         [$(subdir) = elf && $(config-cflags-avx) = yes]
42489         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42490         [$(subdir) = elf && $(config-cflags-avx) = yes]
42491         (CFLAGS-tst-auditmod4a.c): Likewise.
42492         [$(subdir) = elf && $(config-cflags-avx) = yes]
42493         (CFLAGS-tst-auditmod4b.c): Likewise.
42494         [$(subdir) = elf && $(config-cflags-avx) = yes]
42495         (CFLAGS-tst-auditmod6b.c): Likewise.
42496         [$(subdir) = elf && $(config-cflags-avx) = yes]
42497         (CFLAGS-tst-auditmod6c.c): Likewise.
42498         [$(subdir) = elf && $(config-cflags-avx) = yes]
42499         (CFLAGS-tst-auditmod7b.c): Likewise.
42500         * elf/tst-audit3.c: Move to ...
42501         * sysdeps/x86_64/tst-audit3.c: ... here.
42502         * elf/tst-audit4.c: Move to ...
42503         * sysdeps/x86_64/tst-audit4.c: ... here.
42504         * elf/tst-audit5.c: Move to ...
42505         * sysdeps/x86_64/tst-audit5.c: ... here.
42506         * elf/tst-audit6.c: Move to ...
42507         * sysdeps/x86_64/tst-audit6.c: ... here.
42508         * elf/tst-audit7.c: Move to ...
42509         * sysdeps/x86_64/tst-audit7.c: ... here.
42510         * elf/tst-auditmod3a.c: Move to ...
42511         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42512         * elf/tst-auditmod3b.c: Move to ...
42513         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42514         * elf/tst-auditmod4a.c: Move to ...
42515         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42516         * elf/tst-auditmod4b.c: Move to ...
42517         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42518         * elf/tst-auditmod5a.c: Move to ...
42519         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42520         * elf/tst-auditmod5b.c: Move to ...
42521         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42522         * elf/tst-auditmod6a.c: Move to ...
42523         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42524         * elf/tst-auditmod6b.c: Move to ...
42525         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42526         * elf/tst-auditmod6c.c: Move to ...
42527         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42528         * elf/tst-auditmod7a.c: Move to ...
42529         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42530         * elf/tst-auditmod7b.c: Move to ...
42531         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42533 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42535         [BZ #15366]
42536         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42537         define unconditionally.
42538         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42539         define unconditionally.
42540         (INT8_C, INT16_C, etc.): Likewise.
42542 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42544         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42545         __ehdr_start with hidden visibility.
42547         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42549 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42551         * math/libm-test.inc (cos_test): Use accurate hex constants.
42552         (sincost_test): Likewise.
42554 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42556         * math/libm-test.inc (catan_test): Add more tests.
42557         (catanh_test): Likewise.
42559         * math/s_catanf.c (__catanf): Use suffixed floating-point
42560         constants.
42561         * math/s_catanhf.c (__catanhf): Likewise.
42562         * math/s_catanhl.c (__catanhl): Likewise.
42563         * math/s_catanl.c (__catanl): Likewise.
42565         [BZ #15394]
42566         * math/s_catan.c (__catan): Calculate imaginary part of result
42567         with log1p not log unless computing log of number close to 0.
42568         * math/s_catanf.c (__catanf): Likewise.
42569         * math/s_catanl.c (__catanl): Likewise.
42570         * math/s_catanh.c (__catanh): Calculate real part of result with
42571         log1p not log unless computing log of number close to 0.
42572         * math/s_catanhf.c (__catanhf): Likewise.
42573         * math/s_catanhl.c (__catanhl): Likewise.
42574         * math/libm-test.inc (catan_test): Add more tests.
42575         (catanh_test): Likewise.
42576         * sysdeps/i386/fpu/libm-test-ulps: Update.
42577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42579 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42581         * benchtests/Makefile: Mention files in which fast and slow
42582         paths of math functions are implemented.
42584 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42586         * sysdeps/posix/timespec_get.c: New file.
42588 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42590         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42591         POWER.
42592         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42593         for POWER.
42594         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42595         powerpc/power5/fpu folders.
42596         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42597         * benchtests/Makefile: Add modf testcase.
42598         * benchtests/bench-modf.c: New file: Benchmark test for mo
42600 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42602         [BZ #14888]
42603         * time/Makefile (tests): Add tst-strptime-whitespace.
42604         * time/strptime_l.c (get_number): Use ISSPACE.
42605         (__strptime_internal): Likewise.
42606         * time/tst-strptime-whitespace.c: New test case.
42608 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42610         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42611         member.
42612         (_nss_files_init): Set it here.
42614 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42616         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42617         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42618         unsigned.
42620 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42622         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42624 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42626         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42627         size just once.
42629 2013-04-21  David S. Miller  <davem@davemloft.net>
42631         * po/ru.po: Update Russion translation from translation project.
42633 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42635         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42636         and setfsgid.
42638 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42640         * configure.in: Remove i386 configure warning. Remove i386 case.
42641         * configure: Regenerate.
42642         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42643         Add example to error message.
42644         * sysdeps/i386/configure: Regenerate.
42646 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42648         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42649         slowtan.
42650         * benchtests/cos-inputs: New file.
42651         * benchtests/slowcos-inputs: New file.
42652         * benchtests/slowcos.c: New file.
42653         * benchtests/slowtan-inputs: New file.
42654         * benchtests/slowtan.c: New file.
42655         * benchtests/tan-inputs: New file.
42657 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42659         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42660         considered kosher.
42662 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42664         * benchtests/Makefile: Include cppflags-iterator.mk to add
42665         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42667         * Makefile.in (bench-clean): New target.
42668         * benchtests/Makefile (bench-clean): Likewise.
42670 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42672         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42674 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42676         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42678 2013-04-15  Andreas Schwab  <schwab@suse.de>
42680         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42681         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42682         * nscd/pwdcache.c (cache_addpw): Likewise.
42683         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42684         more than recsize.
42686 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42688         * benchtests/Makefile (bench): Write all output to
42689         bench-out.tmp together.
42691 2013-04-15  Andreas Schwab  <schwab@suse.de>
42693         * nscd/nscd.c (main): Don't fork again after closing files.
42695 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42697         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42699         * benchtests/Rules (bench-deps): Collect dependencies into a
42700         single variable.  Add Makefile to dependencies.
42701         ($(objpfx)bench-%.c): Depend on bench-deps.
42703 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42704             Xavier Roche  <roche+kml2@exalead.com>
42706         [BZ #15361]
42707         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42708         just that it's a file descriptor.
42709         * manual/llio.texi (Synchronizing AIO Operations): Update description
42710         for EBADF error from aio_fsync.
42712 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42714         * Rules (bench): Move target definition...
42715         * benchtests/Makefile: ... here.
42717 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42719         * math/libm-test.inc (cos_test): Fix PI/2 test.
42720         (sincos_test): Likewise.
42721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42722         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42724 2013-04-11  Andreas Schwab  <schwab@suse.de>
42726         [BZ #13988]
42727         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42728         accept exponent character only when digits were seen.
42729         * stdio-common/Makefile (tests): Add bug26.
42730         * stdio-common/bug26.c: New file.
42732         [BZ #14293]
42733         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42734         non-freeable.
42736 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42738         * Makeconfig (rtld-prefix): Define built linker prefix.
42739         * Rules (run-bench): Use it.
42740         * math/Makefile (run-regen-ulps): Likewise.
42742         * Rules (bench): Remove eval.
42744 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42745             Roland McGrath  <roland@hack.frob.com>
42746             Ondrej Bilka  <neleai@seznam.cz>
42748         [BZ #15346]
42749         * time/getdate.c: Include ctype.h and alloca.h.
42750         (__getdate_r): Trim leading and trailing spaces of input.
42751         * time/tst-getdate.c (tests): Add tests with leading and
42752         trailing spaces.
42754 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42756         [BZ #14280]
42757         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42758         when computing value.
42760 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42762         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42763         Use testrun.sh to run libm tests.
42765         [BZ #15309]
42766         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42768 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42770         [BZ #15264]
42771         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42773 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42775         * Makefile.in (regen-ulps): New target.
42776         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42777         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42778         [ifneq (no,$(PERL)] (regen-ulps): New target.
42779         [ifeq (no,$(PERL)] (regen-ulps): New target.
42780         * math/libm-test.inc (ulps_file_name): Define.
42781         (output_dir): New variable.
42782         (options): Add "output-dir" option.
42783         (parse_opt): Handle 'o' case.
42784         (main): If output_dir is non-NULL use it as a prefix
42785         otherwise use "".
42786         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42788 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42790         [BZ #10060, #10062]
42791         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42792         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42793         fail configure if __sync_val_compare_and_swap is not inlined.
42794         * sysdeps/i386/configure: Regenerate.
42795         * configure.in: Build for i686 when configured for i386.
42796         * configure: Regenerate.
42797         * README: Remove i386 reference.
42799 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42801         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42802         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42804 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42806         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42807         (lmsnanval): New variables.
42808         (F): Add conversion tests.
42809         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42810         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42812         * stdio-common/tstdiomisc.c (F): Properly collect individual
42813         tests' results.
42815         [BZ #14686, #15336]
42816         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42817         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42818         Instead, use input NaN values or generate a qNaN by arithmetic
42819         operation.  Also fix bugs to comply with the standard.
42820         * math/libm-test.inc (remainder_test): Add more tests.
42822         [BZ #15335, #15342]
42823         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42825         input NaN values or generate a qNaN by arithmetic operation.
42827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42828         unreachable code.
42830         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42831         definitions.
42833 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42835         [BZ #14478]
42836         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42837         underflowed result.
42838         * math/s_cexpf.c (__cexpf): Likewise.
42839         * math/s_cexpl.c (__cexpl): Likewise.
42840         * math/libm-test.inc (cexp_test): Add more tests.
42842 2013-04-03  Andreas Schwab  <schwab@suse.de>
42844         [BZ #15330]
42845         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42846         order arrays from heap if bigger than alloca cutoff.
42848 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42850         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42851         (SNAN_TESTS_double): Refer to GCC PR56831.
42852         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42853         GCC PR56828.
42855 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42857         * Rules (bench): Move bench.out after the run is complete.
42859         * Rules (bench): Echo currently running benchmark.
42861         * benchtests/Makefile (bench): Add atan and slowatan.
42862         * benchtests/atan-inputs: New file.
42863         * benchtests/slowatan-inputs: New file.
42864         * benchtests/slowatan.c: New file.
42866         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42867         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42868         its value.
42870         [BZ #15305]
42871         * sysdeps/unix/sysv/linux/kernel-features.h
42872         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42873         __ASSUME_XFS_RESTRICTED_CHOWN.
42874         * sysdeps/unix/sysv/linux/pathconf.c
42875         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42876         Save and restore errno.
42878 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42880         [BZ #15327]
42881         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42882         arguments using __kernel_casinh.
42883         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42884         arguments using __kernel_casinhf.
42885         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42886         arguments using __kernel_casinhl.
42887         * math/libm-test.inc (cacosh_test): Add more tests.
42888         * sysdeps/i386/fpu/libm-test-ulps: Update.
42889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42891 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42893         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42896         * bench/Makefile (bench): Add sin and slowsin.
42897         * benchtests/sin-inputs: New file.
42898         * benchtests/slowsin-inputs: New file.
42899         * benchtests/slowsin.c: New file.
42901         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42902         (bench): Add slowexp and slowpow.
42903         (exp-ITER): Increase iterations.
42904         (pow-ITER): Likewise.
42905         * benchtests/exp-inputs: Change input.
42906         * benchtests/pow-inputs: Likewise.
42907         * benchtests/slowexp-inputs: New file.
42908         * benchtests/slowexp.c: New file.
42909         * benchtests/slowpow-inputs: New file.
42910         * benchtests/slowpow.c: New file.
42912 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42914         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42915         instructions.
42916         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42917         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42918         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42919         * benchtests/Makefile: Add rint benchtest.
42920         * benchtests/rint-inputs: Input for rint benchtest.
42922 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42924         * Versions.def (libm): Add GLIBC_2.18.
42925         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42926         hidden libm prototypes.
42927         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42928         * math/Makefile (libm-calls): Add s_issignaling.
42929         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42930         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42931         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42932         declaration.
42933         * math/math.h [__USE_GNU] (issignaling): New macro.
42934         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42935         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42937         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42938         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42939         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42940         * manual/arith.texi (issignaling): New section.
42941         * manual/libm-err-tab.pl (@all_functions): Update comment.
42942         * math/gen-libm-test.pl (parse_args): Apply special handling for
42943         issignaling.
42944         * math/libm-test.inc (print_float, issignaling_test): New
42945         functions.
42946         (check_float_internal): Add issignaling checks.
42947         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42948         default definition.
42949         * sysdeps/powerpc/math-tests.h: New file.
42950         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42951         tests.
42952         * math/test-snan.c (TEST_FUNC): Likewise.
42954 2013-03-30  David S. Miller  <davem@davemloft.net>
42956         * po/de.po: Update from translation team.
42958 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42960         [BZ #10357]
42961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42962         imaginary part less than 1.0 and real part less than 0.5
42963         specially.
42964         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42965         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42966         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42967         (cacos_test): Add more tests.
42968         (casin_test): Likewise.
42969         (casinh_test): Likewise.
42970         * sysdeps/i386/fpu/libm-test-ulps: Update.
42971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42973 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42975         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42976         ONE with its value.
42978         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42979         (__pow_mp): Replace ONE and MONE with their values.
42980         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42981         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42982         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42983         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42984         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42985         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42987         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42989         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42990         (__pow_mp): Replace ZERO and MZERO with their values.
42991         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42993         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42994         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42995         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42996         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42997         (__sqr): Likewise.
42999         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43001         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43003 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43005         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43006         Declare with __attribute__ ((weak)).
43007         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43008         Call __call_tls_dtors only if it's not NULL.
43010 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43012         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43013         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43014         magic __ehdr_start linker symbol if it's defined.
43015         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43016         them up here if it was already done.
43018         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43019         (_dl_aux_init): Use const in cast when setting it.
43020         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43021         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43022         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43024         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43025         Declare them here.
43026         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43027         * csu/libc-tls.c: Nor here.
43028         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43030         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43031         (__libc_message): Never call vsyslog.
43033 2013-03-28  Alan Modra  <amodra@gmail.com>
43035         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43036         Define as empty.
43037         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43038         Likewise.
43040 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43042         [BZ #15214]
43043         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43044         underflow.
43045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43047 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43049         [BZ #15304]
43050         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43051         Don't add gid passed as argument.
43053         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43055 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43057         [BZ #15307]
43058         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43059         imaginary part between 1.0 and 1.5 and real part less than 0.5
43060         specially.
43061         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43062         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43063         * math/libm-test.inc (cacos_test): Add more tests.
43064         (casin_test): Likewise.
43065         (casinh_test): Likewise.
43066         * sysdeps/i386/fpu/libm-test-ulps: Update.
43067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43069 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43071         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43072         constants.
43073         (norm): Likewise.
43074         (denorm): Likewise.
43075         (__dbl_mp): Likewise.
43076         (add_magnitudes): Likewise.
43077         (sub_magnitudes): Likewise.
43078         (__add): Likewise.
43079         (__sub): Likewise.
43080         (__mul): Likewise.
43081         (__sqr): Likewise.
43082         (__inv): Likewise.
43083         (__dvd): Likewise.
43085         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43086         commented code.
43087         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43088         (__dubcos): Likewise.
43089         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43090         (__ieee754_acos): Likewise.
43091         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43092         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43093         (__exp1): Likewise.
43094         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43096         (log1): Likewise.
43097         (my_log2): Likewise.
43098         (checkint): Likewise.
43099         * sysdeps/ieee754/dbl-64/e_remainder.c
43100         (__ieee754_remainder): Likewise.
43101         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43103         (bsloww): Likewise.
43104         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43106         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43107         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43108         MANTISSA_STORE_T to store computations on mantissa.  Use
43109         macros for rounding and division.
43110         (denorm): Likewise.
43111         (__dbl_mp): Likewise.
43112         (add_magnitudes): Likewise.
43113         (sub_magnitudes): Likewise.
43114         (__mul): Likewise.
43115         (__sqr): Likewise.
43116         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43117         powers of two in terms of TWOPOW macro.
43118         (mp_no): Make type of mantissa as MANTISSA_T.
43119         [!RADIXI]: Define RADIXI.
43120         [!TWO52]: Define TWO52.
43121         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43123 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43125         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43126         llroundl symbol when building for PPC32.
43128 2013-03-24  Mark H Weaver  <mhw@netris.org>
43130         * manual/arith.texi (Normalization Functions): Fix prototypes for
43131         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43133 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43135         [BZ #13889]
43136         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43137         high value to check if expl overflow.
43138         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43139         to check for underflow and overflow.
43140         * math/libm-test.inc: Add exp test.
43142 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43144         [BZ #11120]
43145         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43146         with NOT_IN_libc.
43148 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43150         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43151         symbol.
43153 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43155         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43156         wrap blocks consisting of several statements.
43158         * sysdeps/generic/math-tests.h: New file.
43159         * sysdeps/i386/fpu/math-tests.h: Likewise.
43160         * math/test-snan.c: Include it.
43161         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43163 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43165         [BZ #15285]
43166         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43167         (__ieee754_j0l): Do not improve calculations using cos of twice
43168         input for inputs above LDBL_MAX / 2.0L.
43169         (__ieee754_y0l): Likewise.
43170         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43171         (__ieee754_j1l): Do not improve calculations using cos of twice
43172         input for inputs above LDBL_MAX / 2.0L.
43173         (__ieee754_y1l): Likewise.
43174         * math/libm-test.inc (j0_test): Add another test.
43175         (j1_test): Likewise.
43176         (y0_test): Likewise.
43177         (y1_test): Likewise.
43178         * sysdeps/i386/fpu/libm-test-ulps: Update.
43180 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43182         * Rules ($(objpfx)bench-%.c): Include code from a C source
43183         file.
43185 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43187         [BZ #15287]
43188         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43189         imaginary part 1.0 and real part less than 0.5 specially.
43190         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43191         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43192         * math/libm-test.inc (cacos_test): Add more tests.
43193         (casin_test): Likewise.
43194         (casinh_test): Likewise.
43195         * sysdeps/i386/fpu/libm-test-ulps: Update.
43196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43198 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43200         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43201         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43203 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43205         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43206         * config.make.in (config-cflags-sse4): Remove variable.
43207         (config-cflags-avx): Likewise.
43208         (config-cflags-sse2avx): Likewise.
43209         (config-cflags-novzeroupper): Likewise.
43210         (config-asflags-i686): Likewise.
43211         (have-mfma4): Likewise.
43212         (have-as-vis3): Likewise.
43213         (MIG): Likewise.
43214         * configure.in (MIG): Do not AC_SUBST.
43215         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43216         (libc_cv_cc_sse4): Do not AC_SUBST.
43217         (libc_cv_cc_avx): Likewise.
43218         (libc_cv_cc_sse2avx): Likewise.
43219         (libc_cv_cc_novzeroupper): Likewise.
43220         (libc_cv_cc_fma4): Likewise.
43221         (libc_cv_as_i686): Likewise.
43222         (libc_cv_sparc_as_vis3): Likewise.
43223         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43224         LIBC_CONFIG_VAR.
43225         (config-asflags-i686): Likewise.
43226         (config-cflags-avx): Likewise.
43227         (config-cflags-sse2avx): Likewise.
43228         (have-mfma4): Likewise.
43229         (config-cflags-novzeroupper): Likewise.
43230         * sysdeps/mach/configure.in (MIG): Likewise.
43231         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43232         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43233         LIBC_CONFIG_VAR.
43234         (config-cflags-avx): Likewise.
43235         (config-cflags-sse2avx): Likewise.
43236         (have-mfma4): Likewise.
43237         (config-cflags-novzeroupper): Likewise.
43238         * configure: Regenerated.
43239         * sysdeps/i386/configure: Likewise.
43240         * sysdeps/mach/configure: Likewise.
43241         * sysdeps/sparc/configure: Likewise.
43242         * sysdeps/x86_64/configure: Likewise.
43244 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43246         [BZ #14812]
43247         * locale/programs/localedef.c (options): Put N_ translation marker
43248         on argument names, not just descriptions.
43250 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43252         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43254 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43256         [BZ #14176]
43257         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43259 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43261         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43262         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43263         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43264         [!BEFORE_ABORT] (before_abort): New function.
43265         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43266         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43267         (writev_for_fatal): New function.
43268         (WRITEV_FOR_FATAL): New macro; call that.
43269         (backtrace_and_maps): New function.
43270         (BEFORE_ABORT): New macro; call that.
43271         (struct str_list): Type removed.
43272         (__libc_message, __libc_fatal): Functions removed.
43273         Include <sysdeps/posix/libc_fatal.c> instead.
43275 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43277         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43278         constants.
43279         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43280         double constants.
43282 2013-03-19  Andreas Schwab  <schwab@suse.de>
43284         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43285         * sysdeps/gnu/configure: Regenerate.
43287         * configure.in: Substitute libc_cv_rtlddir.
43288         * configure: Regenerate.
43289         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43290         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43291         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43292         * elf/Makefile (install-others, CFLAGS-interp.c)
43293         (ldso_install, common-ldd-rewrite): Likewise.
43294         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43295         $(inst_slibdir)/$(rtld-installed-name).
43296         * scripts/rellns-sh: Add -p option.
43297         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43298         for source.
43300 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43302         * manual/nptl.texi: Renamed to ...
43303         * manual/threads.texi: ... this.
43304         * manual/Makefile (chapters): Update.
43306 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43308         [BZ #14812]
43309         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43310         on argument names, not just descriptions.
43311         * malloc/memusagestat.c (options): Likewise.
43312         * nss/getent.c (options): Likewise.
43314 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43316         [BZ #14812]
43317         * iconv/iconv_prog.c (options): Put N_ translation marker
43318         on argument names, not just descriptions.
43319         * iconv/iconvconfig.c (options): Likewise.
43321 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43323         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43324         implementation which is faster on all x86_64 architectures.
43325         Tested on AMD, Intel Nehalem, SNB, IVB.
43326         * sysdeps/x86_64/strnlen.S: Likewise.
43328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43329         Remove all multiarch strlen and strnlen versions.
43330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43331         Remove strlen and strnlen related parts.
43333         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43334         Inline strlen part.
43335         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43337         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43338         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43339         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43340         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43341         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43342         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43344 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43346         * manual/memory.texi (Malloc Tunable Parameters):
43347         Sort parameters alphabetically. Add comments for missing entries.
43349 2013-03-17  David S. Miller  <davem@davemloft.net>
43351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43353 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43355         [BZ #15283]
43356         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43357         for arguments at most half maximum finite value.
43358         * math/libm-test.inc (j0_test): Add more tests.
43359         (j1_test): Likewise.
43360         (y0_test): Likewise.
43361         (y1_test): Likewise.
43362         * sysdeps/i386/fpu/libm-test-ulps: Update.
43363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43365         [BZ #14155]
43366         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43367         1 / x and functions P and Q for arguments above 0x1p256L.
43368         (__ieee754_y0l): Likewise.
43369         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43370         (__ieee754_y1l): Likewise.
43371         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43372         (j1_test): Likewise.
43373         (y0_test): Likewise.
43374         (y1_test): Likewise.
43376 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43378         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43379         variable.
43381 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43383         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43384         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43385         zero since it's initialized to EXEC_PAGESIZE.
43387         * sysdeps/unix/sysv/linux/ldsodefs.h
43388         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43389         * sysdeps/generic/ldsodefs.h: ... here.
43391 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43393         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43395         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43396         math/test-snan.c.
43397         * math/test-snan.c: Renamed from
43398         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43399         * math/Makefile (tests): Add test-snan.
43400         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43401         test-powerpc-snan.
43403         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43404         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43405         functions.
43406         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43407         __builtin_nan family of functions.
43408         * math/libm-test.inc (initialize): Initialize qnan_value with
43409         __builtin_nan family of functions.
43410         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43411         Remove variables.
43412         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43413         Remove functions.
43414         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43415         storage class.  Initialize qNaN_var and sNaN_var with
43416         __builtin_nan and __builtin_nans families of functions,
43417         respectively.
43419         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43420         (sqrt_test): Remove duplicate test with qNaN input.
43421         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43422         (round_test, signbit_test, significand_test): Note missing +/-Inf
43423         as well as qNaN tests.
43425         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43426         qNaN_var.  Fix a few strings, too.
43427         * math/libm-test.inc (nan_value): Rename to qnan_value.
43428         * math/gen-libm-test.pl (%beautify): Adjust to that.
43429         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43430         * math/test-misc.c (main): Likewise.
43431         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43432         to __qnan_bytes, and __qnan_union, respectively.
43433         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43434         Likewise.
43435         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43436         and lqnanval, respectively.
43437         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43438         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43439         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43440         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43442         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43443         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43444         doubles.
43446         * math/test-misc.c (main): Fix copy'n'pastos.
43447         * misc/tst-efgcvt.c (special): Likewise.
43449         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43450         Remove declarations.
43452 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43454         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43455         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43456         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43457         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43459 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43462         macro to return vdso values correctly in IFUNC implementations.
43463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43464         Optimization by using IFUNC.
43466 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43467             Richard Henderson  <rth@redhat.com>
43468             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43470         * Makefile.in (bench): New target.
43471         * NEWS: Mention the benchmark framework.
43472         * Rules (bench): Likewise.
43473         (binaries-bench): Generate binaries for functions to
43474         benchmark.
43475         * benchtests/Makefile: New makefile for benchmark tests.
43476         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43477         programs.
43478         * benchtests/exp-inputs: New input file for EXP function.
43479         * benchtests/pow-inputs: New input file for POW function.
43480         * scripts/bench.pl: New script to generate source files for
43481         benchmark programs.
43483 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43485         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43486         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43487         computations on mantissa.  Use macros for rounding and
43488         division.
43489         (denorm): Likewise.
43490         (__dbl_mp): Likewise.
43491         (add_magnitudes): Likewise.
43492         (sub_magnitudes): Likewise.
43493         (__mul): Likewise.
43494         (__sqr): Likewise.
43495         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43496         powers of two in terms of TWOPOW macro.
43497         (mp_no): Make type of mantissa as MANTISSA_T.
43498         [!RADIXI]: Define RADIXI.
43499         [!TWO52]: Define TWO52.
43500         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43502         * manual/nptl.texi (cindex): Modify threads to pthreads.
43504 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43506         * sysdeps/x86_64/preconfigure: Regenerated.
43508 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43510         [BZ #14155]
43511         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43512         0x1p28 and above.
43513         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43514         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43515         0x1p28 and above.
43516         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43517         * math/libm-test.inc (j0_test): Do not allow one spurious
43518         underflow exception.
43519         (y1_test): Likewise.
43521 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43523         * manual/Makefile (chapters): Add nptl.
43524         * manual/debug.texi (Debugging Support): Add link to Threads
43525         chapter.
43526         * manual/nptl.texi: New file.
43528         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43530 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43532         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43533         for non-NULL pointer before the memory validity test. Pointed
43534         out by Holger Brunck <holger.brunck@keymile.com>.
43536 2013-03-13  Andreas Schwab  <schwab@suse.de>
43538         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43539         instead of .os.
43541 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43543         * timezone/zic.c: Update from tzcode 2013b.
43545 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43547         * manual/install.texi (Configuring and compiling):
43548         Mention i686 and i586.
43549         * INSTALL: Regenerate.
43551 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43553         * sysdeps/init_array/elf-init.c: New file.
43554         * csu/elf-init.c
43555         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43556         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43558         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43559         __gmon_start__ as global, but as static with a .preinit_array pointer.
43560         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43561         * sysdeps/init_array/crti.S: New file, empty except for comments.
43562         * sysdeps/init_array/crtn.S: Likewise.
43564 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43566         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43567         definining bcopy.
43568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43569         Remove Prefer_SSE_for_memop.
43570         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43571         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43572         HAS_PREFER_SSE_FOR_MEMOP.
43573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43574         memset-x86-64.
43575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43576         Remove bzero, memset ifunc support.
43577         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43578         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43579         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43580         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43582 2013-03-11  Andreas Schwab  <schwab@suse.de>
43584         [BZ #15234]
43585         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43586         by SHLIB_COMPAT.
43587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43588         (GLIBC_2.16): Remove pthread_atfork.
43590 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43592         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43593         (ptestcases.h): Likewise.
43595 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43597         * Makeconfig ($(common-objpfx)config.status): Depend on
43598         sysdeps/*/preconfigure{,.in} too.
43600 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43602         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43603         (__free_hook): Use void * instead of __malloc_ptr_t.
43604         (__malloc_hook): Likewise.
43605         (__realloc_hook): Likewise.
43606         (__memalign_hook): Likewise.
43607         (__after_morecore_hook): Likewise.
43608         * malloc/arena.c (save_malloc_hook): Likewise.
43609         (save_free_hook): Likewise.
43610         * malloc/hooks.c (malloc_hook_ini): Likewise.
43611         (realloc_hook_ini): Likewise.
43612         (memalign_hook_ini): Likewise.
43613         * malloc/malloc.c (malloc_hook_ini): Likewise.
43614         (realloc_hook_ini): Likewise.
43615         (memalign_hook_ini): Likewise.
43616         (__free_hook): Likewise.
43617         (__malloc_hook): Likewise.
43618         (__realloc_hook): Likewise.
43619         (__memalign_hook): Likewise.
43620         (__libc_malloc): Likewise.
43621         (__libc_free): Likewise.
43622         (__libc_realloc): Likewise.
43623         (__libc_memalign): Likewise.
43624         (__libc_valloc): Likewise.
43625         (__libc_pvalloc): Likewise.
43626         (__libc_calloc): Likewise.
43627         (__posix_memalign): Likewise.
43628         * malloc/morecore.c (__sbrk): Likewise.
43629         (__default_morecore): Likewise.
43631         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43633         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43634         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43635         __malloc_ptrdiff_t.
43637         * malloc/malloc.h (__malloc_size_t): Remove macro.
43638         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43639         __malloc_size_t.
43640         (old_memalign_hook): Likewise.
43641         (old_realloc_hook): Likewise.
43642         (struct hdr): Likewise.
43643         (flood): Likewise.
43644         (mallochook): Likewise.
43645         (memalignhook): Likewise.
43646         (reallochook): Likewise.
43647         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43648         (tr_old_realloc_hook): Likewise.
43649         (tr_old_memalign_hook): Likewise.
43650         (tr_mallochook): Likewise.
43651         (tr_reallochook): Likewise.
43652         (tr_memalignhook): Likewise.
43654 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43657         default_ldbl_pack and using as default implementation.
43658         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43659         implementation.
43660         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43661         redundant definition.
43662         (ldbl_insert_mantissa): Likewise.
43663         (ldbl_canonicalize): Likewise.
43664         (ldbl_nearbyint): Likewise.
43665         (ldbl_pack): Rename to ldbl_pack_ppc.
43666         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43667         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43668         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43670 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43673         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43675         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43677         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43678         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43679         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43681 2013-03-07  Andreas Jaeger  <aj@suse.de>
43683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43684         bits/mman-linux.h.
43686 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43688         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43689         Include mpa.h and declare __MPEXP.
43690         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43691         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43692         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43693         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43694         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43695         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43696         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43698         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43699         (__slowpow): Use long double EXPL and LOGL functions to
43700         compute POW.
43701         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43702         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43703         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43704         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43705         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43706         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43709         intermediate variable to calculate exponent.
43710         (__sqr): Likewise.
43711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43712         Likewise.
43713         (__sqr): Likewise.
43715         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43716         [!NO__SQR]: Define __sqr.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43718         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43719         sysdeps/ieee754/dbl-64/mpa.c.
43720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43722         [BZ #12723]
43723         * posix/Makefile (tests): Add tst-pathconf.
43724         * posix/tst-pathconf.c: New test case.
43725         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43726         _PC_PIPE_BUF.
43727         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43729 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43731         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43733 2013-03-06  Andreas Jaeger  <aj@suse.de>
43735         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43736         definition via __MAP_ANONYMOUS.
43738         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43739         it's not part of Linux headers.
43741         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43742         (MAP_HUGE_MASK): Define.
43744         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43745         Define.
43746         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43748         Define.
43749         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43750         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43751         Define.
43752         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43753         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43754         Define.
43755         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43757         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43758         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43759         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43760         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43761         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43764         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43765         Handle f2fs.
43767         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43768         Handle f2fs and efivarfs.
43770         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43771         f2fs.
43773         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43774         (EFIVARFS_MAGIC): Add.
43775         (F2FS_LINK_MAX): Add.
43777 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43779         * stdio-common/vfprintf.c: Replace __builtin_expect with
43780         __glibc_unlikely.
43782 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43784         [BZ #13550]
43785         * sysdeps/generic/bp-sym.h: Remove file.
43786         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43787         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43788         <bp-sym.h> and <bp-asm.h>.
43789         (__longjmp): Don't use BP_SYM.
43790         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43791         and <bp-asm.h>.
43792         (memcpy): Don't use BP_SYM.
43793         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43794         <bp-sym.h> and <bp-asm.h>.
43795         (memcpy): Don't use BP_SYM.
43796         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43797         <bp-asm.h>.
43798         (memcpy): Don't use BP_SYM.
43799         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43800         <bp-asm.h>.
43801         (memset): Don't use BP_SYM.
43802         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43803         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43804         (__bzero): Don't use BP_SYM.
43805         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43806         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43807         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43808         <bp-sym.h> and <bp-asm.h>.
43809         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43810         pointers.
43811         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43812         <bp-sym.h> and <bp-asm.h>.
43813         (memcpy): Don't use BP_SYM.
43814         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43815         <bp-sym.h> and <bp-asm.h>.
43816         (memset): Don't use BP_SYM.
43817         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43818         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43819         (__bzero): Don't use BP_SYM.
43820         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43821         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43822         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43823         <bp-sym.h> and <bp-asm.h>.
43824         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43825         pointers.
43826         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43827         <bp-sym.h> and <bp-asm.h>.
43828         (memcpy): Don't use BP_SYM.
43829         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43830         <bp-sym.h> and <bp-asm.h>.
43831         (memset): Don't use BP_SYM.
43832         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43833         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43834         (__bzero): Don't use BP_SYM.
43835         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43836         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43837         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43838         <bp-sym.h> and <bp-asm.h>.
43839         (__memchr): Don't use BP_SYM.
43840         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43841         <bp-sym.h> and <bp-asm.h>.
43842         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43843         pointers.
43844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43845         <bp-sym.h> and <bp-asm.h>.
43846         (memcpy): Don't use BP_SYM.
43847         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43848         <bp-sym.h> and <bp-asm.h>.
43849         (__mempcpy): Don't use BP_SYM.
43850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43851         <bp-sym.h> and <bp-asm.h>.
43852         (__memrchr): Don't use BP_SYM.
43853         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43854         <bp-sym.h> and <bp-asm.h>.
43855         (memset): Don't use BP_SYM.
43856         (__bzero): Likewise.
43857         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43858         <bp-sym.h> and <bp-asm.h>.
43859         (__rawmemchr): Don't use BP_SYM.
43860         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43861         <bp-sym.h> and <bp-asm.h>.
43862         (__STRCMP): Don't use BP_SYM.
43863         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43864         <bp-sym.h> and <bp-asm.h>.
43865         (strchr): Don't use BP_SYM.
43866         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43867         <bp-sym.h> and <bp-asm.h>.
43868         (__strchrnul): Don't use BP_SYM.
43869         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43870         <bp-sym.h> and <bp-asm.h>.
43871         (strlen): Don't use BP_SYM.
43872         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43873         <bp-sym.h> and <bp-asm.h>.
43874         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43875         pointers.
43876         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43877         <bp-sym.h> and <bp-asm.h>.
43878         (__strnlen): Don't use BP_SYM.
43879         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43880         <bp-sym.h> and <bp-asm.h>.
43881         (__GI__setjmp): Don't use BP_SYM.
43882         (_setjmp): Likewise.
43883         (__sigsetjmp): Likewise.
43884         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43885         (L(start_addresses)): Don't use BP_SYM.
43886         (_start): Likewise.
43887         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43888         <bp-asm.h>.
43889         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43890         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43891         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43892         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43893         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43894         <bp-asm.h>.
43895         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43896         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43897         about bounded pointers.
43898         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43899         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43900         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43901         <bp-asm.h>.
43902         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43903         about bounded pointers.  Remove GKM FIXME comments.
43904         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43905         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43906         <bp-asm.h>.
43907         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43908         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43909         Remove GKM FIXME comments.
43910         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43911         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43912         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43913         <bp-asm.h>.
43914         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43915         about bounded pointers.  Remove GKM FIXME comment.
43916         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43917         and <bp-asm.h>.
43918         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43919         pointers.
43920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43921         <bp-sym.h> and <bp-asm.h>.
43922         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43924         <bp-sym.h> and <bp-asm.h>.
43925         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43926         comment.
43928 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43930         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43931         call free(NULL).
43933 2013-03-05  David S. Miller  <davem@davemloft.net>
43935         * po/es.po: Update from translation team.
43937 2013-03-05  Andreas Jaeger  <aj@suse.de>
43939         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43940         <bits/mman-linux.h>.
43941         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43942         is fine.
43943         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43944         <bits/mman-linux.h> to end of file.
43945         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43946         is fine.
43947         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43948         <bits/mman-linux.h> to end of file.
43949         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43950         is fine.
43951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43952         <bits/mman-linux.h> to end of file.
43954         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43955         (MCL_CURRENT, MCL_FUTURE): Define here.
43957 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43959         [BZ #15232]
43960         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43961         attribute_hidden.
43962         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43964 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43966         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43967         fourth parameter needed for rt_sigprocmask syscall.
43968         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43969         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43970         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43971         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43972         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43973         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43975 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43977         [BZ #13550]
43978         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43979         comment about bounded pointers.
43980         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43981         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43983 2013-03-04  Andreas Jaeger  <aj@suse.de>
43985         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43986         common definitions.
43988         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43989         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43990         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43991         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43995 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43997         [BZ #15055]
43998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43999         __ieee754_sqrl instead of __sqrl.
44001 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44003         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44004         * sysdeps/powerpc/fpu_control.h: ... here.
44005         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44006         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44007         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44008         * sysdeps/powerpc/bits/mathinline.h: ... here.
44010 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44012         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44013         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44014         to just [NEED_DL_SYSINFO_DSO].
44015         * elf/dl-support.c: Likewise.
44016         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44017         * elf/rtld.c (dl_main): Likewise.
44018         * elf/setup-vdso.h (setup_vdso): Likewise.
44019         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44020         * sysdeps/unix/sysv/linux/dl-sysdep.c
44021         (_dl_discover_osversion): Likewise.
44023 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44025         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44026         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44028 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44030         * NEWS: Mention libm performance improvements and non-x86 PI
44031         futex support.
44033         * csu/libc-start.c (__pthread_initialize_minimal): Change
44034         function arguments.
44035         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44037 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44039         [BZ #13550]
44040         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44041         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44042         <bp-sym.h> and <bp-asm.h>.
44043         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44044         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44045         and <bp-asm.h>.
44046         (memcpy): Don't use BP_SYM.
44047         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44048         <bp-asm.h>.
44049         (__mpn_add_n): Don't use BP_SYM.
44050         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44051         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44052         and <bp-asm.h>.
44053         (__mpn_addmul_1): Don't use BP_SYM.
44054         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44055         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44056         <bp-sym.h>.
44057         (_setjmp): Don't use BP_SYM.
44058         (__novmx_setjmp): Likewise.
44059         (__GI__setjmp): Likewise.
44060         (__vmx_setjmp): Likewise.
44061         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44062         <bp-sym.h>.
44063         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44064         (__bzero): Don't use BP_SYM.
44065         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44066         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44067         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44068         <bp-sym.h> and <bp-asm.h>.
44069         (memcpy): Don't use BP_SYM.
44070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44071         <bp-sym.h> and <bp-asm.h>.
44072         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44073         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44074         <bp-sym.h> and <bp-asm.h>.
44075         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44076         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44077         <bp-asm.h>.
44078         (__mpn_lshift): Don't use BP_SYM.
44079         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44080         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44081         <bp-asm.h>.
44082         (memset): Don't use BP_SYM.
44083         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44084         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44085         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44086         <bp-asm.h>.
44087         (__mpn_mul_1): Don't use BP_SYM.
44088         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44089         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44090         <bp-sym.h> and <bp-asm.h>.
44091         (memcmp): Don't use BP_SYM.
44092         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44093         <bp-sym.h> and <bp-asm.h>.
44094         (memcpy): Don't use BP_SYM.
44095         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44096         <bp-sym.h> and <bp-asm.h>.
44097         (memset): Don't use BP_SYM.
44098         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44099         <bp-sym.h> and <bp-asm.h>.
44100         (strncmp): Don't use BP_SYM.
44101         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44102         <bp-sym.h> and <bp-asm.h>.
44103         (memcpy): Don't use BP_SYM.
44104         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44105         <bp-sym.h> and <bp-asm.h>.
44106         (memset): Don't use BP_SYM.
44107         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44108         <bp-sym.h> and <bp-asm.h>.
44109         (__memchr): Don't use BP_SYM.
44110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44111         <bp-sym.h> and <bp-asm.h>.
44112         (memcmp): Don't use BP_SYM.
44113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44114         <bp-sym.h> and <bp-asm.h>.
44115         (memcpy): Don't use BP_SYM.
44116         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44117         <bp-sym.h> and <bp-asm.h>.
44118         (__mempcpy): Don't use BP_SYM.
44119         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44120         <bp-sym.h> and <bp-asm.h>.
44121         (__memrchr): Don't use BP_SYM.
44122         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44123         <bp-sym.h> and <bp-asm.h>.
44124         (memset): Don't use BP_SYM.
44125         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44126         <bp-sym.h> and <bp-asm.h>.
44127         (__rawmemchr): Don't use BP_SYM.
44128         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44129         <bp-sym.h> and <bp-asm.h>.
44130         (__STRCMP): Don't use BP_SYM.
44131         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44132         <bp-sym.h> and <bp-asm.h>.
44133         (strchr): Don't use BP_SYM.
44134         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44135         <bp-sym.h> and <bp-asm.h>.
44136         (__strchrnul): Don't use BP_SYM.
44137         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44138         <bp-sym.h> and <bp-asm.h>.
44139         (strlen): Don't use BP_SYM.
44140         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44141         <bp-sym.h> and <bp-asm.h>.
44142         (strncmp): Don't use BP_SYM.
44143         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44144         <bp-sym.h> and <bp-asm.h>.
44145         (__strnlen): Don't use BP_SYM.
44146         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44147         <bp-asm.h>.
44148         (__mpn_rshift): Don't use BP_SYM.
44149         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44150         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44151         <bp-sym.h> and <bp-asm.h>.
44152         (__sigsetjmp): Don't use BP_SYM.
44153         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44154         (L(start_addresses)): Don't use BP_SYM.
44155         (_start): Likewise.
44156         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44157         <bp-asm.h>.
44158         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44159         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44160         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44161         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44162         <bp-asm.h>.
44163         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44164         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44165         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44166         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44167         <bp-asm.h>.
44168         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44169         comments.
44170         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44171         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44172         <bp-asm.h>.
44173         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44174         FIXME comments.
44175         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44176         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44177         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44178         <bp-asm.h>.
44179         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44180         comment.
44181         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44182         and <bp-asm.h>.
44183         (strncmp): Don't use BP_SYM,
44184         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44185         <bp-asm.h>.
44186         (__mpn_sub_n): Don't use BP_SYM.
44187         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44188         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44189         and <bp-asm.h>.
44190         (__mpn_submul_1): Don't use BP_SYM.
44191         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44193         <bp-sym.h> and <bp-asm.h>.
44194         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44196         <bp-sym.h> and <bp-asm.h>.
44197         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44198         comment.
44200 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44203         Use ZK to minimize writes to Z.
44204         (sub_magnitudes): Simplify code a bit.
44205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44206         Use ZK to minimize writes to Z.
44207         (sub_magnitudes): Simplify code a bit.
44209 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44211         * csu/gmon-start.c: Add special exception to license text.
44213 2013-02-27  Richard Henderson  <rth@redhat.com>
44215         * scripts/config.guess: Update from config.git.
44216         * scripts/config.sub: Likewise.
44218 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44220         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44222         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44224         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44226         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44228         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44230 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44232         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44233         [$(build-shared = yes].
44235 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44237         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44238         (__mul): Reduce iterations for calculating mantissa.
44240         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44241         MPTWO.
44242         (__mpranred): Likewise.
44244         [BZ #15160]
44245         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44246         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44248 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44250         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44251         Define __attribute__.
44253 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44255         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44256         unused.
44257         * posix/regex_internal.h (__attribute): Remove.
44258         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44259         (re_string_context_at): Likewise.
44260         (bitset_not): Use __attribute__ and mark function as possibly
44261         unused.
44262         (bitset_merge): Likewise.
44263         (bitset_mask): Likewise.
44264         (re_string_char_size_at): Likewise.
44265         (re_string_wchar_at): Likewise.
44266         (re_string_elem_size_at): Likewise.
44268 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44270         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44271         code.
44272         (cc32): Likewise.
44274         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44275         (__acr): Likewise.
44276         (__cpy): Likewise.
44277         (norm): Likewise.
44278         (denorm): Likewise.
44279         (__dbl_mp): Likewise.
44280         (add_magnitudes): Likewise.
44281         (sub_magnitudes): Likewise.
44282         (__mul): Likewise.
44283         (__inv): Likewise.
44285         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44286         style.
44288         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44289         style.
44291         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44292         code.
44294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44295         up changes with default code.
44296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44297         Likewise.
44299 2013-02-24  Allan McRae  <allan@archlinux.org>
44301         * manual/socket.texi (The Internet Namespace): Order menu items
44302         to match that in the file.
44304         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44305         node listing of the info page menu.
44307 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44309         [BZ #13550]
44310         * sysdeps/i386/bp-asm.h: Remove file.
44311         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44312         (PARMS): Do not use macros from bp-asm.h.
44313         (S1): Likewise.
44314         (S2): Likewise.
44315         (SIZE): Likewise.
44316         (__mpn_add_n): Do not use BP_SYM
44317         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44318         "bp-asm.h".
44319         (PARMS): Do not use macros from bp-asm.h.
44320         (S1): Likewise.
44321         (SIZE): Likewise.
44322         (__mpn_addmul_1): Do not use BP_SYM
44323         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44324         "bp-asm.h".
44325         (PARMS): Do not use macros from bp-asm.h.
44326         (SIGMSK): Likewise.
44327         (_setjmp): Likewise.  Do not use BP_SYM.
44328         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44329         "bp-asm.h".
44330         (PARMS): Do not use macros from bp-asm.h.
44331         (SIGMSK): Likewise.
44332         (setjmp): Likewise.  Do not use BP_SYM.
44333         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44334         "bp-asm.h".
44335         (PARMS): Do not use macros from bp-asm.h.
44336         (__frexp): Do not use BP_SYM.
44337         (frexp): Likewise.
44338         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44339         "bp-asm.h".
44340         (PARMS): Do not use macros from bp-asm.h.
44341         (__frexpf): Do not use BP_SYM.
44342         (frexpf): Likewise.
44343         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44344         "bp-asm.h".
44345         (PARMS): Do not use macros from bp-asm.h.
44346         (__frexpl): Do not use BP_SYM.
44347         (frexpl): Likewise.
44348         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44349         "bp-asm.h".
44350         (PARMS): Do not use macros from bp-asm.h.
44351         (__remquo): Do not use BP_SYM.
44352         (remquo): Likewise.
44353         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44354         "bp-asm.h".
44355         (PARMS): Do not use macros from bp-asm.h.
44356         (__remquof): Do not use BP_SYM.
44357         (remquof): Likewise.
44358         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44359         "bp-asm.h".
44360         (PARMS): Do not use macros from bp-asm.h.
44361         (__remquol): Do not use BP_SYM.
44362         (remquol): Likewise.
44363         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44364         "bp-asm.h".
44365         (PARMS): Do not use macros from bp-asm.h.
44366         (DEST): Likewise.
44367         (SRC): Likewise.
44368         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44369         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44370         "bp-asm.h".
44371         (PARMS): Do not use macros from bp-asm.h.
44372         (strlen): Do not use BP_SYM.
44373         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44374         "bp-asm.h".
44375         (PARMS): Do not use macros from bp-asm.h.
44376         (S1): Likewise.
44377         (S2): Likewise.
44378         (SIZE): Likewise.
44379         (__mpn_add_n): Do not use BP_SYM.
44380         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44381         "bp-asm.h".
44382         (PARMS): Do not use macros from bp-asm.h.
44383         (S1): Likewise.
44384         (SIZE): Likewise.
44385         (__mpn_addmul_1): Do not use BP_SYM.
44386         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44387         weak_alias.
44388         (bzero): Likewise.
44389         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44390         "bp-asm.h".
44391         (PARMS): Do not use macros from bp-asm.h.
44392         (S): Likewise.
44393         (SIZE): Likewise.
44394         (__mpn_lshift): Do not use BP_SYM.
44395         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44396         "bp-asm.h".
44397         (PARMS): Do not use macros from bp-asm.h.
44398         (DEST): Likewise.
44399         (SRC): Likewise.
44400         (LEN): Likewise.
44401         (memcpy): Likewise.  Do not use BP_SYM.
44402         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44403         libc_hidden_def and weak_alias.
44404         (mempcpy): Do not use BP_SYM in weak_alias.
44405         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44406         "bp-asm.h".
44407         (PARMS): Do not use macros from bp-asm.h.
44408         (DEST): Likewise.
44409         (LEN): Likewise.
44410         [!BZERO_P] (CHR): Likewise.
44411         (memset): Likewise.  Do not use BP_SYM.
44412         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44413         "bp-asm.h".
44414         (PARMS): Do not use macros from bp-asm.h.
44415         (S1): Likewise.
44416         (SIZE): Likewise.
44417         (__mpn_mul_1): Do not use BP_SYM.
44418         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44419         "bp-asm.h".
44420         (PARMS): Do not use macros from bp-asm.h.
44421         (S): Likewise.
44422         (SIZE): Likewise.
44423         (__mpn_rshift): Do not use BP_SYM.
44424         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44425         "bp-asm.h".
44426         (PARMS): Do not use macros from bp-asm.h.
44427         (STR): Likewise.
44428         (CHR): Likewise.
44429         (strchr): Likewise.  Do not use BP_SYM.
44430         (index): Do not use BP_SYM in weak_alias.
44431         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44432         "bp-asm.h".
44433         (PARMS): Do not use macros from bp-asm.h.
44434         (DEST): Likewise.
44435         (SRC): Likewise.
44436         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44437         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44438         "bp-asm.h".
44439         (PARMS): Do not use macros from bp-asm.h.
44440         (strlen): Do not use BP_SYM.
44441         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44442         "bp-asm.h".
44443         (PARMS): Do not use macros from bp-asm.h.
44444         (S1): Likewise.
44445         (S2): Likewise.
44446         (SIZE): Likewise.
44447         (__mpn_sub_n): Do not use BP_SYM.
44448         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44449         "bp-asm.h".
44450         (PARMS): Do not use macros from bp-asm.h.
44451         (S1): Likewise.
44452         (SIZE): Likewise.
44453         (__mpn_submul_1): Do not use BP_SYM.
44454         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44455         "bp-asm.h".
44456         (PARMS): Do not use macros from bp-asm.h.
44457         (S1): Likewise.
44458         (S2): Likewise.
44459         (SIZE): Likewise.
44460         (__mpn_add_n): Do not use BP_SYM.
44461         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44462         weak_alias.
44463         (bzero): Likewise.
44464         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44465         "bp-asm.h".
44466         (PARMS): Do not use macros from bp-asm.h.
44467         (BLK2): Likewise.
44468         (LEN): Likewise.
44469         (memcmp): Do not use BP_SYM.
44470         (bcmp): Do not use BP_SYM in weak_alias.
44471         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44472         "bp-asm.h".
44473         (PARMS): Do not use macros from bp-asm.h.
44474         (DEST): Likewise.
44475         (SRC): Likewise.
44476         (LEN): Likewise.
44477         (memcpy): Likewise.  Do not use BP_SYM.
44478         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44479         "bp-asm.h".
44480         (PARMS): Do not use macros from bp-asm.h.
44481         (DEST): Likewise.
44482         (SRC): Likewise.
44483         (LEN): Likewise.
44484         (memmove): Likewise.  Do not use BP_SYM.
44485         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44486         "bp-asm.h".
44487         (PARMS): Do not use macros from bp-asm.h.
44488         (DEST): Likewise.
44489         (SRC): Likewise.
44490         (LEN): Likewise.
44491         (__mempcpy): Likewise.  Do not use BP_SYM.
44492         (mempcpy): Do not use BP_SYM in weak_alias.
44493         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44494         "bp-asm.h".
44495         (PARMS): Do not use macros from bp-asm.h.
44496         (DEST): Likewise.
44497         (LEN): Likewise.
44498         [!BZERO_P] (CHR): Likewise.
44499         (memset): Likewise.  Do not use BP_SYM.
44500         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44501         "bp-asm.h".
44502         (PARMS): Do not use macros from bp-asm.h.
44503         (STR2): Likewise.
44504         (strcmp): Do not use BP_SYM.
44505         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44506         "bp-asm.h".
44507         (PARMS): Do not use macros from bp-asm.h.
44508         (STR): Likewise.
44509         (DELIM): Likewise.
44510         [USE_AS_STRTOK_R] (SAVE): Likewise.
44511         (FUNCTION): Likewise.  Do not use BP_SYM.
44512         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44513         aliases.
44514         (strtok_r): Likewise.
44515         (__GI___strtok_r): Likewise.
44516         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44517         (PARMS): Do not use macros from bp-asm.h.
44518         (S): Likewise.
44519         (SIZE): Likewise.
44520         (__mpn_lshift): Do not use BP_SYM.
44521         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (STR): Likewise.
44524         (CHR): Likewise.
44525         (__memchr): Do not use BP_SYM.
44526         (memchr): Do not use BP_SYM in weak_alias.
44527         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44528         (PARMS): Do not use macros from bp-asm.h.
44529         (BLK2): Likewise.
44530         (LEN): Likewise.
44531         (memcmp): Do not use BP_SYM.
44532         (bcmp): Do not use BP_SYM in weak_alias.
44533         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44534         (PARMS): Do not use macros from bp-asm.h.
44535         (S1): Likewise.
44536         (SIZE): Likewise.
44537         (__mpn_mul_1): Do not use BP_SYM.
44538         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44539         "bp-asm.h".
44540         (PARMS): Do not use macros from bp-asm.h.
44541         (STR): Likewise.
44542         (CHR): Likewise.
44543         (__rawmemchr): Do not use BP_SYM.
44544         (rawmemchr): Do not use BP_SYM in weak_alias.
44545         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44546         (PARMS): Do not use macros from bp-asm.h.
44547         (S): Likewise.
44548         (SIZE): Likewise.
44549         (__mpn_rshift): Do not use BP_SYM.
44550         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44551         (PARMS): Do not use macros from bp-asm.h.
44552         (SIGMSK): Likewise.
44553         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44554         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44555         (_start): Do not use BP_SYM.
44556         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44557         (PARMS): Do not use macros from bp-asm.h.
44558         (DEST): Likewise.
44559         (SRC): Likewise.
44560         (__stpcpy): Likewise.  Do not use BP_SYM.
44561         (stpcpy): Do not use BP_SYM in weak_alias.
44562         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44563         "bp-asm.h".
44564         (PARMS): Do not use macros from bp-asm.h.
44565         (DEST): Likewise.
44566         (SRC): Likewise.
44567         (LEN): Likewise.
44568         (__stpncpy): Likewise.  Do not use BP_SYM.
44569         (stpncpy): Do not use BP_SYM in weak_alias.
44570         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44571         (PARMS): Do not use macros from bp-asm.h.
44572         (STR): Likewise.
44573         (CHR): Likewise.
44574         (strchr): Likewise.  Do not use BP_SYM.
44575         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44576         "bp-asm.h".
44577         (PARMS): Do not use macros from bp-asm.h.
44578         (STR): Likewise.
44579         (CHR): Likewise.
44580         (__strchrnul): Likewise.  Do not use BP_SYM.
44581         (strchrnul): Do not use BP_SYM in weak_alias.
44582         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44583         "bp-asm.h".
44584         (PARMS): Do not use macros from bp-asm.h.
44585         (STOP): Likewise.
44586         (strcspn): Do not use BP_SYM.
44587         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44588         "bp-asm.h".
44589         (PARMS): Do not use macros from bp-asm.h.
44590         (STR): Likewise.
44591         (STOP): Likewise.
44592         (strpbrk): Likewise.  Do not use BP_SYM.
44593         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44594         "bp-asm.h".
44595         (PARMS): Do not use macros from bp-asm.h.
44596         (STR): Likewise.
44597         (CHR): Likewise.
44598         (strrchr): Likewise.  Do not use BP_SYM.
44599         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44600         (PARMS): Do not use macros from bp-asm.h.
44601         (SKIP): Likewise.
44602         (strspn): Do not use BP_SYM.
44603         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44604         (PARMS): Do not use macros from bp-asm.h.
44605         (STR): Likewise.
44606         (DELIM): Likewise.
44607         (SAVE): Likewise.
44608         (FUNCTION): Likewise.  Do not use BP_SYM.
44609         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44610         aliases.
44611         (strtok_r): Likewise.
44612         (__GI___strtok_r): Likewise.
44613         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44614         (PARMS): Do not use macros from bp-asm.h.
44615         (S1): Likewise.
44616         (S2): Likewise.
44617         (SIZE): Likewise.
44618         (__mpn_sub_n): Do not use BP_SYM.
44619         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44620         "bp-asm.h".
44621         (PARMS): Do not use macros from bp-asm.h.
44622         (S1): Likewise.
44623         (SIZE): Likewise.
44624         (__mpn_submul_1): Do not use BP_SYM.
44625         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44626         <bp-sym.h>.
44627         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44628         and <bp-asm.h>.
44629         (PARMS): Do not use macros from bp-asm.h.
44630         (FLAGS): Likewise.
44631         (PTID): Likewise.
44632         (TLS): Likewise.
44633         (CTID): Likewise.
44634         (__clone): Do not use BP_SYM.
44635         (clone): Do not use BP_SYM in weak_alias.
44636         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44637         and <bp-asm.h>.
44638         (PARMS): Do not use macros from bp-asm.h.
44639         (LEN): Likewise.
44640         (__mmap64): Do not use BP_SYM.
44641         (mmap64): Do not use BP_SYM in weak_alias.
44642         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44643         <bp-sym.h> and <bp-asm.h>.
44644         (PARMS): Do not use macros from bp-asm.h.
44645         (__posix_fadvise64_l64): Do not use BP_SYM.
44646         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44647         (PARMS): Do not use macros from bp-asm.h.
44648         (NSOPS): Likewise.
44649         (semtimedop): Do not use BP_SYM.
44650         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44651         and <bp-asm.h>.
44653 2013-02-21  Allan McRae  <allan@archlinux.org>
44655         * manual/message.texi (Charset conversion in gettext):
44656         Move @end statement to beginning of line.
44658 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44661         static.
44662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44663         Likewise.
44665         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44666         (denorm): Likewise.
44667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44670 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44672         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44673         tail-call to the resolved function if pltexit isn't needed.
44675 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44678         or Y being zero as being unlikely.
44679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44680         Likewise.
44682 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44684         * manual/nss.texi (System Databases and Name Service Switch):
44685         Remove frobnicate @pxref.
44687 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44689         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44690         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44692 2013-02-20  Petr Machata  <pmachata@redhat.com>
44694         * elf/elf.h (R_ARM_TARGET1): New macro.
44695         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44696         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44697         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44698         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44699         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44700         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44701         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44702         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44703         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44704         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44705         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44706         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44707         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44708         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44709         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44710         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44711         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44712         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44713         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44714         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44715         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44716         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44717         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44718         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44719         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44720         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44721         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44722         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44723         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44724         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44725         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44726         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44727         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44728         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44729         (R_ARM_THM_GOT_BREL12): Likewise.
44730         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44731         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44732         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44733         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44734         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44735         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44736         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44737         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44738         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44740 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44742         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44743         __attribute_used__ to __attribute__ ((unused)).
44745 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44748         powerpc mpa.c.
44749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44750         comment formatting.
44751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44753 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44755         [BZ #13550]
44756         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44757         Remove macro.
44758         (ENTER): Remove both macro definitions.
44759         (LEAVE): Likewise.
44760         (CHECK_BOUNDS_LOW): Likewise.
44761         (CHECK_BOUNDS_HIGH): Likewise.
44762         (CHECK_BOUNDS_BOTH): Likewise.
44763         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44764         (RETURN_BOUNDED_POINTER): Likewise.
44765         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44766         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44767         (POP_ERRNO_LOCATION_RETURN): Likewise.
44768         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44769         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44770         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44771         macros.
44772         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44773         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44774         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44775         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44776         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44777         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44778         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44779         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44780         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44781         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44782         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44783         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44784         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44785         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44786         removed macros.
44787         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44788         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44789         macros.
44790         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44791         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44792         * sysdeps/i386/i586/memset.S (memset): Likewise.
44793         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44794         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44795         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44796         macros.
44797         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44798         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44799         Change uses of L(2) to L(out).
44800         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44801         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44802         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44803         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44804         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44805         removed macros.
44806         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44807         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44808         macros.
44809         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44810         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44811         (RETURN): Do not use macro LEAVE.
44812         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44813         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44814         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44815         * sysdeps/i386/i686/memset.S (memset): Likewise.
44816         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44817         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44818         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44819         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44820         Likewise.
44821         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44822         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44823         L(1_2) and L(1_3) into L(1).
44824         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44825         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44826         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44827         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44828         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44829         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44830         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44831         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44832         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44833         macros.
44834         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44835         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44836         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44837         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44838         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44839         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44840         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44841         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44842         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44843         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44844         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44845         * sysdeps/i386/strspn.S (strspn): Likewise.
44846         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44847         conditional code.
44848         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44849         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44850         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44851         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44852         L(1_3) into L(1_1).
44853         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44854         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44855         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44856         macros.
44857         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44859 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44861         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44862         macro.
44864 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44866         * math/atest-exp.c (exp_mpn): Remove ROUND.
44867         * math/atest-exp2.c (exp_mpn): Likewise.
44868         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44870         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44871         * stdlib/tst-tls-atexit-lib.c: Likewise.
44872         * stdlib/tst-tls-atexit.c: Likewise.
44874 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44876         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44877         and __attribute_alloc_size__.
44879 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44881         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44882         __attribute_alloc_size__.
44883         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44884         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44886 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44888         * include/programs/xmalloc.h: New file.
44889         * catgets/gencat.c: Include it.
44890         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44891         * elf/pldd.c: Likewise.
44892         * iconv/iconv_charmap.c: Likewise.
44893         * iconv/iconvconfig.c: Likewise.
44894         * iconv/strtab.c: Likewise.
44895         * locale/programs/locale.c: Likewise.
44896         * locale/programs/localedef.h: Likewise.
44897         * locale/programs/simple-hash.c: Likewise.
44898         * nscd/nscd.h: Likewise.
44899         * nss/makedb.c: Likewise.
44900         * sysdeps/generic/ldconfig.h: Likewise.
44902 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44904         * Versions.def: Add GLIBC_2.18.
44905         * include/link.h (struct link_map): New member l_tls_dtor_count.
44906         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44907         (__call_tls_dtors): Likewise.
44908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44909         __cxa_thread_atexit_impl.
44910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44911         Likewise.
44912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44913         Likewise.
44914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44915         Likewise.
44916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44917         Likewise.
44918         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44920         Likewise.
44921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44922         Likewise.
44923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44925         Likewise.
44926         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44927         (tests): Add test case tst-tls-atexit.
44928         (modules-names): Add shared library for tst-tls-atexit.
44929         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44930         (GLIBC_PRIVATE): Add __call_tls_dtors.
44931         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44932         for libstdc++.
44933         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44934         * stdlib/tst-tls-atexit.c: New test case.
44935         * stdlib/tst-tls-atexit-lib.c: New test case.
44937         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44939         * elf/Versions (ld): Add _dl_find_dso_for_object.
44940         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44941         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44942         (dl_open_worker): Use _dl_find_dso_for_object.
44943         * elf/dl-sym.c (do_sym): Likewise.
44944         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44946 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44948         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44949         Syntactic changes only.
44950         (_dl_runtime_profile): Do a tail-call to the resolved function.
44952 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44954         [BZ #13550]
44955         * sysdeps/x86_64/bp-asm.h: Remove file.
44956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44957         <bp-sym.h> and <bp-asm.h>.
44958         (__clone): Do not use BP_SYM.
44959         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44960         <bp-sym.h> and <bp-asm.h>.
44961         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44962         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44963         "bp-asm.h".
44964         (_setjmp): Do not use BP_SYM.
44965         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44966         "bp-asm.h".
44967         (setjmp): Do not use BP_SYM.
44968         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44969         libc_hidden_def.
44970         (mempcpy): Do not use BP_SYM in weak_alias.
44971         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44972         "bp-asm.h".
44973         (strchr): Do not use BP_SYM.
44974         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44975         "bp-asm.h".
44976         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44977         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44978         (_start): Do not use BP_SYM.
44979         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44980         "bp-asm.h".
44981         (strcat): Do not use BP_SYM.
44982         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44983         "bp-asm.h".
44984         (STRCMP): Do not use BP_SYM.
44985         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44986         "bp-asm.h".
44987         (STRCPY): Do not use BP_SYM.
44988         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44989         "bp-asm.h".
44990         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44991         "bp-asm.h".
44992         (FUNCTION): Do not use BP_SYM.
44993         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44994         weak_alias.
44995         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44997 2013-02-17  Andreas Jaeger  <aj@suse.de>
44999         * time/Versions: Sort entries.
45000         * string/Versions: Likewise.
45001         * resolv/Versions: Likewise.
45002         * posix/Versions: Likewise.
45003         * iconv/Versions: Likewise.
45004         * elf/Versions: Likewise.
45005         * wcsmbs/Versions: Likewise.
45007 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45009         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45010         loop termination condition.
45012         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45013         variable to calculate EZ.
45014         (__sqr): Likewise.
45016         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45017         the lower precision input.
45019 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45021         [BZ #13550]
45022         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45023         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45024         (run-via-rtld-prefix): Do not handle %-bp tests.
45025         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45026         (all-object-suffixes): Remove .ob.
45027         (bppfx): Remove variable.
45028         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45029         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45030         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45031         [$(build-bounded) = yes] (libtype.ob): Likewise.
45032         * Makerules (elide-routines.ob): Remove variable.
45033         (do-tests-clean): Do not handle *-bp.out.
45034         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45035         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45036         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45037         (tests): Do not include $(tests-bp.out).
45038         (xtests): Do not include $(xtests-bp.out).
45039         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45040         [$(build-bounded) = yes] ($(addprefix
45041         $(objpfx),$(binaries-bounded))): Remove rule.
45042         ($(objpfx)%-bp.out): Remove rule.
45043         * config.make.in (build-bounded): Remove variable.
45044         * crypt/Makefile [$(build-bounded) = yes]
45045         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45046         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45047         append to variable.
45048         [$(build-bounded) = yes] (install-lib): Likewise.
45049         [$(build-bounded) = yes] (generated): Likewise.
45050         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45051         Remove rule.
45052         * intl/Makefile [$(build-bounded) = yes]
45053         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45054         * math/Makefile [$(build-bounded) = yes]
45055         ($(tests:%=$(objpfx)%-bp): Likewise.
45056         * misc/Makefile [$(build-bounded) = yes]
45057         ($(objpfx)tst-tsearch-bp): Likewise.
45058         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45059         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45060         Remove dependency.
45061         * string/Makefile (o-objects.ob): Remove variable.
45062         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45063         (CFLAGS-.ob): Remove variable.
45064         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45065         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45066         both definitions of variable.
45067         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45068         (ASFLAGS-.ob): Remove variable.
45070 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45072         [BZ #13550]
45073         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45074         Remove __BOUNDED_POINTERS__ from condition.
45075         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45076         * string/bits/string2.h [!__NO_STRING_INLINES &&
45077         !__BOUNDED_POINTERS__]: Likewise.
45078         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45079         Likewise.
45080         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45081         Remove conditional code.
45082         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45083         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45084         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45085         condition.
45087         [BZ #13550]
45088         * csu/libc-start.c: Do not include <bp-sym.h>.
45089         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45090         * elf/dl-open.c: Do not include <bp-sym.h>.
45091         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45092         * math/fegetenv.c: Do not include <bp-sym.h>.
45093         (fegetenv): Do not use BP_SYM in versioned symbols.
45094         * nptl/sysdeps/pthread/bits/libc-lockP.h
45095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45096         <bp-sym.h>.
45097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45098         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45100         (__pthread_mutex_destroy): Likewise.
45101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45102         (__pthread_mutex_lock): Likewise.
45103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45104         (__pthread_mutex_trylock): Likewise.
45105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45106         (__pthread_mutex_unlock): Likewise.
45107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45108         (__pthread_mutexattr_init): Likewise.
45109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45110         (__pthread_mutexattr_destroy): Likewise.
45111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45112         (__pthread_mutexattr_settype): Likewise.
45113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45114         (__pthread_rwlock_init): Likewise.
45115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45116         (__pthread_rwlock_destroy): Likewise.
45117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45118         (__pthread_rwlock_rdlock): Likewise.
45119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45120         (__pthread_rwlock_tryrdlock): Likewise.
45121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45122         (__pthread_rwlock_wrlock): Likewise.
45123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45124         (__pthread_rwlock_trywrlock): Likewise.
45125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45126         (__pthread_rwlock_unlock): Likewise.
45127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45128         (__pthread_key_create): Likewise.
45129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45130         (__pthread_setspecific): Likewise.
45131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45132         (__pthread_getspecific): Likewise.
45133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45134         Likewise.
45135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45136         (_pthread_cleanup_push_defer): Likewise.
45137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45138         (_pthread_cleanup_pop_restore): Likewise.
45139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45140         (pthread_setcancelstate): Likewise.
45141         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45142         <bp-sym.h>.
45143         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45144         (memchr): Do not use BP_SYM in weak_alias.
45145         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45146         (fegetenv): Do not use BP_SYM in versioned symbols.
45147         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45148         (fesetenv): Do not use BP_SYM in versioned symbols.
45149         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45150         (feupdateenv): Do not use BP_SYM in versioned symbols.
45151         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45152         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45153         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45154         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45155         (open64): Do not use BP_SYM in weak_alias.
45156         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45157         (fegetenv): Do not use BP_SYM in versioned symbols.
45158         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45159         (fesetenv): Do not use BP_SYM in versioned symbols.
45160         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45161         (feupdateenv): Do not use BP_SYM in versioned symbols.
45162         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45163         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45164         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45165         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45166         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45167         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45168         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45169         <bp-sym.h>.
45170         (__libc_start_main): Do not use BP_SYM.
45172 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45175         redundant return line.
45176         (norm): Likewise.
45177         (denorm): Likewise.
45178         (dbl_mp): Likewise.
45179         (sub_magnitudes): Likewise.
45180         (__add): Likewise.
45181         (__sub): Likewise.
45182         (__mul): Likewise.
45183         (__inv): Likewise.
45184         (__dvd): Likewise.
45185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45186         (norm): Likewise.
45187         (denorm): Likewise.
45188         (dbl_mp): Likewise.
45189         (sub_magnitudes): Likewise.
45190         (__add): Likewise.
45191         (__sub): Likewise.
45192         (__mul): Likewise.
45193         (__inv): Likewise.
45194         (__dvd): Likewise.
45196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45197         instead of __mul.
45198         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45199         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45200         (cc32): Likewise.
45202         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45203         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45205         of __mul for squares.
45206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45207         function
45208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45209         Likewise.
45210         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45213 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45215         [BZ #13550]
45216         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45217         code.
45218         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45219         prototype or function definition.  Rename ubp_* variables and
45220         parameters.  Remove argv definitions conditional on
45221         [__BOUNDED_POINTERS__].
45222         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45223         * elf/dl-runtime.c (_dl_fixup): Likewise.
45224         * include/set-hooks.h (RUN_HOOK): Likewise.
45225         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45226         definition.
45227         * string/strcpy.c (strcpy): Do not use __unbounded.
45228         * sysdeps/generic/frame.h (struct layout): Likewise.
45229         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45230         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45231         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45232         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45233         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45234         (__backtrace): Likewise.
45235         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45236         use __ptrvalue.
45237         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45238         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45239         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45240         Likewise.
45241         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45242         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45243         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45245         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45246         Do not use __unbounded.
45247         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45248         Rename __unboundedrlimits parameter to rlimits in prototype.
45249         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45250         Do not use __unbounded.
45251         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45252         not use __ptrvalue.
45253         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45254         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45255         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45256         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45257         __ptrvalue or __unbounded.
45258         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45259         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45260         use __unbounded.
45261         (__new_msgctl): Do not use __ptrvalue.
45262         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45263         __unbounded.
45264         (__libc_msgrcv): Do not use __ptrvalue.
45265         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45266         startup_info): Do not use __unbounded.
45267         (__libc_start_main): Likewise.  Rename ubp_* variables and
45268         parameters.  Remove argv definitions conditional on
45269         [__BOUNDED_POINTERS__].
45270         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45271         __ptrvalue.
45272         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45273         use __unbounded.
45274         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45275         or __ptrvalue.
45276         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45277         use __unbounded.
45278         (__new_shmctl): Do not use __ptrvalue.
45279         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45280         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45281         Likewise.
45282         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45283         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45284         (__libc_sigaction): Likewise.
45285         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45286         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45287         Likewise.
45288         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45290 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45292         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45294         * string/mempcpy.c: Implement by calling memcpy.
45296 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45301         evaluation.
45303         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45304         values in the mantissa.
45306         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45307         minimize writes to Z.
45308         (sub_magnitudes): Simplify code a bit.
45310 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45312         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45313         from the message.  The linker prefixes all warnings with that already.
45315 2013-02-12  Andreas Schwab  <schwab@suse.de>
45317         [BZ #15078]
45318         * posix/regexec.c (extend_buffers): Add parameter min_len.
45319         (check_matching): Pass minimum needed length.
45320         (clean_state_log_if_needed): Likewise.
45321         (get_subexp): Likewise.
45322         * posix/Makefile (tests): Add bug-regex34.
45323         (bug-regex34-ENV): Define.
45324         * posix/bug-regex34.c: New file.
45326         [BZ #11561]
45327         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45328         elements compare against the byte sequence of it, not its name.
45329         * posix/Makefile (tests): Add bug-regex35.
45330         (bug-regex35-ENV): Define.
45331         * posix/bug-regex35.c: New file.
45333 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45335         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45336         comment.
45337         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45338         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45339         (CHECK_EOL): Add undef.
45341 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45343         * bits/stdlib-bsearch.h: New file.
45344         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45345         * stdlib/stdlib.h: Likewise.
45347 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45349         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45350         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45351         declaration.
45352         * manual/search.texi (Array Search Function): Add missing const in
45353         lfind prototype.
45354         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45355         declaration to use rlim_t.
45356         (Basic Scheduling Functions): Remove erroneous const from
45357         sched_getparam prototype.  Remove erroneous * from
45358         sched_get_priority_max and sched_get_priority_min prototypes.
45359         (Resource Usage): Fix summary @comment on vtimes to refer to
45360         sys/vtimes.h rather than vtimes.h.
45361         Add missing *s in vtimes prototype.
45362         (Limits on Resources): Fix ulimit prototype to return long int.
45363         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45364         prototypes to use long int rather than double.
45365         (BSD Random): Fix initstate and setstate to use char *, not void *.
45366         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45367         prototype to make second argument 'struct aiocb64 *const[]'.
45368         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45369         (Status of AIO Operations): Remove erroneous const in aio_return and
45370         aio_return64 prototypes.
45371         (Synchronizing I/O): Fix sync prototype to return void.
45372         * manual/startup.texi (Suboptions): Remove an erroneous const in
45373         getsubopt prototype.
45374         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45375         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45376         use size_t rather than int.
45377         (Scanning All Users): Likewise for getpwent_r.
45378         (Setting Groups): Add missing const to setgroups prototype.
45379         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45380         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45381         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45382         'const void *' rather than 'const char *'.
45383         (Host Address Functions): Likewise for inet_ntop.
45384         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45385         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45386         ssize_t for return value.
45387         (Sending Data): Likewise for send, sendto, sendmsg.
45388         (Socket Option Functions): Add a missing const in setsockopt prototype.
45389         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45390         use wchar_t for the argument.
45391         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45392         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45393         take no arguments.
45394         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45395         double/float/long double for second argument.
45396         Fix return types of significand, significandf, significandl.
45397         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45398         argument in fchmod prototype.
45399         (File Owner): Use uid_t and gid_t in fchown prototype.
45400         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45401         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45402         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45403         use 'const struct dirent **' as argument types to CMP function pointer
45404         argument.
45405         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45406         (File Times): Fix summary magic @comment for struct utimbuf and utime
45407         to refer to utime.h, not time.h.
45408         * manual/string.texi (Argz Functions): Add missing const in
45409         argz_extract and argz_next prototypes.
45410         (Finding Tokens in a String): Likewise for basename.
45411         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45412         (Copying and Concatenation): Fix typo in wmemmove prototype.
45413         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45414         (Signal Stack): Remove erroneous const in sigstack prototype.
45415         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45416         prototype.
45417         (Simple Calendar Time): Likewise for stime.
45418         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45419         prototype.
45420         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45421         say sys/sysctl.h instead.
45422         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45423         and vsyslog prototypes.
45425 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45427         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45428         Remove.
45430 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45432         * misc/sys/mman.h: Fix typo in mremap comment.
45434 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45436         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45437         the '\0' terminator.
45439 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45441         [BZ #13550]
45442         * debug/segfault.c: Don't include <bp-checks.h>.
45443         * sysdeps/generic/bp-checks.h: Remove file.
45444         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45445         (__GETDENTS): Don't use CHECK_N.
45446         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45447         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45448         (__getgroups): Don't use CHECK_N.
45449         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45450         (setgroups): Don't use CHECK_N.
45451         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45452         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45453         (__libc_msgrcv): Don't use CHECK_N.
45454         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45455         (__libc_msgsnd): Don't use CHECK_N.
45456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45457         <bp-checks.h>.
45458         (__libc_pread): Don't use CHECK_N.
45459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45460         include <bp-checks.h>.
45461         (__libc_pread64): Don't use CHECK_N.
45462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45463         include <bp-checks.h>.
45464         (__libc_pwrite): Don't use CHECK_N.
45465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45466         include <bp-checks.h>.
45467         (__libc_pwrite64): Don't use CHECK_N.
45468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45469         <bp-checks.h>.
45470         (__libc_pread): Don't use CHECK_N.
45471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45472         include <bp-checks.h>.
45473         (__libc_pread64): Don't use CHECK_N.
45474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45475         include <bp-checks.h>.
45476         (__libc_pwrite): Don't use CHECK_N.
45477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45478         include <bp-checks.h>.
45479         (__libc_pwrite64): Don't use CHECK_N.
45480         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45481         (do_pread): Don't use CHECK_N.
45482         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45483         (do_pread64): Don't use CHECK_N.
45484         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45485         (do_pwrite): Don't use CHECK_N.
45486         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45487         (do_pwrite64): Don't use CHECK_N.
45488         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45489         (__libc_readv): Don't use CHECK_N.
45490         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45491         (semop): Don't use CHECK_N.
45492         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45493         <bp-checks.h>.
45494         (semtimedop): Don't use CHECK_N.
45495         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45496         (__libc_pread): Don't use CHECK_N.
45497         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45498         <bp-checks.h>.
45499         (__libc_pread64): Don't use CHECK_N.
45500         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45501         <bp-checks.h>.
45502         (__libc_pwrite): Don't use CHECK_N.
45503         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45504         <bp-checks.h>.
45505         (__libc_pwrite64): Don't use CHECK_N.
45506         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45507         <bp-checks.h>.
45508         (__libc_msgrcv): Don't use CHECK_N.
45509         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45510         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45511         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45512         (__libc_writev): Don't use CHECK_N.
45514 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45516         * string/strcpy.c: Removed unused variable.
45518         * Makeconfig (+sysdep-includes): Define with := rather than =.
45519         Use an existing include/ subdir of each sysdeps dir before it.
45521 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45523         * nscd/connection.c (register_traced_file): Comment function.
45524         [HAVE_INOTIFY] (union __inev): Define.
45525         [HAVE_INOTIFY] (inotify_check_files): New function.
45526         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45527         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45528         clear_db_cache.
45529         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45531 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45533         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45534         loaded if not already and that a failure is permanent.
45536 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45538         [BZ #15006]
45539         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45540         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45542 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45544         [BZ #13550]
45545         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45546         (CHECK_1_NULL_OK): Likewise.
45547         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45548         (__fxstat): Do not use CHECK_1.
45549         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45550         <bp-checks.h>.
45551         (___fxstat64): Do not use CHECK_1.
45552         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45553         <bp-checks.h>.
45554         (__fxstatat): Do not use CHECK_1.
45555         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45556         <bp-checks.h>.
45557         (__fxstatat64): Do not use CHECK_1.
45558         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45559         <bp-checks.h>.
45560         (__fxstat): Do not use CHECK_1.
45561         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45562         <bp-checks.h>.
45563         (__fxstatat): Do not use CHECK_1.
45564         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45565         <bp-checks.h>.
45566         (__getresgid): Do not use CHECK_1.
45567         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45568         <bp-checks.h>.
45569         (__getresuid): Do not use CHECK_1.
45570         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45571         <bp-checks.h>.
45572         (__lxstat): Do not use CHECK_1.
45573         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45574         <bp-checks.h>.
45575         (__old_msgctl): Do not use CHECK_1.
45576         (__new_msgctl): Likewise.
45577         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45578         <bp-checks.h>.
45579         (__new_setrlimit): Do not use CHECK_1.
45580         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45581         <bp-checks.h>.
45582         (__old_shmctl): Do not use CHECK_1.
45583         (__new_shmctl): Likewise.
45584         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45585         <bp-checks.h>.
45586         (__xstat): Do not use CHECK_1.
45587         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45588         (__lxstat): Do not use CHECK_1.
45589         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45590         <bp-checks.h>.
45591         (___lxstat64): Do not use CHECK_1.
45592         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45593         (__old_msgctl): Do not use CHECK_1.
45594         (__new_msgctl): Likewise.
45595         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45596         <bp-checks.h>.
45597         (__gettimeofday): Do not use CHECK_1.
45598         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45599         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45600         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45601         <bp-checks.h>.
45602         (__gettimeofday): Do not use CHECK_1.
45603         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45604         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45605         (__new_shmctl): Do not use CHECK_1.
45606         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45607         <bp-checks.h>.
45608         (do_sigtimedwait): Do not use CHECK_1.
45609         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45610         <bp-checks.h>.
45611         (do_sigwaitinfo): Do not use CHECK_1.
45612         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45613         <bp-checks.h>.
45614         (msgctl): Do not use CHECK_1.
45615         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45616         <bp-checks.h>.
45617         (shmctl): Do not use CHECK_1.
45618         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45619         (ustat): Do not use CHECK_1.
45620         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45621         <bp-checks.h>.
45622         (__fxstat): Do not use CHECK_1.
45623         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45624         <bp-checks.h>.
45625         (__fxstatat): Do not use CHECK_1.
45626         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45627         <bp-checks.h>.
45628         (__lxstat): Do not use CHECK_1.
45629         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45630         <bp-checks.h>.
45631         (__xstat): Do not use CHECK_1.
45632         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45633         (__xstat): Do not use CHECK_1.
45634         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45635         (___xstat64): Do not use CHECK_1.
45637         [BZ #13550]
45638         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45639         definitions.
45640         (CHECK_BOUNDS_HIGH): Likewise.
45641         * string/strcpy.c: Do not include <bp-checks.h>.
45642         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45644 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45646         * nscd/nscd-client.h (__nscd_drop_map_ref):
45647         Add __attribute__ ((unused)).
45648         * nis/nss-nisplus.h (niserr2nss): Likewise.
45650         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45651         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45653         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45654         Remove inline keyword.
45655         * include/rounding-mode.h (round_away): Likewise.
45656         * libio/wfileops.c (adjust_wide_data): Likewise.
45657         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45658         (__m128i_strloadu_tolower): Likewise.
45659         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45660         (__m128i_strloadu_tolower): Likewise.
45661         * time/mktime.c (ydhms_diff): Likewise.
45662         * locale/elem-hash.h (elem_hash): Likewise.
45663         * locale/setlocale.c (setdata): Likewise.
45664         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45665         (re_string_wchar_at): Likewise.
45666         (bitset_not, bitset_merge, bitset_mask): Likewise.
45667         [!(__GNUC__ > 3)] (inline): Remove macro.
45668         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45669         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45670         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45671         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45672         * string/memcmp.c (memcmp_bytes): Likewise.
45673         * locale/programs/locarchive.c (compute_hashval): Likewise.
45674         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45675         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45676         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45677         * nss/getent.c (print_rpc, print_protocols): Likewise.
45678         (print_passwd, print_group, print_aliases): Likewise.
45679         * nis/nss-nisplus.h (niserr2nss): Likewise.
45680         * nscd/connections.c (restart_p): Likewise.
45681         Change return type to bool.
45683 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45685         * Makeconfig (all-Depend-files): Add existing
45686         $(sorted-subdirs:=/Depend) files.
45687         (all-subdirs): Remove nss.
45688         * sysdeps/unix/inet/Subdirs: Add it here instead.
45689         * hesiod/Depend: New file.
45691         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45692         instead of calling alloca.
45694         * io/lseek.c (__lseek): Rename to __libc_lseek.
45695         Define __lseek as an alias.
45697         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45699 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45701         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45702         else clause and remove check for non-standard endianness.
45704 2013-02-04  David S. Miller  <davem@davemloft.net>
45706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45708 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45710         [BZ #13550]
45711         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45712         (__ubp_memchr): Remove prototype.
45713         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45714         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45715         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45716         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45717         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45718         Remove alias.
45719         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45720         (__ubp_memchr): Likewise.
45721         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45722         (__ubp_memchr): Likewise.
45723         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45724         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45725         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45726         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45727         CHECK_STRING.
45728         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45729         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45730         (__getcwd): Do not use CHECK_STRING.
45731         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45732         <bp-checks.h>.
45733         (__real_chown): Do not use CHECK_STRING.
45734         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45735         <bp-checks.h>.
45736         (fchownat): Do not use CHECK_STRING.
45737         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45738         CHECK_STRING.
45739         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45740         <bp-checks.h>.
45741         (__lchown): Do not use CHECK_STRING.
45742         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45743         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45744         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45745         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45747         include <bp-checks.h>.
45748         (truncate64): Do not use CHECK_STRING.
45749         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45750         <bp-checks.h>.
45751         (__real_chown): Do not use CHECK_STRING.
45752         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45753         <bp-checks.h>.
45754         (__lchown): Do not use CHECK_STRING.
45755         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45756         <bp-checks.h>.
45757         (__chown): Do not use CHECK_STRING.
45758         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45759         <bp-checks.h>.
45760         (truncate64): Do not use CHECK_STRING.
45761         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45762         Likewise.
45763         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45764         (__xmknod): Do not use CHECK_STRING.
45765         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45766         <bp-checks.h>.
45767         (__xmknodat): Do not use CHECK_STRING.
45768         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45769         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45771 2013-02-04  Andreas Schwab  <schwab@suse.de>
45773         [BZ #14142]
45774         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45775         * include/netdb.h: Likewise for h_errno.
45776         * elf/tst-stackguard1.c: Include <tls.h>.
45778 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45780         * elf/link.h (struct link_map): Extend the l_addr comment.
45781         * include/link.h (struct link_map): Likewise.
45783 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45785         [BZ #13550]
45786         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45787         (BOUNDED_1): Remove macro.
45788         * debug/backtrace.c: Don't include <bp-checks.h>.
45789         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45790         (__backtrace): Likewise.
45791         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45792         <bp-checks.h>.
45793         (__backtrace): Don't use BOUNDED_1.
45794         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45795         <bp-checks.h>.
45796         (__backtrace): Don't use BOUNDED_1.
45797         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45798         (__backtrace): Don't use BOUNDED_1.
45799         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45800         (shmat): Don't use BOUNDED_N.
45802 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45804         [BZ #13550]
45805         * sysdeps/generic/bp-start.h: Remove file.
45806         * csu/libc-start.c: Don't include <bp-start.h>.
45807         (LIBC_START_MAIN): Set up __environ directly instead of using
45808         INIT_ARGV_and_ENVIRON.
45809         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45810         <bp-start.h>.
45812         [BZ #13550]
45813         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45814         definitions.
45815         (CHECK_FCNTL): Likewise.
45816         (CHECK_N_PAGES): Likewise.
45818         [BZ #13550]
45819         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45820         definitions.
45821         (CHECK_SIGSET_NULL_OK): Likewise.
45822         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45823         <bp-checks.h>.
45824         (sigpending): Don't use CHECK_SIGSET.
45825         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45826         <bp-checks.h>.
45827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45828         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45829         <bp-checks.h>.
45830         (do_sigsuspend): Don't use CHECK_SIGSET.
45831         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45832         use CHECK_SIGSET.
45833         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45834         (do_sigwait): Don't use CHECK_SIGSET.
45835         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45836         use CHECK_SIGSET.
45837         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45838         include <bp-checks.h>.
45839         (sigpending): Don't use CHECK_SIGSET.
45840         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45841         include <bp-checks.h>.
45842         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45843         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45844         <bp-checks.h>.
45845         (sigpending): Don't use CHECK_SIGSET.
45846         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45847         <bp-checks.h>.
45848         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45850         [BZ #13550]
45851         * sysdeps/generic/bp-semctl.h: Remove file.
45852         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45853         <bp-checks.h> and <bp-semctl.h>.
45854         (__old_semctl): Don't use CHECK_SEMCTL.
45855         (__new_semctl): Likewise.
45856         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45857         and <bp-semctl.h>.
45858         (__old_semctl): Don't use CHECK_SEMCTL.
45859         (__new_semctl): Likewise.
45860         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45861         <bp-checks.h> and <bp-semctl.h>.
45862         (__old_semctl): Don't use CHECK_SEMCTL.
45863         (__new_semctl): Likewise.
45864         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45865         <bp-checks.h> and <bp-semctl.h>.
45866         (semctl): Don't use CHECK_SEMCTL.
45868         [BZ #13550]
45869         * Makerules (elide-bp-thunks): Remove variable.
45870         (elide-routines.oS): Don't use $(elide-bp-thunks).
45871         (elide-routines.os): Likewise.
45872         (elide-routines.o): Likewise.
45873         (elide-routines.op): Likewise.
45874         (elide-routines.og): Likewise.
45875         (objects): Don't use $(bp-thunks).
45876         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45877         include.
45878         (common-generated): Do not add s-proto-bp.d.
45879         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45880         (int): Likewise.
45881         (typ): Likewise.
45882         Do not generate makefile rules for bounded-pointer thunks.
45883         * sysdeps/generic/bp-thunks.h: Remove file.
45884         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45885         * sysdeps/unix/s-proto-bp.S: Likewise.
45887         [BZ #15062]
45888         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45889         parts of result separately when argument is not close to line from
45890         -i to i and one part of argument is small.
45891         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45892         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45893         * math/libm-test.inc (cacos_test): Add more tests.
45894         (casin_test): Likewise.
45895         (casinh_test): Likewise.
45896         * sysdeps/i386/fpu/libm-test-ulps: Update.
45897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45899 2013-01-31  David S. Miller  <davem@davemloft.net>
45901         * po/de.po: Update from translation team.
45903 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45905         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45907 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45909         * configure.in (_AC_PROG_CC_C89): New definition.
45910         * configure: Regenerate.
45912         * configure.in (AC_PROG_CPP): New definition.
45913         * configure: Regenerate.
45915 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45917         * debug/tst-backtrace.h: New file.
45918         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45919         (ret): Remove variable.
45920         (x): Likewise.
45921         (FAIL): Remove macro.
45922         (NO_INLINE): Likewise.
45923         (fn1): Use match function instead of strstr.
45924         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45925         (ret): Remove variable.
45926         (x): Likewise.
45927         (FAIL): Remove macro.
45928         (NO_INLINE): Likewise.
45929         (fn): Use match function instead of strstr.
45930         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45931         (ret): Remove variable.
45932         (x): Likewise.
45933         (FAIL): Remove macro.
45934         (NO_INLINE): Likewise.
45935         (handle_signal): Use match function instead of strstr.
45936         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45937         (ret): Remove variable.
45938         (x): Likewise.
45939         (FAIL): Remove macro.
45940         (NO_INLINE): Likewise.
45941         (handle_signal): Use match function instead of strstr.
45943 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45945         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45947 2013-01-23  David S. Miller  <davem@davemloft.net>
45949         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45950         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45951         argument of CAS if possible.
45952         * sysdeps/sparc/sparc64/bits/atomic.h
45953         (__arch_compare_and_exchange_val_32_acq): Likewise.
45954         (__arch_compare_and_exchange_val_64_acq): Likewise.
45956 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45958         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45959         * sysdeps/posix/ulimit.c: ... this.
45960         Include <limits.h>.
45961         * sysdeps/unix/bsd/ulimit.c: Remove file.
45963 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45965         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45966         (LDFLAGS-tst-array5): Likewise.
45968 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45970         [BZ #15036]
45971         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45972         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45973         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45974         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45976 2013-01-21  David S. Miller  <davem@davemloft.net>
45978         * sysdeps/sparc/backtrace.c: New file.
45979         * sysdeps/sparc/sparc32/backtrace.h: New file.
45980         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45981         * sysdeps/sparc/sparc64/backtrace.h: New file.
45982         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45983         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45984         -funwind-tables.
45986 2013-01-21  Andreas Schwab  <schwab@suse.de>
45988         [BZ #15020]
45989         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45990         closed its stdout.
45992 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45995         "mpa2.h".
45996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45998 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45999             Mark Mitchell  <mark@codesourcery.com>
46000             Tom de Vries  <tom@codesourcery.com>
46001             Paul Pluzhnikov  <ppluzhnikov@google.com>
46003         * debug/tst-backtrace2.c: New file.
46004         * debug/tst-backtrace3.c: Likewise.
46005         * debug/tst-backtrace4.c: Likewise.
46006         * debug/tst-backtrace5.c: Likewise.
46007         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46008         (CFLAGS-tst-backtrace3.c): Likewise.
46009         (CFLAGS-tst-backtrace4.c): Likewise.
46010         (CFLAGS-tst-backtrace5.c): Likewise.
46011         (LDFLAGS-tst-backtrace2): Likewise.
46012         (LDFLAGS-tst-backtrace3): Likewise.
46013         (LDFLAGS-tst-backtrace4): Likewise.
46014         (LDFLAGS-tst-backtrace5): Likewise.
46015         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46016         tst-backtrace4 and tst-backtrace5.
46018 2013-01-18  Anton Blanchard  <anton@samba.org>
46019             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46021         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46022         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46023         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46024         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46026         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46027         "+r" and remove output regs list as redundant.  Add explicit inline
46028         asm to specify register of return val to work around compiler codegen
46029         bug.  Remove (int) cast on return value.  Add return type parameter to
46030         use in macro so that this macro does not truncate return value for
46031         64-bit values.
46032         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46033         pass to INTERNAL_VSYSCALL_NCS.
46034         (INLINE_VSYSCALL): Add 'long int' as return type to
46035         INTERNAL_VSYSCALL_NCS macro invocation.
46036         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46037         INTERNAL_VSYSCALL_NCS macro invocation.
46038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46040 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46042         [BZ #14496]
46043         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46044         Fix application of SIMD FP exception mask.
46046         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46047         mp_no from a power of two.
46048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46049         __mpexp_twomm1.  Use __pow_mp.
46051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46052         multiplication.
46054 2013-01-17  David S. Miller  <davem@davemloft.net>
46056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46058 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46060         [BZ #15023]
46061         * include/complex.h: Condition contents on [!_COMPLEX_H].
46062         (__kernel_casinhf): New prototype.
46063         (__kernel_casinh): Likewise.
46064         (__kernel_casinhl): Likewise.
46065         * math/Makefile (libm_calls): Add k_casinh.
46066         * math/k_casinh.c: New file.
46067         * math/k_casinhf.c: Likewise.
46068         * math/k_casinhl.c: Likewise.
46069         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46070         finite nonzero arguments.
46071         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46072         finite nonzero arguments.
46073         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46074         finite nonzero arguments.
46075         * math/s_casinh.c: Do not include <float.h>.
46076         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46077         * math/s_casinhf.c: Do not include <float.h>.
46078         (__casinhf): Move code for finite nonzero arguments to
46079         k_casinhf.c.
46080         * math/s_casinhl.c: Do not include <float.h>.
46081         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46082         redefine.
46083         (__casinhl): Move code for finite nonzero arguments to
46084         k_casinhl.c.
46085         * math/libm-test.inc (cacos_test): Add more tests.
46086         * sysdeps/i386/fpu/libm-test-ulps: Update.
46087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46089 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46091         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46092         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46093         [!HAVE_MREMAP]: Remove [defined linux] case.
46094         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46096 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46098         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46100 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46102         * elf/elf.h (R_386_SIZE32): New relocation.
46103         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46104         R_386_SIZE32.
46105         (elf_machine_rela): Likewise.
46106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46107         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46109 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46111         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46112         (FP_FAST_FMA): Do not define.
46113         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46114         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46115         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46116         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46117         !_SOFT_FLOAT]: Likewise.
46118         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46119         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46120         value.
46121         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46122         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46123         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46124         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46125         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46126         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46127         file.
46129 2013-01-16  Andreas Schwab  <schwab@suse.de>
46131         [BZ #14327]
46132         * include/stdlib.h (__mktemp): Add declaration.
46133         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46134         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46136 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46139         definitions.
46140         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46141         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46142         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46143         definitions here.
46144         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46145         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46146         definitions.
46147         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46148         and ONE.
46149         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46150         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46151         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46152         definitions.
46153         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46154         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46155         definitions.
46156         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46158         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46160 2013-01-15  David S. Miller  <davem@davemloft.net>
46162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46163         trunc{,f} to libm-sysdep_routes.
46164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46166         file.
46167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46169         file.
46170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46171         file.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46174         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46175         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46176         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46177         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46178         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46179         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46182         nearbyint{,f} to libm-sysdep_routes.
46183         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46185         New file.
46186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46187         file.
46188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46189         New file.
46190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46191         file.
46192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46194         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46195         file.
46196         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46197         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46198         file.
46199         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46200         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46201         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46203         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46204         libc_feholdexcept and libc_fesetenv.
46206 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46208         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46210 2013-01-14  David S. Miller  <davem@davemloft.net>
46212         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46213         (SPARC_ASM_VIS2_IFUNC): Likewise.
46214         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46216         use of 'siam' instruction.
46217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46218         Likewise.
46219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46220         Likewise.
46221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46222         Likewise.
46223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46228         file.
46229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46230         file.
46231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46232         file.
46233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46234         file.
46235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46240         new VIS2 routines.
46241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46244         Likewise.
46245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46250         routines to libm-sysdep_routines.
46251         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46254         fdim/fdimf to libm-sysdep_routines.
46255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46256         file.
46257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46259         file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46263         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46264         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46265         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46266         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46268 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46270         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46271         to optimize copies.
46273         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46278         local variable MPTWO.
46279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46280         Likewise.
46282 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46284         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46285         GLOB_NOESCAPE.
46287 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46289         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46291 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46293         * manual/pattern.texi (glob_t): Document gl_flags.
46294         (glob64_t): Likewise.
46296 2013-01-11  David S. Miller  <davem@davemloft.net>
46298         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46299         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46300         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46301         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46302         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46303         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46304         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46305         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46306         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46307         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46308         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46309         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46310         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46312         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46313         sparc V9 rather than using V8 code.
46314         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46315         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46317         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46318         Move to...
46319         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46320         Here.
46322 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46324         [BZ #14941]
46325         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46326         not in the main loop.
46327         * configure: Regenerated.
46329 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46331         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46332         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46333         to just #else.
46334         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46335         [!__GLIBC_HAVE_LONG_LONG] case.
46336         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46337         condition to just #else.
46338         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46339         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46340         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46341         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46342         unconditional.
46343         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46344         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46345         #elif condition to just #else.
46346         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46347         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46348         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46349         #elif condition to just #else.
46351 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46353         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46354         (EF_MIPS_ARCH_64): Fix value.
46355         (EF_MIPS_ARCH_32R2): New.
46356         (EF_MIPS_ARCH_64R2): New.
46358 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46360         * Makeconfig (+link-pie-before-libc): New.
46361         (+link-pie-after-libc): Likewise.
46362         (+link-pie-tests): Likewise.
46363         (+link-pie): Rewritten.
46364         (link-before-libc): Remove $(config-LDFLAGS).
46365         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46366         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46367         (config-LDFLAGS): Renamed to ...
46368         (rtld-LDFLAGS): This.
46369         (rtld-tests-LDFLAGS): New macro.
46370         (link-libc-rpath-link): Likewise.
46371         (link-libc-tests-rpath-link): Likewise.
46372         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46373         (link-libc): Prepand $(link-libc-rpath-link).
46374         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46375         (test-program-prefix): New macro.
46376         (test-via-rtld-prefix): Likewise.
46377         (test-program-cmd): Likewise.
46378         (host-test-program-cmd): Likewise.
46379         * Makefile ($(common-objpfx)testrun.sh): Replace
46380         $(run-program-prefix) with $(test-program-prefix).
46381         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46382         $(rtld-LDFLAGS).
46383         ($(common-objpfx)shlib.lds): Likewise.
46384         (build-module-helper): Likewise.
46385         ($(common-objpfx)format.lds): Likewise.
46386         * Rules (binaries-pie-tests): New.
46387         (binaries-pie-notests): Likewise.
46388         (binaries-pie): Rewritten.
46389         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46390         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46391         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46392         (make-test-out): Replace $(host-built-program-cmd) with
46393         $(host-test-program-cmd).
46394         * config.make.in (build-hardcoded-path-in-tests): New variable.
46395         * configure.in (--enable-hardcoded-path-in-tests): New configure
46396         option.
46397         (hardcoded_path_in_tests): New AC_SUBST.
46398         * configure: Regenerated.
46399         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46400         $(built-program-cmd) with $(test-program-cmd).
46401         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46402         (test_program_cmd): This.
46403         * elf/Makefile ($(objpfx)order.out): Run test with
46404         $(test-program-prefix).
46405         ($(objpfx)order2.out): Likewise.
46406         ($(objpfx)tst-initorder.out): Likewise.
46407         ($(objpfx)tst-initorder2.out): Likewise.
46408         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46409         $(test-program-cmd).
46410         ($(objpfx)tst-array1-static.out): Likewise.
46411         ($(objpfx)tst-array2.out): Likewise.
46412         ($(objpfx)tst-array3.out): Likewise.
46413         ($(objpfx)tst-array4.out): Likewise.
46414         ($(objpfx)tst-array5.out): Likewise.
46415         ($(objpfx)tst-array5-static.out): Likewise.
46416         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46417         $(test-program-cmd).
46418         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46419         $(run-program-prefix) with $(test-program-prefix).
46420         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46421         (test_program_prefix): This.
46422         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46423         $(run-program-prefix) with $(test-program-prefix).
46424         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46425         (test_program_prefix): This.
46426         * iconvdata/tst-tables.sh: Likewise.
46427         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46428         $(run-program-prefix) with $(test-program-prefix).
46429         ($(objpfx)tst-translit.out): Likewise.
46430         ($(objpfx)tst-gettext2.out): Likewise.
46431         ($(objpfx)tst-gettext4.out): Likewise.
46432         ($(objpfx)tst-gettext6.out): Likewise.
46433         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46434         (test_program_prefix): This.
46435         * intl/tst-gettext2.sh: Likewise.
46436         * intl/tst-gettext4.sh  Likewise.
46437         * intl/tst-gettext6.sh: Likewise.
46438         * intl/tst-translit.sh: Likewise.
46439         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46440         with $(test-program-cmd).
46441         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46442         $(run-program-prefix) with $(test-program-prefix).
46443         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46444         (test_program_prefix): This.
46445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46446         $(run-program-prefix) with $(test-program-prefix).
46447         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46448         (test_program_prefix): This.
46449         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46450         * posix/Makefile ($(objpfx)globtest.out): Replace
46451         $(run-via-rtld-prefix) and $(test-wrapper) with
46452         $(test-program-prefix) and $(test-via-rtld-prefix).
46453         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46454         $(test-program-prefix).
46455         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46456         $(host-test-program-cmd).
46457         (tst-spawn-ARGS): Likewise.
46458         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46459         $(test-program-prefix).
46460         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46461         (test_via_rtld_prefix): This.
46462         (test_wrapper): Renamed to ...
46463         (test_program_prefix): This.
46464         (run_program_prefix): Replaced by test_program_prefix.
46465         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46466         (test_program_prefix): This.
46467         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46468         with $(host-test-program-cmd).
46469         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46470         $(run-program-prefix) with $(test-program-prefix).
46471         ($(objpfx)tst-printf.out): Likewise.
46472         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46473         $(test-program-cmd).
46474         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46475         (test_program_prefix): This.
46476         * stdio-common/tst-unbputc.sh: Likewise.
46477         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46478         $(run-program-prefix) with $(test-program-prefix).
46479         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46480         (test_program_prefix): This.
46481         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46482         $(built-program-cmd) with $(test-program-cmd).
46484 2013-01-11  Andreas Jaeger  <aj@suse.de>
46486         [BZ #15003]
46487         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46488         value. Sync with Linux 3.7.
46490 2013-01-10  David S. Miller  <davem@davemloft.net>
46492         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46493         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46494         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46496 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46498         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46499         never set.
46500         * configure: Regenerated.
46502 2013-01-10  David S. Miller  <davem@davemloft.net>
46504         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46505         sparc V9 rather than using V8 code.
46506         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46507         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46509 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46511         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46512         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46513         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46514         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46515         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46516         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46517         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46518         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46519         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46520         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46521         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46522         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46523         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46524         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46525         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46526         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46527         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46528         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46529         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46530         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46531         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46532         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46533         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46534         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46535         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46536         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46537         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46539 2013-01-10  David S. Miller  <davem@davemloft.net>
46541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46543 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46545         * posix/Makefile (tests-static): New variable.
46546         (tests): Add $(tests-static).
46547         (tst-exec-static-ARGS): New variable.
46548         (tst-spawn-static-ARGS): Likewise.
46549         * posix/tst-exec-static.c: New file.
46550         * posix/tst-spawn-static.c: Likewise.
46551         * posix/tst-exec.c: Support run directly.
46552         * posix/tst-spawn.c: Likewise.
46554 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46556         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46557         long.
46558         * math/bits/mathcalls.h (llrint): Likewise.
46559         (llround): Likewise.
46560         * stdlib/stdlib.h (struct drand48_data): Likewise.
46561         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46562         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46563         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46564         Likewise.
46565         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46566         Likewise.
46567         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46568         (elf_greg_t): Likewise.
46569         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46570         (__jmp_buf): Likewise.
46571         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46572         definitions.
46573         (llrint): Likewise, for all definitions.
46574         (llrintl): Likewise.
46576         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46577         Remove [__GNUC__] condition.
46578         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46579         condition to just [__USE_ISOC99].
46580         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46582 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46584         [BZ #14200]
46585         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46586         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46587         defined.
46588         (_POSIX_V6_ILP32_OFF32): Likewise.
46589         (_XBS5_ILP32_OFF32): Likewise.
46590         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46591         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46593 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46595         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46598         doubles __mpexp_twomm1.  Adjust usage.
46599         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46600         Remove.
46602 2013-01-10  Andreas Schwab  <schwab@suse.de>
46604         [BZ #14964]
46605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46606         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46608 2013-01-09  David S. Miller  <davem@davemloft.net>
46610         [BZ #15003]
46611         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46612         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46613         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46614         (TCP_FASTOPEN): Define.
46615         (tcp_repair_opt): New structure.
46616         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46617         enum values.
46618         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46619         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46620         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46621         (tcp_cookie_transactions): New structure.
46623 2013-01-09  Anton Blanchard  <anton@samba.org>
46625         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46626         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46627         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46630 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46632         * include/features.h (__USE_ANSI): Remove.
46634 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46636         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46638         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46640 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46642         * sysdeps/s390/fpu/libm-test-ulps: Update.
46644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46646         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46647         (__acr): Likewise.
46648         (__cpy): Likewise.
46649         (norm): Likewise.
46650         (denorm): Likewise.
46651         (__mp_dbl): Likewise.
46652         (__dbl_mp): Likewise.
46653         (add_magnitudes): Likewise.
46654         (sub_magnitudes): Likewise.
46655         (__add): Likewise.
46656         (__sub): Likewise.
46657         (__mul): Likewise.
46658         (__inv): Likewise.
46659         (__dvd): Likewise.
46660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46661         (__acr): Likewise.
46662         (__cpy): Likewise.
46663         (norm): Likewise.
46664         (denorm): Likewise.
46665         (__mp_dbl): Likewise.
46666         (__dbl_mp): Likewise.
46667         (add_magnitudes): Likewise.
46668         (sub_magnitudes): Likewise.
46669         (__add): Likewise.
46670         (__sub): Likewise.
46671         (__mul): Likewise.
46672         (__inv): Likewise.
46673         (__dvd): Likewise.
46674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46675         (__acr): Likewise.
46676         (__cpy): Likewise.
46677         (norm): Likewise.
46678         (denorm): Likewise.
46679         (__mp_dbl): Likewise.
46680         (__dbl_mp): Likewise.
46681         (add_magnitudes): Likewise.
46682         (sub_magnitudes): Likewise.
46683         (__add): Likewise.
46684         (__sub): Likewise.
46685         (__mul): Likewise.
46686         (__inv): Likewise.
46687         (__dvd): Likewise.
46689 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46691         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46692         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46693         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46694         2 && __USE_EXTERN_INLINES]: Likewise.
46696 2013-01-08  Andreas Jaeger  <aj@suse.de>
46698         [BZ# 14985]
46699         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46700         Remove.
46701         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46702         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46704 2013-01-07  Anton Blanchard  <anton@samba.org>
46706         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46707         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46708         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46709         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46710         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46711         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46712         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46713         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46715         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46716         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46717         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46720         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46721         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46722         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46723         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46724         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46727         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46729         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46730         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46731         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46732         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46733         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46734         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46735         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46736         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46738         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46739         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46741         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46743         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46744         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46746         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46748         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46750 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46752         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46753         (__MALLOC_PMT): Likewise.
46754         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46755         [__GNUC__], only on [_LIBC].
46756         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46757         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46758         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46759         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46760         forward declaration.
46761         (realloc_hook_ini): Likewise.
46762         (memalign_hook_ini): Likewise.
46763         (__libc_memalign): Do not use __MALLOC_PMT in variable
46764         declaration.
46765         (__libc_valloc): Likewise.
46766         (__libc_pvalloc): Likewise.
46767         (__libc_calloc): Likewise.
46768         (__posix_memalign): Likewise.
46770         [BZ #14996]
46771         * math/s_casinh.c: Include <float.h>.
46772         (__casinh): Do not do computation with squaring and square root
46773         for large arguments.
46774         * math/s_casinhf.c: Include <float.h>.
46775         (__casinhf): Do not do computation with squaring and square root
46776         for large arguments.
46777         * math/s_casinhl.c: Include <float.h>.
46778         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46779         (__casinhl): Do not do computation with squaring and square root
46780         for large arguments.
46781         * math/libm-test.inc (casin_test): Add more tests.
46782         (casinh_test): Likewise.
46783         * sysdeps/i386/fpu/libm-test-ulps: Update.
46784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46786 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46788         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46789         (__x86_64_raw_data_cache_size): Likewise.
46790         (__x86_64_data_cache_size_half): Likewise.
46791         (__x86_64_raw_data_cache_size_half): Likewise.
46792         (__x86_64_shared_cache_size): Likewise.
46793         (__x86_64_raw_shared_cache_size): Likewise.
46794         (__x86_64_shared_cache_size_half): Likewise.
46795         (__x86_64_raw_shared_cache_size_half): Likewise.
46796         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46797         to ...
46798         (__x86_data_cache_size): This.
46799         (__x86_64_raw_data_cache_size): Renamed to ...
46800         (__x86_raw_data_cache_size): This.
46801         (__x86_64_data_cache_size_half): Renamed to ...
46802         (__x86_data_cache_size_half): This.
46803         (__x86_64_raw_data_cache_size_half): Renamed to ...
46804         (__x86_raw_data_cache_size_half): This.
46805         (__x86_64_shared_cache_size): Renamed to ...
46806         (__x86_shared_cache_size): This.
46807         (__x86_64_raw_shared_cache_size): Renamed to ...
46808         (__x86_raw_shared_cache_size): This.
46809         (__x86_64_shared_cache_size_half): Renamed to ...
46810         (__x86_shared_cache_size_half): This.
46811         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46812         (__x86_raw_shared_cache_size_half): This.
46813         * sysdeps/x86_64/memcpy.S: Updated.
46814         * sysdeps/x86_64/memset.S: Likewise.
46815         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46817         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46819 2013-01-04  David S. Miller  <davem@davemloft.net>
46821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46823 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46825         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46826         1 to avoid redefinition warning.
46827         (__USE_GNU): Don't define.
46828         (init_signaling_nan): Protoize.
46830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46832 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46834         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46836         (__cpymn): Likewise.
46837         (norm): Remove commented code.
46838         (denorm): Likewise.
46839         (__mp_dbl): Likewise.
46840         (__inv): Likewise.
46841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46842         (__cpymn): Likewise.
46843         (norm): Remove commented code.
46844         (denorm): Likewise.
46845         (__mp_dbl): Likewise.
46846         (__inv): Likewise.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46849         mp_no value for 1.0 and 2.0.
46850         (norm): Use RADIXI instead of radixi.d.
46851         (denorm): Likewise.
46852         (__mul): Use 0.0 instead of zero.d.
46853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46854         mp_no value for 1.0 and 2.0.
46855         (norm): Use RADIXI instead of radixi.d.
46856         (denorm): Likewise.
46857         (__mul): Use 0.0 instead of zero.d.
46859 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46861         [BZ #14994]
46862         * math/s_casinh.c (__casinh): Reduce finite argument to first
46863         quadrant then set signs of results at the end.
46864         * math/s_casinhf.c (__casinhf): Likewise.
46865         * math/s_casinhl.c (__casinhl): Likewise.
46866         * math/libm-test.inc (casin_test): Add more tests.
46867         (casinh_test): Likewise.
46868         * sysdeps/i386/fpu/libm-test-ulps: Update.
46869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46871 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46873         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46875         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46877         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46878         declarations.
46879         (denorm): Likewise.
46880         (__mp_dbl): Likewise.
46881         (__inv): Likewise.
46883         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46884         and adjust the header comment.
46886         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46887         variable name from declaration.
46889 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46892         Initialize COMMON_CPUID_INDEX_7 element.
46893         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46894         (CPUID_RTM): Likewise.
46895         (HAS_RTM): Likewise.
46896         (COMMON_CPUID_INDEX_7): New enum.
46898 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46900         [BZ #14981]
46901         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46902         size is zero, record memory as freed.
46904 2013-01-03  Andreas Jaeger  <aj@suse.de>
46906         * po/ia.po: Add new Interlingua translation.
46908 2012-01-03  Allan McRae  <allan@archlinux.org>
46910         * locale/programs/localedef.c: Fix description of '--posix' flag.
46912 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46914         * NEWS: Update dates in second copyright notice.
46915         * README: Update copyright dates in example.
46916         * manual/libc.texinfo: Update copyright dates.
46917         * scripts/test-installation.pl: Update copyright date in --version
46918         output.
46920         * hurd/ctty-input.c: Fix copyright notice formatting.
46921         * hurd/ctty-output.c: Likewise.
46922         * hurd/dtable.c: Likewise.
46923         * hurd/hurd-raise.c: Likewise.
46924         * hurd/hurdprio.c: Likewise.
46925         * hurd/msgportdemux.c: Likewise.
46926         * misc/sys/file.h: Likewise.
46927         * misc/sys/ioctl.h: Likewise.
46928         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46929         * sysdeps/mach/hurd/chdir.c: Likewise.
46930         * sysdeps/mach/hurd/fchdir.c: Likewise.
46931         * sysdeps/mach/hurd/rename.c: Likewise.
46932         * sysdeps/mach/hurd/rmdir.c: Likewise.
46933         * sysdeps/mach/hurd/seekdir.c: Likewise.
46934         * sysdeps/mach/hurd/setsid.c: Likewise.
46935         * sysdeps/posix/wait3.c: Likewise.
46937         * All files with FSF copyright notices: Update copyright dates
46938         using scripts/update-copyrights.
46939         * intl/plural.c: Regenerated.
46940         * locale/programs/charmap-kw.h: Likewise.
46941         * locale/programs/locfile-kw.h: Likewise.
46943 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46945         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46946         four values.
46948         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46949         calculation loop and add branch prediction.
46951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46952         check access beyond bounds of m1np.
46954         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46955         MPTWO.
46956         (__inv): Remove local variable MPTWO to use the global
46957         constant.
46958         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46960         variable MPTWO.
46961         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46962         MP3HALFS static const.
46964 2013-01-01  David S. Miller  <davem@davemloft.net>
46966         * po/ca.po: Update from translation team.
46968 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46970         * scripts/update-copyrights: New file.
46971         * Makeconfig: Reformat copyright notice.
46972         * ctype/ctype.h: Likewise.
46973         * debug/swprintf_chk.c: Likewise.
46974         * elf/dl-cache.c: Likewise.
46975         * elf/dl-debug.c: Likewise.
46976         * elf/dl-object.c: Likewise.
46977         * grp/initgroups.c: Likewise.
46978         * hurd/Makefile: Likewise.
46979         * hurd/hurd/signal.h: Likewise.
46980         * hurd/hurdfault.c: Likewise.
46981         * hurd/hurdioctl.c: Likewise.
46982         * hurd/hurdlookup.c: Likewise.
46983         * hurd/intr-msg.c: Likewise.
46984         * iconv/gconv_open.c: Likewise.
46985         * libio/swprintf.c: Likewise.
46986         * locale/lc-ctype.c: Likewise.
46987         * locale/nl_langinfo.c: Likewise.
46988         * mach/Machrules: Likewise.
46989         * mach/Makefile: Likewise.
46990         * malloc/obstack.h: Likewise.
46991         * manual/Makefile: Likewise.
46992         * manual/tsort.awk: Likewise.
46993         * misc/bits/stab.def: Likewise.
46994         * nis/nis_print_group_entry.c: Likewise.
46995         * nis/nis_table.c: Likewise.
46996         * nis/nss_compat/compat-pwd.c: Likewise.
46997         * nis/nss_compat/compat-spwd.c: Likewise.
46998         * po/Makefile: Likewise.
46999         * posix/fnmatch.c: Likewise.
47000         * posix/regex.h: Likewise.
47001         * resolv/Makefile: Likewise.
47002         * resolv/nss_dns/dns-network.c: Likewise.
47003         * resolv/res_hconf.c: Likewise.
47004         * scripts/gen-sorted.awk: Likewise.
47005         * soft-fp/soft-fp.h: Likewise.
47006         * stdio-common/printf.h: Likewise.
47007         * stdlib/monetary.h: Likewise.
47008         * stdlib/random.c: Likewise.
47009         * stdlib/random_r.c: Likewise.
47010         * sysdeps/generic/Makefile: Likewise.
47011         * sysdeps/gnu/Makefile: Likewise.
47012         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47013         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47014         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47035         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47036         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47040         * sysdeps/mach/hurd/errnos.awk: Likewise.
47041         * sysdeps/mach/hurd/fork.c: Likewise.
47042         * sysdeps/mach/hurd/getcwd.c: Likewise.
47043         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47044         * sysdeps/mach/hurd/mmap.c: Likewise.
47045         * sysdeps/mach/hurd/utimes.c: Likewise.
47046         * sysdeps/mach/hurd/xmknod.c: Likewise.
47047         * sysdeps/posix/profil.c: Likewise.
47048         * sysdeps/posix/readdir_r.c: Likewise.
47049         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47050         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47051         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47052         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47054         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47056         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47058         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47059         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47060         * sysdeps/pthread/lio_listio.c: Likewise.
47061         * sysdeps/sparc/dl-procinfo.h: Likewise.
47062         * sysdeps/unix/i386/sysdep.S: Likewise.
47063         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47064         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47065         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47066         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47068         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47069         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47070         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47071         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47072         * sysdeps/wordsize-32/divdi3.c: Likewise.
47073         * time/sys/time.h: Likewise.
47074         * wcsmbs/Makefile: Likewise.
47076 2013-01-01  David S. Miller  <davem@davemloft.net>
47078         * po/fr.po: Update from translation team.
47080         * catgets/gencat.c: Update copyright year.
47081         * csu/version.c: Likewise.
47082         * debug/catchsegv.sh: Likewise.
47083         * debug/pcprofiledump.c: Likewise.
47084         * debug/xtrace.sh: Likewise.
47085         * elf/ldconfig.c: Likewise.
47086         * elf/ldd.bash.in: Likewise.
47087         * elf/pldd.c: Likewise.
47088         * elf/sotruss.ksh: Likewise.
47089         * elf/sprof.c: Likewise.
47090         * iconv/iconv_prog.c: Likewise.
47091         * iconv/iconvconfig.c: Likewise.
47092         * locale/programs/locale.c: Likewise.
47093         * locale/programs/localedef.c: Likewise.
47094         * login/programs/pt_chown.c: Likewise.
47095         * malloc/memusage.sh: Likewise.
47096         * malloc/memusagestat.c: Likewise.
47097         * malloc/mtrace.pl: Likewise.
47098         * nscd/nscd.c: Likewise.
47099         * nss/getent.c: Likewise.
47100         * nss/makedb.c: Likewise.
47101         * posix/getconf.c: Likewise.
47103 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47105         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47106         numbers.
47108 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47110         * math/bits/mathcalls.h (modf): Use __nonnull.
47112 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47114         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47115         (split): Use macro CN instead of the bare value.
47116         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47117         could be used.
47118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47119         instead of the bare value.
47120         (power1): Likewise.
47122 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47125         __ATAN_TWOM.
47126         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47128         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47129         their values.
47130         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47132         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47133         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47135 2012-12-28  Andreas Jaeger  <aj@suse.de>
47137         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47138         values are from Linux 3.7.
47140         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47141         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47143 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47145         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47146         TRUE case.
47148         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47149         (norm): Likewise.
47150         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47151         variables with preprocessor constants.
47152         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47153         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47154         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47156 2012-12-27  Bruno Haible  <bruno@clisp.org>
47158         [BZ #14317]
47159         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47160         only if needed.
47162 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47165         and use variable directly.
47166         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47168         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47169         MPONE.
47170         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47172         variable MPONE.
47173         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47175         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47176         include directive.  Remove local variable MPONE.
47177         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47178         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47179         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47181 2012-12-25  David S. Miller  <davem@davemloft.net>
47183         * version.h (RELEASE): Set to "development".
47184         (VERSION): Set to "2.17.90".
47185         * NEWS: Add 2.18 section.
47187 2012-12-21  David S. Miller  <davem@davemloft.net>
47189         * po/hr.po: Update from translation team.
47191 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47193         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47195 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47197         * NEWS:  Mention new memcpy for MIPS.
47199 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47201         * manual/contrib.texi (Contributors): Spelling correction.
47203 2012-12-15  David S. Miller  <davem@davemloft.net>
47205         * po/ru.po: Update from translation team.
47207 2012-12-13  David S. Miller  <davem@davemloft.net>
47209         * NEWS: Mention IFUNC testsuite enhancements.
47211         * po/pl.po: Update from translation team.
47212         * po/bg.po: Likewise.
47214         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47215         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47217 2012-12-11  David S. Miller  <davem@davemloft.net>
47219         * po/sv.po: Update from translation team.
47221         * po/vi.po: Update from translation team.
47223         * po/cs.po: Update from translation team.
47225         * po/de.po: Update from translation team.
47226         * po/eo.po: Likewise.
47227         * po/nl.po: Likewise.
47229 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47231         [BZ #14246]
47232         * manual/argp.texi (Argp Helper Functions): Move node to follow
47233         Argp Parsing State.
47235         [BZ #14872]
47236         * manual/conf.texi (Limits on File System Capacity): Mention if
47237         terminating null is included in the max size.
47239 2012-12-10  Andreas Jaeger  <aj@suse.de>
47241         * po/cs.po: Update from translation team.
47243 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47246         void pointer and cast to uintptr_t.
47247         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47248         path.
47249         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47250         * sysdeps/s390/s390-64/memset.S: Likewise.
47252 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47254         [BZ #14833]
47255         * menual/message.texi (Message Translation): Fix typos.
47256         (Helper programs for gettext): Likewise.
47258 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47260         [BZ #14898]
47261         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47262         Change to -1.
47264 2012-12-07  David S. Miller  <davem@davemloft.net>
47266         * po/libc.pot: Update.
47268 2012-12-07  Richard Henderson  <rth@redhat.com>
47270         [BZ #10114]
47271         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47272         normal/normal case to before the switch.
47273         (_FP_DIV): Likewise.
47275 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47276             Mike Frysinger  <vapier@gentoo.org>
47278         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47279         check for __NR_fadvise64_64.
47281 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47283         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47284         0, not just to plain "0" as a statement.
47285         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47286         with cw.
47288 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47290         * NEWS: Use sourceware.org in Bugzilla URL.
47292 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47295         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47297         * stdio-common/tst-put-error.c (do_test): Add newline to the
47298         padded test to ensure flush.
47300 2012-12-05  Jeff Law  <law@redhat.com>
47302         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47304 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47306         * README: Don't refer to ports add-on as distributed separately.
47307         Mention AArch64 in list of systems supported in the ports add-on.
47309         * LICENSES: Add more non-FSF copyright and license notices.
47311         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47312         ((unused)).
47314         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47316         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47317         10000 as width of padded output.
47319 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47321         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47323         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47324         variable LX with __attribute__ ((unused)).
47325         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47326         Likewise.
47327         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47330         with __attribute__ ((unused)).
47332 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47334         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47336 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47338         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47339         (CFLAGS-nldbl-acos.c): New variable.
47340         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47341         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47342         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47343         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47344         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47345         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47346         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47347         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47348         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47349         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47350         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47351         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47352         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47353         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47354         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47355         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47356         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47357         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47358         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47359         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47360         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47361         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47362         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47363         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47364         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47365         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47366         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47367         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47368         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47369         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47370         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47371         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47372         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47373         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47374         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47375         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47376         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47377         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47378         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47379         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47380         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47381         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47382         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47383         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47384         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47385         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47386         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47387         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47388         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47389         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47390         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47391         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47392         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47393         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47394         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47395         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47396         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47397         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47398         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47399         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47400         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47401         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47402         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47403         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47404         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47405         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47406         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47407         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47408         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47409         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47410         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47411         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47412         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47413         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47414         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47415         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47416         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47417         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47418         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47419         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47439         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47441         [BZ #14914]
47442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47443         whole low double instead of just low 47 bits when splitting values
47444         into two parts.
47446 2012-12-03  Allan McRae  <allan@archlinux.org>
47448         * manual/stdio.texi (Predefined Printf Handlers): Remove
47449         @hsep and @vsep usage.
47451 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47453         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47454         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47456 2012-12-03  Jeff Law  <law@redhat.com>
47458         * time/sys/time.h (settimeofday): Do not mark TV argument
47459         as __nonnull.
47461 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47463         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47464         when currently writing and seek to current position when not.
47465         * libio/Makefile (tests): Remove bug-fclose1.
47466         * libio/bug-fclose1.c: Delete.
47468 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47470         * manual/arith.texi (feenableexcept): Fix typo.
47471         (fedisableexcept): Likewise.
47473 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47475         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47476         second, differently-typed declaration, rather than a cast.
47478 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47480         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47481         * include/rpc/svc.h: ... here.
47483 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47485         [BZ #13013]
47486         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47487         depending n and resplen2 to catch cases where answer
47488         equals answerp2.
47490 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47492         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47493         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47495 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47499 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47501         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47503 2012-11-28  Jeff Law  <law@redhat.com>
47505         [BZ #13761]
47506         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47507         dataset_temporary.  Track alloca usage into alloca_used.
47508         If dataset is large allocate and release it via malloc/free.
47510 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47512         [BZ #14197]
47513         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47515 2012-11-28  David S. Miller  <davem@davemloft.net>
47517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47519 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47521         [BZ #14803]
47522         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47523         of pi/2 rounded to nearest to 64 bits.
47524         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47525         nearest to 64 bits.
47526         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47527         bits.
47529 2012-11-28  Jeff Law <law@redhat.com>
47530             Martin Osvald <mosvald@redhat.com>
47532         [BZ #14889]
47533         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47534         * sunrpc/svc.c: Include time.h.
47535         (__svc_accept_failed): New function.
47536         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47537         any reason other than EINTR, call __svc_accept_failed.
47538         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47539         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47541 2012-11-28  Andreas Schwab  <schwab@suse.de>
47543         * scripts/abilist.awk: Also handle indirect functions in .opd
47544         section.
47546 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47548         [BZ #13881]
47549         * sysdeps/x86/fpu/powl_helper.c: New file.
47550         * sysdeps/x86/fpu/Makefile: Likewise.
47551         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47552         (p3): New object.
47553         (__ieee754_powl): Use __powl_helper for finite arguments except
47554         integer exponents below 8.
47555         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47556         (p3): New object.
47557         (__ieee754_powl): Use __powl_helper for finite arguments except
47558         integer exponents below 8.
47559         * math/libm-test.inc (pow_test): Add more tests and enable some
47560         previously disabled tests.
47561         * sysdeps/i386/fpu/libm-test-ulps: Update.
47562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47564 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47565             Carlos O'Donell  <carlos_odonell@mentor.com>
47567         * nss/makedb.c (is_prime): Assert that input is odd and greater
47568         than 4.  Note that fact in a comment too.
47569         (next_prime): Add 4 to input.
47571 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47573         [BZ #11741]
47574         * libio/Makefile (tests): Add test case tst-fwrite-error.
47575         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47576         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47577         * libio/tst-fwrite-error.c: New test case.
47579 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47581         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47582         before casting to void *.
47583         * include/libc-internal.h (__pointer_type): New macro.
47584         (__integer_if_pointer_type_sub): Likewise.
47585         (__integer_if_pointer_type): Likewise.
47586         (cast_to_integer): Likewise.
47587         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47588         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47589         before casting to atomic64_t.
47590         (atomic_exchange_acq): Likewise.
47591         (__arch_exchange_and_add_body): Likewise.
47592         (__arch_add_body): Likewise.
47593         (atomic_add_negative): Likewise.
47594         (atomic_add_zero): Likewise.
47596 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47598         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47599         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47600         (add_fdes): Likewise.
47601         (linear_search_fdes): Likewise.
47602         (binary_search_unencoded_fdes): Likewise.
47604 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47606         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47608 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47610         * configure.in: Autodetect C++ header directories.
47611         * configure: Regenerated.
47613 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47615         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47617 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47621 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47623         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47624         LDBL_MANT_DIG == 106]: Disable some tests.
47625         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47626         Likewise.
47627         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47628         Likewise.
47630         [BZ #14871]
47631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47632         input for small inputs.  Return +/- pi/2 for large inputs.
47633         * math/libm-test.inc (atan_test): Add more tests.
47635         * sysdeps/generic/unwind-dw2-fde-glibc.c
47636         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47637         __attribute__ ((unused)).
47639         [BZ #14645]
47640         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47641         x * y if x and y are nonzero and z is zero.
47643         [BZ #14811]
47644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47645         nonzero exponents with absolute value below 0x1p-117 to +/-
47646         0x1p-117.
47648         [BZ #14869]
47649         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47650         up arguments below 2**-450, not just those below 2**-500.
47651         * math/libm-test.inc (hypot_test): Add another test.
47653         [BZ #14868]
47654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47655         Return a+b for ratio over 2**120, not 2**60.
47656         * math/libm-test.inc (hypot_test): Add another test.
47658         * math/libm-test.inc (clog_test): Use
47659         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47660         (clog10_test): Likewise.
47662         [BZ #6778]
47663         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47665 2012-11-22  Andreas Schwab  <schwab@suse.de>
47667         * sysdeps/i386/fpu/libm-test-ulps: Update.
47669 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47671         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47672         printf output with newline.
47674 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47676         [BZ #14865]
47677         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47678         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47679         -z nodlopen, -z initfirst and -z execstack support.
47680         * configure: Regenerated.
47682         * elf/elf.h (DF_1_NODIRECT): New macro.
47683         (DF_1_IGNMULDEF): Likewise.
47684         (DF_1_NOKSYMS): Likewise.
47685         (DF_1_NOHDR): Likewise.
47686         (DF_1_EDITED): Likewise.
47687         (DF_1_NORELOC): Likewise.
47688         (DF_1_SYMINTPOSE): Likewise.
47689         (DF_1_GLOBAUDIT): Likewise.
47690         (DF_1_SINGLETON): Likewise.
47691         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47692         DT_1_SUPPORTED_MASK bits.
47693         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47695 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47697         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47699 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47701         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47702         macro.
47704         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47705         (sendmmsg): Move declarations...
47706         * socket/sys/socket.h: ... here.
47707         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47708         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47709         include it from...
47710         * socket/recvmmsg.c: ... this new file.
47711         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47712         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47713         definition of __sendmmsg hidden.
47714         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47715         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47716         Move ENOSYS stub into and include it from...
47717         * socket/sendmmsg.c: ... this new file.
47718         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47719         (sysdep_routines): Move recvmmsg and sendmmsg...
47720         * socket/Makefile (routines): ... here.
47721         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47722         (GLIBC_PRIVATE): Add __sendmmsg.
47723         * include/sys/socket.h (__sendmmsg): Add declarations.
47724         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47725         sendmmsg.
47727 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47730         variable I1 with __attribute__ ((unused)).
47731         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47733 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47735         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47736         DUMMY variables with __attribute__ ((unused)).
47738         * bits/byteswap.h: Include <bits/types.h>.
47739         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47741 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47743         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47744         string_t.  Do not manually set errno.
47745         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47746         length with __strnlen.  Make sure to both set errno and return it on
47747         failure.
47749 2012-11-19  David S. Miller  <davem@davemloft.net>
47751         With help from Joseph Myers.
47752         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47753         very large arguments properly.
47754         * math/libm-test.inc (atan_test): New tests.
47755         (atan2_test): New tests.
47756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47759 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47761         [BZ #14856]
47762         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47763         Define to 3.
47765         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47766         [POSIX] (EADDRNOTAVAIL): Likewise.
47767         [POSIX] (EAFNOSUPPORT): Likewise.
47768         [POSIX] (EALREADY): Likewise.
47769         [POSIX] (ECONNABORTED): Likewise.
47770         [POSIX] (ECONNREFUSED): Likewise.
47771         [POSIX] (ECONNRESET): Likewise.
47772         [POSIX] (EDESTADDRREQ): Likewise.
47773         [POSIX] (EDQUOT): Likewise.
47774         [POSIX] (EHOSTUNREACH): Likewise.
47775         [POSIX] (EIDRM): Likewise.
47776         [POSIX] (EISCONN): Likewise.
47777         [POSIX] (ELOOP): Likewise.
47778         [POSIX] (EMULTIHOP): Likewise.
47779         [POSIX] (ENETDOWN): Likewise.
47780         [POSIX] (ENETUNREACH): Likewise.
47781         [POSIX] (ENOBUFS): Likewise.
47782         [POSIX] (ENODATA): Likewise.
47783         [POSIX] (ENOLINK): Likewise.
47784         [POSIX] (ENOMSG): Likewise.
47785         [POSIX] (ENOPROTOOPT): Likewise.
47786         [POSIX] (ENOSR): Likewise.
47787         [POSIX] (ENOSTR): Likewise.
47788         [POSIX] (ENOTCONN): Likewise.
47789         [POSIX] (ENOTSOCK): Likewise.
47790         [POSIX] (EOPNOTSUPP): Likewise.
47791         [POSIX] (EOVERFLOW): Likewise.
47792         [POSIX] (EPROTO): Likewise.
47793         [POSIX] (EPROTONOSUPPORT): Likewise.
47794         [POSIX] (EPROTOTYPE): Likewise.
47795         [POSIX] (ESTALE): Likewise.
47796         [POSIX] (ETIME): Likewise.
47797         [POSIX] (ETXTBSY): Likewise.
47798         [POSIX] (EWOULDBLOCK): Likewise.
47799         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47800         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47801         [POSIX] (SEEK_CUR): Likewise.
47802         [POSIX] (SEEK_END): Likewise.
47803         [POSIX || UNIX98] (mode_t): Do not require.
47804         [POSIX] (off_t): Likewise.
47805         [POSIX] (pid_t): Likewise.
47806         [POSIX] (sys/stat.h): Do not allow header.
47807         [POSIX] (unistd.h): Likewise.
47808         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47809         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47810         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47811         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47812         require.
47813         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47814         sigevent): Specify elements.
47815         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47816         entry.
47817         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47818         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47820         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47821         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47822         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47823         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47824         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47825         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47826         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47827         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47828         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47829         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47830         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47831         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47832         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47833         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47834         Likewise.
47835         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47836         Likewise.
47837         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47838         Likewise.
47839         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47840         Likewise.
47841         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47842         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47843         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47844         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47845         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47846         Specify lower bound on value.
47847         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47848         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47849         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47850         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47851         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47852         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47853         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47854         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47855         value.
47856         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47857         as optional.
47858         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47859         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47860         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47861         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47862         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47863         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47864         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47865         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47866         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47867         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47868         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47869         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47870         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47871         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47872         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47873         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47874         entry.
47875         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47876         optional.
47877         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47878         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47879         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47880         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47881         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47882         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47883         Likewise.
47884         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47885         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47886         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47887         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47888         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47889         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47891         as optional.
47892         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47893         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47894         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47895         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47896         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47897         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47898         specify as optional.
47899         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47900         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47901         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47902         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47903         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47904         [XPG3] (NL_LANGMAX): Likewise.
47905         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47906         [POSIX || XPG3] (NL_NMAX): Likewise.
47907         [POSIX || XPG3] (NL_SETMAX): Likewise.
47908         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47909         [XPG3] (NZERO): Likewise.
47910         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47911         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47912         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47913         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47914         (REG_ERANGE): Expect.
47915         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47916         optional-constant.
47917         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47918         Use (void) in prototype.
47919         [POSIX] (*_t): Allow.
47920         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47921         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47922         (WRDE_BADVAL): Expect.
47924         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47925         expect.
47926         [XPG3 || XPG4] (O_RSYNC): Likewise.
47927         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47928         Likewise.
47929         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47930         [XPG3 || XPG4] (sigqueue): Likewise.
47931         [XPG3 || XPG4] (sigtimedwait): Likewise.
47932         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47933         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47934         [XPG3 || XPG4] (vsnprintf): Likewise.
47935         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47936         Likewise.
47937         [XPG3 || XPG4] (blksize_t): Likewise.
47938         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47939         Likewise.
47940         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47941         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47942         [XPG3 || XPG4] (struct itimerspec): Likewise.
47943         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47944         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47945         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47946         [XPG3 || XPG4] (clockid_t): Likewise.
47947         [XPG3 || XPG4] (timer_t): Likewise.
47948         [XPG3 || XPG4] (clock_getres): Likewise.
47949         [XPG3 || XPG4] (clock_gettime): Likewise.
47950         [XPG3 || XPG4] (clock_settime): Likewise.
47951         [XPG3 || XPG4] (nanosleep): Likewise.
47952         [XPG3 || XPG4] (timer_create): Likewise.
47953         [XPG3 || XPG4] (timer_delete): Likewise.
47954         [XPG3 || XPG4] (timer_gettime): Likewise.
47955         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47956         [XPG3 || XPG4] (timer_settime): Likewise.
47957         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47958         [XPG3 || XPG4] (getlogin_r): Likewise.
47959         [XPG3 || XPG4] (pread): Likewise.
47960         [XPG3 || XPG4] (pthread_atfork): Likewise.
47961         [XPG3 || XPG4] (pwrite): Likewise.
47963         [BZ #14835]
47964         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47965         <bits/siginfo.h>.
47967 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47969         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47970         finalizing MALLSTREAM.
47972         * sysdeps/mach/hurd/syncfs.c: New file.
47974 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47976         [BZ #14719]
47977         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47978         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47979         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47980         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47981         (_nss_dns_gethostbyname4_r): Likewise.
47982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47983         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47985 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47987         [BZ #13763]
47988         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47990 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47992         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47993         * elf/cache.c (print_entry): Print ",AArch64" for
47994         FLAG_AARCH64_LIB64
47996         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47997         * elf/cache.c (print_entry): Print ",hard-float" for
47998         FLAG_ARM_LIBHF.
48000 2012-11-18  David S. Miller  <davem@davemloft.net>
48002         With help from Joseph Myers.
48003         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48004         cutoff to 2**-13.
48005         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48006         cutoff to 2**-25.
48007         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48008         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48009         small.
48010         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48011         * math/libm-test.inc (y0_test): New tests.
48012         (y1_test): New tests.
48013         * sysdeps/i386/fpu/libm-test-ulps: Update.
48014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48017 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48019         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48020         64-bit targets.
48021         * configure: Regenerated.
48023 2012-11-17  David S. Miller  <davem@davemloft.net>
48025         [BZ #14811]
48026         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48027         nonzero exponents with absolute value below 0x1p-128 to +/-
48028         0x1p-128.
48030 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48032         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48034         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48036         * posix/getconf-speclist.c: New file.
48037         * posix/posix-envs.def: Likewise.
48038         * posix/confstr.c (START_ENV_GROUP): New macro.
48039         (END_ENV_GROUP): Likewise.
48040         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48041         (KNOWN_PRESENT_ENV_STRING): Likewise.
48042         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48043         (UNKNOWN_ENVIRONMENT): Likewise.
48044         (confstr): Include posix-envs.def instead of handling
48045         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48046         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48047         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48048         (END_ENV_GROUP): Likewise.
48049         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48050         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48051         (UNKNOWN_ENVIRONMENT): Likewise.
48052         (__sysconf): Include posix-envs.def instead of handling associated
48053         cases directly here.
48054         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48055         preprocessing getconf-speclist.c rather than running getconf or
48056         generating empty file.
48058 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48060         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48062 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48064         [BZ #14672]
48065         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48067 2012-11-16  David S. Miller  <davem@davemloft.net>
48069         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48070         smaller than LDBL_EPSILON/2.0L, just return xm1.
48072 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48074         * elf/tst-array1.c (init): Set constructor priority to 1000.
48075         (fini): Set destructor priority to 1000.
48076         * elf/tst-array2dep.c: Likewise.
48078 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48080         [BZ #11741]
48081         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48082         (_IO_new_file_xsputn): Also return EOF if none of the input
48083         data was written when overflow failed.
48084         * libio/iopadn.c (_IO_padn): Likewise.
48085         * libio/iowpadn.c (_IO_wpadn): Likewise.
48086         * stdio-common/tst-put-error.c: Add copyright notice.
48087         (do_test): Add case for printing padded string.
48088         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48089         _IO_padn returned error.
48090         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48091         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48092         return EOF.
48094 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48096         * libio/libioP.h: Add comment note that the references to C++
48097         bits are now obsolete.
48099 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48101         * math/libm-test.inc (check_complex): Use asprintf.
48103 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48105         * debug/pcprofiledump.c (print_version): Update copyright year.
48106         * malloc/memusagestat.c (print_version): Likewise.
48108 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48110         [BZ #14831]
48111         * elf/Makefile (tests): Add tst-audit8.
48112         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48113         ($(objpfx)tst-audit8.out): New target.
48114         (tst-audit8-ENV): New variable.
48115         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48116         audit if l_reloc_result is NULL.
48117         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48118         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48119         * elf/tst-audit8.c: New file.
48121 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48123         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48124         * misc/Makefile (CFLAGS-select.c): Define.
48125         * posix/Makefile (CFLAGS-pause.c): Define.
48127 2012-11-13  David S. Miller  <davem@davemloft.net>
48129         * crypt/Makefile: Move test targets after toplevel Rules
48130         inclusion.  Grab any necessary sysdep routines when linking.
48131         * crypt/md5.c (md5_process_block): Remove define, we will always
48132         name it __md5_process_block.
48133         (md5_finish_ctx): Update md5_process_block call.
48134         (md5_stream): Likewise.
48135         (md5_process_bytes): Likewise.
48136         (md5_process_block): Rename to __md5_process_block and move to ...
48137         * crypt/md5-block.c: ... here.
48138         * crypt/sha256.c (sha256_process_block): Move to ...
48139         * crypt/sha256-block.c: ... here.
48140         * crypt/sha512.c (sha512_process_block): Move to ...
48141         * crypt/sha512-block.c: ... here.
48142         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48143         path.
48144         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48145         * sysdeps/sparc/sparc64/multiarch/Makefile
48146         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48147         crypt subdir.
48148         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48149         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48150         multiarch changes.
48151         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48152         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48153         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48154         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48155         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48156         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48157         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48158         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48159         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48160         file.
48161         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48162         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48163         file.
48164         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48166 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48168         * timezone/tzselect.ksh: Update from tzcode git revision
48169         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48170         * timezone/zdump.c: Likewise.
48171         * timezone/zic.c: Likewise.
48172         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48173         in TZVERSION setting, not $(PKGVERSION).
48174         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48175         REPORT_BUGS_TO settings.
48177         [BZ #14838]
48178         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48179         macro.
48181 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48183         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48184         detection to immediately after _FP_ROUND().
48185         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48186         bits are 0.
48188 2012-11-11  David S. Miller  <davem@davemloft.net>
48190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48191         inttypes.h
48192         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48193         __close rather than their public counterparts.
48195 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48197         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48198         file.
48199         [UNIX98] (sem_timedwait): Do not expect.
48200         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48201         [XPG4 || UNIX98] (sockatmark): Do not expect.
48202         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48203         (clock_getcpuclockid): Do not expect.
48204         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48205         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48206         Do not expect.
48207         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48208         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48209         [UNIX98] (vwscanf): Likewise.
48210         [UNIX98] (vswscanf): Likewise.
48212 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48214         * timezone/version.h: Remove file.
48215         * timezone/README: Do not refer to version.h.
48216         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48217         $(objpfx)version.h.
48218         ($(objpfx)zdump.o): Likewise.
48219         ($(objpfx)version.h): New target.
48221         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48222         2012i.
48223         * timezone/README: Don't mention modification to tzselect.ksh.
48224         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48225         work on unmodified tzselect.ksh.  Substitute version numbers in
48226         tzselect.ksh.
48228         * Makefile (format-me): Remove.
48229         (INSTALL): Adjust indentation.  Use commands directly instead of
48230         using $(format-me).
48232         * aclocal.m4 (ACX_PKGVERSION): New macro.
48233         (ACX_BUGURL): Likewise.
48234         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48235         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48236         (REPORT_BUGS_TO): Likewise.
48237         * configure: Regenerated.
48238         * config.h.in (PKGVERSION): New macro.
48239         (REPORT_BUGS_TO): Likewise.
48240         * config.make.in (PKGVERSION): New variable.
48241         (PKGVERSION_TEXI): Likewise.
48242         (REPORT_BUGS_TO): Likewise.
48243         (REPORT_BUGS_TEXI): Likewise.
48244         * Makefile (format-me): Use -I$(common-objpfx)manual.
48245         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48246         ($(common-objpfx)manual/%): New target.
48247         (manual/%): Remove target.
48248         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48249         (print_version): Use PKGVERSION.
48250         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48251         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48252         and REPORT_BUGS_TO.
48253         ($(objpfx)xtrace): Likewise.
48254         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48255         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48256         (print_version): Use PKGVERSION.
48257         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48258         (do_version): Use PKGVERSION.
48259         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48260         REPORT_BUGS_TO.
48261         (common-ldd-rewrite): Likewise.
48262         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48263         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48264         (print_version): Use PKGVERSION.
48265         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48266         * elf/pldd.c (argp_program_bug_address): Remove variable.
48267         (more_help): New function.
48268         (argp): Use more_help.
48269         (print_version): Use PKGVERSION.
48270         * elf/sln.c (main): Use PKGVERSION.
48271         (usage): Use REPORT_BUGS_TO.
48272         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48273         (top level): Use PKGVERSION.
48274         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48275         (print_version): Use PKGVERSION.
48276         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48277         (print_version): Use PKGVERSION.
48278         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48279         (print_version): Use PKGVERSION.
48280         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48281         (print_version): Use PKGVERSION.
48282         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48283         (print_version): Use PKGVERSION.
48284         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48285         (print_version): Use PKGVERSION.
48286         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48287         and BUGURL.
48288         ($(objpfx)memusage): Likewise.
48289         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48290         (do_version): Use PKGVERSION.
48291         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48292         (print_version): Use PKGVERSION.
48293         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48294         ($PKGVERSION): New variable.
48295         ($REPORT_BUGS_TO): Likewise.
48296         (usage): Use $REPORT_BUGS_TO.
48297         (top level): Use $PKGVERSION.
48298         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48299         ($(objpfx)pkgvers.texi): New rule.
48300         ($(objpfx)stamp-pkgvers): Likewise.
48301         * manual/install.texi: Include pkgvers.texi.
48302         (--with-pkgversion): Document new configure option.
48303         (--with-bugurl): Likewise.
48304         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48305         than necessarily for this particular distribution.  Use
48306         REPORT_BUGS_TO for where to report bugs.
48307         * INSTALL: Regenerated.
48308         * manual/libc.texinfo: Include pkgvers.texi.
48309         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48310         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48311         (print_version): Use PKGVERSION.
48312         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48313         (print_version): Use PKGVERSION.
48314         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48315         (print_version): Use PKGVERSION.
48316         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48317         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48318         macro.
48319         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48320         (print_version): Use PKGVERSION.
48321         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48322         (print_version): Use PKGVERSION.
48323         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48324         and PKGVERSION.
48326         * timezone/checktab.awk: Update from tzcode 2012i.
48327         * timezone/ialloc.c: Likewise.
48328         * timezone/private.h: Likewise.
48329         * timezone/scheck.c: Likewise.
48330         * timezone/tzfile.h: Likewise.
48331         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48332         (TZVERSION): Hardcode tzcode version number.
48333         * timezone/zdump.c: Update from tzcode 2012i.
48334         * timezone/zic.c: Likewise.
48335         * timezone/version.h: New file.
48336         * timezone/README: Describe version.h.  Update upstream location.
48338         [BZ #14824]
48339         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48340         (mktemp): Enable declaration.
48341         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48345         Likewise.
48346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48347         Likewise.
48348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48349         Likewise.
48350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48351         Likewise.
48352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48353         Likewise.
48354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48355         Likewise.
48357         [BZ #14821]
48358         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48359         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48360         for copies of such integer values.
48361         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48362         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48364 2012-11-09  Andreas Jaeger  <aj@suse.de>
48366         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48367         definitions and declarations that are provided by
48368         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48370 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48372         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48373         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48374         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48375         definition.
48377 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48379         * elf/elf.h: Update comment before AArch64 relocations.
48381 2012-11-07  David S. Miller  <davem@davemloft.net>
48383         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48384         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48385         (__start_context): Declare.
48386         (__makecontext_ret): Delete.
48387         (__makecontext): Hook up __start_context instead of
48388         __makecontext_ret.
48389         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48390         (sysdep_routines): Add __start_context when in stdlib.
48392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48394         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48395         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48396         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48397         hardcoded "nm".
48398         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48399         (READELF): New variable.  Use it instead of hardcoded "readelf".
48401 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48403         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48404         * sysdeps/x86/Makefile: Here.
48405         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48406         * sysdeps/x86/tst-xmmymm.sh: This.
48408 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48410         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48411         expectations.
48412         [UNIX98] (pthread_barrier_t): Do not expect.
48413         [UNIX98] (pthread_barrierattr_t): Likewise.
48414         [UNIX98] (pthread_spinlock_t): Likewise.
48415         [UNIX98] (pthread_barrier_destroy): Likewise.
48416         [UNIX98] (pthread_barrier_init): Likewise.
48417         [UNIX98] (pthread_barrier_wait): Likewise.
48418         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48419         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48420         [UNIX98] (pthread_barrierattr_init): Likewise.
48421         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48422         [UNIX98] (pthread_getcpuclockid): Likewise.
48423         [UNIX98] (pthread_mutex_timedlock): Likewise.
48424         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48425         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48426         [UNIX98] (pthread_sigmask): Likewise.
48427         [UNIX98] (pthread_spin_destroy): Likewise.
48428         [UNIX98] (pthread_spin_init): Likewise.
48429         [UNIX98] (pthread_spin_lock): Likewise.
48430         [UNIX98] (pthread_spin_trylock): Likewise.
48431         [UNIX98] (pthread_spin_unlock): Likewise.
48432         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48433         Do not expect.
48434         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48435         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48436         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48437         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48438         [XPG3 || XPG4] (pthread_key_t): Likewise.
48439         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48440         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48441         [XPG3 || XPG4] (pthread_once_t): Likewise.
48442         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48443         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48444         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48445         [XPG3 || XPG4] (pthread_t): Likewise.
48447         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48448         not expect.
48449         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48451         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48452         Change function return type to int.
48454         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48455         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48456         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48457         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48458         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48459         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48460         [!POSIX] (posix_madvise): Likewise.
48461         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48462         && !UNIX98].
48463         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48464         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48465         (mode_t): Likewise.
48466         (posix_mem_offset): Likewise.
48467         (posix_typed_mem_get_info): Likewise.
48468         (posix_typed_mem_open): Likewise.
48470         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48471         Change condition to [XOPEN2K8].
48473         * conform/conformtest.pl: Preprocess allow-header data with -x c
48474         instead of from stdin.
48475         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48476         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48477         [C99-based standards] (cerfc): Likewise.
48478         [C99-based standards] (cexp2): Likewise.
48479         [C99-based standards] (cexpm1): Likewise.
48480         [C99-based standards] (clog10): Likewise.
48481         [C99-based standards] (clog1p): Likewise.
48482         [C99-based standards] (clog2): Likewise.
48483         [C99-based standards] (clgamma): Likewise.
48484         [C99-based standards] (ctgamma): Likewise.
48485         [C99-based standards] (cerff): Likewise.
48486         [C99-based standards] (cerfcf): Likewise.
48487         [C99-based standards] (cexp2f): Likewise.
48488         [C99-based standards] (cexpm1f): Likewise.
48489         [C99-based standards] (clog10f): Likewise.
48490         [C99-based standards] (clog1pf): Likewise.
48491         [C99-based standards] (clog2f): Likewise.
48492         [C99-based standards] (clgammaf): Likewise.
48493         [C99-based standards] (ctgammaf): Likewise.
48494         [C99-based standards] (cerfl): Likewise.
48495         [C99-based standards] (cerfcl): Likewise.
48496         [C99-based standards] (cexp2l): Likewise.
48497         [C99-based standards] (cexpm1l): Likewise.
48498         [C99-based standards] (clog10l): Likewise.
48499         [C99-based standards] (clog1pl): Likewise.
48500         [C99-based standards] (clog2l): Likewise.
48501         [C99-based standards] (clgammal): Likewise.
48502         [C99-based standards] (ctgammal): Likewise.
48503         * conform/data/inttypes.h-data [C99-based standards]: Include
48504         stdint.h-data.  Remove all expectations for stdint.h contents.
48505         [C99-based standards] (PRI*): Do not allow.
48506         [C99-based standards] (SCN*): Likewise.
48507         [C99-based standards] (*_t): Likewise.
48508         [C99-based-standards] (PRId8): Expect macro.
48509         [C99-based-standards] (PRIi8): Likewise.
48510         [C99-based-standards] (PRIo8): Likewise.
48511         [C99-based-standards] (PRIu8): Likewise.
48512         [C99-based-standards] (PRIx8): Likewise.
48513         [C99-based-standards] (PRIX8): Likewise.
48514         [C99-based-standards] (SCNd8): Likewise.
48515         [C99-based-standards] (SCNi8): Likewise.
48516         [C99-based-standards] (SCNo8): Likewise.
48517         [C99-based-standards] (SCNu8): Likewise.
48518         [C99-based-standards] (SCNx8): Likewise.
48519         [C99-based-standards] (PRIdLEAST8): Likewise.
48520         [C99-based-standards] (PRIiLEAST8): Likewise.
48521         [C99-based-standards] (PRIoLEAST8): Likewise.
48522         [C99-based-standards] (PRIuLEAST8): Likewise.
48523         [C99-based-standards] (PRIxLEAST8): Likewise.
48524         [C99-based-standards] (PRIXLEAST8): Likewise.
48525         [C99-based-standards] (SCNdLEAST8): Likewise.
48526         [C99-based-standards] (SCNiLEAST8): Likewise.
48527         [C99-based-standards] (SCNoLEAST8): Likewise.
48528         [C99-based-standards] (SCNuLEAST8): Likewise.
48529         [C99-based-standards] (SCNxLEAST8): Likewise.
48530         [C99-based-standards] (PRIdFAST8): Likewise.
48531         [C99-based-standards] (PRIiFAST8): Likewise.
48532         [C99-based-standards] (PRIoFAST8): Likewise.
48533         [C99-based-standards] (PRIuFAST8): Likewise.
48534         [C99-based-standards] (PRIxFAST8): Likewise.
48535         [C99-based-standards] (PRIXFAST8): Likewise.
48536         [C99-based-standards] (SCNdFAST8): Likewise.
48537         [C99-based-standards] (SCNiFAST8): Likewise.
48538         [C99-based-standards] (SCNoFAST8): Likewise.
48539         [C99-based-standards] (SCNuFAST8): Likewise.
48540         [C99-based-standards] (SCNxFAST8): Likewise.
48541         [C99-based-standards] (PRId16): Likewise.
48542         [C99-based-standards] (PRIi16): Likewise.
48543         [C99-based-standards] (PRIo16): Likewise.
48544         [C99-based-standards] (PRIu16): Likewise.
48545         [C99-based-standards] (PRIx16): Likewise.
48546         [C99-based-standards] (PRIX16): Likewise.
48547         [C99-based-standards] (SCNd16): Likewise.
48548         [C99-based-standards] (SCNi16): Likewise.
48549         [C99-based-standards] (SCNo16): Likewise.
48550         [C99-based-standards] (SCNu16): Likewise.
48551         [C99-based-standards] (SCNx16): Likewise.
48552         [C99-based-standards] (PRIdLEAST16): Likewise.
48553         [C99-based-standards] (PRIiLEAST16): Likewise.
48554         [C99-based-standards] (PRIoLEAST16): Likewise.
48555         [C99-based-standards] (PRIuLEAST16): Likewise.
48556         [C99-based-standards] (PRIxLEAST16): Likewise.
48557         [C99-based-standards] (PRIXLEAST16): Likewise.
48558         [C99-based-standards] (SCNdLEAST16): Likewise.
48559         [C99-based-standards] (SCNiLEAST16): Likewise.
48560         [C99-based-standards] (SCNoLEAST16): Likewise.
48561         [C99-based-standards] (SCNuLEAST16): Likewise.
48562         [C99-based-standards] (SCNxLEAST16): Likewise.
48563         [C99-based-standards] (PRIdFAST16): Likewise.
48564         [C99-based-standards] (PRIiFAST16): Likewise.
48565         [C99-based-standards] (PRIoFAST16): Likewise.
48566         [C99-based-standards] (PRIuFAST16): Likewise.
48567         [C99-based-standards] (PRIxFAST16): Likewise.
48568         [C99-based-standards] (PRIXFAST16): Likewise.
48569         [C99-based-standards] (SCNdFAST16): Likewise.
48570         [C99-based-standards] (SCNiFAST16): Likewise.
48571         [C99-based-standards] (SCNoFAST16): Likewise.
48572         [C99-based-standards] (SCNuFAST16): Likewise.
48573         [C99-based-standards] (SCNxFAST16): Likewise.
48574         [C99-based-standards] (PRId32): Likewise.
48575         [C99-based-standards] (PRIi32): Likewise.
48576         [C99-based-standards] (PRIo32): Likewise.
48577         [C99-based-standards] (PRIu32): Likewise.
48578         [C99-based-standards] (PRIx32): Likewise.
48579         [C99-based-standards] (PRIX32): Likewise.
48580         [C99-based-standards] (SCNd32): Likewise.
48581         [C99-based-standards] (SCNi32): Likewise.
48582         [C99-based-standards] (SCNo32): Likewise.
48583         [C99-based-standards] (SCNu32): Likewise.
48584         [C99-based-standards] (SCNx32): Likewise.
48585         [C99-based-standards] (PRIdLEAST32): Likewise.
48586         [C99-based-standards] (PRIiLEAST32): Likewise.
48587         [C99-based-standards] (PRIoLEAST32): Likewise.
48588         [C99-based-standards] (PRIuLEAST32): Likewise.
48589         [C99-based-standards] (PRIxLEAST32): Likewise.
48590         [C99-based-standards] (PRIXLEAST32): Likewise.
48591         [C99-based-standards] (SCNdLEAST32): Likewise.
48592         [C99-based-standards] (SCNiLEAST32): Likewise.
48593         [C99-based-standards] (SCNoLEAST32): Likewise.
48594         [C99-based-standards] (SCNuLEAST32): Likewise.
48595         [C99-based-standards] (SCNxLEAST32): Likewise.
48596         [C99-based-standards] (PRIdFAST32): Likewise.
48597         [C99-based-standards] (PRIiFAST32): Likewise.
48598         [C99-based-standards] (PRIoFAST32): Likewise.
48599         [C99-based-standards] (PRIuFAST32): Likewise.
48600         [C99-based-standards] (PRIxFAST32): Likewise.
48601         [C99-based-standards] (PRIXFAST32): Likewise.
48602         [C99-based-standards] (SCNdFAST32): Likewise.
48603         [C99-based-standards] (SCNiFAST32): Likewise.
48604         [C99-based-standards] (SCNoFAST32): Likewise.
48605         [C99-based-standards] (SCNuFAST32): Likewise.
48606         [C99-based-standards] (SCNxFAST32): Likewise.
48607         [C99-based-standards] (PRId64): Likewise.
48608         [C99-based-standards] (PRIi64): Likewise.
48609         [C99-based-standards] (PRIo64): Likewise.
48610         [C99-based-standards] (PRIu64): Likewise.
48611         [C99-based-standards] (PRIx64): Likewise.
48612         [C99-based-standards] (PRIX64): Likewise.
48613         [C99-based-standards] (SCNd64): Likewise.
48614         [C99-based-standards] (SCNi64): Likewise.
48615         [C99-based-standards] (SCNo64): Likewise.
48616         [C99-based-standards] (SCNu64): Likewise.
48617         [C99-based-standards] (SCNx64): Likewise.
48618         [C99-based-standards] (PRIdLEAST64): Likewise.
48619         [C99-based-standards] (PRIiLEAST64): Likewise.
48620         [C99-based-standards] (PRIoLEAST64): Likewise.
48621         [C99-based-standards] (PRIuLEAST64): Likewise.
48622         [C99-based-standards] (PRIxLEAST64): Likewise.
48623         [C99-based-standards] (PRIXLEAST64): Likewise.
48624         [C99-based-standards] (SCNdLEAST64): Likewise.
48625         [C99-based-standards] (SCNiLEAST64): Likewise.
48626         [C99-based-standards] (SCNoLEAST64): Likewise.
48627         [C99-based-standards] (SCNuLEAST64): Likewise.
48628         [C99-based-standards] (SCNxLEAST64): Likewise.
48629         [C99-based-standards] (PRIdFAST64): Likewise.
48630         [C99-based-standards] (PRIiFAST64): Likewise.
48631         [C99-based-standards] (PRIoFAST64): Likewise.
48632         [C99-based-standards] (PRIuFAST64): Likewise.
48633         [C99-based-standards] (PRIxFAST64): Likewise.
48634         [C99-based-standards] (PRIXFAST64): Likewise.
48635         [C99-based-standards] (SCNdFAST64): Likewise.
48636         [C99-based-standards] (SCNiFAST64): Likewise.
48637         [C99-based-standards] (SCNoFAST64): Likewise.
48638         [C99-based-standards] (SCNuFAST64): Likewise.
48639         [C99-based-standards] (SCNxFAST64): Likewise.
48640         [C99-based-standards] (PRIdMAX): Likewise.
48641         [C99-based-standards] (PRIiMAX): Likewise.
48642         [C99-based-standards] (PRIoMAX): Likewise.
48643         [C99-based-standards] (PRIuMAX): Likewise.
48644         [C99-based-standards] (PRIxMAX): Likewise.
48645         [C99-based-standards] (PRIXMAX): Likewise.
48646         [C99-based-standards] (SCNdMAX): Likewise.
48647         [C99-based-standards] (SCNiMAX): Likewise.
48648         [C99-based-standards] (SCNoMAX): Likewise.
48649         [C99-based-standards] (SCNuMAX): Likewise.
48650         [C99-based-standards] (SCNxMAX): Likewise.
48651         [C99-based-standards] (PRIdPTR): Likewise.
48652         [C99-based-standards] (PRIiPTR): Likewise.
48653         [C99-based-standards] (PRIoPTR): Likewise.
48654         [C99-based-standards] (PRIuPTR): Likewise.
48655         [C99-based-standards] (PRIxPTR): Likewise.
48656         [C99-based-standards] (PRIXPTR): Likewise.
48657         [C99-based-standards] (SCNdPTR): Likewise.
48658         [C99-based-standards] (SCNiPTR): Likewise.
48659         [C99-based-standards] (SCNoPTR): Likewise.
48660         [C99-based-standards] (SCNuPTR): Likewise.
48661         [C99-based-standards] (SCNxPTR): Likewise.
48662         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48663         allow.
48664         * conform/data/stdint.h-data: Update comments to clarify
48665         requirements.
48666         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48667         type.
48668         [C99-based standards] (INT8_MAX): Likewise.
48669         [C99-based standards] (INT16_MIN): Likewise.
48670         [C99-based standards] (INT16_MAX): Likewise.
48671         [C99-based standards] (INT32_MIN): Likewise.
48672         [C99-based standards] (INT32_MAX): Likewise.
48673         [C99-based standards] (INT64_MIN): Likewise.
48674         [C99-based standards] (INT64_MAX): Likewise.
48675         [C99-based standards] (UINT8_MAX): Likewise.
48676         [C99-based standards] (UINT16_MAX): Likewise.
48677         [C99-based standards] (UINT32_MAX): Likewise.
48678         [C99-based standards] (UINT64_MAX): Likewise.
48679         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48680         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48681         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48682         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48683         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48684         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48685         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48686         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48687         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48688         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48689         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48690         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48691         [C99-based standards] (INT_FAST8_MIN): Likewise.
48692         [C99-based standards] (INT_FAST8_MAX): Likewise.
48693         [C99-based standards] (INT_FAST16_MIN): Likewise.
48694         [C99-based standards] (INT_FAST16_MAX): Likewise.
48695         [C99-based standards] (INT_FAST32_MIN): Likewise.
48696         [C99-based standards] (INT_FAST32_MAX): Likewise.
48697         [C99-based standards] (INT_FAST64_MIN): Likewise.
48698         [C99-based standards] (INT_FAST64_MAX): Likewise.
48699         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48700         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48701         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48702         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48703         [C99-based standards] (INTPTR_MIN): Likewise.
48704         [C99-based standards] (INTPTR_MAX): Likewise.
48705         [C99-based standards] (UINTPTR_MAX): Likewise.
48706         [C99-based standards] (INTMAX_MIN): Likewise.
48707         [C99-based standards] (INTMAX_MAX): Likewise.
48708         [C99-based standards] (UINTMAX_MAX): Likewise.
48709         [C99-based standards] (PTRDIFF_MIN): Likewise.
48710         [C99-based standards] (PTRDIFF_MAX): Likewise.
48711         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48712         [C99-based standards] (SIZE_MAX): Likewise.
48713         [C99-based standards] (WCHAR_MAX): Likewise.
48714         [C99-based standards] (WINT_MAX): Likewise.
48715         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48716         constraint on value.
48717         [C99-based standards] (WCHAR_MIN): Likewise.
48718         [C99-based standards] (WINT_MIN): Likewise.
48719         [C99-based standards] (*_t): Allow.
48720         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48721         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48722         Include math.h-data and complex.h-data.  Remove all expectations
48723         of math.h and complex.h contents.
48724         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48725         at end of line.
48726         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48727         (struct tm): Expect tag.
48728         [C99-based-standards] (wcstof): Expect function.
48729         [C99-based-standards] (wcstold): Likewise.
48730         [C99-based-standards] (wcstoll): Likewise.
48731         [C99-based-standards] (wcstoull): Likewise.
48732         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48733         macro-int-constant.  Specify type.
48734         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48735         constraint on value.
48736         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48737         Specify type.
48738         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48739         Specify value.
48740         [ISO C standards]: Do not allow headers.
48741         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48742         wcs[abcdefghijklmnopqrstuvwxyz]*.
48743         [ISO C standards] (*_t): Do not allow.
48744         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48745         Expect function.
48746         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48747         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48748         Specify type.
48749         [ISO C standards]: Do not allow headers.
48750         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48751         is[abcdefghijklmnopqrstuvwxyz]*.
48752         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48753         to[abcdefghijklmnopqrstuvwxyz]*.
48754         [ISO C standards] (*_t): Do not allow.
48755         * conform/data/stdalign.h-data: New file.
48756         * conform/data/stdbool.h-data: Likewise.
48757         * conform/data/stdnoreturn.h-data: Likewise.
48759 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48761         [BZ #14815]
48762         * manual/filesys.texi (Directory Entries): Typo fix.
48763         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48765 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48767         * elf/elf.h (EM_AARCH64): New macro.
48768         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48769         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48770         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48771         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48772         (R_AARCH64_TLSDESC): Likewise.
48773         (NT_ARM_TLS): Likewise.
48774         (NT_ARM_HW_BREAK): Likewise.
48775         (NT_ARM_HW_WATCH): Likewise.
48777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48779         [BZ #14811]
48780         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48781         (__ieee754_powl): Saturate nonzero exponents with absolute value
48782         below 0x1p-79 to +/- 0x1p-79.
48783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48784         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48785         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48786         nonzero exponents with absolute value below 0x1p-32 to +/-
48787         0x1p-32.
48788         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48789         (__ieee754_powl): Saturate nonzero exponents with absolute value
48790         below 0x1p-79 to +/- 0x1p-79.
48791         * math/libm-test.inc (pow_test): Add more tests.
48793 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48795         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48796         _dl_s390_cap_flags with kernel. Increase string length.
48797         (_dl_s390_platforms): Add z196 and zEC12.
48799 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48801         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48802         Change XOPEN21K to XOPEN2K.
48804 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48806         * string/memmove.c: Use memcpy when possible.
48808 2012-11-06  Andreas Jaeger  <aj@suse.de>
48810         * po/eo.po: Update from translation team.
48812 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48814         [BZ #14793]
48815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48816         exponent and small x and y exponents, scale x or y up.  Increase
48817         by 2 the exponent used in scaling up.
48818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48820         * math/libm-test.inc (fma_test): Add more tests.
48821         (fma_test_towardzero): Likewise.
48822         (fma_test_downward): Likewise.
48823         (fma_test_upward): Likewise.
48825 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48827         [BZ #14805]
48828         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48829         fenv_t *.
48831         [BZ #14801]
48832         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48833         namespace for names of struct fields.
48834         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48835         fenv_t fields.
48836         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48837         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48839 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48841         [BZ #3665]
48842         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48844 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48846         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48847         PTR_DEMANGLE.
48849         [BZ #5246]
48850         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48851         PTR_DEMANGLE.
48853 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48855         [BZ #14797]
48856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48857         definitely overflow as x * y not x * y + z.
48858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48860         * math/libm-test.inc (fma_test): Add more tests.
48861         (fma_test_towardzero): Likewise.
48862         (fma_test_downward): Likewise.
48863         (fma_test_upward): Likewise.
48865 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48867         [BZ #157]
48869         * include/stub-tag.h: Remove file.
48870         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48871         '#include' of it.
48872         * manual/maint.texi (Porting): Don't reference it.
48873         * Makerules ($(objpfx)stubs): Likewise.
48874         * dirent/closedir.c: Don't include <stub-tag.h>.
48875         * dirent/dirfd.c: Likewise.
48876         * dirent/fdopendir.c: Likewise.
48877         * dirent/getdents.c: Likewise.
48878         * dirent/getdents64.c: Likewise.
48879         * dirent/opendir.c: Likewise.
48880         * dirent/readdir.c: Likewise.
48881         * dirent/readdir64.c: Likewise.
48882         * dirent/readdir64_r.c: Likewise.
48883         * dirent/readdir_r.c: Likewise.
48884         * dirent/rewinddir.c: Likewise.
48885         * dirent/seekdir.c: Likewise.
48886         * dirent/telldir.c: Likewise.
48887         * gmon/profil.c: Likewise.
48888         * grp/setgroups.c: Likewise.
48889         * inet/if_index.c: Likewise.
48890         * io/access.c: Likewise.
48891         * io/chdir.c: Likewise.
48892         * io/chmod.c: Likewise.
48893         * io/chown.c: Likewise.
48894         * io/close.c: Likewise.
48895         * io/dup.c: Likewise.
48896         * io/dup2.c: Likewise.
48897         * io/dup3.c: Likewise.
48898         * io/euidaccess.c: Likewise.
48899         * io/faccessat.c: Likewise.
48900         * io/fchdir.c: Likewise.
48901         * io/fchmod.c: Likewise.
48902         * io/fchmodat.c: Likewise.
48903         * io/fchown.c: Likewise.
48904         * io/fchownat.c: Likewise.
48905         * io/fcntl.c: Likewise.
48906         * io/flock.c: Likewise.
48907         * io/fstatfs.c: Likewise.
48908         * io/fstatfs64.c: Likewise.
48909         * io/fstatvfs.c: Likewise.
48910         * io/fstatvfs64.c: Likewise.
48911         * io/futimens.c: Likewise.
48912         * io/fxstat.c: Likewise.
48913         * io/fxstat64.c: Likewise.
48914         * io/fxstatat.c: Likewise.
48915         * io/fxstatat64.c: Likewise.
48916         * io/getcwd.c: Likewise.
48917         * io/isatty.c: Likewise.
48918         * io/lchmod.c: Likewise.
48919         * io/lchown.c: Likewise.
48920         * io/link.c: Likewise.
48921         * io/linkat.c: Likewise.
48922         * io/lseek.c: Likewise.
48923         * io/lseek64.c: Likewise.
48924         * io/lxstat64.c: Likewise.
48925         * io/mkdir.c: Likewise.
48926         * io/mkdirat.c: Likewise.
48927         * io/mkfifo.c: Likewise.
48928         * io/mkfifoat.c: Likewise.
48929         * io/open.c: Likewise.
48930         * io/open64.c: Likewise.
48931         * io/openat.c: Likewise.
48932         * io/openat64.c: Likewise.
48933         * io/pipe.c: Likewise.
48934         * io/pipe2.c: Likewise.
48935         * io/poll.c: Likewise.
48936         * io/posix_fadvise.c: Likewise.
48937         * io/posix_fadvise64.c: Likewise.
48938         * io/posix_fallocate.c: Likewise.
48939         * io/posix_fallocate64.c: Likewise.
48940         * io/read.c: Likewise.
48941         * io/readlink.c: Likewise.
48942         * io/readlinkat.c: Likewise.
48943         * io/rmdir.c: Likewise.
48944         * io/sendfile.c: Likewise.
48945         * io/sendfile64.c: Likewise.
48946         * io/statfs.c: Likewise.
48947         * io/statfs64.c: Likewise.
48948         * io/statvfs.c: Likewise.
48949         * io/statvfs64.c: Likewise.
48950         * io/symlink.c: Likewise.
48951         * io/symlinkat.c: Likewise.
48952         * io/ttyname.c: Likewise.
48953         * io/ttyname_r.c: Likewise.
48954         * io/umask.c: Likewise.
48955         * io/unlink.c: Likewise.
48956         * io/unlinkat.c: Likewise.
48957         * io/utime.c: Likewise.
48958         * io/utimensat.c: Likewise.
48959         * io/write.c: Likewise.
48960         * io/xmknod.c: Likewise.
48961         * io/xmknodat.c: Likewise.
48962         * io/xstat.c: Likewise.
48963         * io/xstat64.c: Likewise.
48964         * login/getpt.c: Likewise.
48965         * login/grantpt.c: Likewise.
48966         * login/unlockpt.c: Likewise.
48967         * math/e_acoshl.c: Likewise.
48968         * math/e_acosl.c: Likewise.
48969         * math/e_asinl.c: Likewise.
48970         * math/e_atan2l.c: Likewise.
48971         * math/e_atanhl.c: Likewise.
48972         * math/e_coshl.c: Likewise.
48973         * math/e_expl.c: Likewise.
48974         * math/e_fmodl.c: Likewise.
48975         * math/e_gammal_r.c: Likewise.
48976         * math/e_hypotl.c: Likewise.
48977         * math/e_j0l.c: Likewise.
48978         * math/e_j1l.c: Likewise.
48979         * math/e_jnl.c: Likewise.
48980         * math/e_lgammal_r.c: Likewise.
48981         * math/e_log10l.c: Likewise.
48982         * math/e_log2l.c: Likewise.
48983         * math/e_logl.c: Likewise.
48984         * math/e_powl.c: Likewise.
48985         * math/e_rem_pio2l.c: Likewise.
48986         * math/e_sinhl.c: Likewise.
48987         * math/e_sqrtl.c: Likewise.
48988         * math/fclrexcpt.c: Likewise.
48989         * math/fedisblxcpt.c: Likewise.
48990         * math/feenablxcpt.c: Likewise.
48991         * math/fegetenv.c: Likewise.
48992         * math/fegetexcept.c: Likewise.
48993         * math/fegetround.c: Likewise.
48994         * math/feholdexcpt.c: Likewise.
48995         * math/fesetenv.c: Likewise.
48996         * math/fesetround.c: Likewise.
48997         * math/feupdateenv.c: Likewise.
48998         * math/fgetexcptflg.c: Likewise.
48999         * math/fraiseexcpt.c: Likewise.
49000         * math/fsetexcptflg.c: Likewise.
49001         * math/ftestexcept.c: Likewise.
49002         * math/k_cosl.c: Likewise.
49003         * math/k_rem_pio2l.c: Likewise.
49004         * math/k_sinl.c: Likewise.
49005         * math/k_tanl.c: Likewise.
49006         * math/s_asinhl.c: Likewise.
49007         * math/s_atanl.c: Likewise.
49008         * math/s_cbrtl.c: Likewise.
49009         * math/s_erfl.c: Likewise.
49010         * math/s_expm1l.c: Likewise.
49011         * math/s_log1pl.c: Likewise.
49012         * math/s_tanhl.c: Likewise.
49013         * misc/acct.c: Likewise.
49014         * misc/brk.c: Likewise.
49015         * misc/chflags.c: Likewise.
49016         * misc/chroot.c: Likewise.
49017         * misc/fchflags.c: Likewise.
49018         * misc/fgetxattr.c: Likewise.
49019         * misc/flistxattr.c: Likewise.
49020         * misc/fremovexattr.c: Likewise.
49021         * misc/fsetxattr.c: Likewise.
49022         * misc/fsync.c: Likewise.
49023         * misc/ftruncate.c: Likewise.
49024         * misc/futimes.c: Likewise.
49025         * misc/futimesat.c: Likewise.
49026         * misc/getdomain.c: Likewise.
49027         * misc/getdtsz.c: Likewise.
49028         * misc/gethostid.c: Likewise.
49029         * misc/gethostname.c: Likewise.
49030         * misc/getloadavg.c: Likewise.
49031         * misc/getpagesize.c: Likewise.
49032         * misc/getsysstats.c: Likewise.
49033         * misc/getxattr.c: Likewise.
49034         * misc/gtty.c: Likewise.
49035         * misc/ioctl.c: Likewise.
49036         * misc/lgetxattr.c: Likewise.
49037         * misc/listxattr.c: Likewise.
49038         * misc/llistxattr.c: Likewise.
49039         * misc/lremovexattr.c: Likewise.
49040         * misc/lsetxattr.c: Likewise.
49041         * misc/lutimes.c: Likewise.
49042         * misc/madvise.c: Likewise.
49043         * misc/mincore.c: Likewise.
49044         * misc/mlock.c: Likewise.
49045         * misc/mlockall.c: Likewise.
49046         * misc/mmap.c: Likewise.
49047         * misc/mprotect.c: Likewise.
49048         * misc/msync.c: Likewise.
49049         * misc/munlock.c: Likewise.
49050         * misc/munlockall.c: Likewise.
49051         * misc/munmap.c: Likewise.
49052         * misc/preadv.c: Likewise.
49053         * misc/preadv64.c: Likewise.
49054         * misc/ptrace.c: Likewise.
49055         * misc/pwritev.c: Likewise.
49056         * misc/pwritev64.c: Likewise.
49057         * misc/readv.c: Likewise.
49058         * misc/reboot.c: Likewise.
49059         * misc/remap_file_pages.c: Likewise.
49060         * misc/removexattr.c: Likewise.
49061         * misc/revoke.c: Likewise.
49062         * misc/select.c: Likewise.
49063         * misc/setdomain.c: Likewise.
49064         * misc/setegid.c: Likewise.
49065         * misc/seteuid.c: Likewise.
49066         * misc/sethostid.c: Likewise.
49067         * misc/sethostname.c: Likewise.
49068         * misc/setregid.c: Likewise.
49069         * misc/setreuid.c: Likewise.
49070         * misc/setxattr.c: Likewise.
49071         * misc/sstk.c: Likewise.
49072         * misc/stty.c: Likewise.
49073         * misc/swapoff.c: Likewise.
49074         * misc/swapon.c: Likewise.
49075         * misc/sync.c: Likewise.
49076         * misc/syncfs.c: Likewise.
49077         * misc/syscall.c: Likewise.
49078         * misc/truncate.c: Likewise.
49079         * misc/ualarm.c: Likewise.
49080         * misc/usleep.c: Likewise.
49081         * misc/ustat.c: Likewise.
49082         * misc/utimes.c: Likewise.
49083         * misc/vhangup.c: Likewise.
49084         * misc/writev.c: Likewise.
49085         * posix/_exit.c: Likewise.
49086         * posix/alarm.c: Likewise.
49087         * posix/execve.c: Likewise.
49088         * posix/fexecve.c: Likewise.
49089         * posix/fork.c: Likewise.
49090         * posix/fpathconf.c: Likewise.
49091         * posix/getaddrinfo.c: Likewise.
49092         * posix/getegid.c: Likewise.
49093         * posix/geteuid.c: Likewise.
49094         * posix/getgid.c: Likewise.
49095         * posix/getgroups.c: Likewise.
49096         * posix/getlogin.c: Likewise.
49097         * posix/getlogin_r.c: Likewise.
49098         * posix/getpgid.c: Likewise.
49099         * posix/getpid.c: Likewise.
49100         * posix/getppid.c: Likewise.
49101         * posix/getresgid.c: Likewise.
49102         * posix/getresuid.c: Likewise.
49103         * posix/getsid.c: Likewise.
49104         * posix/getuid.c: Likewise.
49105         * posix/glob64.c: Likewise.
49106         * posix/nanosleep.c: Likewise.
49107         * posix/pathconf.c: Likewise.
49108         * posix/pause.c: Likewise.
49109         * posix/posix_madvise.c: Likewise.
49110         * posix/pread.c: Likewise.
49111         * posix/pread64.c: Likewise.
49112         * posix/pwrite.c: Likewise.
49113         * posix/pwrite64.c: Likewise.
49114         * posix/sched_getaffinity.c: Likewise.
49115         * posix/sched_getp.c: Likewise.
49116         * posix/sched_gets.c: Likewise.
49117         * posix/sched_primax.c: Likewise.
49118         * posix/sched_primin.c: Likewise.
49119         * posix/sched_rr_gi.c: Likewise.
49120         * posix/sched_setaffinity.c: Likewise.
49121         * posix/sched_setp.c: Likewise.
49122         * posix/sched_sets.c: Likewise.
49123         * posix/sched_yield.c: Likewise.
49124         * posix/setgid.c: Likewise.
49125         * posix/setlogin.c: Likewise.
49126         * posix/setpgid.c: Likewise.
49127         * posix/setresgid.c: Likewise.
49128         * posix/setresuid.c: Likewise.
49129         * posix/setsid.c: Likewise.
49130         * posix/setuid.c: Likewise.
49131         * posix/sleep.c: Likewise.
49132         * posix/spawni.c: Likewise.
49133         * posix/sysconf.c: Likewise.
49134         * posix/times.c: Likewise.
49135         * posix/wait.c: Likewise.
49136         * posix/wait3.c: Likewise.
49137         * posix/wait4.c: Likewise.
49138         * posix/waitpid.c: Likewise.
49139         * resolv/gai_sigqueue.c: Likewise.
49140         * resource/getpriority.c: Likewise.
49141         * resource/getrlimit.c: Likewise.
49142         * resource/getrusage.c: Likewise.
49143         * resource/nice.c: Likewise.
49144         * resource/setpriority.c: Likewise.
49145         * resource/setrlimit.c: Likewise.
49146         * resource/ulimit.c: Likewise.
49147         * rt/aio_cancel.c: Likewise.
49148         * rt/aio_fsync.c: Likewise.
49149         * rt/aio_read.c: Likewise.
49150         * rt/aio_sigqueue.c: Likewise.
49151         * rt/aio_suspend.c: Likewise.
49152         * rt/aio_write.c: Likewise.
49153         * rt/clock_getres.c: Likewise.
49154         * rt/clock_gettime.c: Likewise.
49155         * rt/clock_nanosleep.c: Likewise.
49156         * rt/clock_settime.c: Likewise.
49157         * rt/lio_listio.c: Likewise.
49158         * rt/mq_close.c: Likewise.
49159         * rt/mq_getattr.c: Likewise.
49160         * rt/mq_notify.c: Likewise.
49161         * rt/mq_open.c: Likewise.
49162         * rt/mq_receive.c: Likewise.
49163         * rt/mq_send.c: Likewise.
49164         * rt/mq_setattr.c: Likewise.
49165         * rt/mq_timedreceive.c: Likewise.
49166         * rt/mq_timedsend.c: Likewise.
49167         * rt/mq_unlink.c: Likewise.
49168         * rt/shm_open.c: Likewise.
49169         * rt/shm_unlink.c: Likewise.
49170         * rt/timer_create.c: Likewise.
49171         * rt/timer_delete.c: Likewise.
49172         * rt/timer_getoverr.c: Likewise.
49173         * rt/timer_gettime.c: Likewise.
49174         * rt/timer_settime.c: Likewise.
49175         * setjmp/__longjmp.c: Likewise.
49176         * setjmp/setjmp.c: Likewise.
49177         * signal/kill.c: Likewise.
49178         * signal/killpg.c: Likewise.
49179         * signal/raise.c: Likewise.
49180         * signal/sigaction.c: Likewise.
49181         * signal/sigaltstack.c: Likewise.
49182         * signal/sigblock.c: Likewise.
49183         * signal/sigignore.c: Likewise.
49184         * signal/sigintr.c: Likewise.
49185         * signal/signal.c: Likewise.
49186         * signal/sigpause.c: Likewise.
49187         * signal/sigpending.c: Likewise.
49188         * signal/sigqueue.c: Likewise.
49189         * signal/sigreturn.c: Likewise.
49190         * signal/sigset.c: Likewise.
49191         * signal/sigsetmask.c: Likewise.
49192         * signal/sigstack.c: Likewise.
49193         * signal/sigsuspend.c: Likewise.
49194         * signal/sigtimedwait.c: Likewise.
49195         * signal/sigvec.c: Likewise.
49196         * signal/sigwait.c: Likewise.
49197         * signal/sigwaitinfo.c: Likewise.
49198         * signal/sysv_signal.c: Likewise.
49199         * socket/accept.c: Likewise.
49200         * socket/accept4.c: Likewise.
49201         * socket/bind.c: Likewise.
49202         * socket/connect.c: Likewise.
49203         * socket/getpeername.c: Likewise.
49204         * socket/getsockname.c: Likewise.
49205         * socket/getsockopt.c: Likewise.
49206         * socket/isfdtype.c: Likewise.
49207         * socket/listen.c: Likewise.
49208         * socket/recv.c: Likewise.
49209         * socket/recvfrom.c: Likewise.
49210         * socket/recvmsg.c: Likewise.
49211         * socket/send.c: Likewise.
49212         * socket/sendmsg.c: Likewise.
49213         * socket/sendto.c: Likewise.
49214         * socket/setsockopt.c: Likewise.
49215         * socket/shutdown.c: Likewise.
49216         * socket/sockatmark.c: Likewise.
49217         * socket/socket.c: Likewise.
49218         * socket/socketpair.c: Likewise.
49219         * stdio-common/ctermid.c: Likewise.
49220         * stdio-common/cuserid.c: Likewise.
49221         * stdio-common/remove.c: Likewise.
49222         * stdio-common/rename.c: Likewise.
49223         * stdio-common/renameat.c: Likewise.
49224         * stdio-common/tempname.c: Likewise.
49225         * stdlib/getcontext.c: Likewise.
49226         * stdlib/makecontext.c: Likewise.
49227         * stdlib/setcontext.c: Likewise.
49228         * stdlib/swapcontext.c: Likewise.
49229         * stdlib/system.c: Likewise.
49230         * streams/fattach.c: Likewise.
49231         * streams/fdetach.c: Likewise.
49232         * streams/getmsg.c: Likewise.
49233         * streams/getpmsg.c: Likewise.
49234         * streams/putmsg.c: Likewise.
49235         * streams/putpmsg.c: Likewise.
49236         * sysdeps/unix/bsd/getpt.c: Likewise.
49237         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49238         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49239         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49241         Likewise.
49242         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49243         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49244         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49245         * sysvipc/msgctl.c: Likewise.
49246         * sysvipc/msgget.c: Likewise.
49247         * sysvipc/msgrcv.c: Likewise.
49248         * sysvipc/msgsnd.c: Likewise.
49249         * sysvipc/semctl.c: Likewise.
49250         * sysvipc/semget.c: Likewise.
49251         * sysvipc/semop.c: Likewise.
49252         * sysvipc/semtimedop.c: Likewise.
49253         * sysvipc/shmat.c: Likewise.
49254         * sysvipc/shmctl.c: Likewise.
49255         * sysvipc/shmdt.c: Likewise.
49256         * sysvipc/shmget.c: Likewise.
49257         * termios/tcdrain.c: Likewise.
49258         * termios/tcflow.c: Likewise.
49259         * termios/tcflush.c: Likewise.
49260         * termios/tcgetattr.c: Likewise.
49261         * termios/tcgetpgrp.c: Likewise.
49262         * termios/tcsendbrk.c: Likewise.
49263         * termios/tcsetattr.c: Likewise.
49264         * termios/tcsetpgrp.c: Likewise.
49265         * time/adjtime.c: Likewise.
49266         * time/clock.c: Likewise.
49267         * time/getitimer.c: Likewise.
49268         * time/gettimeofday.c: Likewise.
49269         * time/setitimer.c: Likewise.
49270         * time/settimeofday.c: Likewise.
49271         * time/stime.c: Likewise.
49272         * time/time.c: Likewise.
49274 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49276         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49277         /usr/old/bin.
49279         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49280         instead of spaces.
49281         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49283 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49285         [BZ #14796]
49286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49287         FE_TONEAREST before applying Dekker multiplication and Knuth
49288         addition.  Clear inexact exceptions and check for exact zero
49289         results afterwards.
49290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49292         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49293         * math/libm-test.inc (fma_test): Add more tests.
49294         (fma_test_towardzero): Likewise.
49295         (fma_test_downward): Likewise.
49296         (fma_test_upward): Likewise.
49297         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49298         function.
49299         (libc_fesetround): New macro.
49300         (libc_fesetroundf): Likewise.
49301         (libc_fesetroundl): Likewise.
49302         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49303         function.
49304         (libc_fesetround_387): Likewise.
49305         (libc_fesetroundf): New macro.
49306         (libc_fesetround): Likewise.
49307         (libc_fesetroundl): Likewise.
49308         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49309         function.
49310         (libc_fesetroundf): New macro.
49311         (libc_fesetround): Likewise.
49312         (libc_fesetroundl): Likewise.
49313         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49314         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49315         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49316         libm_hidden_ver.
49317         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49318         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49319         libm_hidden_def.
49320         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49321         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49322         libm_hidden_ver.
49323         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49324         libm_hidden_def.
49326         [BZ #3439]
49327         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49328         integer constant usable in #if and use that to give value to enum
49329         constant.
49330         (FE_DIVBYZERO): Likewise.
49331         (FE_UNDERFLOW): Likewise.
49332         (FE_OVERFLOW): Likewise.
49333         (FE_INVALID): Likewise.
49334         (FE_INVALID_SNAN): Likewise.
49335         (FE_INVALID_ISI): Likewise.
49336         (FE_INVALID_IDI): Likewise.
49337         (FE_INVALID_ZDZ): Likewise.
49338         (FE_INVALID_IMZ): Likewise.
49339         (FE_INVALID_COMPARE): Likewise.
49340         (FE_INVALID_SOFTWARE): Likewise.
49341         (FE_INVALID_SQRT): Likewise.
49342         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49343         (FE_TONEAREST): Likewise.
49344         (FE_TOWARDZERO): Likewise.
49345         (FE_UPWARD): Likewise.
49346         (FE_DOWNWARD): Likewise.
49347         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49348         (FE_DIVBYZERO): Likewise.
49349         (FE_OVERFLOW): Likewise.
49350         (FE_UNDERFLOW): Likewise.
49351         (FE_INEXACT): Likewise.
49352         (FE_TONEAREST): Likewise.
49353         (FE_DOWNWARD): Likewise.
49354         (FE_UPWARD): Likewise.
49355         (FE_TOWARDZERO): Likewise.
49356         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49357         (FE_UNDERFLOW): Likewise.
49358         (FE_OVERFLOW): Likewise.
49359         (FE_DIVBYZERO): Likewise.
49360         (FE_INVALID): Likewise.
49361         (FE_TONEAREST): Likewise.
49362         (FE_TOWARDZERO): Likewise.
49363         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49364         (FE_OVERFLOW): Likewise.
49365         (FE_UNDERFLOW): Likewise.
49366         (FE_DIVBYZERO): Likewise.
49367         (FE_INEXACT): Likewise.
49368         (FE_TONEAREST): Likewise.
49369         (FE_TOWARDZERO): Likewise.
49370         (FE_UPWARD): Likewise.
49371         (FE_DOWNWARD): Likewise.
49372         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49373         (FE_DIVBYZERO): Likewise.
49374         (FE_OVERFLOW): Likewise.
49375         (FE_UNDERFLOW): Likewise.
49376         (FE_INEXACT): Likewise.
49377         (FE_TONEAREST): Likewise.
49378         (FE_DOWNWARD): Likewise.
49379         (FE_UPWARD): Likewise.
49380         (FE_TOWARDZERO): Likewise.
49382 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49384         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49386 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49388         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49389         commands.  Quote $PWD.
49390         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49391         -x" by "export".
49392         (remove_newlines): Remove.
49394 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49396         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49397         * stdlib/stdlib.h (atof): Moved to ...
49398         * include/bits/stdlib-float.h: Here.  New file.
49399         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49400         * stdlib/bits/stdlib-float.h: New file.
49401         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49402         -mno-sse -mno-mmx.
49403         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49404         <xmmintrin.h>.
49406 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49408         * conform/conformtest.pl (@headers): Add fenv.h.
49409         * conform/data/fenv.h-data: New file.
49410         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49411         include of <math/fenv.h>.
49413         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49414         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49415         && !UNIX98].  Enables tests for XOPEN2K8.
49416         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49417         POSIX2008]: Likewise.
49419         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49420         (struct rusage): Do not expect type or its members.
49422         [BZ #3439]
49423         * math/math.h (FP_NAN): Define macro to integer constant usable in
49424         #if and use that to give value to enum constant.
49425         (FP_INFINITE): Likewise.
49426         (FP_ZERO): Likewise.
49427         (FP_SUBNORMAL): Likewise.
49428         (FP_NORMAL): Likewise.
49430 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49432         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49433         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49434         arguments.
49436 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49438         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49439         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49440         autoconf-time if not.
49441         * configure.in: Remove AC_PREREQ.
49443 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49445         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49446         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49447         of the internal implementation.
49449 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49451         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49452         except include of <misc/sys/syslog.h>.
49454 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49457         function returns with a NULL context exit with zero.
49459 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49461         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49463 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49465         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49466         (run_program_cmd): This.
49467         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49468         (tst_langinfo): New variable.  Use it.
49470 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49472         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49473         floating point opcodes.
49475 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49477         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49478         variable.
49480         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49482         * sysdeps/mach/hurd/powerpc: Remove directory.
49483         * sysdeps/mach/powerpc: Likewise.
49485 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49487         * scripts/check-local-headers.sh: Ignore c++ headers.
49489 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49491         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49492         __libc_cleanup_region_start argument.
49494 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49496         [BZ #14784]
49497         [BZ #14785]
49498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49499         x * y using scaling, not as x * y + z.
49500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49502         * math/libm-test.inc (fma_test): Add more tests.
49503         (fma_test_towardzero): Likewise.
49504         (fma_test_downward): Likewise.
49505         (fma_test_upward): Likewise.
49507 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49509         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49511 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49513         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49514         New variable.
49516 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49518         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49520 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49523         Fix sort order.
49524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49525         Likewise.
49527 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49530         Fix the order of the list for glibc 2.17.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49532         Likewise.
49534 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49538 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49540         [BZ #14610]
49541         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49542         for low part of x being zero before using __atanl (y).
49543         * math/libm-test.inc (atan2_test): Add another test.
49545         * manual/install.texi (Configuring and compiling): Document
49546         general use of test-wrapper and test-wrapper-env.
49547         * INSTALL: Regenerated.
49549         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49550         (__fma): Do not extract and scale down low bits on after-rounding
49551         systems when result rounded to normal precision would have normal
49552         exponent.
49553         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49554         (__fmal): Do not extract and scale down low bits on after-rounding
49555         systems when result rounded to normal precision would have normal
49556         exponent.
49557         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49558         (__fmal): Do not extract and scale down low bits on after-rounding
49559         systems when result rounded to normal precision would have normal
49560         exponent.
49561         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49562         macro.
49563         (fma_test): Add more tests.
49564         (fma_test_towardzero): Likewise.
49565         (fma_test_downward): Likewise.
49566         (fma_test_upward): Likewise.
49568 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49570         * sysdeps/i386/tininess.h: Renamed to ...
49571         * sysdeps/x86/tininess.h: This.
49572         * sysdeps/x86_64/tininess.h: Removed.
49574 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49576         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49577         input.  Use $(build-program-cmd).
49578         ($(objpfx)tst-array1-static.out): Likewise.
49579         ($(objpfx)tst-array2.out): Likewise.
49580         ($(objpfx)tst-array3.out): Likewise.
49581         ($(objpfx)tst-array4.out): Likewise.
49582         ($(objpfx)tst-array5.out): Likewise.
49583         ($(objpfx)tst-array5-static.out): Likewise.
49585 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49587         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49588         if defined.
49590         * nss/nsswitch.h (nss_interface_function): Provide new
49591         macro for use with NSS functions.
49592         * grp/initgroups.c: Use new macro.
49593         * nss/getXXbyYY.c: Likewise.
49594         * nss/getXXbyYY_r.c: Likewise.
49595         * nss/getXXent.c: Likewise.
49596         * nss/getXXent_r.c: Likewise.
49597         * sysdeps/posix/getaddrinfo.c: Likewise.
49599 2012-10-30  Andreas Jaeger  <aj@suse.de>
49601         * po/ru.po: Update Russion translation from translation project.
49603 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49605         [BZ #14152]
49606         [BZ #14783]
49607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49608         result and shift together with sticky bit instead of replicating
49609         round-to-nearest rounding.
49610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49612         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49613         missing underflow exceptions.
49614         (fma_test_towardzero): Add more tests.
49615         (fma_test_downward): Likewise.
49616         (fma_test_upward): Likewise.
49618         [BZ #14047]
49619         * sysdeps/generic/tininess.h: New file.
49620         * sysdeps/i386/tininess.h: Likewise.
49621         * sysdeps/sh/tininess.h: Likewise.
49622         * sysdeps/x86_64/tininess.h: Likewise.
49623         * stdlib/tst-strtod-underflow.c: Likewise.
49624         * stdlib/tst-tininess.c: Likewise.
49625         * stdlib/strtod_l.c: Include <tininess.h>.
49626         (round_and_return): Do not set errno for exact underflow cases.
49627         Force an underflow exception when setting errno for underflow.
49628         Determine underflow based on rounding to normal precision if
49629         TININESS_AFTER_ROUNDING.
49630         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49631         ERANGE for exact underflow cases.
49632         * stdlib/Makefile (tests): Add tst-tininess and
49633         tst-strtod-underflow.
49634         ($(objpfx)tst-tininess): Use $(link-libm).
49635         ($(objpfx)tst-strtod-underflow): Likewise.
49637 2012-10-30  Andreas Jaeger  <aj@suse.de>
49639         [BZ#14767]
49640         * elf/Makefile (tests): Remove conditional for have-initfini-array
49641         since this is now always required and the variable does not exist
49642         anymore.
49643         (tests-static): Likewise.
49644         (modules-names): Likewise.
49646         * po/eo.po: Add Esperanto translation from translation project.
49648         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49649         merged with constructor/destructor.
49650         (init_array): Likewise.
49651         * elf/tst-array2dep.c (fini_array): Likewise.
49652         (init_array): Likewise.
49654 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49656         * manual/message.texi: Delete @cartouche tags.
49658 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49660         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49661         EOPNOTSUPP.
49662         * sysdeps/mach/hurd/fsync.c: Likewise.
49664         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49665         [_POSIX_REALTIME_SIGNALS]: Change condition to
49666         [_POSIX_REALTIME_SIGNALS > 0].
49668 2012-10-27  Andreas Jaeger  <aj@suse.de>
49670         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49671         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49673         [__WORDSIZE != 64]: Likewise.
49675 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49677         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49678         *  iconvdata/tst-tables.sh: Likewise.
49680 2012-10-25  David S. Miller  <davem@davemloft.net>
49682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49683         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49684         of strtoull.
49686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49687         ifunc-impl-list.c
49688         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49689         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49690         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49691         file.
49693 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49696         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49697         __getdirentries.
49699 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49700             Jim Blandy  <jimb@codesourcery.com>
49702         * scripts/cross-test-ssh.sh: New file.
49703         * manual/install.texi (Configuring and compiling): Document use of
49704         cross-test-ssh.sh.
49705         * INSTALL: Regenerated.
49707 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49709         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49710         EOPNOTSUPP.
49712 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49714         * Makeconfig (run-program-prefix): Fix comment.
49716 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49717             Jim Blandy  <jimb@codesourcery.com>
49719         * Makeconfig (test-wrapper): New variable,
49720         (test-wrapper-env): Likewise.
49721         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49722         (run-built-tests): Define to yes.
49723         (run-program-prefix): Use $(test-wrapper).
49724         (built-program-cmd): Likewise.
49725         * Rules (make-test-out): Use $(test-wrapper-env) and
49726         $(host-built-program-cmd).
49727         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49728         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49729         tst-pathopt.sh.
49730         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49731         $(test-wrapper-env) to tst-rtld-load-self.sh.
49732         ($(objpfx)order2.out): Use $(test-wrapper).
49733         ($(objpfx)tst-initorder.out): Likewise.
49734         ($(objpfx)tst-initorder2.out): Likewise.
49735         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49736         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49737         (test_wrapper_env): New variable.  Use it to run ld.so.
49738         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49739         Use it to run ld.so.
49740         (test_wrapper_env): Likewise.
49741         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49742         $(test-wrapper) to run-iconv-test.sh.
49743         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49744         (ICONV): Use $test_wrapper.
49745         * posix/Makefile ($(objpfx)globtest.out): Pass
49746         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49747         globtest.sh, not $(run-program-prefix).
49748         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49749         (test_wrapper): Likewise.
49750         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49751         set together with run_via_rtld_prefix.
49752         (run_program_prefix): Define in terms of test_wrapper and
49753         run_via_rtld_prefix.
49755 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49757         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49758         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49759         Targets removed.
49761         [BZ #14743]
49762         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49763         Declare __clock_getres, __clock_gettime, __clock_settime,
49764         __clock_nanosleep, and __clock_getcpuclockid.
49765         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49766         Remove librt_hidden_def (clock_gettime).
49767         * sysdeps/unix/clock_gettime.c: Likewise.
49768         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49769         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49770         * rt/clock_getres.c: Define __clock_getres as an alias.
49771         * sysdeps/posix/clock_getres.c: Likewise.
49772         * rt/clock_settime.c: Define __clock_settime as an alias.
49773         * sysdeps/unix/clock_settime.c: Likewise.
49774         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49775         * sysdeps/unix/clock_nanosleep.c: Likewise.
49776         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49777         * rt/clock-compat.c: New file.
49778         * rt/Makefile (librt-routines): Add clock-compat and move
49779         $(clock-routines) to ...
49780         (routines): ... here, new variable.
49781         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49782         Don't add get_clockfreq here.
49783         * rt/Versions (libc: GLIBC_2.17): New version set.
49784         Add clock_* symbols here.
49785         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49787         (GLIBC_2.17): Add clock_* symbols.
49788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49792         Likewise.
49793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49794         Likewise.
49795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49799         * NEWS: Mention the move.
49801         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49802         Use __open, __read, __close rather than their public counterparts.
49803         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49804         (__get_clockfreq_via_cpuinfo): Likewise.
49805         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49806         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49808         * config.h.in (HAVE_IFUNC): New #undef.
49809         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49810         was successful.
49811         * configure: Regenerated.
49813 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49815         * configure.in: Move READELF check to start of file.
49816         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49817         libc_cv_asm_gnu_indirect_function in the process.
49818         * configure: Regenerated.
49820 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49822         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49823         send the output to /dev/null.
49824         (libc_cv_cc_with_libunwind): Likewise.
49825         (libc_cv_as_noexecstack): Likewise.
49826         * configure: Regenerate.
49828 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49830         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49832         * posix/globtest.sh (TMPDIR): Do not set.
49833         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49834         (testout): Likewise.
49836 2012-10-24  Andreas Jaeger  <aj@suse.de>
49838         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49839         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49840         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49841         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49842         posix_fadvise64, posix_fallocate64.
49844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49845         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49846         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49847         Likewise.
49848         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49849         Likewise.
49850         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49853         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49854         <bits/fcntl-linux.h>.
49855         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49857         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49858         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49859         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49860         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49861         [__WORDSIZE != 64]: Likewise.
49863 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49865         * Makeconfig (run-built-tests): New variable.
49866         * Rules [$(cross-compiling) = yes]: Change condition to
49867         [$(run-built-tests) = no].
49868         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49869         to [$(run-built-tests) = yes].
49870         * elf/Makefile [$(cross-compiling) = no]: Likewise
49871         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49872         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49873         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49874         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49875         * io/Makefile [$(cross-compiling) = no]: Likewise.
49876         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49877         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49878         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49879         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49880         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49881         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49882         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49883         * string/Makefile [$(cross-compiling) = no]: Likewise.
49885         * posix/Makefile ($(objpfx)globtest.out): Pass
49886         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49887         $(rtld-installed-name).
49888         * posix/globtest.sh (elf_objpfx): Remove variable.
49889         (rtld_installed_name): Likewise.
49890         (library_path): Likewise.
49891         (run_program_prefix): New variable.  Use for running globtest
49892         binary.
49894 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49895             Joseph Myers  <joseph@codesourcery.com>
49897         * Makeconfig (host-built-program-cmd): New variable.
49898         * elf/Makefile (tst-stackguard1-ARGS): Use
49899         $(host-built-program-cmd).
49900         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49901         (tst-spawn-ARGS): Likewise.
49902         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49904 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49905             Jim Blandy  <jimb@codesourcery.com>
49907         * Makeconfig (run-via-rtld-prefix): New variable.
49908         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49909         (built-program-cmd): Likewise.
49911 2012-10-22  Andreas Jaeger  <aj@suse.de>
49913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49914         __O_RSYNC if it exists, otherwise to O_SYNC.
49916 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49917             Joseph Myers  <joseph@codesourcery.com>
49919         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49920         /dev/null.
49921         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49922         from /dev/null
49923         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49924         /dev/null.
49926 2012-10-22  Andreas Jaeger  <aj@suse.de>
49928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49929         Define always.
49930         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49933         bits/fcntl-linux.h.
49935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49936         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49939         to __O_LARGEFILE.
49940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49941         to __O_LARGEFILE.
49943 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49944             Joseph Myers  <joseph@codesourcery.com>
49946         * config.make.in (NM): New variable.
49948 2012-10-21  Andreas Jaeger  <aj@suse.de>
49950         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49951         definitions and declarations that are provided by
49952         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49954 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49956         [BZ #14683]
49957         * elf/Makefile (tests-static): Add tst-leaks1-static.
49958         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49959         ($(objpfx)tst-leaks1-static): New rule.
49960         ($(objpfx)tst-leaks1-static-mem): Likewise.
49961         (tst-leaks1-static-ENV): New macro.
49962         * elf/dl-open.c (dl_open_worker): Check the main application
49963         only if SHARED is defined.
49964         * elf/tst-leaks1-static.c: New file.
49966 2012-10-20  Andreas Jaeger  <aj@suse.de>
49968         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49969         generic values for Linux.
49970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49971         and declarations that are provided by <bits/fcntl-linux.h> and
49972         include <bits/fcntl-linux.h>.
49973         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49976 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49978         * io/fcntl.h: Move include of <bits/types.h> to the top and
49979         include it unconditionally.
49981 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49983         * wcsmbs/Makefile (tests-ifunc): New variable.
49984         (tests): Add $(tests-ifunc).
49985         * wcsmbs/test-wcschr-ifunc.c: New file.
49986         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49987         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49988         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49989         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49990         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49992         * string/Makefile (tests-ifunc): New variable.
49993         (tests): Add $(tests-ifunc).
49994         * string/test-memccpy.c (TEST_NAME): New macro.
49995         * string/test-memchr.c (TEST_NAME): Likewise.
49996         * string/test-memcmp.c (TEST_NAME): Likewise.
49997         * string/test-memcpy.c (TEST_NAME): Likewise.
49998         * string/test-memmem.c (TEST_NAME): Likewise.
49999         * string/test-memmove.c (TEST_NAME): Likewise.
50000         * string/test-memset.c (TEST_NAME): Likewise.
50001         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50002         * string/test-stpcpy.c (TEST_NAME): Likewise.
50003         * string/test-stpncpy.c (TEST_NAME): Likewise.
50004         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50005         * string/test-strcasestr.c (TEST_NAME): Likewise.
50006         * string/test-strcat.c (TEST_NAME): Likewise.
50007         * string/test-strchr.c (TEST_NAME): Likewise.
50008         * string/test-strcmp.c(TEST_NAME): Likewise.
50009         * string/test-strcpy.c (TEST_NAME): Likewise.
50010         * string/test-strcspn.c (TEST_NAME): Likewise.
50011         * string/test-strlen.c (TEST_NAME): Likewise.
50012         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50013         * string/test-strncmp.c (TEST_NAME): Likewise.
50014         * string/test-strncpy.c (TEST_NAME): Likewise.
50015         * string/test-strnlen.c (TEST_NAME): Likewise.
50016         * string/test-strpbrk.c (TEST_NAME): Likewise.
50017         * string/test-strrchr.c (TEST_NAME): Likewise.
50018         * string/test-strspn.c (TEST_NAME): Likewise.
50019         * string/test-strstr.c (TEST_NAME): Likewise.
50020         * string/test-bcopy-ifunc.c: New file.
50021         * string/test-bzero-ifunc.c: Likewise.
50022         * string/test-memccpy-ifunc.c: Likewise.
50023         * string/test-memchr-ifunc.c: Likewise.
50024         * string/test-memcmp-ifunc.c: Likewise.
50025         * string/test-memcpy-ifunc.c: Likewise.
50026         * string/test-memmem-ifunc.c: Likewise.
50027         * string/test-memmove-ifunc.c: Likewise.
50028         * string/test-mempcpy-ifunc.c: Likewise.
50029         * string/test-memset-ifunc.c: Likewise.
50030         * string/test-rawmemchr-ifunc.c: Likewise.
50031         * string/test-stpcpy-ifunc.c: Likewise.
50032         * string/test-stpncpy-ifunc.c: Likewise.
50033         * string/test-strcasecmp-ifunc.c: Likewise.
50034         * string/test-strcasestr-ifunc.c: Likewise.
50035         * string/test-strcat-ifunc.c: Likewise.
50036         * string/test-strchr-ifunc.c: Likewise.
50037         * string/test-strchrnul-ifunc.c: Likewise.
50038         * string/test-strcmp-ifunc.c: Likewise.
50039         * string/test-strcpy-ifunc.c: Likewise.
50040         * string/test-strcspn-ifunc.c: Likewise.
50041         * string/test-strlen-ifunc.c: Likewise.
50042         * string/test-strncasecmp-ifunc.c: Likewise.
50043         * string/test-strncat-ifunc.c: Likewise.
50044         * string/test-strncmp-ifunc.c: Likewise.
50045         * string/test-strncpy-ifunc.c: Likewise.
50046         * string/test-strnlen-ifunc.c: Likewise.
50047         * string/test-strpbrk-ifunc.c: Likewise.
50048         * string/test-strrchr-ifunc.c: Likewise.
50049         * string/test-strspn-ifunc.c: Likewise.
50050         * string/test-strstr-ifunc.c: Likewise.
50052         * debug/Makefile (tests-ifunc): New variable.
50053         (tests): Add $(tests-ifunc).
50054         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50055         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50056         * debug/test-stpcpy_chk-ifunc.c: New file.
50057         * debug/test-strcpy_chk-ifunc.c: Likewise.
50059 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50061         [BZ #13601]
50062         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50063         header is not read in.
50065 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50067         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50068         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50069         directly.  Pass built executable to script as
50070         $(built-program-cmd).
50071         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50072         $testprogram without using LD_LIBRARY_PATH and $ldso.
50074         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50075         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50076         $(rtld-installed-name).
50077         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50078         (rtld_installed_name): Likewise.
50079         (library_path): Likewise.
50080         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50081         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50082         $(run-program-prefix) to tst-tables.sh.
50083         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50084         it to run tst-table-from and tst-table-to.
50085         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50086         Pass it to tst-table.sh.
50087         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50088         $(run-program-prefix) to tst-gettext.sh.
50089         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50090         tst-translit.sh.
50091         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50092         tst-gettext2.sh.
50093         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50094         to run tst-gettext.
50095         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50096         to run tst-gettext2.
50097         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50098         to run tst-translit.
50099         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50100         $(run-program-prefix) to tst-mtrace.sh.
50101         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50102         to run tst-mtrace.
50103         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50104         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50105         $(rtld-installed-name).
50106         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50107         (rtld_installed_name): Likewise.
50108         (run_program_prefix): New variable.  Use it to run wordexp-test.
50110         * Makeconfig (ARCH): Remove all definitions.
50111         (machine): Likewise.
50112         [ARCH]: Remove conditional code.
50113         [!objdir]: Give error.
50114         [!objdir] (objpfx): Remove.
50115         [!objdir] (common-objpfx): Likewise.
50116         [!objdir] (common-objdir): Likewise.
50117         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50118         AC_CONFIG_FILES call.
50119         * configure: Regenerated.
50121         [BZ #13888]
50122         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50123         or TMPDIR.
50124         (testout): Likewise.
50126         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50127         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50128         $(rtld-installed-name).
50129         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50130         (rtld_installed_name): Likwise.
50131         (runit): Remove function.
50132         (run_getconf): New variable,  Use it for running getconf binary.
50134 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50136         [BZ #14716]
50137         * string/test-memmem.c (check_result): New function.
50138         (do_one_test): Use it.
50139         (check1): New function.
50140         (test_main): Use it.
50142 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50144         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50146 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50148         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50149         (_G_LSEEK64): Likewise.
50150         (_G_MMAP64): Likewise.
50151         (_G_FSTAT64): Likewise.
50152         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50153         (_G_LSEEK64): Likewise.
50154         (_G_MMAP64): Likewise.
50155         (_G_FSTAT64): Likewise.
50156         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50157         unconditional.  Call __mmap64 directly.
50158         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50159         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50160         __lseek64 directly.
50161         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50162         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50163         __mmap64 directly.
50164         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50165         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50166         __lseek64 directly.
50167         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50168         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50169         __lseek64 directly.
50170         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50171         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50172         __lseek64 directly.
50173         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50174         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50175         __fxstat64 directly.
50176         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50177         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50178         unconditional.
50179         (freopen64) [!_G_OPEN64]: Remove conditional code.
50180         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50181         unconditional.
50182         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50183         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50184         unconditional.
50185         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50186         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50187         unconditional.
50188         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50189         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50190         unconditional.
50191         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50192         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50193         unconditional.
50194         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50195         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50196         unconditional.
50197         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50198         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50199         unconditional.
50200         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50202 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50204         [BZ #12140]
50205         * manual/memory.texi (Malloc Tunable Parameters): Add note
50206         about free list pointers overwriting some perturb bytes.
50207         Wording suggested by Roland McGrath.
50209 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50211         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50212         (lgamma_test): Likewise.
50213         (tgamma_test): Likewise.
50215 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50217         [BZ #14700]
50218         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50219         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50221 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50223         * NEWS: Mention BZ #14716.
50224         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50225         when removing AVAILABLE1_USES_J macro.
50227 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50229         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50230         (__bswap_64): __uint64_t for unsigned 64-bit int.
50232 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50234         * include/string.h (memmem): Declare libc hidden alias.
50235         * string/memmem.c (memmem): Define libc hidden alias.
50236         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50237         __read, __close instead of open, read, close.
50239 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50242         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50243         global and hidden.
50244         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50245         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50246         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50247         Likewise.
50248         (__rawmemchr_sse2): Likewise.
50249         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50250         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50251         (__strchr_sse2): Likewise.
50252         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50253         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50254         (__strcasecmp_sse2): Likewise.
50255         (__strncasecmp_sse2): Likewise.
50256         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50257         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50258         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50259         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50260         (__strrchr_sse2): Likewise.
50261         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50262         ifunc-impl-list.c.
50263         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50264         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50265         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50266         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50267         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50268         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50269         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50271         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50272         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50273         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50274         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50275         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50276         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50277         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50278         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50279         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50280         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50281         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50282         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50283         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50284         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50285         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50286         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50287         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50288         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50289         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50290         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50291         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50292         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50294         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50295         global and hidden.
50296         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50297         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50298         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50299         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50300         Likewise.
50301         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50302         Likewise.
50303         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50304         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50305         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50306         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50307         ifunc-impl-list.c.
50308         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50309         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50310         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50311         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50312         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50313         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50314         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50315         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50317         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50319         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50320         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50321         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50322         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50323         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50324         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50326         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50327         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50328         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50329         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50330         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50331         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50332         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50333         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50334         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50335         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50336         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50337         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50338         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50339         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50340         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50341         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50342         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50343         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50344         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50346         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50347         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50348         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50350         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50351         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50352         * include/ifunc-impl-list.h: New file.
50353         * misc/ifunc-impl-list.c: Likewise.
50354         * misc/Makefile (routines): Add ifunc-impl-list.
50355         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50356         * string/test-string.h: Include <ifunc-impl-list.h>.
50357         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50358         TEST_NAME]: New variables.
50359         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50360         are defined.
50361         (test_init): Call __libc_ifunc_impl_list to initialize
50362         func_list if TEST_IFUNC and TEST_NAME are defined.
50364         * string/Makefile (strop-tests): Add bcopy and bzero.
50365         * string/test-bcopy.c: New file.
50366         * string/test-bzero.c: Likewise.
50367         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50368         defined.
50369         * string/test-memset.c: Support bzero test if TEST_BZERO is
50370         defined.
50371         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50372         __libc_memmove.
50373         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50374         __libc_memset.
50375         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50376         of memset.
50378 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50380         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50381         * configure: Regenerated.
50383         * Makeconfig (+link-static-before-libc): Don't include
50384         $(link-static-libc).
50386         * libio/libio.h (_IO_pos_t): Remove.
50388 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50390         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50391         McGrath.
50393 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50395         * crypt/crypt-entry.c: Include fips-private.h.
50396         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50397         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50398         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50399         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50401 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50403         * crypt/crypt-private.h: Include stdbool.h.
50404         (_ufc_setup_salt_r): Return bool.
50405         * crypt/crypt-entry.c: Include errno.h.
50406         (__crypt_r): Return NULL with EINVAL for bad salt.
50407         * crypt/crypt_util.c (bad_for_salt): New.
50408         (_ufc_setup_salt_r): Check that salt is long enough and within
50409         the specified alphabet.
50410         * crypt/badsalttest.c: New file.
50411         * crypt/Makefile (tests): Add it.
50412         ($(objpfx)badsalttest): New.
50414 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50416         * NEWS: Add entry for BZ #14602.
50418 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50420         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50421         type-generic.
50422         * math/libm-test.inc: Update comment listing what functions and
50423         macros are tested.
50424         (isgreater_test): New function.
50425         (isgreaterequal_test): Likewise.
50426         (isless_test): Likewise.
50427         (islessequal_test): Likewise.
50428         (islessgreater_test): Likewise.
50429         (isunordered_test): Likewise.
50430         (main): Call the new functions.
50432 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50434         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50435         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50436         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50437         * sysdeps/i386/configure: Regenerated.
50438         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50439         * sysdeps/mach/configure: Regenerated.
50440         * sysdeps/mach/hurd/configure: Regenerated.
50441         * sysdeps/powerpc/configure: Regenerated.
50442         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50443         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50444         * sysdeps/s390/s390-32/configure: Regenerated.
50445         * sysdeps/s390/s390-64/configure: Regenerated.
50446         * sysdeps/sh/configure: Regenerated.
50447         * sysdeps/sparc/configure: Regenerated.
50448         * sysdeps/unix/sysv/linux/configure: Regenerated.
50449         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50450         * sysdeps/x86_64/configure: Regenerated.
50452         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50453         defined.  Don't check if MAP is NULL.
50455 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50457         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50458         (_G_stat64): Likewise.
50459         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50460         (_G_stat64): Likewise.
50461         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50462         instead of struct _G_stat64.
50463         * libio/fileops.c (mmap_remap_check): Likewise.
50464         (decide_maybe_mmap): Likewise.
50465         (_IO_new_file_seekoff): Likewise.
50466         (_IO_file_stat): Likewise.
50467         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50468         _G_off64_t.
50469         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50470         instead of struct _G_stat64.
50471         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50473 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50475         [BZ #14602]
50476         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50477         Replace with ...
50478         (CHECK_EOL): New macro.
50479         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50480         CHECK_EOL.
50481         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50482         Replace with CHECK_EOL.
50483         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50484         Replace with CHECK_EOL.
50486 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50488         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50489         type-generic.
50490         * math/libm-test.inc: Update comment listing what functions and
50491         macros are tested.
50492         (finite_test): New function.
50493         (isinf_test): Likewise.
50494         (isnan_test): Likewise.
50495         (fpclassify_test): Test subnormal input.
50496         (isfinite_test): Likewise.
50497         (isnormal_test): Likewise.
50498         (main): Call the new functions.
50500 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50502         [BZ #14660]
50503         * Makerules (%.dynsym): Force C locale when running
50504         $(OBJDUMP) --dynamic-syms.
50506 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50508         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50509         <stdint.h>.
50511 2012-10-06  David S. Miller  <davem@davemloft.net>
50513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50514         upper 32-bits of the length value in %o2 since we use branch-on-register
50515         tests which consider the entire 64-bit register.
50517 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50519         * string/test-strstr.c (check2): Add a test for page boundary.
50521 2012-10-05  David S. Miller  <davem@davemloft.net>
50523         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50524         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50525         file.
50526         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50527         sysdep_routines.
50528         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50529         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50530         and bzero when HWCAP_SPARC_CRYPTO is present.
50532 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50534         [BZ #14602]
50535         * string/test-strstr.c (check2): New function.
50536         (test_main): Call check2.
50538         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50539         and bug-strchr1.
50540         * string/bug-strcasestr1.c (do_test): Moved to ...
50541         * string/test-strcasestr.c (check1): Here.  New function.
50542         (do_one_test): Break out result checking code into ...
50543         (check_result): This.  New function.
50544         (do_one_test): Call check_result.
50545         (test_main): Call check1.
50546         * string/bug-strchr1.c (do_test): Moved to ...
50547         * string/test-strchr.c (check1): Here.  New function.
50548         (do_one_test): Break out result checking code into ...
50549         (check_result): This.  New function.
50550         (do_one_test): Call check_result.
50551         (test_main): Call check1.
50552         * string/bug-strstr1.c (main): Moved to ...
50553         * string/test-strstr.c (check1): Here.  New function.
50554         (do_one_test): Break out result checking code into ...
50555         (check_result): This.  New function.
50556         (do_one_test): Call check_result.
50557         (test_main): Call check1.
50558         * string/bug-strcasestr1.c: Removed.
50559         * string/bug-strchr1.c: Likewise.
50560         * string/bug-strstr1.c: Likewise.
50562         * elf/Makefile (dl-routines): Add hwcaps.
50563         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50564         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50565         (_dl_important_hwcaps): Moved to ...
50566         * elf/dl-hwcaps.c: Here.  New file.
50567         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50569         [BZ #14557]
50570         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50571         if IS_IN_rtld isn't defined.
50573         * elf/dl-support.c (_dl_sysinfo_map): New.
50574         Include "get-dynamic-info.h" and "setup-vdso.h".
50575         (_dl_non_dynamic_init): Call setup_vdso.
50576         * elf/dynamic-link.h: Don't include <assert.h>.
50577         (elf_get_dynamic_info): Moved to ...
50578         * elf/get-dynamic-info.h: Here.  New file.
50579         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50580         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50581         * elf/setup-vdso.h: Here.  New file.
50582         * elf/rtld.c: Include "setup-vdso.h".
50583         (dl_main): Call setup_vdso.
50585 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50587         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50588         creal in comment listing functions tested.  List finite, isinf,
50589         isnan, isless, islessequal, isgreater, isgreaterequal,
50590         islessgreater, isunordered, lgamma_r and pow10 as functions and
50591         macros not tested.  Mention which functions not tested are aliases
50592         for other functions.  Fix typo.  Note that signs of NaNs are not
50593         tested.
50595         * scripts/config.guess: Update from config.git.
50596         * scripts/config.sub: Likewise.
50598 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50600         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50601         * misc/madvise.c (madvise): Renamed to __madvise.
50602         Make madvise a weak alias.
50603         * include/sys/mman.h: Declare __madvise.
50604         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50605         * sysdeps/unix/syscalls.list
50606         (madvise): Make __madvise the strong name, and madvise a weak alias.
50607         * sysdeps/unix/sysv/linux/syscalls.list
50608         (madvise, mmap): Remove redundant entries.
50609         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50610         * malloc/malloc.c (mtrim): Likewise.
50611         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50613 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50615         * sysdeps/mach/hurd/dl-cache.c: File removed.
50616         * config.h.in (USE_LDCONFIG): New #undef.
50617         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50618         * configure: Regenerated.
50619         * elf/Makefile (dl-routines): Add dl-cache only under
50620         [$(use-ldconfig) = yes].
50621         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50622         cache on [USE_LDCONFIG].
50623         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50624         [USE_LDCONFIG].
50625         * elf/rtld.c (dl_main): Likewise.
50627 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50629         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50630         _SC_LEVEL4_CACHE_LINESIZE.
50632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50634         * sysdeps/unix/bsd/confstr.h: File removed.
50636 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50638         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50639         sys/sdt-config.h.
50641 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50643         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50644         Make 'mapoff' field ElfW(Off) rather than off_t.
50646 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50648         * nscd/Makefile: Remove nscd-cflags and all its users.
50649         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50650         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50652         [BZ #10631]
50653         * malloc.c (malloc_printerr): Clarify error message.
50655 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50657         [BZ #14648]
50658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50659         Set bit_FMA_Usable if FMA is supported.
50660         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50661         macro.
50662         (bit_FMA4_Usable): Updated.
50663         (index_FMA_Usable): New macro.
50664         (CPUID_FMA): Likewise
50665         (HAS_FMA): Defined with bit_FMA_Usable.
50667 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50669         * bits/types.h (__swblk_t): Type removed.
50670         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50671         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50673         (__SWBLK_T_TYPE): Likewise.
50674         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50675         (__SWBLK_T_TYPE): Likewise.
50676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50677         (__SWBLK_T_TYPE): Likewise.
50678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50679         (__SWBLK_T_TYPE): Likewise.
50681 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50682             Honza Horak <hhorak@redhat.com>
50684         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50685         (xdr_mapname): Use YPMAXMAP as maxsize.
50686         (xdr_peername): Use YPMAXPEER as maxsize.
50687         (xdr_keydat): Use YPAXRECORD as maxsize.
50688         (xdr_valdat): Use YPMAXRECORD as maxsize.
50690 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50692         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50694         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50695         * csu/init-first.c: ... here.
50696         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50697         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50698         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50699         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50700         * sysdeps/i386/init-first.c: File removed.
50701         * sysdeps/sh/init-first.c: File removed.
50703 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50705         [BZ #14645]
50706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50707         if x * y might underflow to zero and z is zero.
50708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50710         * math/libm-test.inc (min_subnorm_value): New variable.
50711         (fma_test): Add more tests.
50712         (fma_test_towardzero): Likewise.
50713         (fma_test_downward): Likewise
50714         (fma_test_upward): Likewise.
50715         (initialize): Set min_subnorm_value.
50717 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50719         [BZ #14638]
50720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50721         0 + 0.
50722         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50723         mode for addition resulting in exact zero.
50724         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50726         exact 0 + 0.
50727         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50729         * math/libm-test.inc (fma_test): Add more tests.
50730         (fma_test_towardzero): New function.
50731         (fma_test_downward): Likewise.
50732         (fma_test_upward): Likewise.
50733         (main): Call the new functions.
50735 2012-09-28  David S. Miller  <davem@davemloft.net>
50737         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50739 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50741         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50742         instead of SIGALRM.
50744         * sysdeps/gnu/_G_config.h: Moved to ...
50745         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50746         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50747         * sysdeps/generic/_G_config.h: ... here.
50749         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50751         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50753         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50754         Conditionalize target on [libnss_test1.so-version].
50756         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50758         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50759         (elfobjdir): Move out of conditionals.
50761         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50762         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50763         (__nss_lookup_function): Conditionalize label remove_from_tree on
50764         [!DO_STATIC_NSS || SHARED], matching its only use.
50766 2012-09-28  David S. Miller  <davem@davemloft.net>
50768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50770         file.
50771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50772         sysdep_routines.
50773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50775         when HWCAP_SPARC_CRYPTO is present.
50777 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50779         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50781 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50783         [BZ #6530]
50784         * stdio-common/vfprintf.c (process_string_arg): Revert
50785         2000-07-22 change.
50787 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50789         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50790         for testcase.
50791         * stdio-common/tst-sprintf.c: Include <locale.h>
50792         (main): Test sprintf's handling of incomplete multibyte
50793         characters.
50795 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50797         * elf/dl-runtime.c (VERSYMIDX): Removed.
50798         * elf/dl-version.c (VERSYMIDX): Likewise.
50799         * elf/do-rel.h (VERSYMIDX): Likewise.
50800         (VALIDX): Likewise.
50801         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50802         * elf/rtld.c (VALIDX): Likewise.
50803         (ADDRIDX): Likewise.
50804         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50805         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50806         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50807         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50808         (VALIDX): Likewise.
50809         (ADDRIDX): Likewise.
50811 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50813         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50815 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50817         [BZ #11438]
50818         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50819         to global scope.
50820         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50821         addresses are in the same scope as 192.0.2/24.
50822         * posix/gai.conf: Document new scope table defaults.
50824 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50826         [BZ #5298]
50827         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50828         for ftell.  Compute offsets from write pointers instead.
50829         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50831 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50833         [BZ #14543]
50834         * libio/Makefile (tests): New test case tst-fseek.
50835         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50836         combination works in wide mode.
50837         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50838         state when the external buffer state changes.
50840 2012-09-27  David S. Miller  <davem@davemloft.net>
50842         [BZ #14376]
50843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50844         pass reloc->r_addend in as the 'high' argument to
50845         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50849 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50851         * rt/tst-aio2.c: Include <pthread.h>.
50852         * rt/tst-aio3.c: Likewise.
50854 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50856         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50858 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50860         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50861         contents on [SHARED].
50863 2012-09-26  Marek Polacek  <polacek@redhat.com>
50865         [BZ #14530]
50866         [BZ #13741]
50867         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50868         for C++ and GCC <4.3 as well as for non GCC compilers.
50870 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50874 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50876         * Makefile.in (all, install): Declare with .PHONY.
50877         Reported by Michael Hope <michael.hope@linaro.org>.
50879 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50881         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50882         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50883         system header.
50884         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50885         Likewise.
50886         (sydep_routines): Add the new and the internal functions.
50887         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50888         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50890         (GLIBC_2.17): Add the new function.
50891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50892         (GLIBC_2.17): Likewise.
50893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50894         (GLIBC_2.17): Likewise.
50895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50896         (GLIBC_2.17): Likewise.
50897         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50899 2012-09-25  Alan Modra  <amodra@gmail.com>
50901         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50902         Add release barrier before setting once_control to say
50903         initialisation is done.  Add hints on lwarx.  Use macro in
50904         place of isync.
50905         (clear_once_control): Add release barrier.
50907 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50909         [BZ #13629]
50910         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50911         specially.
50912         * math/s_clog10.c (__clog10): Likewise.
50913         * math/s_clog10f.c (__clog10f): Likewise.
50914         * math/s_clog10l.c (__clog10l): Likewise.
50915         * math/s_clogf.c (__clogf): Likewise.
50916         * math/s_clogl.c (__clogl): Likewise.
50917         * math/Makefile (libm-calls): Add x2y2m1.
50918         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50919         (__x2y2m1): Likewise.
50920         (__x2y2m1l): Likewise.
50921         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50922         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50923         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50925         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50926         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50927         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50928         * sysdeps/i386/fpu/libm-test-ulps: Update.
50929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50931         [BZ #14621]
50932         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50933         int as type of variable DEPTH.
50934         (glob): Use size_t instead of int as type of variables NEWCOUNT
50935         and OLD_PATHC.
50937 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50939         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50940         Add s_sincosf-sse2.
50941         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50942         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50943         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50944         macros for using routine as __sincosf_ia32.
50945         Use macro for function declaration and weak_alias.
50946         * sysdeps/i386/fpu/libm-test-ulps: Update.
50948         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50951         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50952         subnormal argument.
50953         * math/s_cexpf.c (__cexpf): Likewise.
50954         * math/s_csinf.c (__csinf): Likewise.
50955         * math/s_csinhf.c (__csinhf): Likewise.
50956         * math/s_ctanf.c (__ctanf): Likewise.
50957         * math/s_ctanhf.c (__ctanhf): Likewise.
50958         * math/s_ccosh.c (__ccoshf): Likewise.
50959         * math/s_cexp.c (__cexpl): Likewise.
50960         * math/s_csin.c (__csin): Likewise.
50961         * math/s_csinh.c (__csinh): Likewise.
50962         * math/s_ctan.c (__ctan): Likewise.
50963         * math/s_ctanh.c (ctanh): Likewise.
50964         * math/s_ccoshl.c (__ccoshl): Likewise.
50965         * math/s_cexpl.c (__cexpl): Likewise.
50966         * math/s_csinl.c (__csinl): Likewise.
50967         * math/s_csinhl.c (__csinhl): Likewise.
50968         * math/s_ctanl.c (__ctanl): Likewise.
50969         * math/s_ctanhl.c (__ctanhl): Likewise.
50971 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50973         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50974         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50975         (_IO_off_t): Define to __off_t, not _G_off_t.
50976         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50977         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50978         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50979         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50980         type of __dummy and __dummy2 fields.
50981         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50982         (_G_ssize_t): Likewise.
50983         (_G_off_t): Likewise.
50984         (_G_pid_t): Likewise.
50985         (_G_uid_t): Likewise.
50986         (_G_wchar_t): Likewise.
50987         (_G_wint_t): Likewise.
50988         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50989         (_G_ssize_t): Likewise.
50990         (_G_off_t): Likewise.
50991         (_G_pid_t): Likewise.
50992         (_G_uid_t): Likewise.
50993         (_G_wchar_t): Likewise.
50994         (_G_wint_t): Likewise.
50995         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50996         (_G_ssize_t): Likewise.
50997         (_G_off_t): Likewise.
50998         (_G_pid_t): Likewise.
50999         (_G_uid_t): Likewise.
51000         (_G_wchar_t): Likewise.
51001         (_G_wint_t): Likewise.
51003 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51005         * malloc/arena.c: Include malloc-sysdep.h.
51006         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51007         is sufficient to shrink the heap or an unmap is needed.
51008         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51009         new function check_may_shrink_heap.
51010         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51011         new function check_may_shrink_heap.
51013 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51015         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51016         comments.
51018 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51020         * catgets/test-gencat.sh: Add "set -e".
51021         * elf/tst-pathopt.sh: Likewise.
51022         * grp/tst_fgetgrent.sh: Likewise.
51023         * iconvdata/run-iconv-test.sh: Likewise.
51024         * intl/tst-gettext.sh: Likewise.
51025         * intl/tst-gettext2.sh: Likewise.
51026         * intl/tst-gettext4.sh: Likewise.
51027         * intl/tst-gettext6.sh: Likewise.
51028         * intl/tst-translit.sh: Likewise.
51029         * io/ftwtest-sh: Likewise.
51030         * libio/test-freopen.sh: Likewise.
51031         * malloc/tst-mtrace.sh: Likewise.
51032         * posix/globtest.sh: Likewise.
51033         * posix/tst-getconf.sh: Likewise.
51034         * posix/wordexp-tst.sh: Likewise.
51035         * stdio-common/tst-printf.sh: Likewise.
51036         * stdio-common/tst-unbputc.sh: Likewise.
51037         * stdlib/tst-fmtmsg.sh: Likewise.
51038         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51039         * catgets/Makefile: Do not specify -e option when running
51040         testsuite shell scripts.
51041         * elf/Makefile: Likewise.
51042         * grp/Makefile: Likewise.
51043         * iconvdata/Makefile: Likewise.
51044         * intl/Makefile: Likewise.
51045         * io/Makefile: Likewise.
51046         * libio/Makefile: Likewise.
51047         * malloc/Makefile: Likewise.
51048         * posix/Makefile: Likewise.
51049         * stdio-common/Makefile: Likewise.
51050         * stdlib/Makefile: Likewise.
51051         * sysdeps/x86_64/Makefile: Likewise.
51053         * io/ftwtest-sh: Add copyright header.
51054         * posix/globtest.sh: Likewise.
51055         * posix/tst-getconf.sh: Likewise.
51056         * posix/wordexp-tst.sh: Likewise.
51057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51059 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51061         [BZ #13679]
51062         * Makeconfig (+link): Defined as $(+link-static) if
51063         $(build-shared) isn't yes.
51064         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51065         isn't yes.
51066         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51068         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51070         [BZ #14562]
51071         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51072         new chunk size with MALLOC_ALIGN_MASK.
51074 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51076         [BZ #5044]
51077         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51078         <rounding-mode.h>.
51079         (__printf_fphex): Determine rounding using get_rounding_mode and
51080         round_away.
51081         * stdio-common/tst-printf-round.c (struct hex_test): New
51082         structure.
51083         (hex_tests): New variable.
51084         (test_hex_in_one_mode): New function.
51085         (do_test): Also run tests for hex float output.
51087 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51089         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51090         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51091         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51092         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51093         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51094         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51095         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51096         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51098 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51100         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51101         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51102         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51103         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51105 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51107         [BZ #14579]
51108         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51109         mode only.
51110         * elf/tst-rtld-load-self.sh: New test.
51111         * elf/Makefile: Run it.
51113 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51115         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51116         (tst-writev-ENV): Remove.
51117         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51119 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51121         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51123 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51125         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51126         unconditional.
51127         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51128         Likewise.
51129         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51130         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51131         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51132         Likewise.
51134 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51136         [BZ #14587]
51137         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51138         * config.make.in (have-cpp-asm-debuginfo): Removed.
51139         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51140         * configure: Regenerated.
51142 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51144         [BZ #5044]
51145         * stdio-common/printf_fp.c: Include <stdbool.h> and
51146         <rounding-mode.h>.
51147         (___printf_fp): Determine rounding using get_rounding_mode and
51148         round_away.
51149         * stdio-common/tst-printf-round.c: New file.
51150         * stdio-common/Makefile (tests): Add tst-printf-round.
51151         (link-libm): New variable.
51152         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51154 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51156         [BZ #14576]
51157         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51158         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51159         Likewise.
51160         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51161         Likewise.
51163 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51165         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51166         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51167         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51168         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51170 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51172         [BZ #14518]
51173         * include/rounding-mode.h: New file.
51174         * sysdeps/generic/get-rounding-mode.h: Likewise.
51175         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51176         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51177         (MAX_VALUE): New macro.
51178         (MIN_VALUE): Likewise.
51179         (overflow_value): New function.
51180         (underflow_value): Likewise.
51181         (round_and_return): Use overflow_value and underflow_value to
51182         determine return values in overflow and underflow cases.  Use
51183         round_away to determine rounding depending on rounding mode.
51184         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51185         determine return values in overflow and underflow cases.
51186         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51187         (struct test_results): New structure.
51188         (struct test): Use struct test_results to store expected results
51189         for all rounding modes.
51190         (TEST): Include expected results for all rounding modes.
51191         (test_in_one_mode): New function.
51192         (do_test): Use test_in_one_mode to compute and check results.
51193         Check results for all rounding modes.
51194         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51195         $(link-libm).
51197 2012-12-09  Allan McRae  <allan@archlinux.org>
51199         * sysdeps/i386/fpu/libm-test-ulps: Update
51201 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51203         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51204         (_G_int32_t): Likewise.
51205         (_G_uint16_t): Likewise.
51206         (_G_uint32_t): Likewise.
51207         (_G_HAVE_BOOL): Likewise.
51208         (_G_HAVE_ATEXIT): Likewise.
51209         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51210         (_G_HAVE_IO_FILE_OPEN): Likewise.
51211         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51212         (_G_int32_t): Likewise.
51213         (_G_uint16_t): Likewise.
51214         (_G_uint32_t): Likewise.
51215         (_G_HAVE_BOOL): Likewise.
51216         (_G_HAVE_ATEXIT): Likewise.
51217         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51218         (_G_HAVE_IO_FILE_OPEN): Likewise.
51219         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51220         (_G_int32_t): Likewise.
51221         (_G_uint16_t): Likewise.
51222         (_G_uint32_t): Likewise.
51223         (_G_HAVE_BOOL): Likewise.
51224         (_G_HAVE_ATEXIT): Likewise.
51225         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51226         (_G_HAVE_IO_FILE_OPEN): Likewise.
51228 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51230         * csu/libc-tls.c: Update copyright years.
51232 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51234         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51235         [!_G_USING_THUNKS]: Remove conditional code.
51236         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51237         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51239         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51240         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51241         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51242         (_G_VTABLE_LABEL_PREFIX): Likewise.
51243         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51244         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51245         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51246         (_G_VTABLE_LABEL_PREFIX): Likewise.
51247         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51248         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51249         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51250         (_G_VTABLE_LABEL_PREFIX): Likewise.
51251         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51253 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51255         * libio/Makefile: Include ../Makeconfig before tests.
51256         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51257         only if $(build-shared) is yes.
51259         * iconv/gconv_db.c: Update copyright years.
51261 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51263         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51264         unwind info if defined PIC. Fix special cases description.
51265         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51267         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51268         DP_HI_MASK entry.
51269         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51271 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51273         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51275         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51276         is NULL.
51278         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51279         (LDLIBS-tst-chk4): This.
51280         (LDFLAGS-tst-chk5): Renamed to ...
51281         (LDLIBS-tst-chk5): This.
51282         (LDFLAGS-tst-chk6): Renamed to ...
51283         (LDLIBS-tst-chk6): This.
51284         (LDFLAGS-tst-lfschk4): Renamed to ...
51285         (LDLIBS-tst-lfschk4): This.
51286         (LDFLAGS-tst-lfschk5): Renamed to ...
51287         (LDLIBS-tst-lfschk5): This.
51288         (LDFLAGS-tst-lfschk6): Renamed to ...
51289         (LDLIBS-tst-lfschk6): This.
51291         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51292         on $(common-objpfx)soversions.mk.
51294 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51296         [BZ #10014]
51297         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51298         example host name.
51300 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51302         * malloc/arena.c (arena_get_retry): New function that gets
51303         another arena for the caller to try its request on.
51304         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51305         current arena cannot fulfill the request.
51306         (__libc_memalign): Likewise.
51307         (__libc_memalign): Likewise.
51308         (__libc_pvalloc): Likewise.
51309         (__libc_calloc): Likewise.
51311 2012-09-05  John Tobey  <john.tobey@gmail.com>
51313         [BZ #13542]
51314         * manual/arith.texi (Operations on Complex): Fix description
51315         of carg branch cut.
51317 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51319         [BZ #10014]
51320         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51321         host name.
51323         [BZ #10038]
51324         * manual/memory.texi (Memory): Make order of menu items match
51325         order of sections.
51327 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51329         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51330         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51331         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51333 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51335         * csu/libc-tls.c (static_dtv): Renamed to ...
51336         (_dl_static_dtv): This.  Make it global.
51337         (_dl_initial_dtv): Removed.
51338         (__libc_setup_tls): Updated.
51339         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51340         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51341         DL_INITIAL_DTV.
51343 2012-09-06  Petr Machata  <pmachata@redhat.com>
51345         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51346         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51347         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51348         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51350 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51352         [BZ #14545]
51353         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51354         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51355         freeing dtv[-1].
51357 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51359         [BZ #14544]
51360         * Makeconfig (link-static-before-libc): Replace $(+prector)
51361         with $(+prectorT).
51362         (link-static-after-libc): Replace $(+postctor) with
51363         $(+postctorT).
51364         (link-bounded): Replace $(+prector)/$(+postctor) with
51365         $(+prectorT)/$(+postctorT).
51366         (+prectorT): New macro.
51367         (+postctorT): Likewise.
51369 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51371         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51372         (round_str): Handle values above the maximum for IBM long double
51373         as inexact.
51374         * stdlib/tst-strtod-round.c (tests): Regenerated.
51376 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51378         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51379         assembler flag.
51380         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51381         zarch_nohighgprs around the zarch optimized routines.
51382         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51383         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51384         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51385         for zarch.
51387 2012-09-05  David S. Miller  <davem@davemloft.net>
51389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51391         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51392         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51393         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51394         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51395         entries.
51397 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51399         * malloc/arena.c: Fold copyright years.
51400         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51402 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51404         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51406 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51408         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51410 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51412         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51413         change internal state upon failure.
51415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51417         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51418         * malloc/memusage.c (mmap): Likewise.
51419         (mmap64, mremap): Likewise.  Adjust name in comment.
51421 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51423         * libio/fileops.c: Fix typos in comments.
51424         * libio/oldfileops.c: Likewise.
51425         * libio/wfileops.c: Likewise.
51427 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51429         [BZ #1349]
51430         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51431         (tst-malloc-usable-ENV): Set environment for test case.
51432         * malloc/hooks.c (malloc_check_get_size): New function to get
51433         requested size.
51434         * malloc/malloc.c (musable): Use malloc_check_get_size.
51435         * malloc/tst-malloc-usable.c: New test case.
51437 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51439         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51441 2012-09-05  Allan McRae  <allan@archlinux.org>
51443         [BZ #13966]
51444         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51445         determine header location.
51446         * configure: Regenerated.
51448 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51450         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51451         float format.
51452         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51453         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51454         format.
51455         (test): Regenerate.
51457 2012-09-04  David S. Miller  <davem@davemloft.net>
51459         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51460         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51461         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51463 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51465         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51466         failures.
51468         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51470 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51472         [BZ #9914]
51473         * libio/iogetdelim.c: Include <limits.h>.
51474         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51475         + len + 1 would overflow.
51477 2012-09-03  Andreas Jaeger  <aj@suse.de>
51479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51480         * sysdeps/i386/fpu/libm-test-ulps: Update.
51482 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51484         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51485         Add s_sinf-sse2, s_conf-sse2.
51487         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51488         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51489         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51490         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51492         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51493         for using routine as __sinf_ia32.
51494         Use macro for function declaration and weak_alias.
51495         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51496         for using routine as __cosf_ia32.
51497         Use macro for function declaration and weak_alias.
51499         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51500         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51502         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51503         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51506         * math/libm-test.inc (cos_test): Add more test cases.
51507         (sin_test): Likewise.
51508         (sincos_test): Likewise.
51510 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51512         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51513         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51514         hidden.
51515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51517 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51519         [BZ #14538]
51520         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51521         first element of the GOT.
51522         (elf_machine_load_address): Return the difference between
51523         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51525 2012-09-01  Allan McRae  <allan@archlinux.org>
51527         [BZ #13412]
51528         * configure.in (AWK): Require gawk version 3.0 or later.
51529         * configure: Regenerated.
51531 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51533         * sysdeps/unix/sysv/linux/kernel-features.h
51534         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51535         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51536         [__NR_clock_getres]: Make code unconditional.
51537         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51538         (clock_getcpuclockid): Remove code left unreachable by removal of
51539         conditionals.
51540         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51541         code unconditional.
51542         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51543         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51544         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51545         Make code unconditional.
51546         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51547         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51548         * sysdeps/unix/sysv/linux/clock_settime.c
51549         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51550         conditional code.
51551         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51552         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51554 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51556         [BZ #14476]
51557         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51558         scripts/test-installation.pl.
51560         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51561         and $ld_so_version if it is set.
51563 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51565         [BZ #14516]
51566         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51567         failure if reading from procfs failed.
51568         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51570 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51572         * sysdeps/unix/sysv/linux/kernel-features.h
51573         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51574         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51575         Remove conditional code.
51576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51577         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51578         Remove conditional code.
51579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51580         * sysdeps/unix/sysv/linux/i386/fxstat.c
51581         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51583         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51584         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51586         * sysdeps/unix/sysv/linux/i386/lxstat.c
51587         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51589         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51590         Remove conditional code.
51591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51592         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51593         Remove conditional code.
51594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51595         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51596         <kernel-features.h>.
51597         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51598         Remove.
51599         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51600         Remove conditional code.
51601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51602         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51603         Remove conditional.
51605 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51607         [BZ #5400]
51608         * NEWS: Add fixed bug number.
51610 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51612         [BZ #14519]
51613         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51614         underflowing exponent in case of negative sign.
51615         * stdlib/tst-strtod-round-data: Add more tests.
51616         * stdlib/tst-strtod-round.c (tests): Regenerated.
51618         [BZ #3479]
51619         * stdlib/strtod_l.c (NDIG): Remove.
51620         (HEXNDIG): Likewise.
51621         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51622         smallest representable value.
51623         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51624         lie within an exact representation of 1/2 ulp of the result.
51625         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51626         unconditionally.
51627         (TENS_P9_IDX): Define unconditionally.
51628         (TENS_P9_SIZE): Likewise.
51629         (TENS_P10_IDX): Likewise.
51630         (TENS_P10_SIZE): Likewise.
51631         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51632         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51633         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51634         entries for 10^2^13 and 10^2^14.
51635         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51636         (TENS_P13_IDX): Define.
51637         (TENS_P13_SIZE): Likewise.
51638         (TENS_P14_IDX): Likewise.
51639         (TENS_P14_SIZE): Likewise.
51640         (_fpioconst_pow10): Change array size to
51641         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51642         unconditional.
51643         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51644         1024]: Add entries for 10^2^13 and 10^2^14.
51645         [LAST_POW10 > _LAST_POW10]: Remove #error.
51646         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51647         (_fpioconst_pow10): Change array size to
51648         FPIOCONST_POW10_ARRAY_SIZE.
51649         * stdlib/gen-fpioconst.c: New file.
51650         * stdlib/gen-tst-strtod-round.c: Likewise.
51651         * stdlib/tst-strtod-round-data: Likewise.
51652         * stdlib/tst-strtod-round.c: Likewise.
51653         * stdlib/Makefile (tests): Add tst-strtod-round.
51655         [BZ #14459]
51656         * stdlib/strtod_l.c: Include <stdint.h>.
51657         (NDEBUG): Do not define.
51658         (round_and_return): Change EXPONENT parameter to type intmax_t.
51659         Rearrange calculations to avoid internal overflow possibilities.
51660         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51661         Rearrange calculations to avoid internal overflow possibilities.
51662         Assert that number fits inside MPNSIZE limbs.
51663         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51664         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51665         calculations and add assertions to avoid internal overflow
51666         possibilities.  Add casts to avoid signed/unsigned operations.
51667         * stdlib/tst-strtod-overflow.c: New file.
51668         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51670 2012-08-25  Marek Polacek  <polacek@redhat.com>
51672         * time/time.h: Fix some typos in comments.
51674 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51676         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51677         * posix/tst-rfc3484-2.c: Likewise.
51678         * posix/tst-rfc3484-3.c: Likewise.
51680 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51682         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51683         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51685 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51687         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51688         #include of fxstatat64.c.
51690 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51692         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51693         * shadow/getspent_r.c: Likewise.
51694         * shadow/getspnam.c: Likewise.
51695         * shadow/getspnam_r.c: Likewise.
51696         * gshadow/getsgent.c: Likewise.
51697         * gshadow/getsgent_r.c: Likewise.
51698         * gshadow/getsgnam.c: Likewise.
51699         * gshadow/getsgnam_r.c: Likewise.
51700         * inet/getnetbyad.c: Likewise.
51701         * inet/getnetbyad_r.c: Likewise.
51702         * inet/getnetbynm.c: Likewise.
51703         * inet/getnetbynm_r.c: Likewise.
51704         * inet/getnetent.c: Likewise.
51705         * inet/getnetent_r.c: Likewise.
51706         * inet/getproto.c: Likewise.
51707         * inet/getproto_r.c: Likewise.
51708         * inet/getprtent.c: Likewise.
51709         * inet/getprtent_r.c: Likewise.
51710         * inet/getprtname.c: Likewise.
51711         * inet/getprtname_r.c: Likewise.
51712         * inet/getrpcbyname.c: Likewise.
51713         * inet/getrpcbyname_r.c: Likewise.
51714         * inet/getrpcbynumber.c: Likewise.
51715         * inet/getrpcbynumber_r.c: Likewise.
51716         * inet/getrpcent.c: Likewise.
51717         * inet/getrpcent_r.c: Likewise.
51718         * inet/getaliasent.c: Likewise.
51719         * inet/getaliasent_r.c: Likewise.
51720         * inet/getaliasname.c: Likewise.
51721         * inet/getaliasname_r.c: Likewise.
51722         * nscd/getgrgid_r.c: Likewise.
51723         * nscd/getgrnam_r.c: Likewise.
51724         * nscd/gethstbyad_r.c: Likewise.
51725         * nscd/gethstbynm3_r.c: Likewise.
51726         * nscd/getpwnam_r.c: Likewise.
51727         * nscd/getpwuid_r.c: Likewise.
51728         * nscd/getsrvbynm_r.c: Likewise.
51729         * nscd/getsrvbypt_r.c: Likewise.
51730         * nscd/gai.c: Likewise.
51732         * configure.in (build_nscd): New substituted variable, set
51733         by --disable-build-nscd and defaults to $use_nscd.
51734         * configure: Regenerated.
51735         * config.make.in (build-nscd): New substituted variable.
51736         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51737         Change conditional to require [$(build-nscd) = yes] as well.
51738         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51740         [BZ# 13696]
51741         * configure.in (use_nscd): New substituted variable, set by
51742         --disable-nscd.  If enabled, define USE_NSCD.
51743         * configure: Regenerated.
51744         * config.h.in: Add USE_NSCD.
51745         * config.make.in (use-nscd): New substituted variable.
51746         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51747         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51748         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51749         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51750         (CFLAGS-getgrnam_r.c): Likewise.
51751         (CFLAGS-initgroups.c): Likewise.
51752         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51753         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51754         Variables removed.
51755         * inet/getnetgrent_r.c
51756         (nscd_setnetgrent): New function, broken out of ...
51757         (setnetgrent): ... here.  Call it.
51758         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51759         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51760         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51761         * nscd/Makefile (routines, aux): Move definitions after include of
51762         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51763         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51764         Conditionalize on [USE_NSCD].
51765         (is_nscd, nscd_init_cb): Likewise.
51766         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51767         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51768         * nss/nss_db/db-init.c: Likewise.
51769         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51770         [USE_NSCD].
51771         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51772         (make_request): Use it.
51773         (cache_valid_p): New function.
51774         (__check_pf): Use it.
51775         * NEWS: Add item for --disable-nscd.
51777 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51779         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51780         to support sed >= 4.2.1-20-ga9bf076.
51781         * configure: Regenerated.
51783 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51785         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51786         Conditionalize whole body on [IREL].
51788 2012-08-22  Jeff Law <law@redhat.com>
51790         [BZ #14505]
51791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51792         if the family is PF_UNSPEC.
51794 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51796         * Makerules (lib-version): Rename from V.
51797         (install-lib-nosubdir): Change V to lib-version.
51799 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51801         [BZ #14252]
51802         * powerpc32/power6/wcschr.c: New file.
51803         * powerpc32/power6/wcscpy.c: New file.
51804         * powerpc32/power6/wcsrchr.c: New file.
51805         * powerpc64/power6/wcschr.c: New file.
51806         * powerpc64/power6/wcscpy.c: New file.
51807         * powerpc64/power6/wcsrchr.c: New file.
51809 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51811         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51812         (two_way_short_needle): Use it.
51813         * string/strstr.c (AVAILABLE1_USES_J): Define.
51814         * string/strcasestr.c: Likewise.
51816         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51817         array references.
51818         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51820         [BZ #11607]
51821         * NEWS: Add an entry.
51822         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51823         define their defaults.
51824         (two_way_short_needle): Detect end-of-string on-the-fly.
51825         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51826         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51827         * string/bug-strcasestr1.c: New test.
51828         * string/Makefile: Run it.
51830 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51832         [BZ #11607]
51833         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51834         the first character.
51836 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51838         * csu/elf-init.c (__libc_csu_irel): Function removed.
51839         * csu/libc-start.c (apply_irel): New function.
51840         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51842 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51844         * sysdeps/unix/sysv/linux/kernel-features.h
51845         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51846         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51847         <kernel-features.h>.
51848         [__NR_fadvise64_64]: Make code unconditional.
51849         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51850         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51851         !__NR_fadvise64_64)]: Likewise.
51852         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51853         !__NR_fadvise64_64))]: Likewise.
51854         [__NR_fadvise64]: Make code unconditional.
51855         [!__NR_fadvise64]: Remove conditional code.
51856         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51857         <kernel-features.h>.
51858         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51859         unconditional.
51860         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51861         conditional code.
51862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51863         not include <kernel-features.h>.
51864         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51865         unconditional.
51866         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51867         conditional code.
51868         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51869         include <kernel-features.h>.
51870         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51871         unconditional.
51872         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51873         conditional code.
51875 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51877         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51878         slight instruction rearrangements per scrollpipe analysis.
51879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51881 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51883         * manual/syslog.texi (syslog; vsyslog, closelog):
51884         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51885         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51887         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51888         DSOCAPS to match condition on defining it.
51890 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51892         * sysdeps/unix/sysv/linux/kernel-features.h
51893         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51895         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51896         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51898         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51899         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51901         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51902         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51904         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51905         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51907         * sysdeps/unix/sysv/linux/kernel-features.h
51908         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51909         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51910         unconditional.
51911         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51912         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51913         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51914         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51915         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51916         Make code unconditional.
51917         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51918         (__mmap64) [!__NR_mmap2]: Likewise.
51919         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51920         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51921         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51922         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51923         [__NR_mmap2]: Make code unconditional.
51924         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51925         (__mmap64) [!__NR_mmap2]: Likewise.
51927 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51929         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51931 2012-08-18  Andreas Jaeger  <aj@suse.de>
51933         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51935 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51937         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51938         * include/unistd.h (__have_sock_cloexec): Likewise.
51939         (__have_pipe2): Likewise.
51940         (__have_dup3): Likewise.
51942 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51944         [BZ #9685]
51945         * include/unistd.h (__have_pipe2): Change define into an extern int.
51946         (__have_dup3): Likewise.
51947         * socket/have_sock_cloexec.c: Include fcntl.h.
51948         (__have_pipe2): New variable.
51949         (__have_dup3): Likewise.
51951 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51953         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51955 2012-08-17  Marek Polacek  <polacek@redhat.com>
51957         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51958         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51960 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51962         * configure.in: Add AC_SUBST for sysheaders.
51963         * configure: Regenerated.
51964         * config.make.in (sysheaders): New substituted variable.
51966         * sysdeps/unix/mkfifo.c: Moved ...
51967         * sysdeps/posix/mkfifo.c: ... here.
51968         * sysdeps/unix/mkfifoat.c: Moved ...
51969         * sysdeps/posix/mkfifoat.c: ... here.
51971         * sysdeps/unix/utime.c: Moved ...
51972         * sysdeps/posix/utime.c: ... here.
51974         * sysdeps/unix/time.c: Moved ...
51975         * sysdeps/posix/time.c: ... here.
51976         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51977         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51979         * sysdeps/unix/nice.c: Moved ...
51980         * sysdeps/posix/nice.c: ... here.
51982         * sysdeps/unix/alarm.c: Moved ...
51983         * sysdeps/posix/alarm.c: ... here.
51985         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51987 2012-08-17  Jeff Law <law@redhat.com>
51989         * intl/Makefile (codeset_mo): New variable.
51990         ($(codeset_mo)): New target.
51991         (tst-codeset.out): Depend on that.  Remove explicit rule.
51992         (tst-gettext3.out, tst-gettext5.out): Likewise.
51993         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51994         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51995         * intl/tst-codeset.sh: Remove.
51996         * intl/tst-gettext3.sh: Likewise.
51997         * intl/tst-gettext5.sh: Likewise.
51999 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52001         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52002         * sysdeps/unix/syscalls.list: ... here.
52004         * sysdeps/posix/getaddrinfo.c
52005         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52006         (gaiconf_init, gaiconf_reload): Use them.
52007         [!_STATBUF_ST_NSEC]
52008         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52009         Define using time_t rather than struct timespec.
52011         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52012         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52013         Macros removed.
52014         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52015         [!NO_THREADS].
52016         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52017         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52018         Likewise.
52020         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52021         __libc_cleanup_push argument.
52023         * bits/param.h: New file.
52024         * misc/sys/param.h: New file.
52025         * include/sys/param.h: New file.
52026         * misc/Makefile (headers): Add bits/param.h.
52027         * sysdeps/generic/sys/param.h: File removed.
52028         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52029         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52030         * sysdeps/mach/hurd/bits/param.h: New file.
52031         * sysdeps/mach/hurd/sys/param.h: File removed.
52033         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52034         last change.
52036         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52037         [_IO_MTSAFE_IO].
52038         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52039         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52040         New macros.
52042         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52043         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52044         rather than -D_IO_MTSAFE_IO conditionally.
52045         * stdio-common/Makefile (CPPFLAGS): Likewise.
52046         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52047         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52048         Use $(libio-mtsafe).
52049         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52050         of -D_IO_MTSAFE_IO.
52051         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52052         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52053         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52054         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52055         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52056         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52057         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52058         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52059         (CFLAGS-fread_u_chk.c): Likewise.
52060         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52061         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52062         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52063         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52064         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52065         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52066         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52067         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52068         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52070         * libio/Makefile: Test [$(libc-reentrant) = yes]
52071         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52073         * Makeconfig
52074         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52075         * sysdeps/pthread/configure: File removed.
52076         * sysdeps/pthread/Makeconfig: New file.
52077         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52078         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52080 2012-08-16  Gary Benson  <gbenson@redhat.com>
52082         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52083         unmapping the first object in a namespace.
52085 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52087         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52088         (__internal_setnetgrent): ... this.  Add internal_function to
52089         definition.  Add libc_hidden_def.
52090         (setnetgrent): Update caller.
52091         (internal_endnetgrent): Renamed to ...
52092         (__internal_endnetgrent): ... this.  Add internal_function to
52093         definition.  Add libc_hidden_def.
52094         (endnetgrent): Update caller.
52095         (internal_getnetgrent_r): Renamed to ...
52096         (__internal_getnetgrent_r): ... this.  Add internal_function to
52097         definition.  Add libc_hidden_def.
52098         (__getnetgrent_r): Update caller.
52099         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52101 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52103         * stdlib/longlong.h: Update from GCC.
52105 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52107         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52108         on _QL, which is set by umul_ppmm but never used.
52109         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52110         variables, which are set by GMP macros but never used.
52111         * stdio-common/_itowa.c (_itowa): Likewise.
52112         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52113         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52115 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52117         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52118         struct La_sh_regs is not constant.
52119         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52120         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52121         and struct La_sparc64_regs are not constant.
52123 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52125         * sysdeps/unix/sysv/linux/kernel-features.h
52126         (__ASSUME_POSIX_TIMERS): Remove.
52127         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52128         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52129         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52130         Make code unconditional.
52131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52132         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52133         Make code unconditional.
52134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52135         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52136         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52137         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52138         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52139         Make code unconditional.
52140         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52141         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52142         (__libc_missing_posix_timers): Remove.
52144 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52146         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52147         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52149         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52151         * elf/dl-sym.c: Include <stdlib.h>.
52153         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52154         constants, which avoids warnings in 32-bit builds.
52156         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52157         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52159         * misc/lseek.c: File moved to ...
52160         * io/lseek.c: ... here.
52162         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52164         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52165         shifting LEN more than 31 bits at once.
52167 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52169         [BZ #14195]
52170         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52171         segmentation fault for a case of two empty input strings.
52172         * string/test-strncasecmp.c (check1): Renamed to...
52173         (bz12205): ...this.
52174         (bz14195): Add new testcase for two empty input strings and N > 0.
52175         (test_main): Call new testcase, adapt for renamed function.
52177 2012-08-15  Andreas Jaeger  <aj@suse.de>
52179         [BZ #14090]
52180         * crypt/md5test2.c: New test, based on test supplied by Serge
52181         Belyshev <belyshev@depni.sinp.msu.ru>.
52182         * crypt/Makefile (xtests): Add md5test-giant..
52183         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52185 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52187         [BZ #14090]
52188         * crypt/md5.c (md5_process_block): Don't assume the buffer
52189         length is less than 2**32.
52190         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52191         length is less than 2**64.
52193 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52195         * string/str-two-way.h: Include <sys/param.h>.
52196         (MAX): Macro removed.
52198         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52199         Move #define and #undef of memmove to just before and after
52200         including <string.h>.
52202         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52203         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52204         and after including <string.h>.  Move declarations of
52205         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52206         to before #include "string/memmove.c".
52208         * include/dirent.h: Declare __getdirentries.
52210         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52211         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52213 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52215         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52216         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52217         * sysdeps/i386/configure: Regenerated.
52218         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52219         STABS_CURRENT_FILE, and STABS_FUN.
52220         (END): Remove call to STABS_FUN_END.
52221         (STABS_CURRENT_FILE1): Delete.
52222         (STABS_CURRENT_FILE): Likewise.
52223         (STABS_FUN): Likewise.
52224         (STABS_FUN_END): Likewise.
52225         (STABS_FUN2): Likewise.
52226         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52227         * sysdeps/x86_64/configure: Regenerated.
52229 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52231         * elf/dl-open.c: Include <atomic.h>.
52232         * elf/dl-lookup.c: Likewise.
52234 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52236         * sysdeps/unix/sysv/linux/kernel-features.h
52237         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52238         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52239         unconditionally.
52240         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52241         unconditionally.
52242         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52243         condition on __ASSUME_CLONE_THREAD_FLAGS.
52245 2012-08-14  Andreas Jaeger  <aj@suse.de>
52247         * sysdeps/i386/fpu/libm-test-ulps: Update.
52249 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52251         * include/atomic.h (atomic_exchange_and_add): Split into ...
52252         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52253         New atomic macros.
52255 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52259 2012-08-13  Jeff Law <law@redhat.com>
52261         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52262         null byte in the output string.
52264 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52266         * sysdeps/unix/sysv/linux/kernel-features.h
52267         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52268         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52269         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52270         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52271         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52272         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52273         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52275 2012-08-09  Jeff Law <law@redhat.com>
52277         [BZ #13939]
52278         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52279         When avoid_arena is set, don't retry in the that arena.  Pick the
52280         next one, whatever it might be.
52281         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52282         (arena_lock): Pass in new parameter to arena_get2.
52283         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52284         arena_get2.
52285         (__libc_malloc): Unify retrying after main arena failure with
52286         __libc_memalign version.
52287         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52289 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52291         [BZ #14166]
52292         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52293         to __redirect_strstr.
52294         (__strstr_sse42): Use typeof __redirect_strstr.
52295         (__strstr_ia32): Likewise.
52296         (__libc_strstr): New prototype.
52297         (strstr): Renamed to ...
52298         (__libc_strstr): This.
52299         (strstr): New strong alias of __libc_strstr.
52300         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52301         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52302         __redirect_time.
52303         Include <time.h>.
52304         (__libc_time): New prototype.
52305         (time_ifunc): Replace time with __libc_time.
52306         (time): New strong alias and hidden definition of __libc_time.
52307         (__GI_time): Remove strong alias.
52308         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52309         Include <stddef.h>.
52310         (memmove): Redefined to __redirect_memmove.
52311         (__memmove_sse2): Use typeof __redirect_memmove.
52312         (__memmove_ssse3): Likewise.
52313         (__memmove_ssse3_back): Likewise.
52314         (__libc_memmove): New prototype.
52315         (memmove): Renamed to ...
52316         (__libc_memmove): This.
52317         (memmove): New strong alias of __libc_memmove.
52319 2012-08-08  Mark Salter  <msalter@redhat.com>
52321         * elf/elf.h
52322         (R_MN10300_TLS_GD): Define.
52323         (R_MN10300_TLS_LD): Likewise.
52324         (R_MN10300_TLS_LDO): Likewise.
52325         (R_MN10300_TLS_GOTIE): Likewise.
52326         (R_MN10300_TLS_IE): Likewise.
52327         (R_MN10300_TLS_LE): Likewise.
52328         (R_MN10300_TLS_DTPMOD): Likewise.
52329         (R_MN10300_TLS_DTPOFF): Likewise.
52330         (R_MN10300_TLS_TPOFF): Likewise.
52331         (R_MN10300_SYM_DIFF): Likewise.
52332         (R_MN10300_ALIGN): Likewise.
52333         (R_MN10300_NUM): Update.
52335 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52338         Remove.
52340 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52342         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52344         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52345         sysdeps/unix -> sysdeps/posix move.
52346         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52348 2012-08-07      Allan McRae     <allan@archlinux.org>
52350         [BZ #14303]
52351         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52352         (SUNOS_CPP): Likewise.
52353         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52354         not found.
52355         (open_input): Call CPP using execvp.
52357 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52359         * sysdeps/unix/sysv/linux/kernel-features.h
52360         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52361         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52362         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52363         (__ASSUME_WAITID_SYSCALL): Likewise.
52364         * sysdeps/unix/sysv/linux/dl-execstack.c
52365         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52366         code unconditional.
52367         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52368         conditional code.
52369         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52370         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52371         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52372         code.
52373         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52374         unconditional.
52375         [__ASSUME_WAITID_SYSCALL]: Likewise.
52376         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52378 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52380         * sysdeps/unix/closedir.c: Renamed to ...
52381         * sysdeps/posix/closedir.c: ... here.
52382         * sysdeps/unix/dirfd.c: Renamed to ...
52383         * sysdeps/posix/dirfd.c: ... here.
52384         * sysdeps/unix/dirstream.h: Renamed to ...
52385         * sysdeps/posix/dirstream.h: ... here.
52386         * sysdeps/unix/fdopendir.c: Renamed to ...
52387         * sysdeps/posix/fdopendir.c: ... here.
52388         * sysdeps/unix/opendir.c: Renamed to ...
52389         * sysdeps/posix/opendir.c: ... here.
52390         * sysdeps/unix/readdir.c: Renamed to ...
52391         * sysdeps/posix/readdir.c: ... here.
52392         * sysdeps/unix/readdir_r.c: Renamed to ...
52393         * sysdeps/posix/readdir_r.c: ... here.
52394         * sysdeps/unix/rewinddir.c: Renamed to ...
52395         * sysdeps/posix/rewinddir.c: ... here.
52396         * sysdeps/unix/seekdir.c: Renamed to ...
52397         * sysdeps/posix/seekdir.c: ... here.
52398         * sysdeps/unix/telldir.c: Renamed to ...
52399         * sysdeps/posix/telldir.c: ... here.
52400         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52401         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52402         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52403         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52405         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52406         * bits/fcntl.h: ... here.
52408         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52409         not 0.
52410         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52411         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52412         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52413         (struct flock): Move l_start, l_len to the beginning.
52414         Use __pid_t for l_pid.
52415         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52416         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52417         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52418         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52419         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52420         [__USE_LARGEFILE64] (struct flock64): New type.
52421         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52423         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52424         * bits/dirent.h: ... here.
52426         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52427         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52429 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52431         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52432         Change from 2.6.0 to 2.6.16.
52433         * sysdeps/unix/sysv/linux/configure: Regenerated.
52434         * sysdeps/unix/sysv/linux/kernel-features.h
52435         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52436         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52437         version.
52438         (__ASSUME_UTIMES): Likewise.
52439         (__ASSUME_CLONE_STOPPED): Remove.
52440         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52441         architectures, not kernel version.
52442         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52443         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52444         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52445         (__ASSUME_WAITID_SYSCALL): Likewise.
52446         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52447         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52448         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52449         refer to older versions.
52451 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52453         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52454         Define alphasort64 as an alias.
52455         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52456         Define versionsort64 as an alias.
52457         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52458         Define scandir64 as an alias.
52459         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52460         Define scandirat64 as an alias.
52461         * dirent/alphasort64.c (alphasort64):
52462         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52463         * dirent/versionsort64.c: Likewise.
52464         * dirent/scandir64.c: Likewise.
52465         * dirent/scandirat64.c: Likewise.
52466         * sysdeps/wordsize-64/alphasort.c: File removed.
52467         * sysdeps/wordsize-64/alphasort64.c: File removed.
52468         * sysdeps/wordsize-64/scandir.c: File removed.
52469         * sysdeps/wordsize-64/scandir64.c: File removed.
52470         * sysdeps/wordsize-64/scandirat.c: File removed.
52471         * sysdeps/wordsize-64/scandirat64.c: File removed.
52472         * sysdeps/wordsize-64/versionsort.c: File removed.
52473         * sysdeps/wordsize-64/versionsort64.c: File removed.
52474         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52475         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52476         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52477         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52478         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52479         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52480         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52481         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52483         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52484         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52485         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52486         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52487         [defined __arch64__ || defined __sparcv9]
52488         (__INO_T_MATCHES_INO64_T): New macro.
52489         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52490         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52491         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52492         * sysdeps/unix/sysv/linux/bits/dirent.h
52493         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52494         (_DIRENT_MATCHES_DIRENT64): New macro.
52496         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52497         Define lockf64 as an alias.
52498         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52499         Define fseeko64 as an alias.
52500         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52501         Define ftello64 as an alias.
52502         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52503         Define _IO_fgetpos64 and fgetpos64 as aliases.
52504         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52505         Define _IO_fsetpos64 and fsetpos64 as aliases.
52506         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52507         Conditionalize body on this.
52508         * libio/fseeko64.c: Likewise.
52509         * libio/ftello64.c: Likewise.
52510         * libio/iofgetpos64.c: Likewise.
52511         * libio/iofsetpos64.c: Likewise.
52512         * sysdeps/wordsize-64/lockf.c: File removed.
52513         * sysdeps/wordsize-64/lockf64.c: File removed.
52514         * sysdeps/wordsize-64/fseeko.c: File removed.
52515         * sysdeps/wordsize-64/fseeko64.c: File removed.
52516         * sysdeps/wordsize-64/ftello.c: File removed.
52517         * sysdeps/wordsize-64/ftello64.c: File removed.
52518         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52519         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52520         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52521         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52522         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52523         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52524         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52525         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52526         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52527         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52528         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52529         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52530         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52531         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52533         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52535         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52537         [defined __arch64__ || defined __sparcv9]
52538         (__OFF_T_MATCHES_OFF64_T): New macro.
52539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52540         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52542         (__OFF_T_MATCHES_OFF64_T): New macro.
52544 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52546         * stdlib/secure-getenv.c (__secure_getenv): Replace
52547         GLIBC_2_16 with GLIBC_2_17.
52549 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52551         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52552         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52554 2012-08-03  David S. Miller  <davem@davemloft.net>
52556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52558 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52561         Remove.
52562         (__ASSUME_CORRECT_SI_PID): Likewise.
52563         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52564         (__ASSUME_TMPFS_NAME): Likewise.
52565         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52566         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52567         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52568         (HAVE_AUX_SECURE): Make definition unconditional.
52569         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52570         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52572 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52574         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52575         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52576         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52577         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52578         __eloop_threshold instead of SYMLOOP_MAX.
52580         * sysdeps/generic/eloop-threshold.h: New file.
52581         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52582         of MAXSYMLINKS.
52583         * elf/chroot_canon.c (chroot_canon): Likewise.
52585 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52587         [BZ #13717]
52588         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52589         Change to 2.6.0 everywhere.
52590         * sysdeps/unix/sysv/linux/configure: Regenerated.
52591         * sysdeps/unix/sysv/linux/kernel-features.h
52592         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52593         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52594         kernel versions.
52595         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52596         (__ASSUME_FUTEX_REQUEUE): Remove.
52597         (__ASSUME_STATFS64): Define unconditionally.
52598         (__ASSUME_AT_SECURE): Likewise.
52599         (__ASSUME_CORRECT_SI_PID): Likewise.
52600         (__ASSUME_TGKILL): Define without depending on kernel version for
52601         i386.
52602         (__ASSUME_UTIMES): Likewise.
52603         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52604         kernel version.
52605         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52606         (__ASSUME_TMPFS_NAME): Likewise.
52607         * README: Update reference to Linux kernel versions.
52609 2012-08-02  Marek Polacek  <polacek@redhat.com>
52611         [BZ# 14150]
52612         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52613         libc_cv_asm_type_prefix with %.
52614         * configure: Regenerated.
52615         * include/libc-symbols.h: Remove comment about
52616         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52617         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52618         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52619         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52620         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52621         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52622         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52623         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52624         * elf/tst-unique2mod1.c: Likewise.
52625         * elf/tst-unique1mod2.c: Likewise.
52626         * elf/tst-unique1mod1.c: Likewise.
52627         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52628         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52629         Replace ASM_TYPE_DIRECTIVE with .type.
52630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52631         * sysdeps/i386/sysdep.h: Likewise.
52632         * sysdeps/x86_64/sysdep.h: Likewise.
52633         * sysdeps/sh/sysdep.h: Likewise.
52634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52635         Do not define ASM_TYPE_DIRECTIVE.
52636         * sysdeps/powerpc/sysdep.h: Likewise.
52637         * sysdeps/powerpc/powerpc32/sysdep.h:
52638         Replace ASM_TYPE_DIRECTIVE with .type.
52639         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52640         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52641         * sysdeps/i386/fpu/e_powf.S: Likewise.
52642         * sysdeps/i386/fpu/e_expl.S: Likewise.
52643         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52644         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52645         * sysdeps/i386/fpu/e_pow.S: Likewise.
52646         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52647         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52648         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52649         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52650         * sysdeps/i386/fpu/e_log2.S: Likewise.
52651         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52652         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52653         * sysdeps/i386/fpu/e_powl.S: Likewise.
52654         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52655         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52656         * sysdeps/i386/fpu/e_logl.S: Likewise.
52657         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52658         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52659         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52660         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52661         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52662         * sysdeps/i386/fpu/e_log.S: Likewise.
52663         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52664         * sysdeps/i386/fpu/e_logf.S: Likewise.
52665         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52666         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52667         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52668         * sysdeps/i386/fpu/e_log10.S: Likewise.
52669         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52670         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52671         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52672         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52673         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52674         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52675         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52676         * sysdeps/i386/i686/strtok.S: Likewise.
52677         * sysdeps/i386/i386-mcount.S: Likewise.
52678         * sysdeps/i386/strtok.S: Likewise.
52679         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52680         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52681         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52682         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52683         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52684         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52685         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52686         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52687         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52688         * sysdeps/x86_64/_mcount.S: Likewise.
52689         * sysdeps/x86_64/strtok.S: Likewise.
52690         * sysdeps/sh/_mcount.S: Likewise.
52692 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52694         * libio/iofopen.c: Include <fcntl.h>.
52695         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52696         (_IO_fopen64, fopen64): Define as aliases.
52697         * libio/iofopen64.c: Include <fcntl.h>.
52698         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52699         Conditionalize body on this.
52700         * sysdeps/wordsize-64/iofopen.c: File removed.
52701         * sysdeps/wordsize-64/iofopen64.c: File removed.
52703 2012-08-01  Marek Polacek  <polacek@redhat.com>
52705         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52706         Use dlfcn directly instead of a variable.
52707         (binfmt-subdir): Do not define.
52708         (dlfcn): Likewise.
52710 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52712         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52713         Remove all definitions.
52714         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52715         <kernel-features.h>.
52716         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52717         (miss_F_GETOWN_EX): Remove all definitions.
52718         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52719         macro definition.
52720         [!__ASSUME_FCNTL64]: Remove conditional code.
52721         [__ASSUME_FCNTL64]: Make code unconditional.
52722         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52723         <kernel-features.h>.
52724         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52725         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52726         (lockf64) [__NR_fcntl64]: Make code unconditional.
52727         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52729         * sysdeps/unix/sysv/linux/kernel-features.h
52730         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52731         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52732         Make code unconditional.
52733         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52734         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52736         [__NR_vfork]: Make code unconditional.
52737         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52738         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52740         [__NR_vfork]: Make code unconditional.
52741         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52742         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52744 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52746         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52747         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52749         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52750         Define mkstemp64 as an alias.
52751         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52752         Define mkstemps64 as an alias.
52753         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52754         Define mkostemp64 as an alias.
52755         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52756         Define mkostemps64 as an alias.
52757         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52758         Conditionalize body on this.
52759         * misc/mkostemp64.c: Likewise.
52760         * misc/mkostemps64.c: Likewise.
52761         * misc/mkstemps64.c: Likewise.
52762         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52763         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52764         * sysdeps/wordsize-64/mkostemp.c: File removed.
52765         * sysdeps/wordsize-64/mkstemp.c: File removed.
52766         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52767         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52768         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52769         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52771         [BZ #14138]
52772         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52773         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52774         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52775         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52777         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52778         compat_symbol macros from <shlib-compat.h> rather than the underlying
52779         default_symbol_version and symbol_version macros, so that DEFAULT
52780         lines in shlib-versions are respected.
52781         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52783 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52785         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52786         Declare with warn_unused_result.
52787         (setgid, setregid, setegid, setresgid): Likewise.
52788         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52789         Likewise.
52790         * WUR-REPORT: Remove set*id functions.
52792 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52794         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52796 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52798         [BZ #10191]
52799         * include/sys/socket.h (__libc_accept, __libc_accept4):
52800         Add attribute_hidden.
52801         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52803         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52804         use of PTR_MANGLE.
52805         * inet/getnetgrent_r.c (setup): Likewise.
52807         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52809 2012-07-31  David S. Miller  <davem@davemloft.net>
52811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52813 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52815         [BZ #13629]
52816         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52817         value between 1.0 and 2.0 and smaller part has absolute value less
52818         than 1.0.
52819         * math/s_clog10.c (__clog10): Likewise.
52820         * math/s_clog10f.c (__clog10f): Likewise.
52821         * math/s_clog10l.c (__clog10l): Likewise.
52822         * math/s_clogf.c (__clogf): Likewise.
52823         * math/s_clogl.c (__clogl): Likewise.
52824         * math/libm-test.inc (clog_test): Add more tests.
52825         (clog10_test): Likewise.
52826         * sysdeps/i386/fpu/libm-test-ulps: Update.
52827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52829 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52831         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52832         Exit with zero in case no suitable GID is found, and write a
52833         message to standard error.
52835 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52837         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52838         rather than to 1.
52839         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52840         (MAXPATHLEN): Removed.
52841         (NOGROUP, NODEV): New macros.
52842         (setbit, clrbit, isset, isclr): New macros.
52843         (howmany, roundup, powerof2): New macros.
52844         (DEV_BSIZE): New macro.
52846         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52847         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52849         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52850         definition on [!__NO_LONG_DOUBLE_MATH].
52852         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52853         PTR_MANGLE and PTR_DEMANGLE.
52855         * socket/accept4.c (accept4): Rename to __libc_accept4.
52856         Define accept4 as a weak alias.
52858         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52859         on [_DIRENT_HAVE_D_TYPE].
52860         * io/ftw.c (ftw_dir): Likewise.
52862         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52864         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52866         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52867         Use the BSD numbers rather than the arbitrary ones we had.
52868         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52869         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52870         (SIGXCPU, SIGXFSZ): New macros.
52871         (_NSIG): Now 32.
52873         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52874         initializer on [_LIBC_REENTRANT].
52876         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52877         definitions inside [_POSIX_MAPPED_FILES].
52879         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52881         * dirent/opendir.c: Include <fcntl.h>.
52883         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52884         (__libc_getspecific): Likewise.
52885         (__libc_key_create): Likewise.
52887         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52888         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52889         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52890         (tmpfile64): Define as alias.
52891         * sysdeps/wordsize-64/tmpfile.c: File removed.
52892         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52893         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52894         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52896         * stdio-common/vfscanf.c: Include <stdbool.h>.
52897         * nss/makedb.c: Likewise.
52898         * stdio-common/_i18n_number.h: Likewise.
52899         * argp/argp-help.c: Likewise.
52900         * posix/wordexp.c: Likewise.
52901         * sysdeps/posix/spawni.c: Likewise.
52902         * nss/nss_files/files-initgroups.c: Likewise.
52903         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52904         * nss/nss_files/files-initgroups.c: Likewise.
52905         * nss/nss_db/db-netgrp.c: Likewise.
52906         * nss/nss_db/db-initgroups.c: Likewise.
52907         * io/fchmodat.c: Include <sys/stat.h>.
52909         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52910         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52912         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52913         [HAVE_MMAP].
52915         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52916         Add multiple inclusion protection.
52918 2012-07-27  David S. Miller  <davem@davemloft.net>
52920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52922 2012-07-27  Gary Benson  <gbenson@redhat.com>
52924         [BZ #14298]
52925         * elf/rtld.c: Include <stap-probe.h>.
52926         (dl_main): Added static probes "init_start" and "init_complete".
52927         * elf/dl-load.c: Include <stap-probe.h>.
52928         (lose): Take new parameter "nsid".
52929         Added static probe "map_failed".
52930         (_dl_map_object_from_fd): Pass namespace id to lose.
52931         Added static probe "map_start".
52932         (open_verify): Pass namespace id to lose.
52933         * elf/dl-open.c: Include <stap-probe.h>.
52934         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52935         and "reloc_complete".
52936         * elf/dl-close.c: Include <stap-probe.h>.
52937         (_dl_close_worker): Added static probes "unmap_start" and
52938         "unmap_complete".
52939         * elf/rtld-debugger-interface.txt: New file documenting the above.
52941 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52943         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52944         rather than a string variable.
52945         * sunrpc/rpc_main.c (h_output): Likewise.
52946         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52948 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52950         * inet/check_native.c: New file.
52952 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52954         [BZ #13629]
52955         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52956         if larger part has absolute value 1.0.
52957         * math/s_clog10.c (__clog10): Likewise.
52958         * math/s_clog10f.c (__clog10f): Likewise.
52959         * math/s_clog10l.c (__clog10l): Likewise.
52960         * math/s_clogf.c (__clogf): Likewise.
52961         * math/s_clogl.c (__clogl): Likewise.
52962         * math/libm-test.inc (clog_test): Add more tests.
52963         (clog10_test): Likewise.
52964         * sysdeps/i386/fpu/libm-test-ulps: Update.
52965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52967         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52968         (pltexit): Likewise.
52969         (La_regs): Likewise.
52970         (La_retval): Likewise.
52971         (int_retval): Likewise.
52972         Update #error for removed macros to refer only to definitions in
52973         tst-audit.h.
52974         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52975         macro.
52976         (pltexit): Likewise.
52977         (La_regs): Likewise.
52978         (La_retval): Likewise.
52979         (int_retval): Likewise.
52980         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52981         macro.
52982         (pltexit): Likewise.
52983         (La_regs): Likewise.
52984         (La_retval): Likewise.
52985         (int_retval): Likewise.
52986         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52987         macro.
52988         (pltexit): Likewise.
52989         (La_regs): Likewise.
52990         (La_retval): Likewise.
52991         (int_retval): Likewise.
52992         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52993         macro.
52994         (pltexit): Likewise.
52995         (La_regs): Likewise.
52996         (La_retval): Likewise.
52997         (int_retval): Likewise.
52998         * elf/tst-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
53005         macro.
53006         (pltexit): Likewise.
53007         (La_regs): Likewise.
53008         (La_retval): Likewise.
53009         (int_retval): Likewise.
53010         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53011         macro definitions in tst-audit.h.
53012         * sysdeps/i386/tst-audit.h: New file.
53013         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53014         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53015         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53016         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53017         * sysdeps/sh/tst-audit.h: Likewise.
53018         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53019         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53020         * sysdeps/x86_64/tst-audit.h: Likewise.
53022 2012-07-26  Andreas Jaeger  <aj@suse.de>
53024         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53025         ptrace.
53027         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53028         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53029         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53030         PTRACE_O_MASK.
53031         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53032         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53033         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53035         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53036         value.
53038         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53039         _sigsys.
53040         (si_call_addr, si_syscall, si_arch): Define new macro.
53041         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53042         _sigsys.
53043         (si_call_addr, si_syscall, si_arch): Define new marcro.
53044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53045         _sigsys.
53046         (si_call_addr, si_syscall, si_arch): Define new macro.
53047         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53048         _sigsys.
53049         (si_call_addr, si_syscall, si_arch): Define new macro.
53051 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53053         [BZ #13717]
53054         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53055         Change to 2.4.21 where previously 2.4.1.
53056         * sysdeps/unix/sysv/linux/configure: Regenerated.
53057         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53058         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53059         Linux kernel version.
53060         (__ASSUME_STD_AUXV): Remove.
53061         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53062         kernel version.
53063         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53064         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53065         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53066         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53067         (__ASSUME_NETLINK_SUPPORT): Likewise.
53068         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53069         (__no_netlink_support): Remove conditional definition.
53070         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53071         Remove.
53072         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53073         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53074         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53075         (if_nameindex_ioctl): Remove.
53076         (if_nameindex_netlink): Do not handle __no_netlink_support.
53077         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53078         code.
53079         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53080         Remove conditional code.
53081         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53082         code.
53083         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53084         unconditional.
53085         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53086         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53087         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53088         Remove.
53089         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53090         [!__ASSUME_STD_AUXV]: Remove conditional code.
53091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53092         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53093         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53095         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53096         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53097         code.
53098         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53100         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53101         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53102         conditional code.
53103         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53105         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53106         code.
53107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53108         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53109         conditional code.
53110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53111         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53112         code unconditional.
53113         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53114         conditional code.
53115         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53116         unconditional.
53117         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53118         conditional code.
53119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53120         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53121         unconditional.
53122         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53123         conditional code.
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53125         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53126         code unconditional.
53127         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53128         conditional code.
53129         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53130         unconditional.
53131         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53132         conditional code.
53133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53134         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53135         code unconditional.
53136         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53137         conditional code.
53138         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53139         unconditional.
53140         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53141         conditional code.
53143 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53145         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53146         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53147         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53148         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53149         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53150         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53151         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53152         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53153         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53154         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53155         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53156         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53157         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53158         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53159         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53160         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53161         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53162         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53163         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53165         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53166         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53167         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53169 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53171         * Versions.def: Add GLIBC_2.17.
53172         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53173         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53174         Introduce __libc_secure_getenv.
53175         * stdlib/Versions (2.17): Add secure_getenv
53176         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53177         * stdlib/secure-getenv.c: Rename __secure_getenv to
53178         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53179         symbol __secure_getenv for GLIBC_2.0.
53180         * stdlib/tst-secure-getenv.c: New.
53181         * stdlib/Makefile (tests): Add testcase.
53182         * manual/startup.texi (Environment Access): Document
53183         secure_getenv.
53184         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53185         __libc_secure_getenv.
53186         * inet/ruserpass.c (ruserpass): Likewise.
53187         * malloc/mtrace.c (mtrace): Likewise.
53188         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53189         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53190         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53191         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53192         HAVE_SECURE_GETENV.
53193         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53194         __secure_getenv to __libc_secure_getenv.
53195         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53197         Likewise.
53198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53199         Likewise.
53200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53208 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53210         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53211         (struct La_i86_retval): Likewise.
53212         (struct La_x86_64_regs): Likewise.
53213         (struct La_x86_64_retval): Likewise.
53214         (struct La_x32_regs): Likewise.
53215         (struct La_x32_retval): Likewise.
53216         (struct La_ppc32_regs): Likewise.
53217         (struct La_ppc32_retval): Likewise.
53218         (struct La_ppc64_regs): Likewise.
53219         (struct La_ppc64_retval): Likewise.
53220         (struct La_sh_regs): Likewise.
53221         (struct La_sh_retval): Likewise.
53222         (struct La_s390_32_regs): Likewise.
53223         (struct La_s390_32_retval): Likewise.
53224         (struct La_s390_64_regs): Likewise.
53225         (struct La_s390_64_retval): Likewise.
53226         (struct La_sparc32_regs): Likewise.
53227         (struct La_sparc32_retval): Likewise.
53228         (struct La_sparc64_regs): Likewise.
53229         (struct La_sparc64_retval): Likewise.
53230         (struct audit_ifaces): Remove architecture-specific pltenter and
53231         pltexit members.
53232         * sysdeps/i386/ldsodefs.h: New file.
53233         * sysdeps/powerpc/ldsodefs.h: Likewise.
53234         * sysdeps/s390/ldsodefs.h: Likewise.
53235         * sysdeps/sh/ldsodefs.h: Likewise.
53236         * sysdeps/sparc/ldsodefs.h: Likewise.
53237         * sysdeps/x86_64/ldsodefs.h: Likewise.
53239 2012-07-25  Marek Polacek  <polacek@redhat.com>
53241         [BZ #6808]
53242         * math/libm-test.inc (yn_test): Add another test.
53243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53244         to ERANGE when the result is +-Inf.
53245         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53246         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53247         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53248         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53250 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53252         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53253         equal to 0.
53254         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53255         clock_t.
53256         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53258 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53260         * configure.in <sysdeps resolving>: Correct printing
53261         Implies_before.
53262         * configure: Regenerate.
53264 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53266         * math/w_ilogb.c: Include <limits.h>.
53267         * math/w_ilogbl.c: Likewise.
53269 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53271         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53272         va_copy.  Document allowing for unavailable va_copy only as
53273         pre-C99 compatibility.
53274         * manual/string.texi (Copying and Concatenation): Use va_copy
53275         instead of __va_copy in concat example.
53277 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53279         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53280         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53281         it if not null.
53283         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53284         with O_NOLINK passed to __file_name_lookup.
53286         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53287         with O_NOLINK passed to __file_name_lookup.
53289         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53290         negative N or less than NGIDS.
53292         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53293         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53294         enough.  Use memcpy instead of strncpy.
53296 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53298         * elf/Makefile (check-data): Remove.
53299         (localplt.data): New vpath directive.
53300         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53301         instead of $(check-data).
53302         * scripts/data/localplt-generic.data: Move to ...
53303         * sysdeps/generic/localplt.data: ... here.
53304         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53305         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53306         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53308         ... here.
53309         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53311         ... here.
53312         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53314         ... here.
53315         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53317         ... here.
53318         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53320         ... here.
53321         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53323         ... here.
53325 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53327         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53328         PPC32 and PPC64 files.
53329         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53330         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53332 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53334         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53335         __makecontext_ret to ...
53336         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53337         ... here and call exit if uc_link is NULL.  New file.
53338         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53339         __makecontext_ret.S.
53340         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53341         __makecontext_ret to ...
53342         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53343         ... here and call exit if uc_link is NULL.  New file.
53344         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53345         __makecontext_ret.S.
53347 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53349         * elf/elf.h (R_390_IRELATIVE): New definition.
53350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53351         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53352         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53354         (elf_machine_lazy_rel): Likewise.
53355         * sysdeps/s390/dl-irel.h: New file.
53356         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53357         * sysdeps/s390/s390-64/memset.S: New asm code.
53358         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53359         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53360         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53361         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53362         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53363         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53364         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53365         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53366         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53367         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53368         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53369         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53370         * sysdeps/s390/s390-32/memset.S: New asm code.
53371         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53373 2012-07-17  Marek Polacek  <polacek@redhat.com>
53375         [BZ #14349]
53376         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53377         * sysdeps/s390/s390-64/configure.in: Likewise.
53378         * sysdeps/sparc/configure.in: Likewise.
53379         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53380         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53381         * sysdeps/i386/configure.in: Likewise.
53382         * sysdeps/x86_64/configure.in: Likewise.
53383         * sysdeps/sh/configure.in: Likewise.
53384         * sysdeps/s390/s390-32/configure: Regenerated.
53385         * sysdeps/s390/s390-64/configure: Likewise.
53386         * sysdeps/x86_64/configure: Likewise.
53387         * sysdeps/sh/configure: Likewise.
53388         * sysdeps/powerpc/powerpc64/configure: Likewise.
53389         * sysdeps/powerpc/powerpc32/configure: Likewise.
53390         * sysdeps/sparc/configure: Likwise.
53391         * sysdeps/i386/configure: Likewise.
53393         * elf/dl-open.c: Comment fixes.
53395 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53397         * Makefile [CXX] (check-data): Remove.
53398         [CXX] (c++-types.data): New vpath directive.
53399         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53400         vpath.  Do not allow for C++ type data being missing.
53401         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53402         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53403         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53404         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53405         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53406         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53407         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53409         ... here.
53410         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53412         ... here.
53413         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53415         ... here.
53416         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53418         ... here.
53419         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53421         ... here.
53422         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53424         ... here.
53425         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53427         ... here.
53428         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53431         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53432         definitions to architecture-specific files.
53433         (TLS_IE): Likewise.
53434         (TLS_LD): Likewise.
53435         (TLS_GD): Likewise.
53436         * sysdeps/i386/tls-macros.h: New file.
53437         * sysdeps/powerpc/tls-macros.h: Likewise.
53438         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53439         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53440         * sysdeps/sh/tls-macros.h: Likewise.
53441         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53442         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53443         * sysdeps/x86_64/tls-macros.h: Likewise.
53445 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53447         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53448         zero value for regular exit case.
53450         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53451         (__start_context): Preserve zero value for regular exit case.
53453 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53454             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53456         * manual/setjmp.texi (setcontext): Clarify normal process
53457         termination when uc_link is the null pointer.
53458         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53459         exit call.
53461 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53463         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53464         preprocessor.  Test for each exception mask separately.
53466 2012-07-16  Andreas Jaeger  <aj@suse.de>
53468         * po/ru.po: Update from translation team.
53470 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53472         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53473         equal to 0.
53474         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53475         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53476         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53477         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53478         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53480 2012-07-13  Andreas Jaeger  <aj@suse.de>
53482         * po/fr.po: Update from translation team.
53484 2012-07-12  Marek Polacek  <polacek@redhat.com>
53486         [BZ #14173]
53487         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53489         loop condition.
53491 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53493         [BZ #13717]
53494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53495         Change to 2.4.1 where previously 2.4.0.
53496         * sysdeps/unix/sysv/linux/configure: Regenerated.
53497         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53498         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53499         version.
53500         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53501         (__ASSUME_AT_CLKTCK): Remove.
53502         (__ASSUME_AT_PAGESIZE): Likewise.
53503         (__ASSUME_AT_XID): Likewise.
53504         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53505         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53506         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53507         unconditionally.
53508         (HAVE_AUX_PAGESIZE): Likewise.
53509         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53510         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53511         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53513 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53515         [BZ #14307]
53516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53517         the temporary buffer used to invoke __gethostbyname2_r,
53518         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53519         host_data / struct gaih_addrtuple.
53520         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53521         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53522         header file nss/nsswitch.h.
53523         * nss/nsswitch.h (global scope): Add definition of implementation
53524         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53525         resolv/nss_dns/dns-host.c).
53527 2012-07-11  Andreas Jaeger  <aj@suse.de>
53529         * po/fr.po: Update from translation team.
53531         * po/sv.po: Update from translation team
53532         * po/fr.po: Another update from translation team.
53534 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53536         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53537         for subnormals or multiply small sinh result by itself.
53538         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53541 2012-07-11  David S. Miller  <davem@davemloft.net>
53543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53545 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53547         [BZ #14347]
53548         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53549         (INTERNAL_MARK): Shift it here.
53551 2012-07-10  Marek Polacek  <polacek@redhat.com>
53553         [BZ #14151]
53554         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53555         libc_cv_asm_global_directive with .globl.
53556         * configure: Regenerated.
53557         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53558         with .globl.
53559         * sysdeps/i386/configure: Regenerated.
53560         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53561         with .globl.
53562         * sysdeps/x86_64/configure: Regenerated.
53563         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53564         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53565         * elf/tst-unique2mod2.c: Likewise.
53566         * elf/tst-unique2mod1.c: Likewise.
53567         * elf/tst-unique1mod2.c: Likewise.
53568         * elf/tst-unique1mod1.c: Likewise.
53569         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53570         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53572         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53573         * sysdeps/mach/sysdep.h: Likewise.
53574         * sysdeps/i386/sysdep.h: Likewise.
53575         * sysdeps/i386/i386-mcount.S: Likewise.
53576         * sysdeps/x86_64/_mcount.S: Likewise.
53577         * sysdeps/x86_64/sysdep.h: Likewise.
53578         * sysdeps/sh/_mcount.S: Likewise.
53579         * sysdeps/sh/sysdep.h: Likewise.
53580         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53581         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53582         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53583         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53584         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53585         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53586         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53587         * locale/localeinfo.h: Likewise.
53588         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53589         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53591 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53593         [BZ #14336]
53594         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53595         system".
53596         * manual/message.texi (The Uniforum approach): Likewise.
53597         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53598         (glibc iconv Implementation): Likewise.
53600 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53602         [BZ #14337]
53603         * math/s_clog.c (__clog): Avoid scaling a value down where that
53604         could result in underflow.
53605         * math/s_clog10.c (__clog10): Likewise.
53606         * math/s_clog10f.c (__clog10f): Likewise.
53607         * math/s_clog10l.c (__clog10l): Likewise.
53608         * math/s_clogf.c (__clogf): Likewise.
53609         * math/s_clogl.c (__clogl): Likewise.
53610         * math/libm-test.inc (clog_test): Add more tests.
53611         (clog10_test): Likewise.
53612         * sysdeps/i386/fpu/libm-test-ulps: Update.
53613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53615 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53617         [BZ #14283]
53618         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53619         by 7 not 8 to examine high bit of fractional part.
53621         [BZ #14042]
53622         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53623         for call to __mcount_internal.
53624         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53625         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53626         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53628 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53630         [BZ #14154]
53631         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53632         approximation for values within 0x1p-13f of an odd multiple of
53633         pi/4.
53634         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53635         exception.  Add more tests.
53636         * sysdeps/i386/fpu/libm-test-ulps: Update.
53638         [BZ #6778]
53639         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53640         inputs and return -1 for them.  Do not check for +Inf in case not
53641         reachable for +Inf.
53642         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53643         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53644         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53645         and return -1 for them.  Do not check for +Inf in case not
53646         reachable for +Inf.
53647         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53648         define.
53649         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53650         and return -1 for them.  Do not check for +Inf in case not
53651         reachable for +Inf.
53652         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53653         spurious underflow.
53654         * sysdeps/i386/fpu/libm-test-ulps: Update.
53655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53657 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53659         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53661 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53663         [BZ #14157]
53664         [BZ #14331]
53665         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53666         could result in spurious underflow.  Scale down values above
53667         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53668         * math/s_csqrtf.c (__csqrtf): Likewise.
53669         * math/s_csqrtl.c (__csqrtl): Likewise.
53670         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53671         spurious underflow.
53672         * sysdeps/i386/fpu/libm-test-ulps: Update.
53673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53675 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53677         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53678         xopen-msg.sed.
53679         * catgets/xopen-msg.awk: New file.
53680         * catgets/xopen-msg.sed: Removed.
53682         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53683         po2text.sed.
53684         * intl/po2test.awk: New file.
53685         * intl/po2test.sed: Removed.
53687 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53689         [BZ #14328]
53690         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53691         or multiply small sinh result by itself.
53692         * math/s_ctanf.c (__ctanf): Likewise.
53693         * math/s_ctanh.c (__ctanh): Likewise.
53694         * math/s_ctanhf.c (__ctanhf): Likewise.
53695         * math/s_ctanhl.c (__ctanhl): Likewise.
53696         * math/s_ctanl.c (__ctanl): Likewise.
53697         * math/libm-test.inc (ctan_test_tonearest): New function.
53698         (ctan_test_towardzero): Likewise.
53699         (ctan_test_downward): Likewise.
53700         (ctan_test_upward): Likewise.
53701         (ctanh_test_tonearest): Likewise.
53702         (ctanh_test_towardzero): Likewise.
53703         (ctanh_test_downward): Likewise.
53704         (ctanh_test_upward): Likewise.
53705         (main): Call these new functions.
53706         * sysdeps/i386/fpu/libm-test-ulps: Update.
53707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53709 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53711         * .gitignore: Delete /ports entry.
53713 2012-07-03  Andreas Jaeger  <aj@suse.de>
53715         * po/bg.po: Update from translation team.
53716         * po/cs.po: Likewise.
53717         * po/de.po: Likewise.
53718         * po/hr.po: Likewise.
53719         * po/nl.pl: Likewise.
53720         * po/pl.po: Likewise.
53721         * po/vi.po: Likewise.
53723 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53725         * Makeconfig [!+link] (+link-before-libc): New variable.
53726         [!+link] (+link-after-libc): Likewise.
53727         [!+link] (+link-tests): Likewise.
53728         [!+link] (+link): Define in terms of $(+link-before-libc) and
53729         $(+link-after-libc).
53730         [!+link-static] (+link-static-before-libc): New variable.
53731         [!+link-static] (+link-static-after-libc): Likewise.
53732         [!+link-static] (+link-static-tests): Likewise.
53733         [!+link-static] (+link-static): Define in terms of
53734         $(+link-static-before-libc) and $(+link-static-after-libc).
53735         [build-shared] (link-libc-before-gnulib): New variable.
53736         [build-shared] (link-libc-tests): Likewise.
53737         [build-shared] (link-libc): Define in terms of
53738         $(link-libc-before-gnulib).
53739         [!build-shared] (link-libc-tests): New variable.
53740         (link-libc-static-tests): New variable.
53741         [!gnulib] (gnulib-arch): New variable.
53742         [!gnulib] (gnulib-tests): Likewise.
53743         [!gnulib] (static-gnulib-arch): Likewise.
53744         [!gnulib] (static-gnulib-tests): Likewise.
53745         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53746         Define with "=" instead of ":=".
53747         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53748         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53749         * Rules (binaries-all-notests): New variable.
53750         (binaries-all-tests): Likewise.
53751         (binaries-static-notests): Likewise.
53752         (binaries-static-tests): Likewise.
53753         (binaries-all): Define using $(binaries-all-notests) and
53754         $(binaries-all-tests).
53755         (binaries-static): Define using $(binaries-static-notests) and
53756         $(binaries-static-tests).
53757         (binaries-shared-tests): New variable.
53758         (binaries-shared-notests): Likewise.
53759         (binaries-shared): Remove variable.
53760         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53761         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53762         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53763         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53764         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53765         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53766         * elf/Makefile (sln-modules): New variable.
53767         (extra-objs): Add $(sln-modules:=.o).
53768         (ldconfig-modules): Add static-stubs.
53769         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53770         * elf/static-stubs.c: New file.
53772         [BZ #14283]
53773         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53774         by 7 not 8 to examine high bit of fractional part.  Use volatile
53775         variables when splitting into final array of floats if
53776         __FLT_EVAL_METHOD__ != 0.
53777         * math/libm-test.inc (cos_test): Add another test.
53778         (sin_test): Likewise.
53779         * sysdeps/i386/fpu/libm-test-ulps: Update.
53781         [BZ #14273]
53782         * math/libm-test.inc (cosh_test): Add more tests.
53784         * version.h (RELEASE): Set to "development".
53785         (VERSION): Set to "2.16.90".
53787 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53789         * NEWS: Update copyright. Remove last-updated date.
53790         Mention math library bug fixes and timezone data changes.
53791         * README: Mention GNU/Hurd, x32, and HPPA support status.
53793 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53795         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53797 2012-06-27  Andreas Jaeger  <aj@suse.de>
53799         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53801 2012-06-25  Andreas Jaeger  <aj@suse.de>
53803         * sysdeps/s390/fpu/libm-test-ulps: Update.
53805 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53806             Thomas Schwinge  <thomas@codesourcery.com>
53808         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53809         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53811         fanotify_mark.
53813 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53815         * sysdeps/mach/start.c: Remove file.
53816         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53817         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53818         * sysdeps/sh/init-first.c: Likewise.
53820         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53821         registers for frame unwinding purposes, add CFI directives.
53822         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53824         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53825         Likewise.
53827         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53828         __fortify_fail returning.
53829         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53831         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53832         sysdeps/sh/____longjmp_chk.S.
53833         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53834         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53835         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53836         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53838         * sysdeps/sh/abort-instr.h: New file.
53839         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53840         process in case exit returns.
53842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53843         initialize the GOT register before use.
53845         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53846         calculation of ARGC > 4.
53848         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53849         meaningful names to some local labels.
53851 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53852             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53854         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53855         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53856         (__arch_compare_and_exchange_val_16_acq): Likewise.
53857         (__arch_compare_and_exchange_val_32_acq): Likewise.
53858         (atomic_exchange_and_add): Fix gUSA sequence.
53859         (atomic_add): Likewise.
53860         (atomic_add_negative): Likewise.
53861         (atomic_add_zero): Likewise.
53862         (atomic_bit_test_set): Likewise.
53864 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53866         [BZ #13579]
53867         * include/link.h (struct link_map): Add l_free_initfini.
53868         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53869         l_initfini.
53870         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53871         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53872         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53873         set.
53875 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53877         * configure.in: Use AC_LANG_SOURCE.
53878         * configure: Regenerate.
53880 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53882         * configure.in (libc_cv_localstatedir): New substituted variable.
53883         * configure: Regenerated.
53884         * config.make.in (localstatedir): New variable, substituted from
53885         libc_cv_localstatedir.
53886         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53887         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53888         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53889         * sysdeps/gnu/configure: Regenerated.
53891 2012-06-21  Jeff Law  <law@redhat.com>
53893         [BZ #14277]
53894         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53895         free.  Simplify list management for _LIBC case.
53897 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53899         [BZ #14273]
53900         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53901         Clear sign bit of 64-bit integer value before comparing against
53902         overflow value.
53904         * sysdeps/mach/configure: Regenerated.
53906 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53908         [BZ #14278]
53909         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53911 2012-06-21  Jeff Law  <law@redhat.com>
53913         [BZ #13882]
53914         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53915         uint16_t for elements in the "seen" array to avoid char overflows.
53916         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53917         * elf/dl-open.c (dl_open_worker): Likewise.
53919 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53921         * scripts/list-sources.sh: Scan PORTS for translations.
53922         * po/libc.pot: Regenerated.
53924 2012-06-21  Andreas Jaeger  <aj@suse.de>
53926         [BZ #12194]
53927         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53928         warning.
53929         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53930         * bits/byteswap-16.h (__bswap_16): Likewise.
53931         * bits/byteswap.h (__bswap_constant_16): Likewise.
53933 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53935         [BZ #14117]
53936         * sysdeps/i386/fpu_control.h: Removed.
53937         * sysdeps/x86_64/fpu_control.h: Moved to ...
53938         * sysdeps/x86/fpu_control.h: Here.
53940         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53941         (_FPU_SETCW): Likewise.
53943 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53945         [BZ #14117]
53946         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53947         * sysdeps/x86/fpu/bits/mathinline.h: This.
53948         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53950         [BZ #14050]
53951         [BZ #14117]
53952         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53953         functions if __x86_64__ is defined.
53955 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53957         * string/endian.h: Add !__ASSEMBLER__ condition for including
53958         conversion interfaces.
53960 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53962         [BZ #14241]
53963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53964         of ABS(x) in calculating zero to negative powers other than odd
53965         integers.
53966         * math/libm-test.inc (pow_test): Add more tests.
53968 2012-06-15  Andreas Jaeger  <aj@suse.de>
53970         * manual/contrib.texi (Contributors): Update entry of Liubov
53971         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53972         Machado Filho.
53974 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53976         * string/string.h: Add __wur to GNU version of strerror_r.
53978 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53980         [BZ #14229]
53981         * string/Makefile (tests): Add tst-strtok_r.
53982         * string/tst-strtok_r.c: New file.
53983         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53984         RAX_LP/RDX_LP on SAVE_PTR.
53986 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53988         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53990 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53992         * libm_test.inc (csqrt_test): Allow more spurious underflow
53993         exceptions.
53994         (j0_test): Likewise.
53995         (j1_test): Likewise.
53996         (y0_test): Likewise.
53997         (y1_test): Likewise.
53999 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54001         * po/Makefile (libc.pot): Use UTF-8 charset.
54003 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54005         [BZ #14210]
54006         Suppress sign-conversion warning from FD_SET.
54007         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54008         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54009         not unsigned long int.
54010         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54012 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54014         [BZ #14050]
54015         [BZ #14117]
54016         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54017         __extern_always_inline instead of __extern_inline.
54018         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54019         (__signbit): Likewise.
54020         (__signbitl): Support C++ namespace.
54021         (lrintf): New inline function.
54022         (lrint): Likewise.
54023         (llrintf): Likewise.
54024         (llrint): Likewise.
54025         (fmaxf): Likewise.
54026         (fmax): Likewise.
54027         (fminf): Likewise.
54028         (fmin): Likewise.
54029         (rint): Likewise.
54030         (rintf): Likewise.
54031         (ceil): Likewise.
54032         (ceilf): Likewise.
54033         (floor): Likewise.
54034         (floorf): Likewise.
54035         (nearbyint): Likewise.
54036         (nearbyintf): Likewise.
54038 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54040         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54041         non-default versions.
54043 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54045         [BZ #14218]
54046         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54048 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54050         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54051         (FE_UPWARD, FE_DOWNWARD): Don't define.
54052         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54055         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54056         reading it.
54057         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54058         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54060 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54062         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54064         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54065         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54067 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54069         [BZ #14117]
54070         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54071         * sysdeps/i386/fpu/Implies: New file.
54072         * sysdeps/x86_64/fpu/Implies: Likewise.
54073         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54074         * sysdeps/x86/fpu/bits/fenv.h: This.
54076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54077         __SSE_MATH__.
54079 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54081         [BZ #14134]
54082         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54083         character 0xffff that matches the last element of the
54084         conversion table.
54086 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54089         fmodl commit.
54091 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54094         values higher than 25.6283.
54096 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54099         subnormal exponent extraction and add some __builtin_expect.
54100         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54101         Fix for subnormal mantissa calculation.
54103 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54105         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54106         cpu2 is -1 and errno is not ENOSYS.
54108 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54110         [BZ #14117]
54111         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54112         * sysdeps/x86/bits/string.h: This.
54113         * sysdeps/x86_64/bits/string.h: Removed.
54115         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54116         if not compiling for x86-64, but compiling for >= i486.
54118         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54119         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54121         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54122         New macro from Linux kernel 3.4.0.
54123         (FP_XSTATE_MAGIC2): Likewise.
54124         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54125         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54126         (struct _fpx_sw_bytes): New struct.
54127         (struct _xsave_hdr): Likewise.
54128         (struct _ymmh_state): Likewise.
54129         (struct _xstate): Likewise.
54131         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54132         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54133         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54134         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54135         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54136         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54138         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54139         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54140         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54141         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54142         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54143         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54145 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54147         [BZ #13743]
54148         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54149         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54150         (sysdep_headers): Include sys/platform/ppc.h.
54151         * sysdeps/powerpc/test-gettimebase.c: Test for
54152         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54153         * manual/Makefile (appendices): Include platform.texi.
54154         * manual/contrib.texi (Contributors): Update @node pointers.
54155         * manual/maint.texi (Maintenance): Likewise.
54156         (Platform): New node.
54157         * manual/platform.texi: New file.  Document the new features.
54159 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54160             Jakub Jelinek  <jakub@redhat.com>
54162         [BZ #14188]
54163         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54164         where __builtin_expect is unavailable.
54166 2012-06-03  David S. Miller  <davem@davemloft.net>
54168         * stdlib/longlong.h: Updated from GCC.
54170 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54172         [BZ #14042]
54173         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54174         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54175         __mcount_internal.
54176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54177         (GLIBC_2.16): Likewise.
54179 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54181         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54183 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54186         (default-abi): New variable.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54188         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54189         variable.
54190         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54191         Likewise.
54192         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54193         Likewise.
54194         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54195         Likewise.
54197         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54198         definition.  Document in comment.
54200 2012-06-01  David S. Miller  <davem@davemloft.net>
54202         * stdlib/longlong.h: Updated from GCC.
54204 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54206         [BZ #14117]
54207         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54208         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54209         sys/debugreg.h sys/io.h here.
54210         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54211         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54212         sys/io.h.
54213         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54214         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54215         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54216         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54217         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54218         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54221         Define only if __x86_64__ is defined.
54223 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54225         [BZ #14048]
54226         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54227         Use int64_t for variable i.
54228         * math/libm-test.inc (fmod_test): Add more tests.
54230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54231         z computation is not scheduled after fetestexcept.
54232         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54233         Use math_force_eval instead of asm to ensure calculation scheduled
54234         before exception test.
54235         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54236         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54238 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54241         computation is not scheduled after fetestexcept.
54243 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54245         [BZ #14117]
54246         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54247         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54249 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54251         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54252         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54254 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54256         [BZ #14117]
54257         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54258         <bits/wordsize.h>.
54259         (__WCHAR_MIN): Support __WORDSIZE == 64.
54260         (__WCHAR_MAX): Likewise.
54262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54263         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54265         [BZ #14183]
54266         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54267         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54269         [BZ #14117]
54270         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54271         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54273         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54274         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54276         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54277         Defined to 1 if __x86_64__ isn't defined.
54278         (_STAT_VER_LINUX_OLD): New.
54279         (st_atime): Remove duplicate.
54280         (st_mtime): Likewise.
54281         (st_ctime): Likewise.
54283 2012-05-31  David S. Miller  <davem@davemloft.net>
54285         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54286         entries.
54288 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54290         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54291         gen-libm-test.pl.
54293         [BZ #14132]
54294         * elf/dl-reloc.c: Include <_itoa.h>.
54295         (_dl_reloc_bad_type): Remove use of INTUSE.
54296         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54297         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54298         * stdio-common/psiginfo.c (psiginfo): Likewise.
54299         * stdio-common/psignal.c (psignal): Likewise.
54300         * string/strsignal.c (strsignal): Likewise.
54301         * include/signal.h (_sys_siglist): Declare hidden proto.
54302         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54303         INTVARDEF with libc_hidden_data_def.
54304         * stdio-common/itoa-udigits.c: Likewise.
54305         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54306         (_itoa_lower_digits_internal): Remove declaration.
54307         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54308         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54309         (_sys_sigabbrev_internal): Remove aliases.
54310         (_sys_siglist): Define hidden alias.
54312 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54315         bits/sysctl.h.
54317 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54319         [BZ #14117]
54320         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54321         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54323         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54324         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54325         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54326         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54327         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54328         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54330         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54331         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54332         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54334         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54335         with __addr.
54336         (insw): Likewise.
54337         (insl): Likewise.
54338         (outsb): Likewise.
54339         (outsw): Likewise.
54340         (outsl): Likewise.
54342         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54343         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54344         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54346         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54347         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54348         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54349         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54350         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54351         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54353         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54354         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54356         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54357         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54360         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54361         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54363         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54364         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54365         to ...
54366         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54368         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54369         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54370         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54372         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54373         for x86-64.
54374         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54376 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54378         * math/math.h (M_El): Use two more decimal places.
54379         (M_LOG2El): Likewise.
54380         (M_LOG10El): Likewise.
54381         (M_LN2l): Likewise.
54382         (M_LN10l): Likewise.
54383         (M_PIl): Likewise.
54384         (M_PI_2l): Likewise.
54385         (M_PI_4l): Likewise.
54386         (M_1_PIl): Likewise.
54387         (M_2_PIl): Likewise.
54388         (M_2_SQRTPIl): Likewise.
54389         (M_SQRT2l): Likewise.
54390         (M_SQRT1_2l): Likewise.
54392 2012-05-31  David S. Miller  <davem@davemloft.net>
54394         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54395         values between float registers.
54396         * sysdeps/sparc/sparc64/memset.S: Likewise.
54397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54399 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54401         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54402         -D_FORTIFY_SOURCE=1.
54403         (CPPFLAGS-tst-longjmp_chk.c): Define.
54404         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54405         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54406         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54407         CFLAGS-tst-wchar-h.c.
54409 2012-05-31  Marek Polacek  <polacek@redhat.com>
54411         [BZ #14132]
54412         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54413         __endmntent_internal): Remove declaration.
54414         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54415         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54416         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54418 2012-05-30  David S. Miller  <davem@davemloft.net>
54420         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54421         (___Q_simulate_exceptions): Use real FP ops rather than writing
54422         into the %fsr.
54423         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54424         Likewise.
54426 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54428         [BZ #14117]
54429         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54430         * sysdeps/x86/bits/xtitypes.h: This.
54432         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54433         * sysdeps/x86/bits/wordsize.h: This.
54435         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54436         * sysdeps/x86/bits/huge_vall.h: This.
54438         * sysdeps/i386/bits/select.h: Removed.
54439         * sysdeps/x86_64/bits/select.h: Renamed to ...
54440         * sysdeps/x86/bits/select.h: This.
54442         * sysdeps/i386/bits/setjmp.h: Removed.
54443         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54444         * sysdeps/x86/bits/setjmp.h: This.
54446         * sysdeps/i386/bits/mathdef.h: Removed.
54447         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54448         * sysdeps/x86/bits/mathdef.h: This.
54450 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54452         [BZ #14132]
54453         * include/sys/socket.h (__connect_internal)
54454         (__libc_sa_len_internal): Remove declaration.
54455         (__connect, __libc_sa_len): Declare hidden_proto.
54456         (SA_LEN): Remove use of INTUSE.
54457         * socket/connect.c: Add libc_hidden_def.
54458         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54459         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54460         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54461         alias.
54462         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54464         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54465         of adding _internal alias.
54467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54469         [BZ #14117]
54470         * sysdeps/i386/bits/link.h: Removed.
54471         * sysdeps/i386/bits/linkmap.h: Likewise.
54472         * sysdeps/x86_64/bits/link.h: Renamed to ...
54473         * sysdeps/x86/bits/link.h: This.
54474         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54475         * sysdeps/x86/bits/linkmap.h: This.
54477         * sysdeps/i386/bits/endian.h: Removed.
54478         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54479         * sysdeps/x86/bits/endian.h: This.
54481         * sysdeps/i386/bits/byteswap.h: Removed.
54482         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54483         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54484         * sysdeps/x86/bits/byteswap.h: This.
54485         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54486         * sysdeps/x86/bits/byteswap-16.h: This.
54487         * sysdeps/i386/Implies: Add x86.
54488         * sysdeps/x86_64/Implies: Likewise.
54490 2012-05-30  David S. Miller  <davem@davemloft.net>
54492         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54493         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54494         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54495         (FP_TRAPPING_EXCEPTIONS): Define.
54496         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54497         (FP_TRAPPING_EXCEPTIONS): Define.
54498         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54499         subnormals only when inexact has been signalled or underflow
54500         exceptions are enabled.
54501         (_FP_PACK_CANONICAL): Likewise.
54503 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54505         [BZ #14183]
54506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54507         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54509 2012-05-30  Richard Henderson  <rth@twiddle.net>
54511         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54512         with #ifndef NOT_IN_libc.
54514         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54515         marked to avoid plt entry.
54517 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54519         [BZ #14112]
54520         * Makeconfig (default-abi): New macro.
54521         (abi-includes): Likewise.
54522         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54523         $(abi-$(default-abi)-lib-soname) for soname if defined.
54524         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54525         abi-variants.
54526         * Makefile (installed-stubs): Likewise.
54527         * include/stubs-biarch.h: Removed.
54528         * scripts/lib-names.awk: Only handle one library at a time.
54529         * scripts/soversions.awk: Remove WORDSIZE support.
54530         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54531         entries.
54532         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54533         Removed.
54534         (syscall-list-default-condition): Likewise.
54535         (syscall-list-default-condition): Likewise.
54536         (syscall-list-includes): Likewise.
54537         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54538         syscall-list-* with abi-*.  Handle undefined abi-variants.
54539         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54540         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54541         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54542         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54543         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54544         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54545         Removed.
54546         (syscall-list-32-options): Likewise.
54547         (syscall-list-32-condition): Likewise.
54548         (syscall-list-64-options): Likewise.
54549         (syscall-list-64-condition): Likewise.
54550         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54551         macro.
54552         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54553         Renamed to ...
54554         (abi-*): This.
54555         (abi-64-ld-soname): New macro.
54556         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54557         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54558         Renamed to ...
54559         (abi-*): This.
54560         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54561         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54563 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54565         * sysdeps/unix/sysv/linux/kernel-features.h
54566         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54567         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54568         include <kernel-features.h>.
54569         [!__NR_ftruncate64]: Remove conditional code.
54570         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54571         [__NR_ftruncate64]: Make code unconditional.
54572         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54573         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54574         include <kernel-features.h>.
54575         [!__NR_ftruncate64]: Remove conditional code.
54576         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54577         [__NR_ftruncate64]: Make code unconditional.
54578         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54580         include <kernel-features.h>.
54581         [!__NR_ftruncate64]: Remove conditional code.
54582         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54583         [__NR_ftruncate64]: Make code unconditional.
54584         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54586         include <kernel-features.h>.
54587         [!__NR_ftruncate64]: Remove conditional code.
54588         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54589         [__NR_ftruncate64]: Make code unconditional.
54590         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54592         * configure.in (libc_cv_fpie): Weaken to a compile test using
54593         LIBC_TRY_CC_OPTION.
54594         * configure: Regenerated.
54596 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54602         Refreshed.
54603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54609         Refreshed.
54611 2012-05-27  David S. Miller  <davem@davemloft.net>
54613         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54614         (___Q_zero): New.
54615         (__Q_simulate_exceptions): Return void.  Change to simulate
54616         exceptions by writing into the %fsr.
54617         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54618         (__Qp_handle_exceptions): Likewise.
54619         (numbers): Delete.
54620         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54621         __Qp_handle_exceptions.
54622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54623         __Qp_handle_exceptions.
54624         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54625         as unused and give dummy FP_RND_NEAREST initializer.
54626         (FP_INHIBIT_RESULTS): Define.
54627         (___Q_simulate_exceptions): Update declaration.
54628         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54629         formatting.
54630         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54631         as unused and give dummy FP_RND_NEAREST initializer.
54632         (__Qp_handle_exceptions): Update declaration.
54633         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54634         formatting.
54636 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54638         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54639         the temporary FPU control word.
54640         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54641         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54642         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54643         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54644         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54645         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54646         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54647         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54649         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54650         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54652 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54654         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54655         fields.
54657 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54659         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54660         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54661         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54662         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54663         Likewise.
54664         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54665         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54666         Likewise.
54668 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54670         * po/h.po: Update from translation team.
54672 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54674         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54676         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54677         handling of denormals.
54678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54679         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54680         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54681         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54685         Likewise.
54687 2012-05-26  Marek Polacek  <polacek@redhat.com>
54689         [BZ #14152]
54690         * math/libm-test.inc (fma_test): Don't always expect underflow
54691         exception.
54693 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54695         [BZ #12416]
54696         * elf/tst-execstack.c: Include stackinfo.h.
54697         (do_test): Adjust test case to ensure that pthread_getattr_np
54698         behaviour remains the same after marking stack executable.
54700 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54702         * sysdeps/unix/sysv/linux/kernel-features.h
54703         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54704         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54705         kernel-features.h.
54706         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54707         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54708         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54709         kernel-features.h.
54710         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54711         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54713 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54715         * configure.in: Define the default includes to being none.
54716         * configure: Regenerated.
54718 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54720         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54721         * sysdeps/x86_64/setjmp.S: Likewise.
54722         * sysdeps/i386/bsd-setjmp.S: Likewise.
54723         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54724         * sysdeps/i386/setjmp.S: Likewise.
54725         * sysdeps/i386/__longjmp.S: Likewise.
54726         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54727         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54729         * include/stap-probe.h: New file.
54730         * configure.in: Handle --enable-systemtap.
54731         * configure: Regenerated.
54732         * config.h.in (USE_STAP_PROBE): New #undef.
54733         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54734         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54735         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54737 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54739         [BZ #13717]
54740         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54741         to 2.4.0 where earlier.
54742         * sysdeps/unix/sysv/linux/configure: Regenerated.
54743         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54744         <kernel-features.h>.
54745         [__ASSUME_32BITUIDS]: Make code unconditional.
54746         [!__ASSUME_32BITUIDS]: Remove conditional code.
54747         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54748         <kernel-features.h>.
54749         [__ASSUME_32BITUIDS]: Make code unconditional.
54750         [!__ASSUME_32BITUIDS]: Remove conditional code.
54751         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54752         [__ASSUME_32BITUIDS]: Make code unconditional.
54753         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54754         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54755         <kernel-features.h>.
54756         [__ASSUME_32BITUIDS]: Make code unconditional.
54757         [!__ASSUME_32BITUIDS]: Remove conditional code.
54758         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54759         <kernel-features.h>.
54760         [__ASSUME_32BITUIDS]: Make code unconditional.
54761         [!__ASSUME_32BITUIDS]: Remove conditional code.
54762         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54763         <kernel-features.h>.
54764         [__ASSUME_32BITUIDS]: Make code unconditional.
54765         [!__ASSUME_32BITUIDS]: Remove conditional code.
54766         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54767         <kernel-features.h>.
54768         [__ASSUME_32BITUIDS]: Make code unconditional.
54769         [!__ASSUME_32BITUIDS]: Remove conditional code.
54770         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54771         <kernel-features.h>.
54772         [__ASSUME_32BITUIDS]: Make code unconditional.
54773         [!__ASSUME_32BITUIDS]: Remove conditional code.
54774         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54775         <kernel-features.h>.
54776         [__ASSUME_32BITUIDS]: Make code unconditional.
54777         [!__ASSUME_32BITUIDS]: Remove conditional code.
54778         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
54795         <kernel-features.h>.
54796         [__NR_setresgid] (__setresgid): Do not declare.
54797         [__ASSUME_32BITUIDS]: Make code unconditional.
54798         [!__ASSUME_32BITUIDS]: Remove conditional code.
54799         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54800         <kernel-features.h>.
54801         [__NR_setresuid] (__setresuid): Do not declare.
54802         [__ASSUME_32BITUIDS]: Make code unconditional.
54803         [!__ASSUME_32BITUIDS]: Remove conditional code.
54804         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54805         <kernel-features.h>.
54806         [__ASSUME_32BITUIDS]: Make code unconditional.
54807         [!__ASSUME_32BITUIDS]: Remove conditional code.
54808         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54809         <kernel-features.h>.
54810         [__ASSUME_32BITUIDS]: Make code unconditional.
54811         [!__ASSUME_32BITUIDS]: Remove conditional code.
54812         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54813         <kernel-features.h>.
54814         [__ASSUME_32BITUIDS]: Make code unconditional.
54815         [!__ASSUME_32BITUIDS]: Remove conditional code.
54816         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54817         <kernel-features.h>.
54818         [__ASSUME_32BITUIDS]: Make code unconditional.
54819         [!__ASSUME_32BITUIDS]: Remove conditional code.
54820         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54821         <kernel-features.h>.
54822         [__ASSUME_32BITUIDS]: Make code unconditional.
54823         [!__ASSUME_32BITUIDS]: Remove conditional code.
54824         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54825         <kernel-features.h>.
54826         [__ASSUME_32BITUIDS]: Make code unconditional.
54827         [!__ASSUME_32BITUIDS]: Remove conditional code.
54828         * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
54845         (__ASSUME_SETRESUID_SYSCALL): Remove.
54846         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54847         (__ASSUME_32BITUIDS): Likewise.
54848         (__ASSUME_LDT_WORKS): Likewise.
54849         (__ASSUME_O_DIRECTORY): Likewise.
54850         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54851         architecture but not kernel version.
54852         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54853         (__ASSUME_MMAP2_SYSCALL): Likewise.
54854         (__ASSUME_STAT64_SYSCALL): Likewise.
54855         (__ASSUME_IPC64): Likewise.
54856         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54857         <kernel-features.h>.
54858         [__ASSUME_32BITUIDS]: Make code unconditional.
54859         [!__ASSUME_32BITUIDS]: Remove conditional code.
54860         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54861         <kernel-features.h>.
54862         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54863         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54864         132096]: Remove conditional code.
54865         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54866         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54867         <kernel-features.h>.
54868         [__ASSUME_32BITUIDS]: Make code unconditional.
54869         [!__ASSUME_32BITUIDS]: Remove conditional code.
54870         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54871         <kernel-features.h>.
54872         [__ASSUME_32BITUIDS]: Make code unconditional.
54873         [!__ASSUME_32BITUIDS]: Remove conditional code.
54874         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54875         <kernel-features.h>.
54876         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54877         unconditional.
54878         (__setresgid): Do not declare.
54879         [__ASSUME_32BITUIDS]: Make code unconditional.
54880         [!__ASSUME_32BITUIDS]: Remove conditional code.
54881         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54882         <kernel-features.h>.
54883         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54884         unconditional.
54885         (__setresuid): Do not declare.
54886         [__ASSUME_32BITUIDS]: Make code unconditional.
54887         [!__ASSUME_32BITUIDS]: Remove conditional code.
54888         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54889         <kernel-features.h>.
54890         [__ASSUME_32BITUIDS]: Make code unconditional.
54891         [!__ASSUME_32BITUIDS]: Remove conditional code.
54892         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54893         <kernel-features.h>.
54894         [__ASSUME_32BITUIDS]: Make code unconditional.
54895         [!__ASSUME_32BITUIDS]: Remove conditional code.
54897 2012-05-25  Richard Henderson  <rth@twiddle.net>
54899         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54900         dl_hwcap to ifunc resolver.
54901         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54902         elf_ifunc_invoke.
54903         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54904         dl_hwcap to ifunc resolver.
54905         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54907 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54909         [BZ #14153]
54910         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54911         for |x| <= 2**-26, not 2**-57.
54912         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54913         exception.
54915 2012-05-24  Jeff Law  <law@redhat.com>
54917         * stdio-common/Makefile (tests): Add bug25.
54918         * stdio-common/bug25.c: New test.
54920 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54922         [BZ #13576]
54923         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54924         multiple of MALLOC_ALIGNMENT in size.
54925         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54927 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54929         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54930         Require >= 256.
54931         (FILENAME_MAX): Use macro-int-constant.
54932         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54933         (_IOFBF): Use macro-int-constant.
54934         (_IOLBF): Likewise.
54935         (_IONBF): Likewise.
54936         (SEEK_CUR): Likewise.
54937         (SEEK_END): Likewise.
54938         (SEEK_SET): Likewise.
54939         (TMP_MAX): Likewise.
54940         (EOF): Use macro-int-constant.  Require < 0.
54941         (NULL): Use macro-constant.  Require == 0.
54942         (stdin): Require type to be FILE *.
54943         (stdout): Likewise.
54944         (stderr): Likewise.
54945         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54946         macro-int-constant.
54947         (EXIT_SUCCESS): Likewise.
54948         (NULL): Use macro-constant.  Require == 0.
54949         (RAND_MAX): Use macro-int-constant.
54950         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54951         [C99-based standards] (strtof): Require function.
54952         [C99-based standards] (strtold): Likewise.
54953         [C99-based standards] (strtoll): Likewise.
54954         [C99-based standards] (strtoull): Likewise.
54955         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54956         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54957         [ISO || ISO99 || ISO11] (math.h): Likewise.
54958         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54959         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54960         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54962 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54964         [BZ #14132]
54965         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54966         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54967         * intl/dgettext.c (DCGETTEXT): Likewise.
54968         * intl/gettext.c (DCGETTEXT): Likewise.
54969         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54970         * posix/regex_internal.h (gettext): Likewise.
54971         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54972         Remove declaration.
54973         * include/argz.h (__argz_count_internal)
54974         (__argz_stringify_internal): Remove declaration.
54975         (__argz_count, __argz_stringify): Declare hidden proto.
54976         * intl/dcgettext.c: Remove use of INTDEF.
54977         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54978         * string/argz-stringify.c: Likewise.
54979         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54980         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54981         Declare hidden proto.
54982         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54983         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54984         Declare hidden proto.
54985         * include/stdio.h (__asprintf_internal): Don't declare.
54986         (__asprintf): Don't define as macro.  Declare hidden proto.
54987         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54988         (__fsetlocking): Declare hidden proto.
54989         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54990         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54991         hidden proto.
54992         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54993         (_IO_setlinebuf): Remove use of INTUSE.
54994         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54995         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54996         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54997         Remove declaration.
54998         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54999         (_IO_do_flush): Remove use of INTUSE.
55000         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55001         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55002         (_IO_adjust_column, _IO_least_wmarker)
55003         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55004         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55005         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55006         (_IO_default_doallocate, _IO_wdefault_doallocate)
55007         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55008         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55009         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55010         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55011         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55012         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55013         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55014         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55015         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55016         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55017         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55018         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55019         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55020         proto.
55021         (_IO_flush_all_internal, _IO_adjust_column_internal)
55022         (_IO_default_uflow_internal, _IO_default_finish_internal)
55023         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55024         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55025         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55026         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55027         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55028         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55029         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55030         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55031         (_IO_file_close_internal, _IO_file_close_it_internal)
55032         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55033         (_IO_file_init_internal, _IO_file_attach_internal)
55034         (_IO_file_fopen_internal, _IO_file_read_internal)
55035         (_IO_file_sync_internal, _IO_file_seek_internal)
55036         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55037         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55038         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55039         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55040         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55041         (_IO_list_all_internal, _IO_link_in_internal)
55042         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55043         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55044         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55045         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55046         (_IO_do_write_internal, _IO_padn_internal)
55047         (_IO_getline_info_internal, _IO_getline_internal)
55048         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55049         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55050         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55051         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55052         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55053         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55054         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55055         with libc_hidden_ver, remove use of INTUSE.
55056         * libio/genops.c: Likewise.
55057         * libio/freopen.c: Likewise.
55058         * libio/freopen64.c: Likewise.
55059         * libio/iofclose.c: Likewise.
55060         * libio/iofdopen.c: Likewise.
55061         * libio/iofflush.c: Likewise.
55062         * libio/iofflush_u.c: Likewise.
55063         * libio/iofgets.c: Likewise.
55064         * libio/iofgets_u.c: Likewise.
55065         * libio/iofopen.c: Likewise.
55066         * libio/iofopncook.c: Likewise.
55067         * libio/iofread.c: Likewise.
55068         * libio/iofread_u.c: Likewise.
55069         * libio/ioftell.c: Likewise.
55070         * libio/iofwrite.c: Likewise.
55071         * libio/iogetline.c: Likewise.
55072         * libio/iogets.c: Likewise.
55073         * libio/iogetwline.c: Likewise.
55074         * libio/iopadn.c: Likewise.
55075         * libio/iopopen.c: Likewise.
55076         * libio/ioseekoff.c: Likewise.
55077         * libio/ioseekpos.c: Likewise.
55078         * libio/iosetbuffer.c: Likewise.
55079         * libio/iosetvbuf.c: Likewise.
55080         * libio/ioungetc.c: Likewise.
55081         * libio/ioungetwc.c: Likewise.
55082         * libio/iovdprintf.c: Likewise.
55083         * libio/iovsprintf.c: Likewise.
55084         * libio/iovsscanf.c: Likewise.
55085         * libio/memstream.c: Likewise.
55086         * libio/obprintf.c: Likewise.
55087         * libio/oldfileops.c: Likewise.
55088         * libio/oldiofclose.c: Likewise.
55089         * libio/oldiofdopen.c: Likewise.
55090         * libio/oldiofopen.c: Likewise.
55091         * libio/oldiopopen.c: Likewise.
55092         * libio/oldstdfiles.c: Likewise.
55093         * libio/putc.c: Likewise.
55094         * libio/setbuf.c: Likewise.
55095         * libio/setlinebuf.c: Likewise.
55096         * libio/stdfiles.c: Likewise.
55097         * libio/strops.c: Likewise.
55098         * libio/vasprintf.c: Likewise.
55099         * libio/vscanf.c: Likewise.
55100         * libio/vsnprintf.c: Likewise.
55101         * libio/vswprintf.c: Likewise.
55102         * libio/wfiledoalloc.c: Likewise.
55103         * libio/wfileops.c: Likewise.
55104         * libio/wgenops.c: Likewise.
55105         * libio/wmemstream.c: Likewise.
55106         * libio/wstrops.c: Likewise.
55107         * libio/__fpurge.c: Likewise.
55108         * libio/__fsetlocking.c: Likewise.
55109         * assert/assert.c: Likewise.
55110         * debug/fgets_chk.c: Likewise.
55111         * debug/fgets_u_chk.c: Likewise.
55112         * debug/fread_chk.c: Likewise.
55113         * debug/fread_u_chk.c: Likewise.
55114         * debug/gets_chk.c: Likewise.
55115         * debug/obprintf_chk.c: Likewise.
55116         * debug/vasprintf_chk.c: Likewise.
55117         * debug/vdprintf_chk.c: Likewise.
55118         * debug/vsnprintf_chk.c: Likewise.
55119         * debug/vsprintf_chk.c: Likewise.
55120         * malloc/mtrace.c: Likewise.
55121         * misc/error.c: Likewise.
55122         * misc/syslog.c: Likewise.
55123         * stdio-common/asprintf.c: Likewise.
55124         * stdio-common/fxprintf.c: Likewise.
55125         * stdio-common/getw.c: Likewise.
55126         * stdio-common/isoc99_fscanf.c: Likewise.
55127         * stdio-common/isoc99_scanf.c: Likewise.
55128         * stdio-common/isoc99_vfscanf.c: Likewise.
55129         * stdio-common/isoc99_vscanf.c: Likewise.
55130         * stdio-common/isoc99_vsscanf.c: Likewise.
55131         * stdio-common/printf-prs.c: Likewise.
55132         * stdio-common/printf_fp.c: Likewise.
55133         * stdio-common/printf_fphex.c: Likewise.
55134         * stdio-common/printf_size.c: Likewise.
55135         * stdio-common/putw.c: Likewise.
55136         * stdio-common/scanf.c: Likewise.
55137         * stdio-common/sprintf.c: Likewise.
55138         * stdio-common/tmpfile.c: Likewise.
55139         * stdio-common/vfprintf.c: Likewise.
55140         * stdio-common/vfscanf.c: Likewise.
55141         * stdlib/strfmon_l.c: Likewise.
55142         * sunrpc/openchild.c: Likewise.
55143         * sunrpc/xdr_stdio.c: Likewise.
55144         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55145         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55147 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55149         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55151         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55152         in the third column, to generate for the shared library an IFUNC
55153         that uses _dl_vdso_vsym.
55154         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55155         * Makeconfig (object-suffixes-noshared): New variable.
55157         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55158         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55159         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55160         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55162         [BZ #14132]
55163         * include/sys/time.h (__gettimeofday): Remove macro.
55164         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55165         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55166         Remove INTDEF.
55167         (__gettimeofday): Add libc_hidden_def.
55168         (gettimeofday): Add libc_hidden_weak.
55169         * sysdeps/mach/gettimeofday.c: Likewise.
55170         * sysdeps/posix/gettimeofday.c: Likewise.
55171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55172         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55174         (__gettimeofday_internal): Remove strong_alias.
55175         (__gettimeofday): Add libc_hidden_def.
55176         (gettimeofday): Add libc_hidden_weak.
55177         * sysdeps/unix/syscalls.list (gettimeofday):
55178         Remove __gettimeofday_internal alias.
55180 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55181             H.J. Lu  <hongjiu.lu@intel.com>
55183         [BZ #12495]
55184         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55185         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55186         (largebin_index_32_big): New.
55187         (largebin_index): Use it for 16-byte alignment.
55188         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55189         correction with front_misalign.
55191 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55195         Likewise.
55196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55197         Likewise.
55198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55199         Likewise.
55200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55201         Likewise.
55202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55203         Likewise.
55204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55205         Likewise.
55206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55207         Likewise.
55208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55209         Likewise.
55210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55211         Likewise.
55212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55213         Likewise.
55214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55215         Likewise.
55216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55217         Likewise.
55219         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55220         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55222 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55224         [BZ #10846]
55225         [BZ #14036]
55226         * math/libm-test.inc (exp_test): Add test from bug 14036.
55227         (pow_test): Add test from bug 10846.
55229         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55230         and other flags.
55231         (special_function): Do not include flags in test name.
55232         (parse_args): Likewise.
55233         * sysdeps/i386/fpu/libm-test-ulps: Update.
55234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55236         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55239         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55240         exceptions.
55241         * math/libm-test.inc ("Philosophy"): Update comment about
55242         exception testing.
55243         (UNDERFLOW_EXCEPTION): New macro.
55244         (UNDERFLOW_EXCEPTION_OK): Likewise.
55245         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55246         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55247         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55248         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55249         (INVALID_EXCEPTION_OK): Update value.
55250         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55251         (OVERFLOW_EXCEPTION_OK): Likewise.
55252         (IGNORE_ZERO_INF_SIGN): Likewise.
55253         (test_exceptions): Handle underflow exceptions.
55254         (acos_test): Update for underflow exception expectations.
55255         (cexp_test): Likewise.
55256         (clog_test): Likewise.
55257         (clog10_test): Likewise.
55258         (csqrt_test): Likewise.
55259         (ctan_test): Likewise.
55260         (ctanh_test): Likewise.
55261         (exp_test): Likewise.
55262         (exp10_test): Likewise.
55263         (exp2_test): Likewise.
55264         (expm1_test): Likewise.
55265         (fma_test): Likewise.
55266         (j0_test): Likewise.
55267         (jn_test): Likewise.
55268         (nexttoward_test): Likewise.
55269         (pow_test): Likewise.
55270         (scalbn_test): Likewise.
55271         (scalbln_test): Likewise.
55272         (tan_test): Likewise.
55273         (y1_test): Likewise.
55274         * sysdeps/i386/fpu/libm-test-ulps: Update.
55275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55277 2012-05-23  David S. Miller  <davem@davemloft.net>
55279         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55280         (__libc_sigaction): Remove unused local variables.
55282 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55284         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55286 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55288         mktime: avoid signed integer overflow
55289         * time/mktime.c (__mktime_internal): Do not mishandle the case
55290         where diff == INT_MIN.
55292         mktime: simplify computation of average
55293         * time/mktime.c (ranged_convert): Use new time_t_avg function
55294         instead of rolling our own (probably-slower) code.
55296         mktime: do not assume signed right shift propagates sign bit
55297         * time/mktime.c (isdst_differ): New static function.
55298         (__mktime_internal): No need to normalize tm_isdst now.
55299         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55300         tm_isdst values.
55302         mktime: merge another wrapv change from gnulib
55303         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55304         from some compilers.
55306         mktime: remove incorrect attempt at unusual arithmetics
55307         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55308         The code didn't really work on such machines anyway.
55309         (TYPE_MINIMUM): Assume two's complement.
55310         (twos_complement_arithmetic): Verify that long_int and time_t
55311         are two's complement (or unsigned, in the latter case).
55313         mktime: check signed shifts on long_int and time_t, too
55314         * time/mktime.c (SHR): Check that shifts work as desired
55315         on the types long_int and time_t too, as SHR is used on
55316         such types.
55318         mktime: do not assume 'long' is wide enough
55319         * time/mktime.c (verify): Move decl up.
55320         (long_int): New type.
55321         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55322         to remove assumption in the code that 'long' is wide enough to
55323         store year values.  This assumption is not true on x32 and on
55324         some non-glibc platforms.
55326         mktime: merge wrapv change from gnulib
55327         * time/mktime.c (WRAPV): New macro.
55328         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55329         (guess_time_tm, __mktime_internal): Do not assume that signed
55330         integer overflow wraps around; modern compilers generate code
55331         where this assumption is no longer valid.
55333 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55335         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55336         Replace "jmp L(pseudo_end)" with "ret".
55337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55338         Likewise.
55340 2012-05-23  Andreas Jaeger  <aj@suse.de>
55342         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55343         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55345 2012-05-23  Andreas Jaeger  <aj@suse.de>
55346             Maximilian Attems  <max@stro.at>
55348         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55349         New macros.
55351 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55353         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55354         code so that pseudo_end is just ret and the stack pointer is
55355         correct also for static library in error case.
55357 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55359         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55360         move to syscalls.list.
55361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55366         * manual/install.texi (Running make install): Do not mention Linux
55367         kernel version for which pt_chown is not needed.
55368         (Linux): Do not mention problems with nscd with 2.0 kernels.
55369         * INSTALL: Regenerated.
55371 2012-05-23  Andreas Jaeger  <aj@suse.de>
55373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55374         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55375         macro.
55376         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55377         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55378         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55380         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55381         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55382         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55383         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55384         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55385         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55386         * sysdeps/unix/sysv/linux/bits/in.h
55387         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55389 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55391         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55392         (PREPARE_VERSION): Just use assert instead, it will be elided
55393         under [NDEBUG] anyway.
55395 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55397         * sysdeps/unix/sysv/linux/Makefile: Include
55398         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55399         (sysdep_routines): Remove sysctl.
55400         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55401         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55402         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55403         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55404         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55406 2012-05-22  Andreas Jaeger  <aj@suse.de>
55408         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55409         that pseudo_end is just ret and the stack pointer is correct also
55410         for static library in error case.
55412 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55414         [BZ #14122]
55415         * nss/nsswitch.c (defconfig_entries): New variable.
55416         (__nss_database_lookup): Don't leak defconfig entries.
55417         (nss_parse_service_list): Don't leak on error paths.
55418         (free_database_entries): New function.
55419         (free_defconfig): New function.
55420         (free_mem): Move common code to free_database_entries.
55422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55424         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55425         Add arch_prctl.
55426         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55428         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55429         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55431         New macro.
55432         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55433         (INTERNAL_SYSCALL_TYPES): Likewise.
55434         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55435         (LOAD_REGS_TYPES_[1-6]): Likewise.
55436         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55437         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55439 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55441         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55442         copysignl for GLIBC_2_0.
55443         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55444         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55446         logbl for GLIBC_2_0.
55447         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55448         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55450 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55452         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55453         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55455         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55456         Use "neg %eax".
55458         * time/mktime.c: Update copyright years.
55460 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55462         mktime: merge comment-quoting-style change from gnulib
55463         * time/mktime.c: Quote 'like this' in comments.
55464         The GNU coding standards suggest that we no longer quote `like this',
55465         as "`" and "'" are typically rendered asymmetrically nowadays.
55466         The typical gnulib style is to quote 'like this' when quoting
55467         code, and "like this" when quoting English.
55469         * time/mktime.c (compile-command): Add "-I.".
55471         mktime: merge mktime-internal.h change from gnulib
55472         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55474         mktime: merge time_r change from gnulib
55475         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55477         mktime: merge DEBUG change from gnulib
55478         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55479         case system <time.h> has a #define.
55481         mktime: merge <sys/types.h> change from gnulib
55482         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55483         since <time.t> is now guaranteed to define time_t.
55485         mktime: merge HAVE_CONFIG_H change from gnulib
55486         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55488 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55491         Use "neg %eax".
55493         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55494         __rlim_t cast.
55495         (struct rusage): Use anonymous union to pad each field to
55496         __syscall_slong_t.
55498 2012-05-21  David S. Miller  <davem@davemloft.net>
55500         * Makefules (o-iterator): Remove .s cases.
55501         (compile-command.s): Delete.
55502         (COMPILE.s): Delete.
55503         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55505 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55507         * configure.in (libc_cv_predef_stack_protector): Only consider
55508         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55509         * configure: Regenerated.
55511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55514         New macro.  Use R*LP on int and pointer.
55515         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55516         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55517         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55518         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55520         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55521         [__WORDSIZE_TIME64_COMPAT32] instead of
55522         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55523         (struct utmp): Likewise.
55524         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55525         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55526         Renamed to ...
55527         (__WORDSIZE_TIME64_COMPAT32): This.
55528         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55529         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55530         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55531         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55532         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55533         (__WORDSIZE_TIME64_COMPAT32): New macro.
55535 2012-05-21  Andreas Jaeger  <aj@suse.de>
55537         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55538         only if [SHARED]. Add prototype for __wcschr_ia32.
55540 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55542         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55543         of %rbp unmolested in the jmp_buf while mangling the low bits.
55544         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55545         unmolested high bits of %rbp while demangling the low bits.
55546         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55548 2012-05-21  Andreas Jaeger  <aj@suse.de>
55550         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55551         * sunrpc/svc_simple.c: Use it for registerrpc.
55552         * sunrpc/xcrypt.c: Use it for passwd2des.
55554         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55556 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55558         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55559         Don't define if [__SYSCALL_WORDSIZE != 32].
55560         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55561         New macro.
55563 2012-05-21  Bruno Haible  <bruno@clisp.org>
55564             Andreas Jaeger  <aj@suse.de>
55566         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55567         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55568         inptr and inend for must_buffer_ch.
55569         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55570         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55571         * stdio-common/Makefile (tests): Remove bug15.
55572         (bug15-ENV): Remove macro.
55573         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55574         anymore.
55576 2012-05-19  Andreas Jaeger  <aj@suse.de>
55577             Roland McGrath  <roland@hack.frob.com>
55579         * manual/contrib.texi: Completely rewritten. It contains now an
55580         alphabetical list of contributors and their contributions.
55582 2012-05-21  Richard Henderson  <rth@twiddle.net>
55584         * misc/getauxval.c (__getauxval): Use unsigned long int.
55585         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55586         (getauxval): Use unsigned long int.
55588 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55590         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55592 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55594         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55595         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55596         __alignof__ (long double).
55598 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55602 2012-05-20  Richard Henderson  <rth@twiddle.net>
55604         * misc/getauxval.c: New file.
55605         * misc/sys/auxv.h: New file.
55606         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55607         (routines): Add getauxval.
55608         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55609         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55610         * elf/dl-sysdep.c (_dl_auxv): Remove.
55611         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55612         * elf/dl-support.c (_dl_auxv): New variable.
55613         (_dl_aux_init): Initialize it.
55614         * manual/startup.texi (Auxiliary Vector): New node.
55615         * sysdeps/generic/bits/hwcap.h: New file.
55616         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55617         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55618         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55619         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55620         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55623         Update.
55624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55627         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55633 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55637 2012-05-19  David S. Miller  <davem@davemloft.net>
55639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55641 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55643         [BZ #14123]
55644         * math/s_ccosh.c: Include <float.h>
55645         (__ccosh): Avoid internal overflow calculating sinh and cosh
55646         values before multiplying by sin and cos values.
55647         * math/s_ccoshf.c: Likewise.
55648         * math/s_ccoshl.c: Likewise.
55649         * math/s_csin.c: Likewise.
55650         * math/s_csinf.c: Likewise.
55651         * math/s_csinl.c: Likewise.
55652         * math/s_csinh.c: Likewise.
55653         * math/s_csinhf.c: Likewise.
55654         * math/s_csinhl.c: Likewise.
55655         * math/libm-test.inc (ccos_test): Add more tests.
55656         (ccosh_test): Likewise.
55657         (csin_test): Likewise.
55658         (csinh_test): Likewise.
55659         * sysdeps/i386/fpu/libm-test-ulps: Update.
55660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55662 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55664         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55665         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55667         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55669 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55671         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55672         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55673         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55674         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55675         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55676         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55677         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55678         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55679         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55680         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55681         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55682         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55683         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55684         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55685         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55686         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55687         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55688         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55689         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55690         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55691         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55692         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55693         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55694         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55695         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55696         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55697         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55698         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55699         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55700         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55701         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55703 2012-05-18  Andreas Jaeger  <aj@suse.de>
55705         * csu/.gitignore: Delete.
55707 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55709         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55710         (timex): Use __syscall_slong_t.
55712 2012-05-18  Andreas Jaeger  <aj@suse.de>
55713             Carlos O'Donell  <carlos_odonell@mentor.com>
55715         * manual/install.texi (Configuring and compiling): Update
55716         description about files modified in the source directory.
55717         * INSTALL: Regenerated.
55719 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55721         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55722         value.  Use "or" to set return value to -1.
55723         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55724         negate return value.
55726 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55728         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55729         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55730         failure if the compiler has Graphite support disabled.
55731         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55732         Likewise.
55733         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55734         (CFLAGS-memmove.c): Likewise.
55735         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55736         Likewise.
55738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55740         * sysdeps/x86_64/x32/_itoa.h: New file.
55742         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55743         getdents system call only if kernel and user dirents have the
55744         same d_ino and d_off.
55746         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55747         LLONG_MAX != LONG_MAX.
55748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55749         (_fitoa_word): Likewise.
55751         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55752         years.
55753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55754         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55757         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55758         include <bits/wordsize.h>.  Check __x86_64__ instead of
55759         __WORDSIZE.
55760         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55761         if __x86_64__ is defined.  Use anonymous union on fpstate.
55763         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55764         anonymous union.
55766 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55768         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55769         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55771         Refer to _rtld_local_ro instead of _rtld_global_ro.
55772         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55773         Likewise.
55774         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55775         Likewise.
55776         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55777         Likewise.
55778         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55779         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55780         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55782         [BZ #10882]
55783         * sysdeps/powerpc/powerpc32/dl-machine.c
55784         (__elf_machine_runtime_setup) [PROF]: Don't reference
55785         _dl_prof_resolve.
55787 2012-05-18  Andreas Jaeger  <aj@suse.de>
55789         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55790         function only available for GCCs before 3.4 since GCC 3.4
55791         introduced a builtin.
55792         (lrint): Likewise.
55793         (llrintf): Likewise.
55794         (llrint): Likewise.
55795         (fmaxf): Likewise.
55796         (fmax): Likewise.
55797         (fminf): Likewise.
55798         (fmin): Likewise.
55799         (rint): Likewise.
55800         (rintf): Likewise.
55801         (nearbyint): Likewise.
55802         (nearbyintf): Likewise.
55803         (ceil): Likewise.
55804         (ceilf): Likewise.
55805         (floor): Likewise.
55806         (floorf): Likewise.
55808 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55810         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55811         on both fields and cast pointer to __syscall_ulong_t.
55813         * bits/types.h (__fsword_t): New type.
55814         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55815         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55817         (__FSWORD_T_TYPE): Likewise.
55818         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55819         (__FSWORD_T_TYPE): Likewise.
55820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55821         (__FSWORD_T_TYPE): Likewise.
55822         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55823         (__FSWORD_T_TYPE): Likewise.
55824         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55825         __SWORD_TYPE with __fsword_t.
55826         (statfs64): Likewise.
55828 2012-05-17  David S. Miller  <davem@davemloft.net>
55830         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55832 2012-05-17  Andreas Jaeger  <aj@suse.de>
55834         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55835         warning.
55837 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55839         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55841 2012-05-17  Andreas Jaeger  <aj@suse.de>
55843         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55844         when it is used.
55846 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55848         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55850 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55852         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55853         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55855 2012-05-17  Andreas Jaeger  <aj@suse.de>
55856             Carlos O'Donell  <carlos_odonell@mentor.com>
55858         [BZ #14059]
55859         * sysdeps/x86_64/multiarch/init-arch.h
55860         (bit_YMM_Usable): Rename to...
55861         (bit_AVX_Usable): ... this.
55862         (bit_FMA4_Usable): New macro.
55863         (bit_XMM_state): New macro.
55864         (bit_YMM_state): New macro.
55865         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55866         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55867         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55868         (CPUID_OSXSAVE): New macro.
55869         (CPUID_AVX): New macro.
55870         (CPUID_FMA4): New macro.
55871         (index_YMM_Usable): Rename to...
55872         (index_AVX_Usable): ... this.
55873         (HAS_AVX): Use HAS_ARCH_FEATURE.
55874         (HAS_FMA4): Likewise.
55875         (HAS_YMM_USABLE): Remove.
55876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55877         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55878         are present.
55879         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55880         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55881         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55882         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55883         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55885 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55887         * math/libm-test.c: Support platforms without multiple rounding modes.
55888         * math/bug-nextafter.c: Support platforms without FP exceptions.
55889         * math/bug-nexttoward.c: Likewise.
55890         * math/test-fenv.c: Likewise.
55891         * math/test-misc.c: Likewise.
55892         * stdlib/bug-getcontext.c: Likewise.
55894 2012-05-17  Andreas Jaeger  <aj@suse.de>
55896         * manual/examples/search.c (critter_cmp): Change signature to
55897         avoid warnings.
55898         * manual/string.texi (Collation Functions): Likewise.
55900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55902         * bits/types.h: Fold copyright years.
55903         * bits/typesizes.h: Likewise.
55904         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55908         * time/time.h: Likewise.
55910 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55912         [BZ #208]
55913         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55914         in instead of returning them.  Return void.
55915         (__libc_mallinfo): Accumulate over all arenas.
55916         (__malloc_stats): Adjust for change in int_mallinfo interface.
55918 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55920         [BZ #10375]
55921         * configure.in (NM): Add AC_CHECK_TOOL for it.
55922         (libc_extra_cflags): New substituted variable.
55923         Check for -fstack-protector being used implicitly.
55924         * configure: Regenerated.
55925         * config.make.in (config-extra-cflags): New variable,
55926         gets @libc_extra_cflags@.
55927         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55929         [BZ #10375]
55930         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55931         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55932         * configure: Regenerated.
55933         * config.make.in (CPPUNDEFS): New substituted variable.
55934         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55935         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55936         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55938 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55940         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55941         (mq_attr): Use __syscall_slong_t.
55943 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55945         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55946         Check __x86_64__ instead of __WORDSIZE.
55947         (_STAT_VER_LINUX): Likewise.
55948         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55949         __syscall_ulong_t and __syscall_slong_t.
55950         (stat64): Likewise.
55952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55954         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55958         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55962         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55963         __syscall_ulong_t.
55965         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55966         include <bits/wordsize.h>.  Check __x86_64__ instead of
55967         __WORDSIZE.
55968         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55969         defined.
55970         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55972         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55973         include <bits/wordsize.h>.  Check __x86_64__ instead of
55974         __WORDSIZE.
55975         (user_regs_struct): Use "__extension__ unsigned long long"
55976         instead of "unsigned long" if __x86_64__ is defined.
55977         (user): Likewise.  Pad after pointer field if __ILP32__ is
55978         defined.
55980 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55982         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55983         versions 5 to 9.
55984         * configure: Regenerated.
55985         * manual/install.texi (texinfo): Increase version requirement to
55986         4.5 or later.
55987         * INSTALL: Regenerated.
55989         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55991 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55993         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55995         * sysdeps/x86_64/x32/ffs.c: New file.
55997         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55998         __syscall_ulong_t.
55999         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56000         defined.  Use __syscall_ulong_t.
56001         (shminfo): Use __syscall_ulong_t.
56002         (shm_info): Likewise.
56004         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56005         __syscall_ulong_t.
56007         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56008         <bits/wordsize.h>.
56009         (msgqnum_t): Use __syscall_ulong_t.
56010         (msglen_t): Likewise.
56011         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56012         __syscall_ulong_t.
56014         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56015         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56017         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56019         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56020         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56022         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56023         __syscall_slong_t.
56025         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56026         include <bits/wordsize.h>.  Check __x86_64__ instead of
56027         __WORDSIZE.
56029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56030         "unsigned long long int" if __x86_64__ is defined.
56031         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56033         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56034         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56035         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56037         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56038         <stdint.h>.
56039         (GET_PC): Cast to uintptr_t first.
56040         (GET_FRAME): Likewise.
56041         (GET_STACK): Likewise.
56043         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56044         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56045         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56046         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56047         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56048         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56049         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56050         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56051         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56052         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56053         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56054         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56055         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56056         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56057         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56058         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56059         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56060         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56061         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56062         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56063         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56064         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56065         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56066         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56067         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56068         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56069         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56070         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56071         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56073 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56075         * Makerules (+depfiles): Also collect depfiles from .oS in
56076         $(extra-objs).
56077         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56078         .oS, $(libnldbl-routines)).
56080         * Makerules (native-compile-mkdep-flags): Define.
56081         * sunrpc/Makefile (extra-objs): Add $(addprefix
56082         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56083         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56084         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56085         calling $(make-target-directory).
56087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56089         * bits/types.h (__snseconds_t): Removed.
56090         * time/time.h (struct timespec): Replace __snseconds_t with
56091         __syscall_slong_t.
56092         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56093         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56094         Likewise.
56095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56096         (__SNSECONDS_T_TYPE): Likewise.
56097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56098         (__SNSECONDS_T_TYPE): Likewise.
56099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56100         (__SNSECONDS_T_TYPE): Likewise.
56102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56104         * sysdeps/mach/hurd/bits/typesizes.h
56105         (__SYSCALL_SLONG_TYPE): New macro.
56106         (__SYSCALL_ULONG_TYPE): Likewise.
56108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56110         * bits/types.h (__syscall_slong_t): New type.
56111         (__syscall_ulong_t): Likewise.
56113         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56114         (__SYSCALL_ULONG_TYPE): Likewise.
56115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56116         (__SYSCALL_SLONG_TYPE): Likewise.
56117         (__SYSCALL_ULONG_TYPE): Likewise.
56118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56119         (__SYSCALL_SLONG_TYPE): Likewise.
56120         (__SYSCALL_ULONG_TYPE): Likewise.
56121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56122         (__SYSCALL_SLONG_TYPE): Likewise.
56123         (__SYSCALL_ULONG_TYPE): Likewise.
56125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56127         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56128         Add sigaltstack-offsets.sym.
56129         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56130         <sigaltstack-offsets.h>.
56131         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56132         longjmp_msg pointer.
56133         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56134         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56135         signal stack.
56136         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56138 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56140         * elf/stackguard-macros.h: Remove file.
56141         * sysdeps/generic/stackguard-macros.h: New file.
56142         * sysdeps/i386/stackguard-macros.h: Likewise.
56143         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56144         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56145         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56146         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56147         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56148         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56149         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56150         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56151         <elf/stackguard-macros.h>.
56153         [BZ #14109]
56154         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56155         __aligned__ in attribute.
56156         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56157         (gregset_t): Likewise.
56159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56161         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56162         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56163         * sysdeps/x86_64/x32/Implies-after: New file.
56165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56167         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56168         and access return value for _dl_profile_fixup.  Use R10_LP to
56169         load frame size.
56171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56173         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56177         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56178         * sysdeps/x86_64/x32/sysdep.h: New file.
56180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56182         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56183         * sysdeps/x86_64/setjmp.S: Likewise.
56185 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56188         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56189         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56190         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56191         remove unused global constant.
56193 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56195         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56196         include of <not-cancel.h>.
56198 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56200         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56202 2012-05-15  Jeff Law  <law@redhat.com>
56203             Andreas Jaeger  <aj@suse.de>
56205         [BZ #13594]
56206         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56207         out from...
56208         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56209         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56210         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56211         code changing __hst_map_handle.map.
56213 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56215         * configure.in (sysnames): Look for Implies-before and Implies-after
56216         files.
56217         * configure: Regenerated.
56219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56221         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56222         8-byte data alignment with LP_SIZE alignment.
56224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56226         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56227         into R10_LP.
56229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56231         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56235         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56236         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56237         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56238         Likewise.
56239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56243         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56244         (stackinfo_sub_sp): Likewise.
56246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56248         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56249         RAX_LP.
56251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56253         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56254         into R*_LP.
56256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56258         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56259         sizes into R*_LP.
56261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56263         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56267         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56268         into R11_LP and load __x86_64_shared_cache_size_half into
56269         R8_LP.
56271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56273         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56274         R8_LP.
56276 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56279         logb for POWER7.
56280         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56281         logbf for POWER7.
56282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56283         logbl for POWER7.
56284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56285         powerpc32/power7/fpu/s_logb.c via #include.
56286         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56287         powerpc32/power7/fpu/s_logbf.c via #include.
56288         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56289         powerpc32/power7/fpu/s_logbl.c via #include.
56291 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56293         * README.libm: Remove file.
56295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56297         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56298         count for x32.  Use R*_LP and omit operand-size suffix.
56300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56302         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56303         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56304         * sysdeps/x86_64/x32/shlib-versions: New file.
56306 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56308         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56309         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56310         Use _dl_fatal_printf instead.
56312 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56314         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56315         set if not set by the user.  Do not allow for being unset.
56316         * sysdeps/unix/sysv/linux/configure: Regenerated.
56318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56320         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56321         the `q' suffix from lea and replace .quad with ASM_ADDR.
56323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56326         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56327         instead of $17.
56328         (PTR_DEMANGLE): Likewise.
56330 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56332         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56333         (LP_OP): Likewise.
56334         (ASM_ADDR): Likewise.
56335         (RAX_LP): Likewise.
56336         (RBP_LP): Likewise.
56337         (RBX_LP): Likewise.
56338         (RCX_LP): Likewise.
56339         (RDI_LP): Likewise.
56340         (RSI_LP): Likewise.
56341         (RSP_LP): Likewise.
56342         (R8_LP): Likewise.
56343         (R9_LP): Likewise.
56344         (R10_LP): Likewise.
56345         (R10_LP): Likewise.
56346         (R11_LP): Likewise.
56347         (R12_LP): Likewise.
56348         (R13_LP): Likewise.
56349         (R14_LP): Likewise.
56350         (R15_LP): Likewise.
56352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56354         * sysdeps/x86_64/x32/dl-machine.h: New file.
56356 2012-05-14  Andreas Jaeger  <aj@suse.de>
56358         * manual/Makefile (subdir): Remove export of subdir.
56359         (all): Remove target.
56360         (.PHONY): Remove all from list.
56361         (mkinstalldirs): Remove.
56362         (.PHONY): Remove installdirs from list.
56363         ($(inst_infodir)/libc.info): Use make-target-directory.
56364         (installdirs): Remove.
56365         (subdir_%): Remove.
56366         (glibc-targets): Remove.
56367         (lib): Remove.
56368         (stubs): Remove.
56369         ($(objpfx)stubs ../po/manual.pot): Remove.
56370         ($(objpfx)stamp%): Remove.
56371         (make-target-directory): Remove.
56372         (subdir_install): Remove.
56373         (routines): Remove.
56374         (aux): Remove.
56375         (sources): Remove.
56376         (objects): Remove.
56377         (headers): Remove.
56379         [BZ #13750]
56380         * manual/.gitignore: Remove, it's not needed anymore.
56381         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56382         all files in it.
56383         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56384         directory.
56385         (texis): Renamed to $(objpfx)texis.
56386         (texis-path): New, contains path to generated files.
56387         (chapters.%): Use texis-path for complete path, add extra argument
56388         libc-texinfo.sh.
56389         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56390         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56391         (summary,texi, stamp-summary): Use complete path of
56392         files. Generate files in build dir.
56393         (dir-add.texi): Build in build dir.
56394         (libm-err.texi,stamp-libm-err): Likewise.
56395         (version.texi, stamp-version): Likewise.
56396         (.%c.texi): Likewise.
56397         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56398         (mostlyclean): Remove target.
56399         (realclean): Remove target.
56400         (generated): Add new variable with contents from mostlyclean and
56401         realclean, remove entries duplicated in common-mostlyclean, add
56402         stamp-libm-err and stamp-version.
56403         (generated-dirs): Add libc directory.
56404         ($(inst_infodir)/libc.info): Install files from build dir.
56406         * manual/install.texi (Configuring and compiling): Adjust since
56407         the info files are not part of the tar ball anymore.
56409 2012-05-14  Andreas Jaeger  <aj@suse.de>
56411         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56412         variable.
56414 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56416         [BZ #13717]
56417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56418         to 2.2.0 where earlier.
56419         * sysdeps/unix/sysv/linux/configure: Regenerated.
56420         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56421         Remove conditional code.
56422         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56423         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56424         Remove conditional code.
56425         [!__NR_lchown]: Likewise.
56426         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56427         [__NR_lchown]: Likewise.
56428         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56429         comment referencing __ASSUME_LCHOWN_SYSCALL.
56430         * sysdeps/unix/sysv/linux/i386/sigaction.c
56431         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56432         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56433         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56434         Remove conditional code.
56435         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56436         (__protocol_available): Remove #if 0 code.
56437         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56438         conditional code.
56439         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56440         * sysdeps/unix/sysv/linux/kernel-features.h
56441         (__ASSUME_GETCWD_SYSCALL): Don't define.
56442         (__ASSUME_REALTIME_SIGNALS): Likewise.
56443         (__ASSUME_PREAD_SYSCALL): Likewise.
56444         (__ASSUME_PWRITE_SYSCALL): Likewise.
56445         (__ASSUME_POLL_SYSCALL): Likewise.
56446         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56447         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56448         non-SPARC.
56449         (__ASSUME_SIOCGIFNAME): Don't define.
56450         (__ASSUME_MSG_NOSIGNAL): Likewise.
56451         (__ASSUME_SENDFILE): Define unconditionally.
56452         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56453         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56454         conditional code.
56455         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56456         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56457         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56458         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56459         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56460         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56461         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56463         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56466         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56467         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56469         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56472         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56473         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56475         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56478         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56481         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56484         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56486         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56487         Remove conditional code.
56488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56489         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56490         Remove conditional code.
56491         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56492         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56493         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56494         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56495         Remove conditional code.
56496         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56497         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56498         Remove conditional code.
56499         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56500         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56501         Remove conditional code.
56502         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56503         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56504         Remove conditional code.
56505         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56506         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56507         Remove conditional code.
56508         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56509         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56510         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56511         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56512         * sysdeps/unix/sysv/linux/sigaction.c
56513         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56514         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56515         * sysdeps/unix/sysv/linux/sigpending.c
56516         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56517         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56518         * sysdeps/unix/sysv/linux/sigprocmask.c
56519         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56520         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56521         * sysdeps/unix/sysv/linux/sigsuspend.c
56522         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56523         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56524         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56525         (__libc_missing_rt_sigs): Remove.
56526         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56527         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56528         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56529         Remove conditional code.
56530         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56531         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56532         return 1.
56533         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56534         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56536         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56538 2012-05-14  Andreas Jaeger  <aj@suse.de>
56540         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56541         it's not used in glibc.
56542         (__coshm1): Likewise.
56543         (__acosh1p): Likewise.
56544         (__sgn): Likewise.
56546         * manual/string.texi (Copying and Concatenation): Add missing
56547         variable in concat example.
56548         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56550 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56552         [BZ #14103]
56553         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56554         __builtin_clzl with __builtin_clzll.
56556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56558         [BZ #14104]
56559         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56560         libc_freeres_ptr.
56562 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56564         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56565         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56566         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56567         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56569 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56571         * NEWS: Update ia64 info.
56573 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56575         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56576         used as bcopy.
56578 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56580         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56581         * sysdeps/unix/syscalls.list (dup3): Likewise.
56582         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56583         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56585 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56587         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56588         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56590 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56592         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56593         thread pointer.
56594         (TLS_IE): Use mov/add instead of movq/addq to load thread
56595         pointer.
56596         (TLS_GD_PREFIX): New.
56597         (TLS_GD): Use it.
56599 2012-05-11  David S. Miller  <davem@davemloft.net>
56601         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56602         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56603         (_FPU_SETCW): Likewise.
56605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56607         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56608         is 32-byte aligned.
56610 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56612         [BZ #11837]
56613         * iconvdata/gb18030.c: Update tables.
56614         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56615         characters specially.
56616         (BODY for TO_LOOP): Add encoding of missing ranges.
56618 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56620         [BZ #13673]
56621         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56622         * sysdeps/mach/hurd/dup3.c: Likewise.
56623         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56624         * sysdeps/powerpc/memmove.c:: Likewise.
56626 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56629         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56631 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56633         * elf/elf.h (R_X86_64_RELATIVE64): New.
56634         (R_X86_64_NUM): Updated.
56635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56636         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56637         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56638         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56639         tst-quad1pie tst-quad2pie
56640         (modules-names): Add tst-quadmod1 tst-quadmod2.
56641         ($(objpfx)tst-quad1): New dependency.
56642         ($(objpfx)tst-quad2): Likewise.
56643         ($(objpfx)tst-quad1pie): Likewise.
56644         ($(objpfx)tst-quad2pie): Likewise.
56645         * sysdeps/x86_64/tst-quad1.c: New file.
56646         * sysdeps/x86_64/tst-quad1pie.c: New file.
56647         * sysdeps/x86_64/tst-quad2.c: Likewise.
56648         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56649         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56650         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56651         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56652         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56656         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56657         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56658         * streams/stropts.h (t_scalar_t): Define type.
56660         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56661         (_PATH_PRESERVE): Set to "/var/lib".
56662         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56664         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56665         instead of int.
56667         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56668         if __dir_mkfile succeeded.
56670         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56671         checking for _hurd_dtablesize.  Unlock it right after having
56672         finished _hurd_dtable allocation.
56674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56676         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56677         * sysdeps/mach/hurd/configure: Regenerated.
56678         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56679         special-casing to...
56680         * sysdeps/gnu/configure.in: ... this new file.
56681         * sysdeps/unix/sysv/linux/configure: Regenerated.
56682         * sysdeps/gnu/configure: New generated file.
56684         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56685         for Linux: use nsec instead of usec, as well as:
56686         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56687         members of type struct timespec.
56688         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56689         New macros.
56690         (struct stat64): Likewise.
56691         (_STATBUF_ST_NSEC): New macro.
56692         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56694         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56695         __strtoul_internal rather than strtoul.
56697 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56699         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56700         and reject them.
56702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56704         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56705         which preserves existing values.
56706         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56708 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56710         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56711         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56712         greater than FD_SETSIZE.
56714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56716         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56717         allocated, call __vm_protect to finish enabling the existing space, and
56718         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56719         allocate the remainder.
56721 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56723         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56724         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56728         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56729         sysdeps/mach/hurd/readlink.c.
56731         * posix/tst-sysconf.c (posix_options): Only use
56732         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56733         _POSIX_SYNCHRONIZED_IO when they are defined
56734         * sysdeps/mach/hurd/bits/posix_opt.h:
56735         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56736         (_XOPEN_REALTIME): Undefine macro.
56737         (_XOPEN_REALTIME_THREADS): Undefine macro.
56738         (_XOPEN_SHM): Undefine macro.
56739         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56740         macro to -1.
56741         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56742         macro to -1.
56743         (_POSIX_ASYNC_IO): Undefine macro.
56744         (_POSIX_PRIORITIZED_IO): Undefine macro.
56745         (_POSIX_SPIN_LOCKS): Define macro to -1.
56747         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56748         SA_NODEFER, SA_RESETHAND.
56749         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56750         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56751         F_DUPFD_CLOEXEC.
56753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56755         * elf/Makefile (pldd-modules): Define unconditionally.
56757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56759         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56761 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56763         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56764         Return ENOENT when name is empty.
56765         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56769         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56771         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56775         Fix mlock in all cases except non-readable pages.
56776         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56777         instead of VM_PROT_ALL as parameter to __vm_wire function.
56779         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56780         (__mkdir): When path is `/', just fail with EEXIST.
56781         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56785         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56786         <sys/uio.h> (for writev).
56787         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56788         and <sys/param.h> (for MIN).
56790 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56792         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56793         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56794         if interrupted.
56796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56798         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56799         Depend on against $(link-rpcuserlibs).
56801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56803         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56804         (__libc_stack_end): Do not use attribute_relro.
56805         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56806         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56807         to libthread-provided value.
56808         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56809         attribute_relro.
56811 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56813         [BZ #3748]
56814         * bits/libc-lock.h (__libc_once_get): New macro.
56815         * sysdeps/mach/bits/libc-lock.h: Likewise.
56816         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56817         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56818         instead of using implementation details.
56820         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56821         * libio/freopen.c: Likewise.
56822         * libio/freopen64.c: Likewise.
56823         * misc/syslog.c: Likewise.
56824         * nscd/connections.c: Likewise.
56825         * nscd/netgroupcache.c: Likewise.
56826         * sysdeps/posix/getcwd.c: Likewise.
56828 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56830         * math/w_ilogbf.c: Add #include <limits.h>.
56832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56834         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56835         path instead of returning without unlocking.
56837         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56838         immediate-write ioctls.
56839         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56843         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56844         __builtin_frame_address instead of making assumptions about the
56845         location of the return address relative to DATA.  Force early load of
56846         the return address.
56847         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56848         __builtin_frame_address.
56850         dup3 for GNU Hurd.
56851         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56852         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56853         implement dup3 and do some further code clean-ups.
56854         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56855         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56859         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56861         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56862         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56863         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56864         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56865         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56866         d->port.lock.
56868         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56869         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56870         when handler == SIG_ERR, not when handler != SIG_ERR.
56872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56874         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56875         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56876         definitions.
56878         accept4 for GNU Hurd.
56879         * include/sys/socket.h (__libc_accept4): New prototype.
56880         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56881         to implement __libc_accept4.
56882         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56883         __libc_accept4.
56884         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56886         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56887         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56888         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56889         signal-defines.sym.
56891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56893         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56895 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56897         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56898         assertion on O_CLOEXEC flag.
56899         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56900         * hurd/intern-fd.c: Likewise.
56901         * hurd/port2fd.c: Likewise.
56903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56905         [BZ #3906]
56906         * bits/in.h (IPV6_PKTINFO): Define new macro.
56907         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56909 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56911         [BZ #13954]
56912         [BZ #13955]
56913         [BZ #13956]
56914         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56915         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56916         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56917         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56918         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56919         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56920         * math/libm-test.inc (logb_test) : Additional logb tests.
56922 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56923             Andreas Jaeger  <aj@suse.de>
56925         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56926         * configure: Regenerated.
56927         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56928         * config.make.in (link-obsolete-rpc): New substituted variable.
56929         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56930         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56931         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56932         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56933         so that libc.a contains the symbols.
56934         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56935         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56936         * sunrpc/auth_none.c: Likewise.
56937         * sunrpc/auth_unix.c: Likewise.
56938         * sunrpc/authdes_prot.c: Likewise.
56939         * sunrpc/authuxprot.c: Likewise.
56940         * sunrpc/clnt_gen.c: Likewise.
56941         * sunrpc/clnt_perr.c: Likewise.
56942         * sunrpc/clnt_raw.c: Likewise.
56943         * sunrpc/clnt_simp.c: Likewise.
56944         * sunrpc/clnt_tcp.c: Likewise.
56945         * sunrpc/clnt_udp.c: Likewise.
56946         * sunrpc/clnt_unix.c: Likewise.
56947         * sunrpc/des_crypt.c: Likewise.
56948         * sunrpc/des_soft.c: Likewise.
56949         * sunrpc/get_myaddr.c: Likewise.
56950         * sunrpc/key_call.c: Likewise.
56951         * sunrpc/key_prot.c: Likewise.
56952         * sunrpc/netname.c: Likewise.
56953         * sunrpc/pm_getmaps.c: Likewise.
56954         * sunrpc/pm_getport.c: Likewise.
56955         * sunrpc/pmap_clnt.c: Likewise.
56956         * sunrpc/pmap_prot.c: Likewise.
56957         * sunrpc/pmap_prot2.c: Likewise.
56958         * sunrpc/pmap_rmt.c: Likewise.
56959         * sunrpc/publickey.c: Likewise.
56960         * sunrpc/rpc_cmsg.c: Likewise.
56961         * sunrpc/rpc_common.c: Likewise.
56962         * sunrpc/rpc_dtable.c: Likewise.
56963         * sunrpc/rpc_prot.c: Likewise.
56964         * sunrpc/rpc_thread.c: Likewise.
56965         * sunrpc/rtime.c: Likewise.
56966         * sunrpc/svc.c: Likewise.
56967         * sunrpc/svc_auth.c: Likewise.
56968         * sunrpc/svc_raw.c: Likewise.
56969         * sunrpc/svc_run.c: Likewise.
56970         * sunrpc/svc_tcp.c: Likewise.
56971         * sunrpc/svc_udp.c: Likewise.
56972         * sunrpc/svc_unix.c: Likewise.
56973         * sunrpc/svcauth_des.c: Likewise.
56974         * sunrpc/xcrypt.c: Likewise.
56975         * sunrpc/xdr.c: Likewise.
56976         * sunrpc/xdr_array.c: Likewise.
56977         * sunrpc/xdr_float.c: Likewise.
56978         * sunrpc/xdr_intXX_t.c: Likewise.
56979         * sunrpc/xdr_mem.c: Likewise.
56980         * sunrpc/xdr_rec.c: Likewise.
56981         * sunrpc/xdr_ref.c: Likewise.
56982         * sunrpc/xdr_sizeof.c: Likewise.
56983         * sunrpc/xdr_stdio.c: Likewise.
56985 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56987         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56988         change.  Update copyright years.
56990 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56992         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56994 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56995             Joseph Myers  <joseph@codesourcery.com>
56996             Paul Pluzhnikov  <ppluzhnikov@google.com>
56998         [BZ #14012]
56999         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57000         requiring rpcgen.
57001         [cross-compiling] (extra-libs): Likewise.
57002         [cross-compiling] (extra-libs-others): Likewise.
57003         [cross-compiling] (librpcsvc-routines): Likewise.
57004         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57005         [cross-compiling] (omit-deps): Likewise.
57006         (sunrpc-CPPFLAGS): New variable.
57007         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57008         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57009         (cross-rpcgen-objs): New variable.
57010         (extra-objs): Append $(cross-rpcgen-objs).
57011         ($(cross-rpcgen-objs)): New rule.
57012         ($(objpfx)cross-rpcgen): Likewise.
57013         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57014         comment.
57015         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57016         ($(objpfx)x%.stmp): Likewise.
57017         * sunrpc/proto.h [IS_IN_build] (_): Define.
57018         [IS_IN_build] (_libc_intl_domainname): Likewise.
57020 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57022         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57023         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57024         and R_X86_64_TPOFF64.
57026 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57028         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57029         sysdeps/unix/sysv/syscalls.list.
57030         (stime): Likewise.
57031         (utime): Likewise.
57032         * sysdeps/unix/sysv/syscalls.list: Remove file.
57034 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57036         [BZ #3440]
57037         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57038         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57039         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57040         (__LC_IDENTIFICATION): Make these macros useful in #if
57041         expressions, as required by C99.
57043 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57045         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57046         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57047         after this.
57049 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57051         * stdlib/longlong.h: Updated from GCC.
57053 2012-05-09  Andreas Jaeger  <aj@suse.de>
57055         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57056         default is first entry.
57057         (run_mode): Set type.
57058         (main): Remove informal message about syslog.
57059         (options): Fix typo.
57061         [BZ #14053]
57062         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57063         to asm.
57064         (lrint): Likewise.
57065         (llrintf): Likewise.
57066         (llrint): Likewise.
57067         (rint): Likewise.
57068         (rintf): Likewise.
57069         (nearbyint): Likewise.
57070         (nearbyintf): Likewise.
57072 2012-05-09  Andreas Jaeger  <aj@suse.de>
57073             Pedro Alves  <palves@redhat.com>
57075         * nscd/nscd.c (run_mode): Use enum.
57076         (main): Cleanup coding style issue.
57078 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57079             Andreas Jaeger  <aj@suse.de>
57081         * nscd/nscd.c (go_background): Replaced with...
57082         (run_mode): ... this.
57083         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57084         (options): Add -F --foreground.
57085         (main): Implement it.
57086         (parse_opt): Parse it.
57088 2012-05-09  Andreas Jaeger  <aj@suse.de>
57090         [BZ #14083]
57091         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57092         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57093         -Wconversion warning.
57094         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57095         Likewise.
57097 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57099         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57100         == 0.
57101         (LC_ALL): Use macro-int-constant.
57102         (LC_COLLATE): Likewise.
57103         (LC_CTYPE): Likewise.
57104         (LC_MESSAGES): Likewise.
57105         (LC_MONETARY): Likewise.
57106         (LC_NUMERIC): Likewise.
57107         (LC_TIME): Likewise.
57108         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57109         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57110         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57111         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57112         Specify type.
57113         [C99-based standards] (float_t): Expect type.
57114         [C99-based standards] (double_t): Expect type.
57115         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57116         type.
57117         [C99-based standards] (HUGE_VALL): Likewise.
57118         [C99-based standards] (INFINITY): Likewise.
57119         [C99-based standards] (NAN): Likewise.
57120         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57121         [C99-based standards] (FP_NAN): Likewise.
57122         [C99-based standards] (FP_NORMAL): Likewise.
57123         [C99-based standards] (FP_SUBNORMAL): Likewise.
57124         [C99-based standards] (FP_ZERO): Likewise.
57125         [C99-based standards] (FP_FAST_FMA): Use
57126         optional-macro-int-constant.  Specify type.  Require == 1.
57127         [C99-based standards] (FP_FAST_FMAF): Likewise.
57128         [C99-based standards] (FP_FAST_FMAL): Likewise.
57129         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57130         [C99-based standards] (FP_ILOGBNAN): Likewise.
57131         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57132         Specify type.
57133         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57134         [C99-based standards] (math_errhandling): Specify type.
57135         [ISO99 || ISO11] (signgam): Do not allow.
57136         [non-C99-based standards] (copysignf): Do not allow.
57137         [non-C99-based standards] (exp2f): Likewise.
57138         [non-C99-based standards] (log2f): Likewise.
57139         [non-C99-based standards] (modff): Allow.
57140         [non-C99-based standards] (erff): Do not allow.
57141         [non-C99-based standards] (erfcf): Likewise.
57142         [non-C99-based standards] (gammaf): Likewise.
57143         [non-C99-based standards] (hypotf): Likewise.
57144         [non-C99-based standards] (j0f): Likewise.
57145         [non-C99-based standards] (j1f): Likewise.
57146         [non-C99-based standards] (jnf): Likewise.
57147         [non-C99-based standards] (lgammaf): Likewise.
57148         [non-C99-based standards] (tgammaf): Likewise.
57149         [non-C99-based standards] (y0f): Likewise.
57150         [non-C99-based standards] (y1f): Likewise.
57151         [non-C99-based standards] (ynf): Likewise.
57152         [non-C99-based standards] (isnanf): Likewise.
57153         [non-C99-based standards] (acoshf): Likewise.
57154         [non-C99-based standards] (asinhf): Likewise.
57155         [non-C99-based standards] (atanhf): Likewise.
57156         [non-C99-based standards] (cbrtf): Likewise.
57157         [non-C99-based standards] (expm1f): Likewise.
57158         [non-C99-based standards] (ilogbf): Likewise.
57159         [non-C99-based standards] (log1pf): Likewise.
57160         [non-C99-based standards] (logbf): Likewise.
57161         [non-C99-based standards] (nextafterf): Likewise.
57162         [non-C99-based standards] (remainderf): Likewise.
57163         [non-C99-based standards] (rintf): Likewise.
57164         [non-C99-based standards] (scalbf): Likewise.
57165         [non-C99-based standards] (copysignl): Likewise.
57166         [non-C99-based standards] (exp2l): Likewise.
57167         [non-C99-based standards] (log2l): Likewise.
57168         [non-C99-based standards] (modfl): Allow.
57169         [non-C99-based standards] (erfl): Do not allow.
57170         [non-C99-based standards] (erfcl): Likewise.
57171         [non-C99-based standards] (gammal): Likewise.
57172         [non-C99-based standards] (hypotl): Likewise.
57173         [non-C99-based standards] (j0l): Likewise.
57174         [non-C99-based standards] (j1l): Likewise.
57175         [non-C99-based standards] (jnl): Likewise.
57176         [non-C99-based standards] (lgammal): Likewise.
57177         [non-C99-based standards] (tgammal): Likewise.
57178         [non-C99-based standards] (y0l): Likewise.
57179         [non-C99-based standards] (y1l): Likewise.
57180         [non-C99-based standards] (ynl): Likewise.
57181         [non-C99-based standards] (isnanl): Likewise.
57182         [non-C99-based standards] (acoshl): Likewise.
57183         [non-C99-based standards] (asinhl): Likewise.
57184         [non-C99-based standards] (atanhl): Likewise.
57185         [non-C99-based standards] (cbrtl): Likewise.
57186         [non-C99-based standards] (expm1l): Likewise.
57187         [non-C99-based standards] (ilogbl): Likewise.
57188         [non-C99-based standards] (log1pl): Likewise.
57189         [non-C99-based standards] (logbl): Likewise.
57190         [non-C99-based standards] (nextafterl): Likewise.
57191         [non-C99-based standards] (remainderl): Likewise.
57192         [non-C99-based standards] (rintl): Likewise.
57193         [non-C99-based standards] (scalbl): Likewise.
57194         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57195         [non-C99-based standards] (FP_*): Do not allow.
57196         [C99-based standards] (FP_*): Change to
57197         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57198         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57199         allow.
57200         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57201         (SIG_ERR): Likewise.
57202         [X/Open-based standards] (SIG_HOLD): Likewise.
57203         (SIG_IGN): Likewise.
57204         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57205         positive value.
57206         (SIGFPE): Likewise.
57207         (SIGILL): Likewise.
57208         (SIGINT): Likewise.
57209         (SIGSEGV): Likewise.
57210         (SIGTER): Likewise.
57211         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57212         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57213         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57214         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57215         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57216         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57217         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57218         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57219         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57220         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57221         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57222         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57223         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57224         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57225         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57226         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57227         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57228         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57229         [X/Open-based standards] (SIGTRAP): Likewise.
57230         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57231         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57232         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57233         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57234         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57235         allow.
57237 2012-05-08  Ian Wienand  <ianw@vmware.com>
57239         [BZ #14080]
57240         * time/tzset.c (__tzset_parse_tz): Update default rules for
57241         daylight time changes in the Energy Policy Act of 2005.
57243 2012-05-09  Andreas Jaeger  <aj@suse.de>
57245         [BZ #13983]
57246         * elf/ldconfig.c (parse_conf): Change string to make clear that
57247         ldconfig only issued a warning if ld.so.conf does not exist.
57249 2012-05-08  David S. Miller  <davem@davemloft.net>
57251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57252         movxtod instead of popping the value on the stack.
57254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57256 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57258         * config.h.in: Add HAVE_ARM_PCS_VFP.
57260 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57262         [BZ #13979]
57263         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57264         checking but the checks are disabled for any reason.
57266 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57268         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57269         and ELF64_R_TYPE with ELFW(R_TYPE).
57271 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57273         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57274         (ulimit): Likewise.
57276         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57277         (settimeofday): Likewise.
57279 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57281         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57282         a struct th_u2 inside the union, and move tu_block/tu_code into
57283         a new th_u3 union of tu_block/tu_code inside of that.  Move
57284         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57285         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57286         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57287         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57288         (th_stuff): Change to th_u1.tu_stuff.
57289         (th_data): Define.
57290         (th_msg): Change to th_u1.th_u2.tu_data.
57292 2012-05-07  David S. Miller  <davem@davemloft.net>
57294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57296         [BZ #14074]
57297         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57298         (SETUP_PIC_REG): Use it.
57299         (SETUP_PIC_REG_LEAF): Use it.
57301 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57303         [BZ #13885]
57304         [BZ #13923]
57305         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57306         USE_AS_EXPM1L.
57307         (EXPL_FINITE): Likewise.
57308         (FLDLOG): Likewise.
57309         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57310         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57311         e_expl.S.
57312         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57313         USE_AS_EXPM1L.
57314         (EXPL_FINITE): Likewise.
57315         (FLDLOG): Likewise.
57316         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57317         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57318         e_expl.S.
57319         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57320         test of -max_value argument for long double.
57321         * sysdeps/i386/fpu/libm-test-ulps: Update.
57322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57324 2012-05-06  David S. Miller  <davem@davemloft.net>
57326         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57327         quad soft-float symbols whose references which are compiler
57328         generated.
57329         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57331 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57333         [BZ #13884]
57334         [BZ #13914]
57335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57336         USE_AS_EXP10L.
57337         (EXPL_FINITE): Likewise.
57338         (FLDLOG): Likewise.
57339         (c0): Likewise.
57340         (c1): Likewise.
57341         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57342         Adjust comments for base varying.
57343         (__expl_finite): Change alias to EXPL_FINITE.
57344         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57345         e_expl.S.
57346         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57347         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57348         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57349         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57351         USE_AS_EXP10L.
57352         (EXPL_FINITE): Likewise.
57353         (FLDLOG): Likewise.
57354         (c0): Likewise.
57355         (c1): Likewise.
57356         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57357         Adjust comments for base varying.
57358         (__expl_finite): Change alias to EXPL_FINITE.
57359         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57360         tests for bugs.
57361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57363         [BZ #14064]
57364         * math/libm-test.inc (check_float_internal): Correct ulp
57365         calculation for subnormal expected results.
57367 2012-05-06  Andreas Jaeger  <aj@suse.de>
57369         * Makeconfig (+math-flags): New, set to -frounding-math.
57370         (+cflags): Add +math-flags so that all of glibc gets compiled with
57371         it.
57373         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57375 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57377         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57378         Disable one test.
57380         [BZ #13787]
57381         [BZ #13922]
57382         [BZ #14036]
57383         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57384         (__ieee754_expl): Allow for and saturate large arguments.
57385         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57386         (u_threshold): Likewise.
57387         (__exp): Call __ieee754_exp before checking for overflow and
57388         underflow.
57389         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57390         (u_threshold): Likewise.
57391         (__expf): Call __ieee754_expf before checking for overflow and
57392         underflow.
57393         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57394         (u_threshold): Likewise.
57395         (__expl): Call __ieee754_expl before checking for overflow and
57396         underflow.
57397         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57398         (__ieee754_expl): Allow for and saturate large arguments.
57399         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57400         missing overflow exception on overflow.
57401         (expm1_test): Do not allow missing overflow exception on overflow.
57403         * sysdeps/i386/fpu/e_expl.c: Move to ...
57404         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57405         rather than using inline asm.
57406         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57407         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57408         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57410         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57411         (nice): Likewise.
57412         (poll): Likewise.
57413         (signal): Likewise.
57414         (time): Likewise.
57415         (times): Likewise.
57417 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57419         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57420         sysdeps/unix/common/syscalls.list.
57421         (fchmod): Likewise.
57422         (fchown): Likewise.
57423         (ftruncate): Likewise.
57424         (getrusage): Likewise.
57425         (gettimeofday): Likewise.
57426         (setpgid): Likewise.
57427         (setregid): Likewise.
57428         (setreuid): Likewise.
57429         (sigaction): Likewise.
57430         (truncate): Likewise.
57431         (vhangup): Likewise.
57432         * sysdeps/unix/common/syscalls.list: Remove file.
57433         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57434         * sysdeps/unix/sysv/linux/Implies: Likewise.
57436 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57438         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57440         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57441         Moved to ...
57442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57443         Here.
57444         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57445         to ...
57446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57447         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57448         to ...
57449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57450         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57451         to ...
57452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57453         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57454         to ...
57455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57456         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57457         to ...
57458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57459         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57460         to ...
57461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57462         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57463         to ...
57464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57465         Here.
57466         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57467         to ...
57468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57469         Here.
57470         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57471         to ...
57472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57473         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57474         Moved to ...
57475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57476         Here.
57477         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57478         to ...
57479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57481 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57483         * sysdeps/unix/common/bits/dirent.h: Remove file.
57484         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57486         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57487         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57488         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57489         * sysdeps/unix/bsd/isatty.c: Likewise.
57490         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57491         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57492         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57494 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57496         [BZ #13563]
57497         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57498         long double comparison inaccuracies.
57499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57502 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57504         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57505         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57507 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57509         [BZ #14049]
57510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57511         nonzero digits before rounding a hex value.
57512         * stdlib/tst-strtod.c (tests): Add another test.
57514 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57516         * sysdeps/s390/fpu/libm-test-ulps: Update.
57518 2012-05-03  Andreas Jaeger  <aj@suse.de>
57520         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57521         does not get optimized out.
57522         (malloc_opt_barrier): New.
57524 2012-05-03  Andreas Jaeger  <aj@suse.de>
57525             Roland McGrath  <roland@hack.frob.com>
57527         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57528         intermediate file deletion.
57529         (generated): Add .symlist files.
57531 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57533         [BZ #13775]
57534         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57535         Redirect under this condition.
57536         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57537         [__USE_GNU] (__dprintf_chk): Not under this condition.
57538         [__USE_GNU] (__vdprintf_chk): Likewise.
57539         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57540         under this condition.
57541         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57542         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57543         [__USE_XOPEN2K8] (vdprintf): Likewise.
57544         [__USE_GNU] (__dprintf_chk): Not under this condition.
57545         [__USE_GNU] (__vdprintf_chk): Likewise.
57546         [__USE_GNU] (dprintf): Likewise.
57547         [__USE_GNU] (vdprintf): Likewise.
57549 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57551         * elf/Makefile (common-generated): Set this instead of generated for
57552         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57553         $(all-built-dso)-derived lists.
57555 2012-05-03  Andreas Jaeger  <aj@suse.de>
57557         * sysdeps/i386/fpu/libm-test-ulps: Update.
57559         * FAQ: Removed.
57560         * FAQ.in: Likewise.
57561         * scripts/gen-FAQ.pl: Likewise.
57562         * manual/install.texi (Installation): Point to online location of
57563         FAQ.
57564         * Makefile (files-for-dist): Remove FAQ.
57565         (FAQ): Remove.
57567 2012-05-02  Allan McRae  <allan@archlinux.org>
57569         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57570         (LDFLAGS-reldepmod5.so): Likewise.
57571         (LDFLAGS-reldep6mod1.so): Likewise.
57572         (LDFLAGS-reldep6mod4.so): Likewise.
57573         (LDFLAGS-reldep8mod3.so): Likewise.
57574         (LDFLAGS-unload4mod1.so): Likewise.
57575         (LDFLAGS-unload4mod2.so): Likewise.
57576         (LDFLAGS-tst-initorder): Likewise.
57577         (LDFLAGS-tst-initordera2.so): Likewise.
57578         (LDFLAGS-tst-initordera3.so): Likewise.
57579         (LDFLAGS-tst-initordera4.so): Likewise.
57580         (LDFLAGS-tst-initorderb2.so): Likewise.
57581         (LDFLAGS-noload): Likewise.
57582         (LDFLAGS-next): Likewise.
57583         (LDFLAGS-order2mod1.so): Likewise.
57584         (LDFLAGS-order2mod2.so): Likewise.
57585         (LDFLAGS-tst-initorder2): Likewise.
57586         (LDFLAGS-tst-initorder2a.so): Likewise.
57587         (LDFLAGS-tst-initorder2b.so): Likewise.
57588         (LDFLAGS-tst-initorder2c.so): Likewise.
57589         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57591 2012-05-02  David S. Miller  <davem@davemloft.net>
57593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57595 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57597         [BZ #14055]
57598         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57600 2012-05-02  Andreas Jaeger  <aj@suse.de>
57602         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57603         since we manipulate rounding mode.
57604         (CPPFLAGS-test-idouble.c): Likewise.
57605         (CPPFLAGS-test-ifloat.c): Likewise.
57606         (CFLAGS-test-ldouble.c): Likewise.
57607         (CFLAGS-test-double.c): Likewise.
57608         (CFLAGS-test-float.c): Likewise.
57609         (CFLAGS-test-misc.c): Likewise.
57610         (CFLAGS-test-test-fenv.c): Likewise.
57612 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57614         [BZ #2550]
57615         [BZ #2570]
57616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57617         comparisons to determine direction to adjust input.
57619 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57621         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57622         output to the target.
57624         * scripts/localplt.awk: New file.
57625         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57626         (check-localplt-CFLAGS): Variable removed.
57627         ($(all-built-dso:=.jmprel)): New static pattern rule.
57628         (generated): Add those targets.
57629         (localplt-built-dso): New variable.
57630         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57632         * elf/check-localplt.c: File removed.
57634         * scripts/check-execstack.awk: New file.
57635         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57636         (check-execstack-CFLAGS): Variable removed.
57637         ($(objpfx)check-execstack.h): Target removed.
57638         ($(objpfx)execstack-default): New target.
57639         (generated): Add that instead of check-execstack.h.
57640         ($(all-built-dso:=.phdr)): New static pattern rule.
57641         (generated): Add those targets.
57642         * elf/check-execstack.c: File removed.
57644         * scripts/check-textrel.awk: New file.
57645         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57646         (check-textrel-CFLAGS): Variable removed.
57647         (all-built-dso): Use := to define.o
57648         ($(all-built-dso:=.dyn)): New static pattern rule.
57649         (generated): Add those targets.
57650         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57651         * config.make.in (READELF): New substituted variable.
57652         * elf/check-textrel.c: File removed.
57654 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57656         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57657         allow.
57658         * conform/data/ctype.h-data [C99-based standards] (isblank):
57659         Expect function.
57660         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57661         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57662         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57663         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57664         Specify type.  Require positive value.
57665         (EILSEQ): Likewise.
57666         (ERANGE): Likewise.
57667         [ISO || POSIX] (EILSEQ): Do not expect.
57668         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57669         Specify type.  Require positive value.
57670         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57671         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57672         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57673         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57674         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57675         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57676         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57677         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57678         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57679         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57680         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57681         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57682         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57683         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57684         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57685         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57686         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57687         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57688         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57689         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57690         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57691         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57692         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57693         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57694         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57695         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57696         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57697         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57698         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57699         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57700         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57701         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57702         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57703         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57704         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57705         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57706         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57707         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57708         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57709         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57710         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57711         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57712         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57713         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57714         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57715         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57716         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57717         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57718         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57719         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57720         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57721         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57722         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57723         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57724         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57725         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57726         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57727         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57728         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57729         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57730         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57731         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57732         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57733         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57734         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57735         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57736         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57737         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57738         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57739         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57740         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57741         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57742         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57743         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57744         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57745         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57746         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57747         Require >= 2.
57748         (FLT_ROUNDS): Expect as macro, not constant.
57749         (FLT_MANT_DIG): Use macro-int-constant.
57750         (DBL_MANT_DIG): Likewise.
57751         (LDBL_MANT_DIG): Likewise.
57752         (FLT_DIG): Likewise.
57753         (DBL_DIG): Likewise.
57754         (LDBL_DIG): Likewise.
57755         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57756         (DBL_MIN_EXP): Likewise.
57757         (LDBL_MIN_EXP): Likewise.
57758         (FLT_MAX_EXP): Use macro-int-constant.
57759         (DBL_MAX_EXP): Likewise.
57760         (LDBL_MAX_EXP): Likewise.
57761         (FLT_MAX_10_EXP): Likewise.
57762         (DBL_MAX_10_EXP): Likewise.
57763         (LDBL_MAX_10_EXP): Likewise.
57764         (FLT_MAX): Use macro-constant.
57765         (DBL_MAX): Likewise.
57766         (LDBL_MAX): Likewise.
57767         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57768         (DBL_EPSILON): Likewise.
57769         (LDBL_EPSILON): Likewise.
57770         (FLT_MIN): Likewise.
57771         (DBL_MIN): Likewise.
57772         (LDBL_MIN): Likewise.
57773         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57774         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57775         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57776         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57777         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57778         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57779         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57780         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57781         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57782         [ISO11] (FLT_TRUE_MIN): Likewise.
57783         [ISO11] (LDBL_TRUE_MIN): Likewise.
57784         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57785         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57786         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57787         (SCHAR_MAX): Likewise.
57788         (UCHAR_MAX): Likewise.
57789         (CHAR_MIN): Likewise.
57790         (CHAR_MAX): Likewise.
57791         (MB_LEN_MAX): Use macro-int-constant.
57792         (SHRT_MIN): Use macro-int-constant.  Specify type.
57793         (SHRT_MAX): Likewise.
57794         (USHRT_MAX): Likewise.
57795         (INT_MAX): Likewise.
57796         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57797         bound negative.
57798         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57799         bound with "U".
57800         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57801         bound with "L".
57802         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57803         bound negative.  Suffix upper bound with "L".
57804         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57805         bound with "UL".
57806         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57807         Specify type.
57808         [C99-based standards] (LLONG_MAX): Likewise.
57809         [C99-based standards] (ULLONG_MAX): Likewise.
57810         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57811         == 0.
57812         [ISO11] (max_align_t): Require type.
57813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57815         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57816         from $CFLAGS, without defining away __attribute__ calls.
57817         (checknamespace): Use $CFLAGS_namespace.
57819         * conform/conformtest.pl (@keywords): Only include C99 keywords
57820         for standards based on C99 or C11.
57822         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57823         Disable tests.
57824         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57825         UNIX98]: Likewise.
57827         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57828         usability of symbols in #if.
57830         * conform/conformtest.pl: If macro or constant types start
57831         "promoted:", expect the symbol to be of the following type
57832         promoted by the integer promotions.
57834         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57835         in one place.  Also handle "macro-constant".
57837         * conform/conformtest.pl: Only accept expected macro values with
57838         "==".  Parse all "macro" lines in one place.
57839         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57841         * conform/conformtest.pl: Handle braced types on "constant" lines
57842         instead of handling "typed-constant".
57843         * conform/data/signal.h-data: Use "constant" instead of
57844         "typed-constant".
57846         * conform/conformtest.pl: Handle "optional-" at start of lines in
57847         one place rather than duplicating several cases.  Handle each
57848         format of "macro" line with initial "optional-".
57850         * conform/conformtest.pl: Only accept expected constant or
57851         optional-constant values with "==".  Parse all "constant" lines in
57852         one place.  Parse all "optional-constant" lines in one place.
57853         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57854         * conform/data/fmtmsg.h-data: Likewise.
57855         * conform/data/netinet/in.h-data: Likewise.
57856         * conform/data/tar.h-data: Likewise.
57857         * conform/data/limits.h-data: Use "==" form on "constant" and
57858         "optional-constant" lines.
57860         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57861         Use -std=c99 for XOPEN2K.
57862         (@knownproblems): Remove.
57863         (newtoken): Don't check %isknown.
57865         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57866         Do not expect macro.
57867         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57868         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57869         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57870         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57871         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57872         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57873         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57874         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57875         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57876         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57877         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57878         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57879         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57880         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57881         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57882         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57883         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57884         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57885         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57886         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57887         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57888         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57889         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57890         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57891         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57892         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57893         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57894         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57895         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57896         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57897         [XPG3] (acosh): Likewise.
57898         [XPG3] (asinh): Likewise.
57899         [XPG3] (atanh): Likewise.
57900         [XPG3] (cbrt): Likewise.
57901         [XPG3] (expm1): Likewise.
57902         [XPG3] (ilogb): Likewise.
57903         [XPG3] (log1p): Likewise.
57904         [XPG3] (logb): Likewise.
57905         [XPG3] (nextafter): Likewise.
57906         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57907         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57908         [XPG3] (remainder): Likewise.
57909         [XPG3] (rint): Likewise.
57910         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57911         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57912         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57913         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57914         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57915         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57916         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57917         [UNIX98 || XOPEN2K] (scalb): Expect.
57918         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57919         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57920         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57921         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57922         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57923         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57924         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57925         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57926         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57927         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57928         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57929         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57930         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57931         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57932         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57933         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57934         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57935         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57936         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57937         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57938         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57939         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57941         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57942         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57943         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57946         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57969         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57970         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57971         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57972         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57975         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57976         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57977         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57981         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57984         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58056         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58057         _XOPEN_SOURCE_EXTENDED for XPG4.
58059         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58061         * Makeconfig (localtime): Remove variable.
58062         (inst_localtime-file): Likewise.
58064 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58067         Update.
58068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58069         Update.
58070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58071         Update.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58073         Update.
58074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58075         Update.
58076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58077         Update.
58078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58079         Update.
58080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58081         Update.
58082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58083         Update.
58085 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58087         [BZ #2550]
58088         [BZ #2570]
58089         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58090         comparisons to determine direction to adjust input.
58091         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58092         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58094         Likewise.
58095         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58096         Likewise.
58097         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58098         Likewise.
58099         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58100         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58101         Likewise.
58102         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58103         Likewise.
58104         * math/libm-test.inc (nexttoward_test): Add more tests.
58106 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58108         [BZ #14040]
58109         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58110         in version GLIBC_2.1, not GLIBC_2.0.
58111         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58112         Likewise.
58114 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58116         [BZ #13942]
58117         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58118         (1 - x) * (1 + x).
58119         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58120         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58121         * math/libm-test.inc (acos_test): Add more tests.
58122         (asin_test): Likewise.
58123         * sysdeps/i386/fpu/libm-test-ulps: Update.
58124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58126         [BZ #14034]
58127         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58128         of square root.
58129         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58130         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58131         * math/libm-test.inc (acos_test_tonearest): New function.
58132         (acos_test_towardzero): Likewise.
58133         (acos_test_downward): Likewise.
58134         (acos_test_upward): Likewise.
58135         (asin_test_tonearest): Likewise.
58136         (asin_test_towardzero): Likewise.
58137         (asin_test_downward): Likewise.
58138         (asin_test_upward): Likewise.
58139         (main): Call the new functions.
58140         * sysdeps/i386/fpu/libm-test-ulps: Update.
58141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58143         [BZ #13884]
58144         [BZ #13924]
58145         * math/e_exp10.c: Include <float.h>.
58146         (__ieee754_exp10): Handle underflow here rather than multiplying
58147         large negative argument by M_LN10.
58148         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58149         of __ieee754_expf.
58150         * math/e_exp10l.c: Include <float.h>.
58151         (__ieee754_exp10l): Handle underflow here rather than multiplying
58152         large negative argument by M_LN10l.
58153         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58154         spurious overflow exception on underflow.
58156 2012-04-29  Marek Polacek  <polacek@redhat.com>
58158         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58159         (__fortify_function): New macro.
58160         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58161         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58162         __extern_always_inline.
58163         * libio/bits/stdio2.h: Likewise.
58164         * libio/bits/stdio.h: Likewise.
58165         * string/string.h: Likewise.
58166         * string/bits/string3.h: Likewise.
58167         * include/stdio.h: Likewise.
58168         * stdlib/bits/stdlib.h: Likewise.
58169         * stdlib/stdlib.h: Likewise.
58170         * rt/bits/mqueue2.h: Likewise.
58171         * rt/mqueue.h: Likewise.
58172         * posix/bits/unistd.h: Likewise.
58173         * posix/unistd.h: Likewise.
58174         * io/bits/poll2.h: Likewise.
58175         * io/bits/fcntl2.h: Likewise.
58176         * io/fcntl.h: Likewise.
58177         * io/sys/poll.h: Likewise.
58178         * misc/bits/syslog.h: Likewise.
58179         * misc/bits/syslog-ldbl.h: Likewise.
58180         * misc/sys/syslog.h: Likewise.
58181         * socket/bits/socket2.h: Likewise.
58182         * socket/sys/socket.h: Likewise.
58183         * debug/tst-chk1.c: Likewise.
58184         * wcsmbs/bits/wchar2.h: Likewise.
58185         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58186         * wcsmbs/wchar.h: Likewise.
58188 2012-04-29  Andreas Jaeger  <aj@suse.de>
58190         * Makerules (tests): Remove enable-check-abi protection.
58191         (check-abi-warn): Remove.
58192         (check-abi-%): Remove check-abi-warn usage.
58194         * configure.in: Remove check-abi configure option.
58195         * configure: Regenerated.
58196         * config.make.in (enable-check-abi): Remove.
58198 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58200         [BZ #14033]
58201         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58202         double functions to double *_finite functions.
58204         [BZ #13941]
58205         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58206         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58207         LDBL_MIN_EXP.
58208         * stdio-common/Makefile (tests): Add tst-sprintf3.
58209         * stdio-common/tst-sprintf3.c: New file.
58211         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58212         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58214 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58216         * conform/conformtest.pl: Remove duplicate typed-constant
58217         handling.
58219 2012-04-28  David S. Miller  <davem@davemloft.net>
58221         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58222         (check-abi-%): Remove AWK script prerequisite and explicit
58223         abilist directory.
58224         (check-abi): Rewrite to just diff the symlist with the abilist.
58225         (config-tls, config-abi-config): Delete, no longer used.
58226         (update-abi-%): Remove AWK script and explicit abilist directory.
58227         (update-abi): Rewrite to simply compare and conditionally copy the
58228         symlist and the sysdep abilist file.  Remove update-abi-config
58229         checks.
58230         * abilist/ld.abilist: Remove.
58231         * abilist/libBrokenLocale.abilist: Remove.
58232         * abilist/libanl.abilist: Remove.
58233         * abilist/libcrypt.abilist: Remove.
58234         * abilist/libdl.abilist: Remove.
58235         * abilist/librt.abilist: Remove.
58236         * abilist/libthread_db.abilist: Remove.
58237         * abilist/libutil.abilist: Remove.
58238         * scripts/extract-abilist.awk: Remove.
58239         * scripts/merge-abilist.awk: Remove.
58240         * sysdeps/generic/libcidn.abilist: New file.
58241         * sysdeps/generic/libnss_compat.abilist: New file.
58242         * sysdeps/generic/libnss_db.abilist: New file.
58243         * sysdeps/generic/libnss_dns.abilist: New file.
58244         * sysdeps/generic/libnss_files.abilist: New file.
58245         * sysdeps/generic/libnss_hesiod.abilist: New file.
58246         * sysdeps/generic/libnss_nis.abilist: New file.
58247         * sysdeps/generic/libnss_nisplus.abilist: New file.
58248         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58249         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58250         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58251         file.
58252         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58253         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58254         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58255         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58256         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58257         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58258         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58259         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58260         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58261         file.
58262         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58263         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58264         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58265         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58266         file.
58267         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58268         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58269         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58270         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58271         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58272         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58273         file.
58274         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58275         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58276         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58277         file.
58278         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58280         New file.
58281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58282         New file.
58283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58284         New file.
58285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58286         New file.
58287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58288         New file.
58289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58290         New file.
58291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58292         New file.
58293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58294         New file.
58295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58296         New file.
58297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58298         New file.
58299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58300         New file.
58301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58302         New file.
58303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58304         New file.
58305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58306         file.
58307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58308         New file.
58309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58310         New file.
58311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58312         file.
58313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58314         New file.
58315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58316         New file.
58317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58318         file.
58319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58320         New file.
58321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58322         New file.
58323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58324         New file.
58325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58326         New file.
58327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58328         New file.
58329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58330         New file.
58331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58333         file.
58334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58335         New file.
58336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58337         file.
58338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58339         file.
58340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58341         file.
58342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58343         file.
58344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58345         file.
58346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58347         New file.
58348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58349         file.
58350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58351         file.
58352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58353         New file.
58354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58355         file.
58356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58358         file.
58359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58360         New file.
58361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58362         file.
58363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58364         file.
58365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58366         file.
58367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58368         file.
58369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58370         file.
58371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58372         New file.
58373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58374         file.
58375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58376         file.
58377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58378         New file.
58379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58380         file.
58381         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58382         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58383         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58384         file.
58385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58386         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58387         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58388         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58389         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58390         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58391         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58392         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58393         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58394         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58397         file.
58398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58399         New file.
58400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58401         file.
58402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58403         file.
58404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58405         file.
58406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58407         file.
58408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58409         file.
58410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58411         New file.
58412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58413         New file.
58414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58415         file.
58416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58417         New file.
58418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58419         file.
58420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58422         file.
58423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58424         New file.
58425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58426         file.
58427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58428         file.
58429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58430         file.
58431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58432         file.
58433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58434         file.
58435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58436         New file.
58437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58438         New file.
58439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58440         file.
58441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58442         New file.
58443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58444         file.
58446 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58448         * conform/conformtest.pl: Fix typo in handling typed-constant from
58449         allow-header.
58451 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58453         * README: Cut down references to pre-2.6 Linux kernels and
58454         Linuxthreads.  Update lists of configurations in libc and ports
58455         and sort alphabetically.  Say "or newer" with Linux kernel version
58456         requirements.
58458         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58460 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58462         [BZ #887]
58463         * math/libm-test.inc (logb_test_downward): New test to expose
58464         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58465         rounding mode.
58467 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58469         [BZ #14027]
58470         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58471         to be done.
58472         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58473         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58475 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58477         * sysdeps/unix/i386/brk.S: Remove file.
58478         * sysdeps/unix/i386/dl-brk.S: Likewise.
58479         * sysdeps/unix/i386/pipe.S: Likewise.
58480         * sysdeps/unix/i386/sigreturn.S: Likewise.
58481         * sysdeps/unix/i386/syscall.S: Likewise.
58482         * sysdeps/unix/i386/vfork.S: Likewise.
58483         * sysdeps/unix/i386/wait.S: Likewise.
58485         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58486         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58488         * configure.in (arm*-none*): Do not allow without
58489         --enable-hacker-mode.
58490         (netbsd*): Remove case setting base_os.
58491         (386bsd*): Likewise.
58492         (freebsd*): Likewise.
58493         (bsdi*): Likewise.
58494         (osf*): Likewise.
58495         (sunos*): Likewise.
58496         (ultrix*): Likewise.
58497         (newsos*): Likewise.
58498         (dynix*): Likewise.
58499         (*bsd*): Likewise.
58500         (sysv*): Likewise.
58501         (isc*): Likewise.
58502         (esix*): Likewise.
58503         (sco*): Likewise.
58504         (minix*): Likewise.
58505         (irix4*): Likewise.
58506         (irix6*): Likewise.
58507         (solaris[2-9]*): Likewise.
58508         (none): Likewise.
58509         * configure: Regenerated.
58511 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58513         [BZ #11521]
58514         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58515         overflow or cancellation in calculating denominator.
58516         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58517         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58518         down expression to avoid unexpected rounding in newer GCCs.
58519         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58521 2012-04-26  David S. Miller  <davem@davemloft.net>
58523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58524         long-double compat symbols.
58525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58539 2012-04-25  David S. Miller  <davem@davemloft.net>
58541         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58542         HWCAP_* values only after the memory barriers have been defined.
58543         (atomic_full_barrier): Define.
58544         (atomic_read_barrier): Define.
58545         (atomic_write_barrier): Define.
58547 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58549         * shlib-versions: Add libgcc_s version information.
58550         * sysdeps/generic/libgcc_s.h: Remove.
58551         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58552         libgcc_s.h.
58553         * sysdeps/gnu/unwind-resume.c: Likewise.
58554         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58556 2012-04-25  David S. Miller  <davem@davemloft.net>
58558         * sysdeps/unix/sparc/brk.S: Delete.
58559         * sysdeps/unix/sparc/dl-brk.S: Delete.
58560         * sysdeps/unix/sparc/pipe.S: Delete.
58561         * sysdeps/unix/sparc/sysdep.S: Delete.
58562         * sysdeps/unix/sparc/sysdep.h: Delete.
58563         * sysdeps/unix/sparc/vfork.S: Delete.
58564         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58565         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58566         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58567         (ret_ERRVAL, r0, r1, MOVE): Define.
58568         (JUMPTARGET): Remove.
58569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58570         sysdeps/unix/sparc/sysdep.h
58571         (ENTRY, END): Remove.
58572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58574 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58576         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58577         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58578         -DIS_IN_build.
58580         * timezone/README: Update upstream location and email address for
58581         tzcode and tzdata.
58582         * timezone/zdump.c: Update from tzcode 2012b.
58583         * timezone/zic.c: Likewise.
58585         * configure.in (libc_cv_as_needed): Remove test.
58586         * configure: Regenerated.
58587         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58588         conditional definition.
58589         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58590         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58591         * config.make.in (have-as-needed): Remove variable.
58593 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58594             Paul Pluzhnikov  <ppluzhnikov@google.com>
58596         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58597         strings correctly.
58599 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58601         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58602         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58603         * sysdeps/sh/strlen.S: Likewise.
58605 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58607         * sysdeps/unix/fork.S: Remove file.
58608         * sysdeps/unix/i386/fork.S: Likewise.
58609         * sysdeps/unix/sparc/fork.S: Likewise.
58611         * sysdeps/unix/system.c: Remove file.
58612         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58614         * sysdeps/unix/getegid.S: Remove file.
58615         * sysdeps/unix/geteuid.S: Likewise.
58617 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58619         * scripts/check-localplt.awk: New file.
58620         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58621         of diff.
58622         * scripts/data/localplt-generic.data: Add a comment.
58624         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58625         NODE when __dir_mkfile failed.
58626         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58627         Reported by Ludovic Courtès <ludo@gnu.org>.
58629 2012-04-24  Andreas Jaeger  <aj@suse.de>
58631         * Makerules (common-clean): Also remove gen-as-const-headers
58632         files.
58634 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58636         * Makerules (native-compile): Do not change working directory for
58637         build.  Use $(OUTPUT_OPTION) in command.
58638         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58640 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58642         [BZ #13886]
58643         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58644         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58645         * math/libm-test.inc (floor_test): Add more tests.
58646         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58648 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58650         * sysdeps/unix/getdents.c: Remove file.
58651         * sysdeps/unix/sysv/getdents.c: Likewise.
58652         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58654         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58655         sysdeps/unix/mman/syscalls.list.
58656         (mmap): Likewise.
58657         (mprotect): Likewise.
58658         (msync): Likewise.
58659         (munmap): Likewise.
58660         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58661         * sysdeps/unix/mman/syscalls.list: Remove.
58662         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58664         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58665         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58666         * configure: Regenerated.
58667         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58668         $(libgcc_s_suffix).
58669         * config.make.in (libgcc_s_suffix): Remove variable.
58671 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58673         * sysdeps/unix/sysv/gethostname.c: Move to ...
58674         * sysdeps/posix/gethostname.c: ... here.
58676         * sysdeps/unix/execve.S: Remove file.
58678         * sysdeps/unix/_exit.S: Remove file.
58680 2012-04-23  Andreas Jaeger  <aj@suse.de>
58682         [BZ #13739]
58683         * manual/Makefile: Remove make dist support, there's no
58684         need for a stand-alone documentation tar ball.
58685         (TEXI2DVI): Define always, it's not in Makeconfig.
58686         (dist): Removed.
58687         (tar-it): Removed.
58688         (edition): Removed.
58689         (glibc-doc-$(edition).tar): Removed
58690         (%.Z): Removed.
58691         (%.gz): Removed.
58692         (%.uu): Removed.
58693         (ETAGS): Remove, it's in Makeconfig.
58694         (move-if-change): Remove, it's in Makeconfig.
58696 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58698         [BZ #13970]
58699         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58700         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58701         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58702         (strtod_l, strtof_l, strtold_l): Remove __wur.
58703         It is not necessarily an error to ignore strtol's return value.
58704         One can reliably look at the stored endptr to decide whether
58705         the number had valid syntax.
58707 2012-04-21  Andreas Jaeger  <aj@suse.de>
58709         [BZ #13739]
58710         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58712 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58714         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58715         * sysdeps/unix/sysv/Versions: Remove file.
58717 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58719         [BZ #13927]
58720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58722 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58724         [BZ #7064]
58725         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58726         version from __vm86.
58728 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58730         * sysdeps/unix/common/lxstat.c: Remove file.
58731         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58733         * sysdeps/unix/sysv/Makefile: Remove file.
58735         * sysdeps/unix/sysv/direct.h: Remove file.
58737         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58738         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58739         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58740         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58741         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58742         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58743         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58745         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58747         * sysdeps/unix/xmknod.c: Remove file.
58748         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58750         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58752         * sysdeps/unix/sysv/i386/time.S: Remove file.
58754         * sysdeps/unix/fxstat.c: Remove file.
58755         * sysdeps/unix/xstat.c: Likewise.
58756         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58758         * sysdeps/unix/sysv/sigaction.c: Remove file.
58760         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58761         (sysdep_headers): Remove variable.
58762         [termio.h not in sysdep_headers] (generated): Likewise.
58763         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58764         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58765         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58766         * sysdeps/unix/sysv/tcflow.c: Likewise.
58767         * sysdeps/unix/sysv/tcflush.c: Likewise.
58768         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58769         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58770         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58771         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58772         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58774         * sysdeps/unix/siglist.c: Remove file.
58776         * sysdeps/unix/getppid.S: Remove file.
58778         * sysdeps/unix/mkdir.c: Remove file.
58779         * sysdeps/unix/rmdir.c: Likewise.
58781 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58783         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58784         ERR_MAX value.
58785         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58786         errlist-compat value.
58788 2012-04-18  David S. Miller  <davem@davemloft.net>
58790         * sysdeps/generic/memcopy.h (reg_char): Delete.
58791         * debug/strcat_chk.c: Use char, not reg_char.
58792         * debug/strcpy_chk.c: Likewise.
58793         * debug/strncat_chk.c: Likewise.
58794         * debug/strncpy_chk.c: Likewise.
58795         * string/memchr.c: Likewise.
58796         * string/memrchr.c: Likewise.
58797         * string/rawmemchr.c: Likewise.
58798         * string/strcat.c: Likewise.
58799         * string/strchr.c: Likewise.
58800         * string/strchrnul.c: Likewise.
58801         * string/strcmp.c: Likewise.
58802         * string/strcpy.c: Likewise.
58803         * string/strncat.c: Likewise.
58804         * string/strncmp.c: Likewise.
58805         * string/strncpy.c: Likewise.
58807 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58809         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58810         __builtin_memcopy is called when src and dest ranges are known to not
58811         overlap.
58813 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58815         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58816         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58817         fwd_align_merge macro call.
58818         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58819         bwd_align_merge macro call.
58820         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58822 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58824         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58825         bwd_align_merge macros.
58826         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58827         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58828         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58830 2012-04-18  David S. Miller  <davem@davemloft.net>
58832         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58834 2012-04-18  Andreas Jaeger  <aj@suse.de>
58836         [BZ# 6794]
58837         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58838         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58839         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58841         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58842         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58843         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58845         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58846         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58847         Adjust for changed ldbl-128 files.
58849         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58850         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58851         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58853 2012-04-17  David S. Miller  <davem@davemloft.net>
58855         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58857 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58859         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58860         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58861         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58862         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58863         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58864         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58866 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58868         [BZ #6794]
58869         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58870         * math/libm-test.inc: Add ilogb errno and exception tests.
58871         * math/w_ilogb.c: New file: ilogb wrapper.
58872         * math/w_ilogbf.c: New file: ilogbf wrapper.
58873         * math/w_ilogbl.c: New file: ilogbl wrapper.
58874         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58875         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58876         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58877         exception being thrown with 0.0 as argument.
58878         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58879         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58880         exception being thrown with 0.0 as argument.
58881         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58882         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58883         exception being thrown with 0.0 as argument.
58884         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58885         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58886         exception being thrown with 0.0 as argument.
58887         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58888         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58889         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58890         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58891         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58892         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58893         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58894         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58895         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58897 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58899         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58900         with altivec.
58902 2012-04-16  Marek Polacek  <polacek@redhat.com>
58904         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58906 2012-04-16  Marek Polacek  <polacek@redhat.com>
58908         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58909         operands of fdivp instruction.
58911 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58913         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58914         * elf/tst-auditmod3b.c: Likewise.
58915         * elf/tst-auditmod4b.c: Likewise.
58916         * elf/tst-auditmod5b.c: Likewise.
58917         * elf/tst-auditmod6b.c: Likewise.
58918         * elf/tst-auditmod6c.c: Likewise.
58919         * elf/tst-auditmod7b.c: Likewise.
58920         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58921         * sysdeps/x86_64/preconfigure.in: Likewise.
58922         * sysdeps/x86_64/preconfigure: Regenerated.
58924 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58926         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58927         __ILP32__.
58929 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58931         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58932         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58934 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58936         [BZ #13973]
58937         * locale/iso-639.def: Fix gl language name. Spotted by
58938         Yaron Shahrabani.
58940 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58942         [BZ #2074]
58943         * libio/libio.h (__io_write_fn): Update comment.
58945 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58947         [BZ #2074]
58948         * stdio.texi (Hook Functions): The user provided writer function
58949         is not allowed to return -1.
58951 2012-04-11  David S. Miller  <davem@davemloft.net>
58953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58955 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58957         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58958         Add a leading slash to rtkaio.
58960 2012-04-11  Jim Meyering  <meyering@redhat.com>
58962         [BZ #11959]
58963         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58964         It is not necessarily an error to ignore fwrite's return
58965         value.  One can reliably use ferror to test for errors after
58966         the fact.
58968 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58970         * bits/types.h (__snseconds_t): New type.
58971         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58973         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58975         (__SNSECONDS_T_TYPE): Likewise.
58976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58977         (__SNSECONDS_T_TYPE): Likewise.
58978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58979         (__SNSECONDS_T_TYPE): Likewise.
58981 2012-04-10  Andreas Jaeger  <aj@suse.de>
58983         [BZ #2636]
58984         * manual/time.texi (Processor Time): Return type of times is
58985         elapsed real time since an arbitrary point in the past.
58986         (CPU Time): Move CLK_TCK from here...
58987         (Processor Time): ...to here.  Correct description.
58988         * manual/conf.texi (Constants for Sysconf): Correct description of
58989         _SC_CLK_TCK.
58991 2012-04-10  David S. Miller  <davem@davemloft.net>
58993         [BZ #13967]
58994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58995         where the is a gap between DT_REL(A) and DT_JMPREL.
58997 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58999         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59000         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59001         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59003 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59005         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59006         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59007         (dl_main): Handle --inhibit-cache.
59008         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59009         _dl_inhibit_cache.
59010         * elf/dl-load.c (_dl_map_object): Use it.
59011         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59013 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59015         [BZ #13872]
59016         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59017         (__ieee754_powl): Saturate large exponents rather than testing for
59018         overflow of y*log2(x).
59019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59020         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59021         exceptions.
59023         [BZ #11521]
59024         * math/s_ctan.c: Include <float.h>.
59025         (__ctan): Avoid internal overflow or cancellation in calculating
59026         denominator.
59027         * math/s_ctanf.c: Likewise.
59028         * math/s_ctanl.c: Likewise.
59029         * math/s_ctanh.c: Likewise.
59030         * math/s_ctanhf.c: Likewise.
59031         * math/s_ctanhl.c: Likewise.
59032         * math/libm-test.inc (ctan_test): Add more tests.
59033         (ctanh_test): Likewise.
59034         * sysdeps/i386/fpu/libm-test-ulps: Update.
59035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59037 2012-04-09  Andreas Jaeger  <aj@suse.de>
59039         [BZ #6894]
59040         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59041         is an optional BSD extension.
59043         [BZ #10254]
59044         * manual/stdio.texi (Opening Streams): Document additional fopen
59045         parameters.
59047 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59049         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59050         %eax without telling the compiler.
59052 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59054         [BZ # 13963]
59055         * manual/install.texi: Use sourceware.org.
59057 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59059         [BZ #13873]
59060         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59061         (__ieee754_pow): Generate overflow and underflow using huge*huge
59062         and tiny*tiny rather than just returning constant infinity or zero
59063         for large exponents.
59064         * math/libm-test.inc (pow_test): Require overflow exceptions for
59065         applicable cases of large exponents.
59067         [BZ #706]
59068         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59069         (__ieee754_pow): Use iterative multiplication algorithm only for
59070         integer exponents with absolute value below 1024.  Check for odd
59071         integer exponents when using algorithm for real exponents.
59072         * math/libm-test.inc (pow_test): Add more tests.
59073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59075 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59077         [BZ #13705]
59078         * math/libm-test.inc (exp_test): Do not allow overflow exception
59079         on underflow test.
59081 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59083         [BZ #13705]
59084         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59085         instead of __kernel_standard_f.
59087 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59089         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59090         * sysdeps/x86_64/memset_chk.S: Likewise.
59092 2012-04-08  Andreas Jaeger  <aj@suse.de>
59094         [BZ #10153]
59095         * manual/startup.texi (Environment Access): Describe return value
59096         for putenv and setenv.
59098         [BZ #6895]
59099         * manual/filesys.texi (Directory Entries): Add description for
59100         DT_LNK.
59102         [BZ #6890]
59103         * manual/filesys.texi (Directory Entries): Clarify that it's file
59104         system not operating system in the description of DT_UNKNOWN.
59106         [BZ #6578]
59107         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59109 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59111         [BZ #6649]
59112         * manual/llio.texi (Opening and Closing Files): Add cross
59113         reference to explain mode argument.
59115 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59117         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59118         * sysdeps/x86_64/memset_chk.S: Likewise.
59120 2012-04-07  David S. Miller  <davem@davemloft.net>
59122         * elf/elf.h (R_SPARC_WDISP10): Define.
59123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59124         R_SPARC_SIZE32.
59125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59126         R_SPARC_SIZE64 and R_SPARC_H34.
59128 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59130         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59131         conditions and remove no longer applicable assertion.
59133 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59135         * bits/byteswap.h: Include <features.h>.
59136         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59137         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59139 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59141         * bits/byteswap.h (__bswap_16): Removed.
59142         Include <bits/byteswap-16.h> to get __bswap_16.
59143         * sysdeps/i386/bits/byteswap.h: Likewise.
59144         * sysdeps/s390/bits/byteswap.h: Likewise.
59145         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59146         * bits/byteswap-16.h: New file.
59147         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59148         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59149         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59150         * string/Makefile (headers): Add bits/byteswap-16.h.
59152 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59154         [BZ #13895]
59155         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59156         extra indirection.
59157         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59158         * nss/tst-nss-static.c: New.
59160 2012-04-06  Robert Millan  <rmh@gnu.org>
59162         [BZ #6486]
59163         * manual/llio.texi (File Position Primitive): lseek
59164         refers to WHENCE when it really means OFFSET.
59166 2012-04-06  Andreas Jaeger  <aj@suse.de>
59168         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59169         strncmp declarations.
59171         * abilist/libc.abilist: Add __poll and __ppoll.
59173 2012-04-05  David S. Miller  <davem@davemloft.net>
59175         * scripts/check-local-headers.sh: Accept a host triplet in the
59176         path matched by the exclude regexp.
59178         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59179         definition.
59180         * sysdeps/powerpc/powerpc32/dl-machine.h
59181         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59182         * sysdeps/s390/s390-32/dl-machine.h
59183         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59184         * sysdeps/sparc/sparc32/dl-machine.h
59185         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59186         * sysdeps/sparc/sparc64/dl-machine.h
59187         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59189         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59190         lazy binding.
59191         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59192         undefined symbol errors.
59194         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59195         DT_NEEDED entries.
59197 2012-04-05  Michael Matz  <matz@suse.de>
59199         [BZ #13592]
59200         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59202 2012-04-05  Andreas Jaeger  <aj@suse.de>
59204         [BZ #13908]
59205         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59206         comment.
59208 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59210         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59211         which ROUND is no valid rounding mode.
59213 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59215         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59216         read again.
59217         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59219 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59221         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59222         an exception using FPU order intentionally.
59224 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59226         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59227         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59228         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59229         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59231 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59233         [BZ #12340]
59234         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59235         EINVAL when BUFLEN is too smal.
59237 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59239         [BZ #13553]
59240         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59241         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59243 2012-04-03  Andreas Jaeger  <aj@suse.de>
59245         [BZ #13938]
59246         * manual/setjmp.texi (System V contexts): Fix sentence.
59248         [BZ #13926]
59249         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59250         New macro for this case.
59251         [!__GNUC__] (__bswap_64): New inline function for this case.
59252         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59253         * bits/byteswap.h: Likewise.
59254         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59255         ull, guard with __GLIBC_HAVE_LONG_LONG.
59257         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59258         __GLIBC_HAVE_LONG_LONG.
59260         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59261         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59263 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59265         [BZ #13691]
59266         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59267         inptr and inend, rather than using last_ch.
59269 2012-04-02  David S. Miller  <davem@davemloft.net>
59271         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59272         * stdio-common/printf-parse.h (read_int): Change return type to
59273         'int', return -1 on INT_MAX overflow.
59274         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59275         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59276         overflows INT_MAX.  Check for overflow of in-format-string precision
59277         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59278         SIZE_MAX not INT_MAX for integer overflow test.
59279         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59280         skip the construct in the format string but do not record anything.
59281         * stdio-common/bug22.c: Adjust to test both width/prevision
59282         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59283         explicitly for proper errno values.
59285 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59287         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59288         CHAR_MAX.
59289         * string/test-strcmp.c [! WIDE]: Likewise.
59290         * time/tst-mktime2.c: Likewise for INT_MAX.
59291         * string/test-string.h: #include <sys/param.h> for MIN.
59293         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59294         * sysdeps/i386/init-first.c (init): Likewise.
59295         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59296         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59297         * sysdeps/sh/init-first.c (init): Likewise.
59299 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59301         * po/ru.po: Update from translation team.
59302         * po/vi.po: Likewise.
59304 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59306         * resolv/nss_dns/dns-host.c: Merge copyright years.
59308 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59310         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59311         Optimize memcpy with prefetch if
59312         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59313         src, dst pointers have unequal 16 byte alignments.
59315 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59317         [BZ #13928]
59318         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59319         from a CNAME entry and return the minimum ttl for the query.
59320         (gaih_getanswer_slice): Likewise.
59322 2012-03-30  Jeff Law  <law@redhat.com>
59324         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59325         due to long keys.
59326         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59327         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59329         * resolv/nss_dns/dns-host.c: Update copyright year.
59331 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59333         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59334         requests to save a system call.  Fix check that all bytes are sent.
59336         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59337         comments for sendmmsg.
59339 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59341         [BZ #13691]
59342         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59343         with only 1 character between 0x0041 and 0x01b0.
59344         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59345         * wcsmbs/tst-mbsnrtowcs.c: New file.
59347 2012-03-29  David S. Miller  <davem@davemloft.net>
59349         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59350         small copies by hand.
59352 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59354         [BZ #13761]
59355         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59356         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59357         group memberships.
59359 2012-03-28  David S. Miller  <davem@davemloft.net>
59361         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59362         that branches into memcpy.
59363         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59364         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59366         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59367         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59368         bits.
59369         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59370         implementation too.
59371         * sysdeps/sparc/mempcpy.S: New file.
59373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59374         the IFUNC routine in the libc case.
59375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59377         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59378         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59379         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59380         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59381         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59382         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59383         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59384         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59386         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59387         loop to 256 bytes instead of 64 bytes and fix test signedness.
59389         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59390         * sysdeps/sparc/sparc32/Makefile: rather than here...
59391         * sysdeps/sparc/sparc64/Makefile: and here.
59393 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59395         * malloc/mallocbug.c: Avoid warnings about unused variables.
59397 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59399         [BZ #13760]
59400         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59401         in the right place. Discard and retry query if response is
59402         larger than input buffer size.
59404 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59406         [BZ #369]
59407         [BZ #2678]
59408         [BZ #3866]
59409         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59410         x for large integer exponent.
59411         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59412         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59413         sign of result as needed afterwards.
59414         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59415         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59416         result for underflowing pow the same as for overflow.
59417         (__kernel_standard_l): Handle powl overflow and underflow here
59418         rather than calling __kernel_standard.
59419         * math/libm-test.inc (pow_test): Add more tests.
59421         [BZ #3868]
59422         [BZ #13879]
59423         [BZ #13910]
59424         [BZ #13911]
59425         [BZ #13912]
59426         [BZ #13913]
59427         [BZ #13915]
59428         [BZ #13916]
59429         [BZ #13917]
59430         [BZ #13918]
59431         [BZ #13919]
59432         [BZ #13920]
59433         [BZ #13921]
59434         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59435         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59436         (__kernel_standard_l): New function.
59437         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59438         __kernel_standard.
59439         * math/w_acosl.c (__acosl): Likewise.
59440         * math/w_asinl.c (__asinl): Likewise.
59441         * math/w_atan2l.c (__atan2l): Likewise.
59442         * math/w_atanhl.c (__atanhl): Likewise.
59443         * math/w_coshl.c (__coshl): Likewise.
59444         * math/w_exp10l.c (__exp10l): Likewise.
59445         * math/w_exp2l.c (__exp2l): Likewise.
59446         * math/w_fmodl.c (__fmodl): Likewise.
59447         * math/w_hypotl.c (__hypotl): Likewise.
59448         * math/w_j0l.c (__j0l, __y0l): Likewise.
59449         * math/w_j1l.c (__j1l, __y1l): Likewise.
59450         * math/w_jnl.c (__jnl, __ynl): Likewise.
59451         * math/w_lgammal.c (__lgammal): Likewise.
59452         * math/w_log10l.c (__log10l): Likewise.
59453         * math/w_log2l.c (__log2l): Likewise.
59454         * math/w_logl.c (__logl): Likewise.
59455         * math/w_powl.c (__powl): Likewise.
59456         * math/w_remainderl.c (__remainderl): Likewise.
59457         * math/w_scalbl.c (sysv_scalbl): Likewise.
59458         * math/w_sinhl.c (__sinhl): Likewise.
59459         * math/w_sqrtl.c (__sqrtl): Likewise.
59460         * math/w_tgammal.c (__tgammal): Likewise.
59461         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59462         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59463         * math/libm-test.inc (acos_test): Add more tests.
59464         (acosh_test): Likewise.
59465         (asin_test): Likewise.
59466         (atanh_test): Likewise.
59467         (exp_test): Likewise.
59468         (exp10_test): Likewise.
59469         (exp2_test): Likewise.
59470         (expm1_test): Likewise.
59471         (lgamma_test): Likewise.
59472         (log_test): Likewise.
59473         (log10_test): Likewise.
59474         (log1p_test): Likewise.
59475         (log2_test): Likewise.
59476         (pow_test): Do not allow some spurious overflow exceptions.
59477         (sqrt_test): Add more tests.
59478         (tgamma_test): Likewise.
59479         (y0_test): Likewise.
59480         (y1_test): Likewise.
59481         (yn_test): Likewise.
59483 2012-03-27  Anton Blanchard  <anton@samba.org>
59485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59486         MAP_HUGETLB.
59487         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59488         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59489         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59491 2012-03-27  David S. Miller  <davem@davemloft.net>
59493         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59495         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59496         have-as-vis3 check.
59498 2012-03-27  Andreas Jaeger  <aj@suse.de>
59500         * sysdeps/x86_64/elf/configure.in: Moved to ...
59501         * sysdeps/x86_64/configure.in: ... here.
59502         * sysdeps/x86_64/elf/start.S: Moved to ...
59503         * sysdeps/x86_64/start.S: ... here.
59504         * sysdeps/x86_64/elf/configure: Delete.
59506         * sysdeps/x86_64/configure.in: Merge contents from
59507         sysdeps/i386/configure.in (without i686 check).
59509         * sysdeps/i386/elf/Versions: Merge into ...
59510         * sysdeps/i386/Versions: ... this.
59511         * sysdeps/i386/elf/Versions: Delete file.
59512         * sysdeps/i386/elf/start.S: Moved to ...
59513         * sysdeps/i386/start.S: ...here.
59514         * sysdeps/i386/elf/configure.in: Merge into...
59515         * sysdeps/i386/configure.in: ...here.
59516         * sysdeps/i386/elf/configure.in: Delete file.
59517         * sysdeps/i386/elf/configure: Delete file.
59519         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59520         * debug/backtracesyms.c: ... here.
59521         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59522         * debug/backtracesymsfd.c: ... here.
59523         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59524         * sysdeps/generic/ifunc-sel.h: ... here.
59526         * sysdeps/unix/i386/start.c: Delete file.
59527         * sysdeps/unix/sparc/start.c: Delete file.
59528         * sysdeps/unix/start.c: Delete file.
59530         * sysdeps/sh/elf/configure.in: Moved to ...
59531         * sysdeps/sh/configure.in: ... here.
59532         * sysdeps/sh/elf/start.S: Moved to ...
59533         * sysdeps/sh/start.S: ... here.
59534         * sysdeps/sh/elf/configure: Delete file.
59536         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59537         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59538         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59539         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59540         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59541         * sysdeps/powerpc/powerpc64/start.S: here.
59542         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59543         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59544         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59545         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59546         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59548         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59549         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59550         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59551         * sysdeps/powerpc/powerpc32/start.S: ... here.
59552         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59553         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59554         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59556         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59557         * sysdeps/powerpc/ifunc-sel.h: ... here.
59558         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59559         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59561         * sysdeps/sparc/elf/configure.in: Moved to ...
59562         * sysdeps/sparc/configure.in: ... here.
59563         * sysdeps/sparc/elf/configure: Delete file.
59564         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59565         * sysdeps/sparc/sparc32/start.S: ... here.
59566         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59567         * sysdeps/sparc/sparc64/start.S: ... here.
59568         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59569         * sysdeps/sparc/sparc32/Makefile: ... this.
59570         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59571         * sysdeps/sparc/sparc64/Makefile: ... this.
59573         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59574         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59575         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59576         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59577         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59578         * sysdeps/s390/s390-32/setjmp.S: ... here.
59579         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59580         * sysdeps/s390/s390-32/configure.in: ... here.
59581         * sysdeps/s390/s390-32/elf/configure: Delete file.
59582         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59583         * sysdeps/s390/s390-32/start.S: ... here.
59585         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59586         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59587         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59588         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59589         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59590         * sysdeps/s390/s390-64/setjmp.S: ... here.
59591         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59592         * sysdeps/s390/s390-64/configure.in: ... here
59593         * sysdeps/s390/s390-64/elf/configure: Delete file.
59594         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59595         * sysdeps/s390/s390-64/start.S: ... here.
59596         * sysdeps/s390/s390-64/elf/configure: Delete.
59598         * configure.in: Remove support for elf directories in sysdeps.
59600         * configure: Regenerated.
59601         * sysdeps/i386/configure: Regenerated.
59602         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59603         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59604         * sysdeps/s390/s390-32/configure: Regenerated.
59605         * sysdeps/s390/s390-64/configure: Regenerated.
59606         * sysdeps/sh/configure: Regenerated.
59607         * sysdeps/sparc/configure: Regenerated.
59608         * sysdeps/x86_64/configure: Regenerated.
59610 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59615         denormal result into account.
59617 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59619         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59620         Reported by Allan McRae <allan@archlinux.org>.
59622 2012-03-23  Jeff Law  <law@redhat.com>
59624         * nss/getnssent.c (__nss_getent): Fix typo.
59626 2012-03-23  David S. Miller  <davem@davemloft.net>
59628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59630 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59632         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59633         to pad to uint64_t for each field.
59634         (dl_tls_index): Replace unsigned long with uint64_t.
59636 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59637         Paul Pluzhnikov  <ppluzhnikov@google.com>
59639         [BZ #6528]
59640         * grp/Makefile (otherlibs): Don't set it.
59641         * inet/Makefile (otherlibs): Likewise.
59642         * login/Makefile (otherlibs): Likewise.
59643         * nscd/Makefile (otherlibs): Likewise.
59644         * posix/Makefile (otherlibs): Likewise.
59645         * pwd/Makefile (otherlibs): Likewise.
59646         * rt/Makefile (otherlibs): Likewise.
59647         * sunrpc/Makefile (otherlibs): Likewise.
59648         * nss/Makefile (otherlibs): Likewise.
59649         Add libnss_files to routines and static-only-routines.
59650         ($(objpfx)getent): Remove rule.
59651         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59652         static-only-routines.
59654 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59656         [BZ #13892]
59657         * math/s_cexp.c: Include <float.h>.
59658         (__cexp): Handle exp result overflowing not necessarily
59659         overflowing both real and imaginary parts of result.
59660         * math/s_cexpf.c: Likewise.
59661         * math/s_cexpl.c: Likewise.
59662         * math/libm-test.inc (cexp_test): Add more tests.
59663         * sysdeps/i386/fpu/libm-test-ulps: Update.
59664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59666 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59668         * include/link.h (ELFW): New macro.
59669         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59670         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59672 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59674         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59675         with uint64_t.
59677 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59679         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59680         declaration.
59681         (struct La_x32_retval): Likewise.
59683 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59685         * sysdeps/x86_64/preconfigure.in: New file.
59686         * sysdeps/x86_64/preconfigure: New generated file.
59688 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59690         [BZ #13824]
59691         * math/e_exp2l.c: Include <float.h>.
59692         (__ieee754_exp2l): Handle overflow and underflow cases
59693         separately.  Only pass fractional part of argument to
59694         __ieee754_expl.
59695         * math/libm-test.inc (exp2_test): Add more tests.
59697         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59698         negating x to take absolute value.
59699         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59700         Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59703         Likewise.
59704         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59705         computing low part if x was negated.
59706         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59708 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59710         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59711         la_x32_gnu_pltexit.
59712         (pltexit): Cast int_retval to ptrdiff_t.
59713         * elf/tst-auditmod3b.c: Likewise.
59714         * elf/tst-auditmod4b.c: Likewise.
59715         * elf/tst-auditmod5b.c: Likewise.
59716         * elf/tst-auditmod6b.c: Likewise.
59717         * elf/tst-auditmod6c.c: Likewise.
59718         * elf/tst-auditmod7b.c: Likewise.
59720         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59721         and x32_gnu_pltexit.
59723         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59724         __ELF_NATIVE_CLASS.
59725         (La_x32_regs): New macro.
59726         (La_x32_retval): Likewise.
59727         (la_x32_gnu_pltenter): New function prototype.
59728         (la_x32_gnu_pltexit): Likewise.
59730 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59733         exponent.
59735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59737         * configure.in (libc_cv_cc_nofma): Check for option to disable
59738         generation of FMA instructions.
59739         * configure: Regenerate.
59740         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59741         * sysdeps/ieee754/dbl-64/Makefile: New file.
59742         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59743         Remove brandred-fma4.
59744         (CFLAGS-brandred-fma4.c): Remove.
59745         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59746         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59747         define.
59748         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59749         define.
59751 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59753         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59754         LLONG_MAX != LONG_MAX.
59755         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59756         (_fitoa_word): Likewise.
59757         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59758         LLONG_MAX != LONG_MAX.
59759         * stdio-common/_itowa.h: Include <_itoa.h>.
59760         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59761         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59762         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59763         only if not defined.
59764         (_ITOA_WORD_TYPE): Likewise.
59765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59766         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59768 2012-03-21  David S. Miller  <davem@davemloft.net>
59770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59772 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59774         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59775         of x86_64 when setting libc_cv_slibdir, libdir and
59776         libc_cv_localedir.
59777         * sysdeps/unix/sysv/linux/configure: Regenerated.
59779 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59781         * manual/lang.texi (Old Varargs): Remove section.
59782         (How Variadic): Update menu.
59783         (va_start): Do not mention varargs.h.
59785 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59786             Joseph Myers  <joseph@codesourcery.com>
59788         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59789         link test.
59790         * configure: Regenerated.
59792 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59794         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59795         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59796         conformtest.pl
59798 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59800         * NOTES: Remove.
59801         * Makefile (files-for-dist): Remove NOTES.
59802         (NOTES): Remove rule.
59803         * README: Don't refer to NOTES.
59804         * manual/creature.texi: Don't include macros.texi.
59805         * manual/intro.texi (creature.texi): Remove comment referring to
59806         NOTES.
59808         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59809         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59810         * configure: Regenerated.
59811         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59812         LIBC_TRY_CC_OPTION.
59813         (libc_cv_as_i686): Likewise.
59814         (libc_cv_cc_avx): Likewise.
59815         (libc_cv_cc_sse2avx): Likewise.
59816         (libc_cv_cc_fma4): Likewise.
59817         (libc_cv_cc_novzeroupper): Likewise.
59818         * sysdeps/i386/configure: Regenerated.
59820         [BZ #13883]
59821         * sysdeps/i386/fpu/s_cexp.S: Remove.
59822         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59823         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59824         * math/libm-test.inc (cexp_test): Add more tests.
59825         * sysdeps/i386/fpu/libm-test-ulps: Update.
59826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59828 2012-03-21  Allan McRae  <allan@archlinux.org>
59830         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59832 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59834         [BZ #13871]
59835         * math/w_exp2.c: Do not include <float.h>.
59836         (o_threshold, u_threshold): Remove.
59837         (__exp2): Calculate result before checking finiteness and calling
59838         __kernel_standard.
59839         * math/w_exp2f.c: Likewise.
59840         * math/w_exp2l.c: Likewise.
59841         * math/libm-test.inc (exp2_test): Require overflow exception for
59842         1e6 input.
59844         [BZ #3866]
59845         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59846         range of signed 64-bit integers before using fistpll.  Remove
59847         checks for whether integers fit in mantissa bits.
59848         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59849         the range of signed 32-bit integers before using fistpl.  Remove
59850         checks for whether integers fit in mantissa bits.
59851         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59852         (__ieee754_powl): Test for y outside the range of signed 64-bit
59853         integers before using fistpll.  Reduce 64-bit values to 63-bit
59854         ones as needed.
59855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59856         divide-by-zero is raised for zero to large negative powers.
59857         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59858         (__ieee754_powl): Test for y outside the range of signed 64-bit
59859         integers before using fistpll.  Reduce 64-bit values to 63-bit
59860         ones as needed.
59861         * math/libm-test.inc (pow_test): Add more tests.
59863 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59865         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59866         <stdio-common/_itoa.h>.
59867         * debug/segfault.c: Likewise.
59868         * elf/dl-cache.c: Likewise.
59869         * elf/dl-minimal.c: Likewise.
59870         * elf/dl-misc.c: Likewise.
59871         * elf/dl-sysdep.c: Likewise.
59872         * elf/dl-version.c: Likewise.
59873         * elf/rtld.c: Likewise.
59874         * hurd/hurdsock.c: Likewise.
59875         * hurd/lookup-retry.c: Likewise.
59876         * malloc/malloc.c: Likewise.
59877         * malloc/mtrace.c: Likewise.
59878         * nscd/nscd_getgr_r.c: Likewise.
59879         * nscd/nscd_getpw_r.c: Likewise.
59880         * nscd/nscd_getserv_r.c: Likewise.
59881         * posix/getopt_init.c: Likewise.
59882         * posix/wordexp.c: Likewise.
59883         * stdio-common/_itoa.c: Likewise.
59884         * stdio-common/printf_fphex.c: Likewise.
59885         * stdio-common/vfprintf.c: Likewise.
59886         * string/_strerror.c: Likewise.
59887         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59888         * sysdeps/i386/i686/hp-timing.h: Likewise.
59889         * sysdeps/mach/_strerror.c: Likewise.
59890         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59891         * sysdeps/mach/hurd/sethostid.c: Likewise.
59892         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59893         * sysdeps/mach/xpg-strerror.c: Likewise.
59894         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59895         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59896         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59897         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59898         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59899         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59900         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59901         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59902         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59903         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59904         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59905         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59906         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59907         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59908         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59909         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59910         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59911         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59912         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59913         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59914         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59916         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59918         * stdio-common/_itoa.h: Moved to ...
59919         * sysdeps/generic/_itoa.h: Here.
59921         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59923         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59924         instead of "_itoa.h" and "_itowa.h".
59925         * stdio-common/vfprintf.: Likewise.
59927 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59929         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59930         <bits/wordsize.h>.
59931         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59932         (__signbit): Likwise.
59933         (llrintf): Likwise.
59934         (llrint): Likwise.
59936 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59938         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59939         __WORDSIZE != 64.
59941 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59943         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59944         OVERFLOW_EXCEPTION_OK.
59945         * math/libm-test.inc ("Philosophy"): Update comment about
59946         exception testing.
59947         (OVERFLOW_EXCEPTION): Define.
59948         (OVERFLOW_EXCEPTION_OK): Likewise.
59949         (INVALID_EXCEPTION_OK): Renumber.
59950         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59951         (IGNORE_ZERO_INF_SIGN): Likewise.
59952         (test_exceptions): Handle FE_OVERFLOW.
59953         (exp10_test): Expect overflow exceptions.
59954         (exp2_test): Likewise.
59955         (expm1_test): Likewise.
59956         (nextafter_test): Likewise.
59957         (pow_test): Likewise.
59958         (scalbn_test): Likewise.
59959         (scalbln_test): Likewise.
59961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59963         * sysdeps/x86_64/bits/atomic.h
59964         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59965         64bit integer.
59966         (atomic_exchange_acq): Likewise.
59967         (__arch_exchange_and_add_body): Likewise.
59968         (__arch_add_body): Likewise.
59969         (atomic_add_negative): Likewise.
59970         (atomic_add_zero): Likewise.
59972 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59974         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59975         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59979         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59980         Check __x86_64__ instead of __WORDSIZE.
59982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59984         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59986 2012-03-19  David S. Miller  <davem@davemloft.net>
59988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59990         * sysdeps/sparc/fpu/fenv_private.h: New file.
59991         * sysdeps/sparc/fpu/math_private.h: Use it.
59992         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59993         Remove.
59994         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59995         (libc_feholdexcept_setroundl): Remove.
59996         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59997         Remove.
59998         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59999         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60003         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60004         int64_t instead of long int.
60005         (INSERT_WORDS64): Likwise.
60007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60009         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60010         _Unwind_GetCFA return to _Unwind_Ptr first.
60012 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60014         [BZ #13629]
60015         * math/s_clog.c: Include <float.h>.
60016         (__clog): Scale large or subnormal inputs.
60017         * math/s_clogf.c: Likewise.
60018         * math/s_clogl.c: Likewise.
60019         * math/s_clog10.c: Include <float.h>.
60020         (M_LOG10_2): Define.
60021         (__clog10): Scale large or subnormal inputs.
60022         * math/s_clog10f.c: Likewise.
60023         * math/s_clog10l.c: Likewise.
60024         * math/libm-test.inc (clog_test): Add more tests.
60025         (clog10_test): Likewise.
60026         * sysdeps/i386/fpu/libm-test-ulps: Update.
60027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60029         [BZ #11451]
60030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60031         x and y.
60032         * math/libm-test.inc (atan2_test): Add another test.
60034         * Makerules (common-objdir-compile): Remove.
60035         * sysdeps/unix/Makefile (config-generated): Do not add
60036         $(unix-generated) to variable.
60037         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60038         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60039         Remove rule.
60040         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60041         Likewise.
60042         [generic bits/local_lim.h] (before-compile): Do not append to
60043         variable.
60044         [generic bits/local_lim.h] (common-generated): Likewise.
60045         [generic sys/param.h] (before-compile): Do not append to variable.
60046         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60047         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60048         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60049         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60050         include.
60051         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60052         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60053         [generic sys/param.h] ($(addprefix
60054         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60055         [generic sys/param.h] (common-generated): Do not append to
60056         variable.
60057         [generic sys/param.h] (sysdep_headers): Likewise.
60058         [generic bits/errno.h] (before-compile): Do not append to
60059         variable.
60060         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60061         rule.
60062         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60063         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60064         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60065         [generic bits/errno.h] (common-generated): Do not append to
60066         variable.
60067         [generic bits/ioctls.h] (before-compile): Do not append to
60068         variable.
60069         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60070         rule.
60071         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60072         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60073         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60074         rule.
60075         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60076         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60077         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60078         [generic bits/ioctls.h] (common-generated): Do not append to
60079         variable.
60080         [generic sys/syscall.h] (syscall.h): Remove variable.
60081         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60082         rule.
60083         [generic sys/syscall.h] (before-compile): Do not append to
60084         variable.
60085         [generic sys/syscall.h] (common-generated): Likewise.
60086         * sysdeps/unix/errnos-tmpl.c: Remove file.
60087         * sysdeps/unix/errnos.awk: Likewise.
60088         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60089         * sysdeps/unix/ioctls.awk: Likewise.
60090         * sysdeps/unix/mk-local_lim.c: Likewise.
60091         * sysdeps/unix/snarf-ioctls: Likewise.
60093 2012-03-19  Richard Henderson  <rth@twiddle.net>
60095         * sysdeps/i386/fpu/fenv_private.h: New file.
60096         * sysdeps/i386/fpu/math_private.h: Use it.
60097         (math_opt_barrier, math_force_eval): Remove.
60098         (libc_feholdexcept_setround_53bit): Remove.
60099         (libc_feupdateenv_53bit): Remove.
60100         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60101         (math_opt_barrier, math_force_eval): Remove.
60102         (libc_feholdexcept): Remove.
60103         (libc_feholdexcept_setround): Remove.
60104         (libc_fetestexcept, libc_fesetenv): Remove.
60105         (libc_feupdateenv_test): Remove.
60106         (libc_feupdateenv, libc_feholdsetround): Remove.
60107         (libc_feresetround): Remove.
60109         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60110         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60112         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60113         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60114         (libc_feupdateenv_testl): New.
60115         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60116         (libc_feupdateenv_testf): New.
60117         (libc_feupdateenv): Use libc_feupdateenv_test.
60118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60119         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60121         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60122         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60123         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60124         (libc_feresetround_noex): New.
60125         (libc_feresetround_noexf): New.
60126         (libc_feresetround_noexl): New.
60127         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60128         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60129         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60130         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60131         SET_RESTORE_ROUND.
60132         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60134         (__cos): Likewise.
60135         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60136         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60137         SET_RESTORE_ROUND_NOEX.
60138         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60139         SET_RESTORE_ROUND_NOEXF.
60140         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60141         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60142         (libc_feholdsetroundf): New.
60143         (libc_feresetround, libc_feresetroundf): New.
60145         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60146         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60147         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60149         * sysdeps/generic/math_private.h: Include <fenv.h>.
60150         (default_libc_feholdexcept): New.
60151         (default_libc_feholdexcept_setround): New.
60152         (default_libc_fesetenv, default_libc_feupdateenv): New.
60153         (libc_feholdexcept): Only define if undefined.
60154         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60155         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60156         (libc_feholdexcept_setroundl): Likewise.
60157         (libc_feholdexcept_setround_53bit): Likewise.
60158         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60159         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60160         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60161         (libc_feupdateenv_53bit): Likewise.
60162         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60163         (libc_feholdexcept): Convert from macro to inline function.
60164         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60165         (libc_fesetenv, libc_feupdateenv): Likewise.
60167         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60168         not previously defined.
60169         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60170         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60171         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60172         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60173         * sysdeps/ieee754/flt-32/math_private.h: New file.
60174         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60175         math_private.h below SET_FLOAT_WORD.
60176         (__isnan, __isinf_ns, __finite): Remove.
60177         (__isnanf, __isinf_nsf, __finitef): Remove.
60179 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60183 2012-03-17  David S. Miller  <davem@davemloft.net>
60185         [BZ #6471]
60186         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60187         for 2.16.
60189 2012-03-16  David S. Miller  <davem@davemloft.net>
60191         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60192         warnings.
60194         [BZ #6471]
60195         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60196         properly.
60197         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60198         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60199         sysdep_routines when subdir is sysvipc.
60200         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60201         __getshmlba helper.
60203         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60205 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60207         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60208         [__LP64__].
60210 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60212         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60213         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60214         (__lround): Renamed to ...
60215         (__llround): This.  Replace long int with long long int.
60216         Define lround functions as aliases of llround functions.
60217         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60219 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60221         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60222         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60223         adresses to uintptr_t.  Replace "long int" and "unsigned long
60224         int" with "greg_t" on va_arg.
60226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60228         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60229         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60231         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60232         Move e_machine check before EI_CLASS check.  Handle x32
60233         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60234         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60235         SKIP_EM_IA_64 and include
60236         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60238         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60239         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60240         (add_system_dir): New macro.
60242         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60243         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60245 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60247         [BZ #2551]
60248         [BZ #2552]
60249         [BZ #2553]
60250         [BZ #2554]
60251         [BZ #2562]
60252         [BZ #2563]
60253         [BZ #2565]
60254         [BZ #2566]
60255         [BZ #2576]
60256         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60257         (y0): Likewise.
60258         * math/w_j0f.c (j0f): Likewise.
60259         (y0f): Likewise.
60260         * math/w_j0l.c (__j0l): Likewise.
60261         (__y0l): Likewise.
60262         * math/w_j1.c (j1): Likewise.
60263         (y1): Likewise.
60264         * math/w_j1f.c (j1f): Likewise.
60265         (y1f): Likewise.
60266         * math/w_j1l.c (__j1l): Likewise.
60267         (__y1l): Likewise.
60268         * math/w_jn.c (jn): Likewise.
60269         (yn): Likewise.
60270         * math/w_jnf.c (jnf): Likewise.
60271         (ynf): Likewise.
60272         * math/w_jnl.c (__jnl): Likewise.
60273         (__ynl): Likewise.
60274         * math/libm-test.inc (j0_test): Add more tests.
60275         (j1_test): Likewise.
60276         (jn_test): Likewise.  Add trailing semicolon to existing test.
60277         (y0_test): Likewise.
60278         (y1_test): Likewise.
60279         * sysdeps/i386/fpu/libm-test-ulps: Update.
60280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60282         [BZ #13851]
60283         [BZ #13854]
60284         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60285         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60286         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60287         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60288         (__tanl): Set errno for infinite argument.
60289         * sysdeps/i386/fpu/mptan.c: Remove.
60290         * sysdeps/i386/fpu/s_tan.S: Likewise.
60291         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60292         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60293         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60294         * math/libm-test.inc (tan_test): Add more tests and enable more
60295         tests for double and long double.
60296         * sysdeps/i386/fpu/libm-test-ulps: Update.
60297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60299 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60301         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60302         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60304 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60306         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60307         * configure.in: Use it for both main tree and add-ons.
60308         * configure: Regenerated.
60310 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60312         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60314 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60316         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60317         in comment.
60319         [BZ #13851]
60320         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60321         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60322         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60323         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60324         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60325         infinite argument.
60326         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60328         != 0 for prec == 2.
60329         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60330         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60331         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60332         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60333         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60334         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60335         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60336         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60337         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60338         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60339         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60340         * math/libm-test.inc (cos_test): Add more tests and enable more
60341         tests for long double.
60342         (sin_test): Likewise.
60343         (sincos_test): Likewise.
60344         * sysdeps/i386/fpu/libm-test-ulps: Update.
60345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60347 2012-03-16  David S. Miller  <davem@davemloft.net>
60349         * sysdeps/sparc/fpu/math_private.h: New file.
60351 2012-03-15  David S. Miller  <davem@davemloft.net>
60353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60354         file.
60355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60357         file.
60358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60363         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60364         sysdep routines.
60365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60367         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60368         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60370         * sysdeps/sparc/sparc-ifunc.h: New file.
60371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60372         sparc-ifunc.h
60373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60375         Likewise.
60376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60377         Likewise.
60378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60382         Likewise.
60383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60388         Likewise.
60389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60390         Likewise.
60391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60397         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60398         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60405         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60409         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60410         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60411         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60412         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60414         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60416 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60418         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60419         scaling.
60420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60422 2012-03-15  Andreas Jaeger  <aj@suse.de>
60424         [BZ #13852]
60425         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60426         ieee754/flt-32 implementation for sin, cos and sincos.
60427         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60428         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60429         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60430         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60431         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60432         ieee754/flt-32 implementation for tan.
60434         * math/libm-test.inc (cos_test): Enable some large input tests for
60435         float as well
60436         (sin_test): Likewise.
60437         (sincos_test): Likewise.
60438         (tan_test): Add tests for large input.
60440         * sysdeps/i386/fpu/libm-test-ulps: Update.
60442 2012-03-15  Andreas Jaeger  <aj@suse.de>
60444         [BZ #13658]
60445         * math/libm-test.inc (cos_test): Add more test cases.
60446         (sin_test): Likewise.
60447         (sincos_test): Likewise.
60449 2012-03-15  Andreas Jaeger  <aj@suse.de>
60451         [BZ #13837]
60452         * math/libm-test.inc (cos_test): Add a test case for large input
60453         value.
60454         (sin_test): Likewise.
60455         (sincos_test): Likewise.
60457 2012-03-15  Andreas Jaeger  <aj@suse.de>
60458             Joseph Myers  <joseph@codesourcery.com>
60460         [BZ #13658]
60461         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60462         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60463         * sysdeps/i386/fpu/branred.c: Likewise.
60464         * sysdeps/i386/fpu/dosincos.c: Likewise.
60465         * sysdeps/i386/fpu/mpa.c: Likewise.
60466         * sysdeps/i386/fpu/s_cos.S: Likewise.
60467         * sysdeps/i386/fpu/s_sin.S: Likewise.
60468         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60469         * sysdeps/i386/fpu/sincos32.c: Likewise.
60471         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60472         Define.
60473         (libc_feupdateenv_53bit): Define.
60474         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60475         Define.
60476         (libc_feupdateenv_53bit): Define.
60478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60479         53 bit (without extend i386 double precision).
60481         * math/libm-test.inc (sincos_test): Add tests for large input.
60482         (sin): Likewise.
60483         (cos): Likewise.
60485         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60487 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60491 2012-03-15  David S. Miller  <davem@davemloft.net>
60493         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60494         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60495         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60496         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60509         file.
60510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60512         file.
60513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60515         file.
60516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60518         file.
60519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60520         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60521         fmin/fmax sysdep routines.
60522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60524 2012-03-14  David S. Miller  <davem@davemloft.net>
60526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60530         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60531         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60532         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60534         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60546         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60547         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60548         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60549         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60550         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60551         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60552         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60553         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60555         routines.
60556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60557         file.
60558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60560         file.
60561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60563         file.
60564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60566         file.
60567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60569         file.
60570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60572         file.
60573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60574         file.
60575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60576         file.
60577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60578         file.
60579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60580         New file.
60581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60582         file.
60583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60584         file.
60585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60587         file.
60588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60590         file.
60591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60593         file.
60594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60596         VIS3 routines.
60598         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60599         New file.
60601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60603         * sysdeps/sparc/configure.in: New file.
60604         * sysdeps/sparc/configure: Generate.
60605         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60606         * configure: Regenerate.
60607         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60608         * config.make.in (have-as-vis3): New.
60609         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60610         available use -Av9d instead of -Av9a.
60611         * sysdeps/sparc/sparc64/Makefile: Likewise.
60612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60614         New file.
60615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60616         file.
60617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60618         New file.
60619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60620         file.
60621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60622         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60623         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60624         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60625         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60627         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60628         fzeros/fnegs to load 0x80000000 into a float register instead of
60629         using the stack.
60630         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60632 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60635         bits/syscall.h.
60636         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60637         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60638         ($(inst_includedir)/bits/syscall.h): Remove rule.
60639         ($(objpfx)bits/syscall.d): Include instead of
60640         $(objpfx)syscall-list.d.
60641         (generated): Change syscall-list.h and syscall-list.d to
60642         bits/syscall.h and bits/syscall.d.
60644 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60646         [BZ #13846]
60647         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60649 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60651         [BZ #13841]
60652         * math/s_csqrt.c: Include <float.h>.
60653         (__csqrt): Scale large or subnormal inputs.
60654         * math/s_csqrtf.c: Likewise.
60655         * math/s_csqrtl.c: Likewise.
60656         * math/libm-test.inc (csqrt_test): Add more tests.
60657         * sysdeps/i386/fpu/libm-test-ulps: Update.
60658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60660         [BZ #13840]
60661         * math/libm-test.inc (hypot_test): Add more tests.
60663 2012-03-13  David S. Miller  <davem@davemloft.net>
60665         [BZ #13840]
60666         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60667         double-precision for the calculation instead of scaling.
60669 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60672         manipulate bits before adding and subtracting TWO52[sx].
60673         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60674         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60675         Likewise.
60676         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60678 2012-03-13  David S. Miller  <davem@davemloft.net>
60680         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60681         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60682         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60683         rtld-global-offsets.h
60684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60686         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60687         large parameters.
60689         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60691         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60692         'err' in the ifdef scope in which it is actually used.
60694         * nss/nss_db/db-init.c: Include string.h
60696 2012-03-12  David S. Miller  <davem@davemloft.net>
60698         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60699         masking out of the most significant byte of random value used.
60700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60701         Fix coding style in previous change.
60703         * sysdeps/unix/sysv/linux/kernel-features.h
60704         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60705         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60706         expression.
60707         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60708         later.
60710 2012-03-11  David S. Miller  <davem@davemloft.net>
60712         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60713         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60714         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60715         for 'resultvar' otherwise things get truncated on 64-bit.
60717         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60718         Fix masking out of the most significant byte of random value used.
60720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60722 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60726 2012-03-09  David S. Miller  <davem@davemloft.net>
60728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60729         variables with appropriate CPP guards.
60730         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60731         from the frame pointer, not the stack pointer.  Correct layout
60732         comments.  Fix test on resulting framesize and the management of
60733         the outregs buffer for pltexit.  Preserve floating point return
60734         values across _dl_call_pltexit call.
60735         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60736         framesize and the management of the outregs buffer for pltexit.
60737         Preserve floating point return values across _dl_call_pltexit
60738         call.
60739         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60740         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60741         (la_sparc64_gnu_pltexit): New functions.
60742         (print_exit): Fix format string for return register value.
60744 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60746         * sunrpc/Makefile (others): Add rpcgen.
60747         ($(objpfx)rpcgen): Remove special build rule and dependency on
60748         libc.
60749         * sunrpc/rpcgen.c: New file.
60751 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60753         [BZ #13673]
60754         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60755         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60756         * sysdeps/i386/crti.S: Likewise.
60757         * sysdeps/i386/crtn.S: Likewise.
60758         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60759         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60760         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60761         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60762         * sysdeps/sh/crti.S: Likewise.
60763         * sysdeps/sh/crtn.S: Likewise.
60764         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60766         [BZ #13673]
60767         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60768         with URL.
60769         * locale/programs/locfile-kw.gperf: Likewise.
60770         * locale/programs/charmap-kw.h: Regenerated.
60771         * locale/programs/locfile-kw.h: Likewise.
60773         [BZ #13673]
60774         * intl/plural.y: Replace FSF snail mail address with URL.
60775         * intl/plural.c: Regenerated.
60777 2012-03-09  Richard Henderson  <rth@twiddle.net>
60779         * include/math_private.h: Remove file.
60780         * math/math_private.h: Move file ...
60781         * sysdeps/generic/math_private.h: ... here.
60783         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60784         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60785         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60787         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60788         and <math_private.h>.
60789         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60790         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60791         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60792         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60793         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60794         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60795         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60797         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60798         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60799         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60800         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60801         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60803         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60804         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60805         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60808         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60810         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60811         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60813         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60814         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60815         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60816         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60819         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60820         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60821         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60822         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60823         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60824         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60825         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60826         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60827         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60828         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60829         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60830         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60831         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60832         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60834         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60835         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60836         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60838         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60839         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60840         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60841         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60842         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60843         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60844         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60845         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60846         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60847         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60848         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60849         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60850         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60852         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60853         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60854         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60860         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60862         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60863         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60867         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60868         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60869         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60870         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60871         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60877         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60878         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60879         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60880         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60881         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60882         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60883         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60884         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60885         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60886         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60887         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60889         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60890         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60891         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60892         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60893         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60894         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60895         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60896         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60897         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60898         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60899         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60900         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60901         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60902         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60903         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60904         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60905         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60906         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60907         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60908         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60910         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60911         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60912         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60915         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60916         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60917         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60918         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60919         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60920         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60921         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60922         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60923         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60924         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60925         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60926         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60927         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60928         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60929         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60930         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60931         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60932         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60933         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60934         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60935         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60936         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60937         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60938         * sysdeps/ieee754/k_standard.c: Likewise.
60939         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60940         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60941         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60942         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60943         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60944         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60945         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60946         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60947         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60948         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60950         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60951         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60952         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60953         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60954         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60955         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60956         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60957         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60958         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60962         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60963         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60966         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60967         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60972         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60975         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60976         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60977         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60985         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60987         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60989         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60990         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60991         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60992         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60994         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60995         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60996         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60997         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60998         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61000         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61001         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61002         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61005         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61006         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61007         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61008         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61009         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61011         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61015         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61016         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61058         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61059         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61061         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61062         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61063         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61064         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61066         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61068         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61070         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61071         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61073         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61078         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61083         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61084         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61085         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61087         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61088         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61089         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61090         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61091         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61092         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61093         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61095         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61097         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61099         * sysdeps/ieee754/s_lib_version.c: Likewise.
61100         * sysdeps/ieee754/s_matherr.c: Likewise.
61101         * sysdeps/ieee754/s_signgam.c: Likewise.
61102         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61103         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61104         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61105         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61106         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61107         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61108         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61109         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61110         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61111         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61112         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61113         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61114         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61115         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61116         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61117         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61118         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61119         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61124 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61126         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61127         * sunrpc/rpc_main.c: Likewise.
61128         * sunrpc/rpc_svcout.c: Likewise.
61130 2012-03-09  David S. Miller  <davem@davemloft.net>
61132         * include/math_private.h: New file.
61134 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61136         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61137         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61138         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61139         from <bits/socket_type.h>.
61140         (enum __socket_type): Don't define here.
61141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61143         bits/socket_type.h.
61145         [BZ #13566]
61146         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61147         checking __USE_GNU.
61149         * Makerules ($(inst_includedir)/%.h): New rule.
61150         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61151         (install-others): Remove variable setting.
61152         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61154 2012-03-08  Richard Henderson  <rth@twiddle.net>
61156         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61157         from macro to inline function; merge with the
61158         !__LIBC_INTERNAL_MATH_INLINES version.
61159         (__ieee754_sqrtf): Likewise.
61161         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61162         to inline function.
61163         (__rintf, __floor, __floorf): Likewise.
61165         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61166         macro to inline function.
61167         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61169         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61170         not <math/math_private.h>.
61172 2012-03-08  David S. Miller  <davem@davemloft.net>
61174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61175         copyright year.
61176         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61178 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61180         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61181         normalization.
61182         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61183         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61185 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61187         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61188         be defined individually, they must be defined as a block.  Define
61189         S for printing a string instead of hidint the different by using a
61190         macro for adding the 'l'.
61191         * stdio-common/tst-fphex-wide.c: Adjust.
61193 2012-03-07  Marek Polacek  <polacek@redhat.com>
61195         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61197 2012-03-08  Marek Polacek  <polacek@redhat.com>
61199         [BZ #13806]
61200         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61201         * stdio-common/tst-fphex.c: Define a few macros to make the
61202         test reusable.  Use them.
61203         * stdio-common/tst-fphex-wide.c: New file.
61205 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61207         [BZ #6911]
61208         * manual/macros.texi (gnusystems): New macro.
61209         (nongnusystems): Likewise.
61210         (gnulinuxhurdsystems): Likewise.
61211         (gnuhurdsystems): Likewise..
61212         (gnulinuxsystems): Likewise.
61213         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61214         variants of the GNU system, not "GNU system".
61215         * manual/conf.texi: Likewise.
61216         * manual/errno.texi: Likewise.  Update example of errno macro
61217         expansion.
61218         * manual/filesys.texi: Likewise.
61219         (getumask): Document as specific to GNU/Hurd.
61220         * manual/install.texi: Likewise.  Reword some references to
61221         GNU/Linux.
61222         * manual/intro.texi: Likewise.
61223         * manual/io.texi: Likewise.
61224         (File Name Portability): Detail which constraints are inapplicable
61225         to all GNU systems and which are only inapplicable to GNU/Hurd.
61226         * manual/job.texi: Likewise.
61227         * manual/llio.texi: Likewise.
61228         (O_NOCTTY): Document as present on GNU/Linux.
61229         * manual/maint.texi: Likewise.
61230         * manual/memory.texi: Likewise.
61231         * manual/pattern.texi: Likewise.
61232         * manual/pipe.texi: Likewise.
61233         * manual/process.texi: Likewise.
61234         * manual/resource.texi: Likewise.
61235         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61236         child on GNU/Hurd.
61237         * manual/setjmp.texi: Likewise.
61238         * manual/signal.texi: Likewise.
61239         * manual/startup.texi: Likewise.
61240         * manual/stdio.texi: Likewise.
61241         * manual/terminal.texi: Likewise.
61242         (ONLCR): Document as POSIX.
61243         (OXTABS): Document availability on GNU/Linux as XTABS.
61244         (ONOEOT): Document availability separately from other bits.
61245         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61246         * manual/time.texi: Likewise.
61247         * manual/users.texi: Likewise.
61248         * INSTALL: Regenerated.
61249         * sysdeps/gnu/errlist.c: Regenerated.
61251         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61252         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61253         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61254         puts.
61255         * configure: Regenerated.
61257 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61259         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61260         default includes instead of AC_HEADER_CHECK.
61261         * sysdeps/i386/configure: Regenerated.
61263         [BZ #10716]
61264         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61265         * math/s_cacoshf.c (__cacoshf): Likewise.
61266         * math/s_cacoshl.c (__cacoshl): Likewise.
61267         * math/s_casinh.c (__casinh): Set signs of result from argument.
61268         * math/s_casinhf.c (__casinhf): Likewise.
61269         * math/s_casinhl.c (__casinhl): Likewise.
61270         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61271         (casinh_test): Add more tests.
61272         * sysdeps/i386/fpu/libm-test-ulps: Update.
61273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61275 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61277         * po/zh_TW.po: Update from translation team.
61279         * login/Makefile (distribute): Remove variable.
61280         * catgets/Makefile: Likewise.
61281         * mach/Makefile: Likewise.
61282         * malloc/Makefile: Likewise.
61283         * misc/Makefile: Likewise.
61284         * iconv/Makefile: Likewise.
61285         * nscd/Makefile: Likewise.
61286         * hurd/Makefile: Likewise.
61287         * manual/Makefile: Likewise.
61288         * locale/Makefile: Likewise.
61289         * intl/Makefile: Likewise.
61290         * conform/Makefile: Likewise.
61291         * nss/Makefile: Likewise.
61292         * time/Makefile: Likewise.
61293         * soft-fp/Makefile: Likewise.
61294         * dirent/Makefile: Likewise.
61295         * gmon/Makefile: Likewise.
61296         * po/Makefile: Likewise.
61297         * rt/Makefile: Likewise.
61298         * socket/Makefile: Likewise.
61299         * math/Makefile: Likewise.
61300         * signal/Makefile: Likewise.
61301         * debug/Makefile: Likewise.
61302         * elf/Makefile: Likewise.
61303         * timezone/Makefile: Likewise.
61304         * stdlib/Makefile: Likewise.
61305         * iconvdata/Makefile: Likewise.
61306         * sunrpc/Makefile: Likewise.
61307         * io/Makefile: Likewise.
61308         * argp/Makefile: Likewise.
61309         * inet/Makefile: Likewise.
61310         * hesiod/Makefile: Likewise.
61311         * grp/Makefile: Likewise.
61312         * csu/Makefile: Likewise.
61313         * wctype/Makefile: Likewise.
61314         * crypt/Makefile: Likewise.
61315         * libio/Makefile: Likewise.
61316         * string/Makefile: Likewise.
61317         * nis/Makefile: Likewise.
61318         * resolv/Makefile: Likewise.
61319         * stdio-common/Makefile: Likewise.
61320         * wcsmbs/Makefile: Likewise.
61321         * dlfcn/Makefile: Likewise.
61322         * posix/Makefile: Likewise.
61324         [BZ #6959]
61325         * timezone/Makefile: Don't install timezone files, just the programs
61326         and scripts.
61328 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61330         * nss/databases.def: Add missing gshadow entry.
61332         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61334 2012-03-06  Marek Polacek  <polacek@redhat.com>
61336         [BZ #13726]
61337         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61338         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61339         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61340         * stdio-common/tst-long-dbl-fphex.c: New file.
61342 2012-03-06  David S. Miller  <davem@davemloft.net>
61344         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61345         (set_obp_int): New function.
61346         (get_obp_int): New function.
61347         (__get_clockfreq_via_dev_openprom): Likewise.
61348         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61349         Avoid unused variable warnings on 'val' and use builtin_expect.
61350         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61351         __builtin_expect.
61352         (INLINE_CLONE_SYSCALL): Likewise.
61354 2012-03-05  David S. Miller  <davem@davemloft.net>
61356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61358 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61363         only for |x| >= 40.
61364         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61366 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61369         Replace gettimeofday with __vdso_gettimeofday.
61371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61372         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61373         __vdso_clock_gettime and __vdso_getcpu.
61375         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61376         time with __vdso_time.
61378 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61380         * manual/lang.texi (size_t): Note types to which size_t may be
61381         equivalent with the GNU C Library, but do not describe when
61382         differences between them are significant.
61384 2012-03-05  Andreas Jaeger  <aj@suse.de>
61386         * sysdeps/i386/fpu/libm-test-ulps: Update.
61388 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61390         [BZ #3976]
61391         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61392         (__ieee754_pow): Save and restore rounding mode and use
61393         round-to-nearest for main computations.
61394         * math/libm-test.inc (pow_test_tonearest): New function.
61395         (pow_test_towardzero): Likewise.
61396         (pow_test_downward): Likewise.
61397         (pow_test_upward): Likewise.
61398         (main): Call the new functions.
61399         * sysdeps/i386/fpu/libm-test-ulps: Update.
61400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61402         [BZ #3976]
61403         * math/libm-test.inc (cosh_test_tonearest): New function.
61404         (cosh_test_towardzero): Likewise.
61405         (cosh_test_downward): Likewise.
61406         (cosh_test_upward): Likewise.
61407         (sinh_test_tonearest): Likewise.
61408         (sinh_test_towardzero): Likewise.
61409         (sinh_test_downward): Likewise.
61410         (sinh_test_upward): Likewise.
61411         (main): Call the new functions.
61412         * sysdeps/i386/fpu/libm-test-ulps: Update.
61413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61415 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61417         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61418         default stack guard is set in last bytes.
61419         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61421 2012-03-05  Kees Cook  <keescook@chromium.org>
61423         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61425         [BZ #13656]
61426         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61427         possibly allocate from heap instead of stack.
61428         * stdio-common/bug-vfprintf-nargs.c: New file.
61429         * stdio-common/Makefile (tests): Add nargs overflow test.
61431 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61435 2012-03-03  Marek Polacek  <polacek@redhat.com>
61437         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61438         * math/math_private.h: Likewise.
61439         * stdlib/tst-strtod.c: Likewise.
61440         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61441         * sysdeps/x86_64/bits/atomic.h: Likewise.
61443 2012-03-02  David S. Miller  <davem@davemloft.net>
61445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61449         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61450         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61451         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61452         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61454 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61456         [BZ #13792]
61457         * manual/examples/README: New file, says the example source files
61458         can be used under GPL>=2.
61459         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61460         line containing just "*/".
61461         * manual/examples/add.c: Add copyright header (GPL>=2).
61462         * manual/examples/argp-ex1.c: Likewise.
61463         * manual/examples/argp-ex2.c: Likewise.
61464         * manual/examples/argp-ex3.c: Likewise.
61465         * manual/examples/argp-ex4.c: Likewise.
61466         * manual/examples/atexit.c: Likewise.
61467         * manual/examples/db.c: Likewise.
61468         * manual/examples/dir.c: Likewise.
61469         * manual/examples/dir2.c: Likewise.
61470         * manual/examples/execinfo.c: Likewise.
61471         * manual/examples/filecli.c: Likewise.
61472         * manual/examples/filesrv.c: Likewise.
61473         * manual/examples/fmtmsgexpl.c: Likewise.
61474         * manual/examples/genpass.c: Likewise.
61475         * manual/examples/inetcli.c: Likewise.
61476         * manual/examples/inetsrv.c: Likewise.
61477         * manual/examples/isockad.c: Likewise.
61478         * manual/examples/longopt.c: Likewise.
61479         * manual/examples/memopen.c: Likewise.
61480         * manual/examples/memstrm.c: Likewise.
61481         * manual/examples/mkfsock.c: Likewise.
61482         * manual/examples/mkisock.c: Likewise.
61483         * manual/examples/mygetpass.c: Likewise.
61484         * manual/examples/pipe.c: Likewise.
61485         * manual/examples/popen.c: Likewise.
61486         * manual/examples/rprintf.c: Likewise.
61487         * manual/examples/search.c: Likewise.
61488         * manual/examples/select.c: Likewise.
61489         * manual/examples/setjmp.c: Likewise.
61490         * manual/examples/sigh1.c: Likewise.
61491         * manual/examples/sigusr.c: Likewise.
61492         * manual/examples/stpcpy.c: Likewise.
61493         * manual/examples/strdupa.c: Likewise.
61494         * manual/examples/strftim.c: Likewise.
61495         * manual/examples/strncat.c: Likewise.
61496         * manual/examples/subopt.c: Likewise.
61497         * manual/examples/swapcontext.c: Likewise.
61498         * manual/examples/termios.c: Likewise.
61499         * manual/examples/testopt.c: Likewise.
61500         * manual/examples/testpass.c: Likewise.
61501         * manual/examples/timeval_subtract.c: Likewise.
61503         [BZ #13792]
61504         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61505         function to ...
61506         * manual/timeval_subtract.c.texi: ... here, new file.
61508 2012-03-02  David S. Miller  <davem@davemloft.net>
61510         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61512 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61514         [BZ #3976]
61515         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61516         (__sin): Save and restore rounding mode and use round-to-nearest
61517         for all computations.
61518         (__cos): Save and restore rounding mode and use round-to-nearest
61519         for all computations.
61520         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61521         <fenv.h>.
61522         (tan): Save and restore rounding mode and use round-to-nearest for
61523         all computations.
61524         * math/libm-test.inc (cos_test_tonearest): New function.
61525         (cos_test_towardzero): Likewise.
61526         (cos_test_downward): Likewise.
61527         (cos_test_upward): Likewise.
61528         (sin_test_tonearest): Likewise.
61529         (sin_test_towardzero): Likewise.
61530         (sin_test_downward): Likewise.
61531         (sin_test_upward): Likewise.
61532         (tan_test_tonearest): Likewise.
61533         (tan_test_towardzero): Likewise.
61534         (tan_test_downward): Likewise.
61535         (tan_test_upward): Likewise.
61536         (main): Call the new functions.
61537         * sysdeps/i386/fpu/libm-test-ulps: Update.
61538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61540         [BZ #10135]
61541         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61542         small n, then large n, before computing and testing k+n.
61543         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61545         Likewise.
61546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61547         Likewise.
61548         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61549         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61550         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61551         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61552         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61553         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61554         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61555         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61556         * math/libm-test.inc (scalbn_test): Add more tests.
61557         (scalbln_test): Likewise.
61559         * manual/filesys.texi (mode_t): Describe constraints on size and
61560         signedness, not exact equivalence to a particular type.
61561         (ino_t): Likewise.
61562         (ino64_t): Likewise.
61563         (dev_t): Likewise.
61564         (nlink_t): Likewise.
61565         (blkcnt_t): Likewise.
61566         (blkcnt64_t): Likewise.
61567         * manual/llio.texi (off_t): Likewise.
61569         [BZ #3976]
61570         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61571         (__ieee754_exp): Save and restore rounding mode and use
61572         round-to-nearest for all computations.
61573         * math/libm-test.inc (exp_test_tonearest): New function.
61574         (exp_test_towardzero): Likewise.
61575         (exp_test_downward): Likewise.
61576         (exp_test_upward): Likewise.
61577         (main): Call the new functions.
61578         * sysdeps/i386/fpu/libm-test-ulps: Update.
61579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61581 2012-03-01  Chris Demetriou  <cgd@google.com>
61583         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61584         have predictable order.
61586 2012-03-01  David S. Miller  <davem@davemloft.net>
61588         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61590         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61591         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61592         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61593         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61595         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61596         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61597         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61599         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61600         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61601         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61602         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61603         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61607         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61608         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61611         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61612         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61613         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61614         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61615         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61616         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61618         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61619         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61620         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61621         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61622         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61624         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61625         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61627         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61628         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61629         * sysdeps/sparc/elf/configure: Regenerated.
61631 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61633         * configure.in (AS, LD): Require binutils 2.20 or later.
61634         * configure: Regenerated.
61635         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61636         as required minimum version.
61637         * INSTALL: Regenerated.
61639         [BZ #2541]
61640         [BZ #4108]
61641         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61642         before squaring exponent.
61643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61644         bottom long double and 27 bits of top long double before squaring
61645         exponent.
61646         * math/libm-test.inc (erfc_test): Add more tests.
61647         * sysdeps/i386/fpu/libm-test-ulps: Update.
61648         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61651 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61653         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61654         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61655         containing bit-fields.
61656         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61657         * soft-fp/single.h (_FP_UNION_S): Likewise.
61658         * soft-fp/double.h (_FP_UNION_D): Likewise.
61660 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61662         [BZ #13786]
61663         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61664         not include ../strcmp.S.
61665         [USE_AS_STRNCASECMP_L]: Likewise.
61666         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61667         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61668         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61669         (__strncasecmp_l_ia32): Define as alias to
61670         __strncasecmp_l_nonascii.
61672         [BZ #5794]
61673         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61674         * sysdeps/i386/fpu/libm-test-ulps: Update.
61675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61677         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61680 2012-02-29  Jeff Law  <law@redhat.com>
61682         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61683         out of bounds read.
61685 2012-02-29  Marek Polacek  <polacek@redhat.com>
61687         [BZ #13706]
61688         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61689         * elf/Makefile: Add rules to run tst-unused-dep.out.
61691 2012-02-28  David S. Miller  <davem@davemloft.net>
61693         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61694         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61696         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61697         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61698         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61700 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61702         * math/libm-test.inc (llround_test): Move one test from
61703         lround_test.  Use TEST_f_L in moved test.
61704         (lround_test): Move misplaced test to llround_test.  Add testcase
61705         from bug 2561.
61707 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61709         * sysdeps/x86_64/fpu/e_expf.S: New file.
61710         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61712 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61714         [BZ #13637]
61715         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61716         of remain_len that may cause incomplete multi-byte character and
61717         false match.
61718         * posix/bug-regex33.c: New file.
61719         * posix/Makefile (tests): Add bug-regex33.
61721 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61723         * manual/macros.texi: New file.
61724         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61725         * manual/libc.texinfo: Include macros.texi.
61726         * manual/creatute.texi: Likewise.
61727         * manual/install.texi: Likewise.
61728         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61729         @glibcadj{} in references to the GNU C Library.
61730         * manual/charset.texi: Likewise.
61731         * manual/conf.texi: Likewise.
61732         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61733         when not using those macros.
61734         * manual/creature.texi: Likewise.
61735         * manual/crypt.texi: Likewise.
61736         * manual/errno.texi: Likewise.
61737         * manual/filesys.texi: Likewise.
61738         * manual/header.texi: Likewise.
61739         * manual/install.texi: Likewise.
61740         * manual/intro.texi: Likewise.
61741         * manual/io.texi: Likewise.
61742         * manual/job.texi: Likewise.
61743         * manual/lang.texi: Likewise.
61744         * manual/libc.texiinfo: Likewise.
61745         * manual/llio.texi: Likewise.
61746         * manual/locale.texi: Likewise.
61747         * manual/maint.texi: Likewise.
61748         * manual/math.texi: Likewise.
61749         * manual/memory.texi: Likewise.
61750         * manual/message.texi: Likewise.
61751         * manual/nss.texi: Likewise.
61752         * manual/pattern.texi: Likewise.
61753         * manual/process.texi: Likewise.
61754         * manual/resource.texi: Likewise.
61755         * manual/search.texi: Likewise.
61756         * manual/setjmp.texi: Likewise.
61757         * manual/signal.texi: Likewise.
61758         * manual/socket.texi: Likewise.
61759         * manual/startup.texi: Likewise.
61760         * manual/stdio.texi: Likewise.
61761         * manual/string.texi: Likewise.
61762         * manual/sysinfo.texi: Likewise.
61763         * manual/syslog.texi: Likewise.
61764         * manual/terminal.texi: Likewise.
61765         * manual/time.texi: Likewise.
61766         * manual/users.texi: Likewise.
61767         * INSTALL: Regenerated.
61768         * NOTES: Regenerated.
61769         * sysdeps/gnu/errlist.c: Regenerated.
61771 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61773         * include/dirent.h: Include <dirstream.h> before
61774         <dirent/dirent.h>.
61776 2012-02-28  David S. Miller  <davem@davemloft.net>
61778         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61779         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61780         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61781         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61783 2012-02-27  David S. Miller  <davem@davemloft.net>
61785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61787         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61788         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61791         frame pointer instead of stack pointer relative arg slot.
61792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61793         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61794         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61796 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61798         [BZ #3992]
61799         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61801 2012-02-27  David S. Miller  <davem@davemloft.net>
61803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61809         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61810         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61812 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61814         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61815         later.  Allow versions 5-9.
61816         * configure: Regenerated.
61817         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61818         required minimum version and 4.6 as recommended version.  Do not
61819         mention bugs in GCC 2.7 and 2.8.
61820         * INSTALL: Regenerated.
61822 2012-02-27  David S. Miller  <davem@davemloft.net>
61824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61828         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61829         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61830         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61831         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61833         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61834         manipulate bits before adding and subtracting TWO112[sx].
61835         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61837 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61839         [BZ #13775]
61840         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61841         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61842         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61843         being in POSIX, because they are in 1003.1-2008.
61845         * rt/tst-aio.c: Include <fcntl.h>.
61846         * rt/tst-aio7.c: Likewise.
61847         * rt/tst-aio64.c: Likewise.
61849         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61851 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61853         * manual/install.texi (--with-headers): Describe headers as
61854         interface headers, not private headers.
61855         (Specific advice for GNU/Linux systems): Describe use of headers
61856         from "make headers_install", not private headers from older
61857         kernels.
61858         * INSTALL: Regenerated.
61859         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61860         Change to 2.6.19.
61861         * sysdeps/unix/sysv/linux/configure: Regenerated.
61863         * manual/llio.texi (fclean): Remove documentation.
61865         * manual/Makefile (libc-texi-generated): New variable.  Include
61866         version.texi.
61867         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61868         $(libc-texi-generated), not duplicated list of files.
61869         (version.texi, stamp-version): New rules.
61870         (realclean): Remove $(libc-texi-generated), not individual files
61871         from that list.  Do not remove dir-add.texinfo.
61872         * manual/libc.texinfo: Comment out uses of edition numbers and
61873         references to printed manual.  Remove last-updated dates.
61874         (EDITION): Comment out.
61875         (ISBN): Likewise.
61876         (VERSION, UPDATED): Remove.
61877         (version.texi): Include.
61879 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61881         * sysdeps/posix/spawni.c: Include <signal.h>.
61882         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61883         * sysdeps/pthread/aio_fsync.c: Likewise.
61885 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61887         * conform/Makefile (tests): Run only when not cross-compiling and
61888         when fast-check is not defined.
61890         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61891         * conform/data/limits.h-data: Fixes for POSIX2008.
61892         * conform/run-conformtest.sh: Run all tests.
61893         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61894         headers.
61895         * include/bits/dlfcn.h: Likewise.
61896         * include/langinfo.h: Likewise.
61897         * include/monetary.h: Likewise.
61898         * include/sys/poll.h: Likewise.
61900         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61901         for __USE_GNU.
61902         * posix/spawn.h: Define __need_sigset_t.
61903         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61904         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61905         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61906         to get sigevent_t only.
61907         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61908         only for __USE_GNU.
61909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61910         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61911         process_vm_writev only for __USE_GNU.
61912         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61914         * conform/Makefile: For now ignore errors from run-conformtest.
61915         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61916         POSIX to avoid namespace pollution.  Don't prepend headers.
61917         * conform/data/aio.h-data: Fixes for POSIX testing.
61918         * conform/data/fcntl.h-data: Likewise.
61919         * conform/data/glob.h-data: Likewise.
61920         * conform/data/grp.h-data: Likewise.
61921         * conform/data/pthread.h-data: Likewise.
61922         * conform/data/pwd.h-data: Likewise.
61923         * conform/data/signal.h-data: Likewise.
61924         * conform/data/spawn.h-data: Likewise.
61925         * conform/data/stdio.h-data: Likewise.
61926         * conform/data/stdlib.h-data: Likewise.
61927         * conform/data/stropts.h-data: Likewise.
61928         * conform/data/sys/mman.h-data: Likewise.
61929         * conform/data/sys/stat.h-data: Likewise.
61930         * conform/data/sys/types.h-data: Likewise.
61931         * conform/data/sys/wait.h-data: Likewise.
61932         * conform/data/time.h-data: Likewise.
61933         * conform/data/unistd.h-data: Likewise.
61934         * conform/data/utime.h-data: Likewise.
61936         * io/sys/stat.h: fchmod was always in POSIX.
61937         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61938         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61939         * rt/aio.h: Define __need_timespec before including <time.h>.
61940         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61941         struct.  Add forward declaration of pthread_attr_t and use it in
61942         sigevent.
61943         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61944         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61945         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61946         always remove CLK_TCK definition.
61948 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61950         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61952 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61954         * conform/run-conformtest.sh: New file.
61955         * conform/Makefile: Run run-conformtest for tests.
61956         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61957         support.
61959         * conform/data/uchar.h-data: New file.
61960         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61961         * conform/data/arpa/inet.h-data: Likewise.
61962         * conform/data/assert.h-data: Likewise.
61963         * conform/data/complex.h-data: Likewise.
61964         * conform/data/cpio.h-data: Likewise.
61965         * conform/data/ctype.h-data: Likewise.
61966         * conform/data/dirent.h-data: Likewise.
61967         * conform/data/dlfcn.h-data: Likewise.
61968         * conform/data/errno.h-data: Likewise.
61969         * conform/data/fcntl.h-data: Likewise.
61970         * conform/data/float.h-data: Likewise.
61971         * conform/data/fmtmsg.h-data: Likewise.
61972         * conform/data/fnmatch.h-data: Likewise.
61973         * conform/data/ftw.h-data: Likewise.
61974         * conform/data/glob.h-data: Likewise.
61975         * conform/data/grp.h-data: Likewise.
61976         * conform/data/iconv.h-data: Likewise.
61977         * conform/data/inttypes.h-data: Likewise.
61978         * conform/data/langinfo.h-data: Likewise.
61979         * conform/data/libgen.h-data: Likewise.
61980         * conform/data/limits.h-data: Likewise.
61981         * conform/data/locale.h-data: Likewise.
61982         * conform/data/math.h-data: Likewise.
61983         * conform/data/monetary.h-data: Likewise.
61984         * conform/data/mqueue.h-data: Likewise.
61985         * conform/data/ndbm.h-data: Likewise.
61986         * conform/data/net/if.h-data: Likewise.
61987         * conform/data/netdb.h-data: Likewise.
61988         * conform/data/netinet/in.h-data: Likewise.
61989         * conform/data/nl_types.h-data: Likewise.
61990         * conform/data/poll.h-data: Likewise.
61991         * conform/data/pthread.h-data: Likewise.
61992         * conform/data/pwd.h-data: Likewise.
61993         * conform/data/regex.h-data: Likewise.
61994         * conform/data/sched.h-data: Likewise.
61995         * conform/data/search.h-data: Likewise.
61996         * conform/data/semaphore.h-data: Likewise.
61997         * conform/data/setjmp.h-data: Likewise.
61998         * conform/data/signal.h-data: Likewise.
61999         * conform/data/spawn.h-data: Likewise.
62000         * conform/data/stdarg.h-data: Likewise.
62001         * conform/data/stdio.h-data: Likewise.
62002         * conform/data/stdlib.h-data: Likewise.
62003         * conform/data/string.h-data: Likewise.
62004         * conform/data/strings.h-data: Likewise.
62005         * conform/data/stropts.h-data: Likewise.
62006         * conform/data/sys/ipc.h-data: Likewise.
62007         * conform/data/sys/mman.h-data: Likewise.
62008         * conform/data/sys/msg.h-data: Likewise.
62009         * conform/data/sys/resource.h-data: Likewise.
62010         * conform/data/sys/select.h-data: Likewise.
62011         * conform/data/sys/sem.h-data: Likewise.
62012         * conform/data/sys/shm.h-data: Likewise.
62013         * conform/data/sys/socket.h-data: Likewise.
62014         * conform/data/sys/stat.h-data: Likewise.
62015         * conform/data/sys/statvfs.h-data: Likewise.
62016         * conform/data/sys/time.h-data: Likewise.
62017         * conform/data/sys/timeb.h-data: Likewise.
62018         * conform/data/sys/times.h-data: Likewise.
62019         * conform/data/sys/types.h-data: Likewise.
62020         * conform/data/sys/uio.h-data: Likewise.
62021         * conform/data/sys/un.h-data: Likewise.
62022         * conform/data/sys/utsname.h-data: Likewise.
62023         * conform/data/sys/wait.h-data: Likewise.
62024         * conform/data/syslog.h-data: Likewise.
62025         * conform/data/tar.h-data: Likewise.
62026         * conform/data/termios.h-data: Likewise.
62027         * conform/data/utime.h-data: Likewise.
62028         * conform/data/utmpx.h-data: Likewise.
62029         * conform/data/varargs.h-data: Likewise.
62030         * conform/data/wchar.h-data: Likewise.
62031         * conform/data/wctype.h-data: Likewise.
62032         * conform/data/wordexp.h-data: Likewise.
62034         * include/stropts.h: New file.
62035         * include/uchar.h: New file.
62036         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62037         * include/assert.h: Likewise.
62038         * include/ctype.h: Likewise.
62039         * include/dirent.h: Likewise.
62040         * include/dlfcn.h: Likewise.
62041         * include/fcntl.h: Likewise.
62042         * include/fnmatch.h: Likewise.
62043         * include/glob.h: Likewise.
62044         * include/grp.h: Likewise.
62045         * include/libio.h: Likewise.
62046         * include/locale.h: Likewise.
62047         * include/math.h: Likewise.
62048         * include/net/if.h: Likewise.
62049         * include/netdb.h: Likewise.
62050         * include/netinet/in.h: Likewise.
62051         * include/pthread.h: Likewise.
62052         * include/pwd.h: Likewise.
62053         * include/regex.h: Likewise.
62054         * include/sched.h: Likewise.
62055         * include/search.h: Likewise.
62056         * include/setjmp.h: Likewise.
62057         * include/signal.h: Likewise.
62058         * include/stdio.h: Likewise.
62059         * include/stdlib.h: Likewise.
62060         * include/string.h: Likewise.
62061         * include/sys/cdefs.h: Likewise.
62062         * include/sys/mman.h: Likewise.
62063         * include/sys/msg.h: Likewise.
62064         * include/sys/resource.h: Likewise.
62065         * include/sys/select.h: Likewise.
62066         * include/sys/socket.h: Likewise.
62067         * include/sys/stat.h: Likewise.
62068         * include/sys/statvfs.h: Likewise.
62069         * include/sys/time.h: Likewise.
62070         * include/sys/times.h: Likewise.
62071         * include/sys/uio.h: Likewise.
62072         * include/sys/utsname.h: Likewise.
62073         * include/sys/wait.h: Likewise.
62074         * include/termios.h: Likewise.
62075         * include/time.h: Likewise.
62076         * include/ulimit.h: Likewise.
62077         * include/unistd.h: Likewise.
62078         * include/utime.h: Likewise.
62079         * include/wchar.h: Likewise.
62080         * include/wctype.h: Likewise.
62081         * include/wordexp.h: Likewise.
62083         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62085         * time/time.h: TIME_UTC must be a macro.
62086         Make timespec_get available for ISO C11 only as well.
62088 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62090         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62091         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62093 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62095         * configure.in: Use -o not -a in test for unsupported multi-arch.
62097 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62099         * manual/texinfo.tex: Update to version 2012-01-19.16.
62101 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62103         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62105 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62107         [BZ #13738]
62108         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62109         * manual/fdl-1.3.texi: New file.
62110         * manual/fdl-1.1.texi: File removed.
62112         [BZ #13738]
62113         * manual/libc.texinfo (FDL_VERSION): New @set.
62114         Use it for mention of FDL in cover text.
62115         (Documentation License): Use it in @include file name.
62117 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62118             Roland McGrath  <roland@hack.frob.com>
62120         [BZ #5461]
62121         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62122         (not LONG_LONG_MAX and LONG_LONG_MIN.
62123         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62124         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62125         name.
62126         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62130         [BZ #2547]
62131         [BZ #11365]
62132         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62133         manipulate bits before adding and subtracting TWO23[sx].
62134         * math/libm-test.inc (nearbyint_test): Add more tests.
62136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62138         [BZ #2548]
62139         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62140         bits before adding and subtracting TWO23[sx].
62141         * math/libm-test.inc (rint_test): Add more tests.
62142         (rint_test_tonearest): Likewise.
62143         (rint_test_towardzero): Likewise.
62144         (rint_test_downward): Likewise.
62145         (rint_test_upward: Likewise.
62147 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62149         [BZ #10110]
62150         * include/stdc-predef.h: New file.  Extracted from features.h.
62151         * include/features.h: Include stdc-predef.h.
62152         * Makefile (headers): Add stdc-predef.h.
62153         * CONFORMANCE (Compiler limitations): Update.
62155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62157         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62159 2012-02-21  David S. Miller  <davem@davemloft.net>
62161         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62162         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62164 2012-02-20  David S. Miller  <davem@davemloft.net>
62166         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62167         using a normal save/restore sequence, rather than allocating a
62168         dummy stack frame just to store a frame pointer and restore.
62169         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62171 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62173         * manual/install.texi: Fix stray word in line-wrapped comment.
62175 2012-02-20  David S. Miller  <davem@davemloft.net>
62177         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62178         both binutils and gcc support GOTDATA.
62180         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62181         "rd %pc" in the PIC register setup sequences.
62183         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62184         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62185         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62186         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62187         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62188         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62189         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62192         (SYSCALL_ERROR_HANDLER): Likewise.
62193         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62194         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62196         (SYSCALL_ERROR_HANDLER): Likewise.
62198         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62199         (HAVE_GCC_GOTDATA): New.
62200         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62201         relocation support in both binutils and gcc.
62202         * sysdeps/sparc/elf/configure: Regenerate.
62204         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62205         * sysdeps/sparc/sparc32/elf/configure: Delete.
62206         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62207         * sysdeps/sparc/sparc64/elf/configure: Delete.
62208         * sysdeps/sparc/elf/configure.in: New file.
62209         * sysdeps/sparc/elf/configure: Generate.
62211         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62212         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62213         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62214         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62215         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62219         * manual/install.texi: Do not mention specific glibc version
62220         numbers.
62221         * manual/libc.texinfo (VERSION, UPDATED): Update.
62222         (@copying): Use @copyright{} and range of years.
62224 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62226         [BZ #13695]
62227         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62228         [crti.S not in sysdirs] (generated): Do not append.
62229         [crti.S not in sysdirs] (omit-deps): Likewise.
62230         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62231         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62232         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62233         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62234         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62235         Likewise.
62236         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62237         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62238         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62239         * csu/defs.awk: Remove file.
62240         * sysdeps/generic/initfini.c: Likewise.
62241         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62242         variable.
62243         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62244         Likewise.
62246 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62248         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62249         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62250         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62251         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62252         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62253         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62254         <bits/epoll.h>.
62255         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62256         (__EPOLL_PACKED): Define to empty if not defined by
62257         <bits/epoll.h>.
62258         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62260         bits/epoll.h.
62262 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62264         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62265         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62266         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62267         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62268         <bits/timerfd.h>.
62269         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62271         bits/timerfd.h.
62273 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62275         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62276         in C locale.
62277         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62279         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62282 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62284         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62285         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62287 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62289         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62290         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62291         defined.
62292         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62293         Likewise.
62294         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62295         entry for 2.16.
62297 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62299         * math/w_acos.c: Use non-signaling floating-point comparisons.
62300         * math/w_acosf.c: Likewise.
62301         * math/w_acosh.c: Likewise.
62302         * math/w_acoshf.c: Likewise.
62303         * math/w_acoshl.c: Likewise.
62304         * math/w_acosl.c: Likewise.
62305         * math/w_asin.c: Likewise.
62306         * math/w_asinf.c: Likewise.
62307         * math/w_asinl.c: Likewise.
62308         * math/w_atanh.c: Likewise.
62309         * math/w_atanhf.c: Likewise.
62310         * math/w_atanhl.c: Likewise.
62311         * math/w_exp2.c: Likewise.
62312         * math/w_exp2f.c: Likewise.
62313         * math/w_exp2l.c: Likewise.
62314         * math/w_j0.c: Likewise.
62315         * math/w_j0f.c: Likewise.
62316         * math/w_j0l.c: Likewise.
62317         * math/w_j1.c: Likewise.
62318         * math/w_j1f.c: Likewise.
62319         * math/w_j1l.c: Likewise.
62320         * math/w_jn.c: Likewise.
62321         * math/w_jnf.c: Likewise.
62322         * math/w_log.c: Likewise.
62323         * math/w_log10.c: Likewise.
62324         * math/w_log10f.c: Likewise.
62325         * math/w_log10l.c: Likewise.
62326         * math/w_log2.c: Likewise.
62327         * math/w_log2f.c: Likewise.
62328         * math/w_log2l.c: Likewise.
62329         * math/w_logf.c: Likewise.
62330         * math/w_logl.c: Likewise.
62331         * math/w_sqrt.c: Likewise.
62332         * math/w_sqrtf.c: Likewise.
62333         * math/w_sqrtl.c: Likewise.
62334         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62335         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62336         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62337         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62338         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62340 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62342         [BZ #9739]
62343         * manual/string.texi (strnlen): Use correct parameter name in
62344         equivalent expression.
62346 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62348         [BZ #11174]
62349         * manual/users.texi (seteuid): Consistently use neweuid for
62350         argument name.
62352 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62354         [BZ #13704]
62355         * manual/nss.texi (Services in the NSS configuration): Correct
62356         list of services in example configuration file.
62358 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62360         [BZ #11322]
62361         * manual/arith.texi: Remove statements about negative zero
62362         behaving identically to zero.
62364 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62366         [BZ #5993]
62367         * manual/install.texi: Do not document upgrading from libc5.
62369 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62371         [BZ #4596]
62372         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62374 2012-02-18  David S. Miller  <davem@davemloft.net>
62376         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62377         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62378         %o7 across the call.
62379         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62380         instead.
62381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62382         SETUP_PIC_REG_LEAF.
62383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62384         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62385         * sysdeps/sparc/crtn.S: Likewise.
62387 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62389         * aout/Makefile: Remove.
62391 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62393         [BZ #13058]
62394         * manual/examples/argp-ex1.c (main): Format definition in GNU
62395         style.
62396         * manual/examples/argp-ex2.c (main): Likewise.
62397         * manual/examples/argp-ex3.c (main): Likewise.
62398         * manual/examples/argp-ex4.c (main): Likewise.
62399         * manual/examples/longopt.c (main): Use new-style prototype
62400         definition.
62401         * manual/examples/strncat.c (main): Specify return type and use
62402         (void) for arguments.
62403         * manual/examples/subopt.c (main): Use char **argv argument.
62405 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62407         [BZ #5077]
62408         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62409         rounding modes.
62411 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62413         [BZ #6907]
62414         * manual/string.texi (strchr): Change when strchrnul is
62415         recommended.
62417 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62419         [BZ #174]
62420         * manual/locale.texi (setlocale): Document LOCPATH.
62422 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62424         [BZ #10210]
62425         * manual/process.texi (execle): Move @dots{} before last argument.
62427 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62429         [BZ #12047]
62430         * manual/charset.texi (Generic Charset Conversion): Fix typo
62431         (LC_TYPE -> LC_CTYPE).
62433 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62435         [BZ #5805]
62436         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62437         (scalbnf): Likewise.
62438         (scalbnl): Likewise.
62439         (scalbln): Likewise.
62440         (scalblnf): Likewise.
62441         (scalblnl): Likewise.
62442         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62443         (vwarnx): Likewise.
62444         (verr): Likewise.
62445         (verrx): Likewise.
62446         * manual/filesys.texi (telldir): Use braces around return type.
62447         * manual/llio.texi (mmap): Add space after comma.
62448         (mmap64): Likewise.
62449         * manual/math.texi (jn): Use @var{} on parameter names.
62450         (jnf): Likewise.
62451         (jnl): Likewise.
62452         (yn): Likewise.
62453         (ynf): Likewise.
62454         (ynl): Likewise.
62455         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62456         line.
62457         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62458         "...".
62459         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62460         (sched_get_priority_max): Likewise.
62461         * manual/signal.texi (sigvec): Add space after comma.
62462         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62463         names.
62464         (if_indextoname): Likewise.
62465         (if_freenameindex): Likewise.
62466         (sendto): Use ',' instead of '.' in prototype.
62467         * manual/startup.texi (syscall): Use @dots{} instead of literal
62468         "...".
62469         * manual/stdio.texi (__fpending): Separate initial words of
62470         paragraph from @deftypefun line.
62471         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62472         "...".
62473         (vsyslog): Use @var{} on parameter names.
62474         * manual/terminal.texi (stty): Use @var{} on parameter names.
62475         * manual/users.texi (getutmp): Use @var{} on parameter names.
62476         (getutmpx): Likewise.
62478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62480         [BZ #6884]
62481         * manual/stdio.texi (fopen): Fix typos in description of
62482         ",ccs=STRING".
62484 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62486         [BZ #4026]
62487         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62488         get clock_id definition.
62490 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62492         [BZ #4822]
62493         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62494         (madvise): Cast every argument to void on its own.
62496 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62498         [BZ #9902]
62499         * manual/startup.texi (Exit Status): Fix typo.
62501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62503         [BZ #10140]
62504         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62505         * manual/examples/argp-ex2.c: Likewise.
62506         * manual/examples/argp-ex3.c: Likewise.
62508 2012-02-16  Richard Henderson  <rth@redhat.com>
62510         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62511         * sysdeps/s390/s390-32/initfini.c: Remove.
62512         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62513         * sysdeps/s390/s390-64/initfini.c: Remove.
62515 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62517         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62518         compiler output for sysdeps/generic/initfini.c.
62519         * sysdeps/sh/elf/initfini.c: Remove file.
62521 2012-02-16  David S. Miller  <davem@davemloft.net>
62523         [BZ #11494]
62524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62526         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62527         * sysdeps/sparc/crti.S: New file.
62528         * sysdeps/sparc/crtn.S: New file.
62529         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62530         * sysdeps/sparc/sparc64/Makefile: Likewise.
62532 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62534         [BZ #3335]
62535         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62537 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62539         [BZ #4822]
62540         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62542         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62543         (write, read, close): Likewise.
62544         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62546 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62548         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62549         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62550         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62551         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62552         <bits/signalfd.h>.
62553         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62555         bits/signalfd.h.
62557 2012-02-14  Marek Polacek  <polacek@redhat.com>
62559         * sysdeps/x86_64/crti.S: New file.
62560         * sysdeps/x86_64/crtn.S: New file.
62561         * sysdeps/x86_64/elf/initfini.c: Remove file.
62563 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62565         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62566         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62567         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62568         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62569         <bits/inotify.h>.
62570         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62572         bits/inotify.h.
62574 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62576         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62577         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62578         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62579         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62580         <bits/eventfd.h>.
62581         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62583         bits/eventfd.h.
62585 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62587         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62588         __feraiseexcept instead of feraiseexcept.
62590         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62591         nanosleep invocations.
62592         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62593         strings, and add error checking for a nanosleep invocations.
62595 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62597         Replace FSF snail mail address with URLs, as per GNU coding standards.
62598         Most of the snail mail addresses were wrong anyway, and omitting
62599         them makes the source code easier to maintain.  Almost all of the
62600         changes are to license notices and to locale LC_IDENTIFICATION
62601         addresses, except for this one:
62602         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62603         not its snail mail address.
62605 2012-02-09  Richard Henderson  <rth@twiddle.net>
62607         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62608         of kernel-features.h.
62610         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62612 2012-02-08  Marek Polacek  <polacek@redhat.com>
62614         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62615         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62616         * sysdeps/gnu/_G_config.h: Likewise.
62617         * sysdeps/generic/_G_config.h: Likewise.
62619 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62621         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62622         tests.
62623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62625         * sysdeps/powerpc/powerpc32/crti.S: New file.
62626         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62627         * sysdeps/powerpc/powerpc64/crti.S: New file.
62628         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62630         * Makeconfig (have-initfini): Don't set.
62631         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62632         * configure.in (nopic_initfini): Don't substitute.
62633         * config.h.in (HAVE_INITFINI): Don't #undef.
62634         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62635         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62637 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62639         Support crti.S and crtn.S provided directly by architectures.
62640         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62641         [crti.S in sysdirs] (omit-deps): Likewise.
62642         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62643         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62644         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62645         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62646         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62647         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62648         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62649         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62650         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62651         compiler output for sysdeps/generic/initfini.c.
62652         * sysdeps/i386/elf/Makefile: Remove file.
62653         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62655 2012-02-07  Marek Polacek  <polacek@redhat.com>
62657         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62658         * sysdeps/gnu/_G_config.h: Likewise.
62659         * sysdeps/mach/hurd/_G_config.h: Likewise.
62661 2012-02-07  Marek Polacek  <polacek@redhat.com>
62663         * math/Makefile (tests): Add tst-CMPLX2.
62664         * math/tst-CMPLX2.c: New file.
62666 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62668         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62670         * math/libm-test.inc (jn_test): Add missing L suffix.
62672 2012-02-06  Marek Polacek  <polacek@redhat.com>
62674         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62675         * sysdeps/i386/fpu/e_powf.S: Likewise.
62676         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62677         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62678         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62679         * sysdeps/i386/fpu/e_pow.S: Likewise.
62680         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62681         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62682         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62683         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62684         * sysdeps/i386/fpu/e_log2.S: Likewise.
62685         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62686         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62687         * sysdeps/i386/fpu/e_powl.S: Likewise.
62688         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62689         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62690         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62691         * sysdeps/i386/fpu/e_logl.S: Likewise.
62692         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62693         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62694         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62695         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62696         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62697         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62698         * sysdeps/i386/fpu/e_log.S: Likewise.
62699         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62700         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62701         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62702         * sysdeps/i386/fpu/e_logf.S: Likewise.
62703         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62704         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62705         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62706         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62707         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62708         * sysdeps/i386/fpu/e_log10.S: Likewise.
62709         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62710         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62711         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62712         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62713         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62714         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62715         * sysdeps/i386/asm-syntax.h: Likewise.
62716         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62718         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62719         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62720         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62721         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62722         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62723         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62724         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62725         * sysdeps/powerpc/sysdep.h: Likewise.
62726         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62727         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62729 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62731         [BZ #411]
62732         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62734 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62736         * sysdeps/i386/sysdep.h: Include <features.h>.
62737         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62738         version.
62740 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62742         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62743         Define.
62744         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62745         LOAD_PIC_REG_STR.
62747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62749         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62750         (SETUP_PIC_REG): Use GET_PC_THUNK.
62751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62752         macro.
62754 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62756         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62757         for non-PIC compilation.
62758         (SETUP_PIC_REG): Add .p2align directive.
62759         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62760         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62761         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62762         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62763         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62764         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62765         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62766         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62767         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62768         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62769         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62770         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62771         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62772         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62773         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62776         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62777         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62778         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62779         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62781         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62782         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62783         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62785         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62786         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62787         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62788         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62789         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62791         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62792         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62793         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62794         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62795         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62796         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62797         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62798         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62799         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62801 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62803         * math/tst-CMPLX.c: Include <stdio.h>.
62805 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62807         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62808         float.
62809         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62810         * sysdeps/sparc/bits/mathdef.h: Likewise.
62812 2012-01-31  Marek Polacek  <polacek@redhat.com>
62814         * libio/libio.h: Don't define _PARAMS.
62815         * locale/programs/config.h: Don't define PARAMS.
62816         * stdlib/strtol_l.c: Likewise.
62817         (__strtol_l): Remove PARAMS from the prototype.
62819 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62821         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62822         names.  Just use the correct names.  Remove unnecessary wrapper
62823         functions.
62824         * malloc/arena.c: Likewise.
62825         * malloc/hooks.c: Likewise.
62827         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62828         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62829         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62831 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62833         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62834         into tail calls.
62835         (update_get_addr): New function.
62836         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62837         GET_ADDR_MODULE parameter.
62839 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62841         * crypt/cert.c: Remove __STDC__ conditionals.
62842         * crypt/crypt-entry.c: Likewise.
62843         * crypt/crypt_util.c: Likewise.
62844         * libio/filedoalloc.c: Likewise.
62845         * libio/fileops.c: Likewise.
62846         * libio/genops.c: Likewise.
62847         * libio/iofclose.c: Likewise.
62848         * libio/iofdopen.c: Likewise.
62849         * libio/iofopen.c: Likewise.
62850         * libio/iofopen64.c: Likewise.
62851         * libio/iogetdelim.c: Likewise.
62852         * libio/iopopen.c: Likewise.
62853         * libio/obprintf.c: Likewise.
62854         * libio/oldfileops.c: Likewise.
62855         * libio/oldiofclose.c: Likewise.
62856         * libio/oldiofdopen.c: Likewise.
62857         * libio/oldiofopen.c: Likewise.
62858         * libio/oldiopopen.c: Likewise.
62859         * libio/wfiledoalloc.c: Likewise.
62860         * libio/wgenops.c: Likewise.
62861         * locale/programs/xmalloc.c: Likewise.
62862         * misc/syslog.c: Likewise.
62863         * stdio-common/xbug.c: Likewise.
62864         * string/memchr.c: Likewise.
62865         * string/memcmp.c: Likewise.
62866         * string/memrchr.c: Likewise.
62867         * string/rawmemchr.c: Likewise.
62868         * sysdeps/posix/getcwd.c: Likewise.
62869         * time/strftime_l.c: Likewise.
62871 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62873         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62874         * config.make.in (config-cflags-sse2avx): Define.
62875         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62876         Fix typo.
62878 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62880         * scripts/config.guess: Update from upstream config git repository.
62881         * scripts/config.sub: Likewise.
62883 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62885         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62886         (EM_NUM): Update.
62887         (R_TILEPRO_*, R_TILEGX_*): New macros.
62889         * scripts/firstversions.awk: Fix bug in version range handling.
62891         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62893         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62895         * include/sys/epoll.h: New file.
62896         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62897         libc_hidden_def.
62899 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62901         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62902         Avoid unnecessary __WORDSIZE == 64 test.
62903         (fmaxf): Use VEX format if possible.
62904         (fmax): Likewise.
62905         (fminf): Likewise.
62906         (fmin): Likewise.
62908         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62909         * math/math_private.h: Remove libc_fegetround* and
62910         libc_fesetround*.
62911         * sysdeps/i386/configure.in: Check for -msse2avx.
62912         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62913         also if SSE2AVX is defined.
62914         Remove libc_fegetround* and libc_fesetround*.
62915         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62916         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62918         of HAS_YMM_USABLE.
62919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62920         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62925         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62927 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62929         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62930         size is not set.
62931         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62933 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62935         [BZ #13618]
62936         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62937         relocation.
62938         * Makeconfig (libm): Define.
62939         * elf/Makefile: Add rules to build and run tst-relsort1.
62940         * elf/tst-relsort1.c: New file.
62941         * elf/tst-relsort1mod1.c: New file.
62942         * elf/tst-relsort1mod2.c: New file.
62944 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62946         * math/s_ldexp.c: Remove __STDC__ conditionals.
62947         * math/s_ldexpf.c: Likewise.
62948         * math/s_ldexpl.c: Likewise.
62949         * math/s_nextafter.c: Likewise.
62950         * math/s_nexttowardf.c: Likewise.
62951         * math/s_significand.c: Likewise.
62952         * math/s_significandf.c: Likewise.
62953         * math/s_significandl.c: Likewise.
62954         * math/w_jnl.c: Likewise.
62955         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62956         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62957         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62958         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62959         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62960         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62961         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62962         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62963         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62964         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62965         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62967         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62968         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62969         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62970         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62971         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62972         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62974         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62975         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62976         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62977         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62979         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62980         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62981         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62982         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62983         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62984         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62985         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62986         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62989         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62990         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62991         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62992         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62993         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62994         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62995         * sysdeps/ieee754/k_standard.c: Likewise.
62996         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62997         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62998         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62999         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63000         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63001         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63003         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63004         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63005         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63006         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63007         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63008         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63009         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63010         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63011         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63012         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63013         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63015         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63018         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63019         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63020         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63021         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63025         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63026         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63027         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63028         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63029         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63031         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63032         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63035         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63036         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63038         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63039         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63040         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63041         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63044         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63045         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63046         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63048         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63049         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63050         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63053         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63054         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63055         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63056         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63057         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63058         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63059         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63060         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63061         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63062         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63063         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63064         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63065         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63066         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63067         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63068         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63069         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63070         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63071         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63072         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63075         * sysdeps/ieee754/s_matherr.c: Likewise.
63076         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63077         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63081 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63083         * crypt/md5.h: Remove __STDC__ conditionals.
63084         * libio/libioP.h: Likewise.
63085         * locale/programs/config.h: Likewise.
63086         * sysdeps/generic/sysdep.h: Likewise.
63087         * sysdeps/i386/asm-syntax.h: Likewise.
63088         * sysdeps/s390/asm-syntax.h: Likewise.
63089         * sysdeps/unix/sysdep.h: Likewise.
63090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63093 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63095         * libio/libio.h: Remove __STDC__ conditionals.
63096         * malloc/obstack.h: Likewise.
63097         * math/complex.h: Likewise.
63098         * math/math.h: Likewise.
63099         * sysdeps/generic/_G_config.h: Likewise.
63100         * sysdeps/gnu/_G_config.h: Likewise.
63101         * sysdeps/mach/hurd/_G_config.h: Likewise.
63102         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63103         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63104         * sysdeps/sparc/bits/mathdef.h: Likewise.
63106 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63108         [BZ #13583]
63109         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63110         Clean up HAS_* macros.
63111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63112         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63113         possible.
63114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63115         HAS_AVX.
63116         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63117         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63118         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63119         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63120         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63122 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63124         * elf/tst-unique3.cc (gets): Remove declaration.
63125         * elf/tst-unique3lib.cc (gets): Likewise.
63126         * elf/tst-unique3lib2.cc (gets): Likewise.
63127         * elf/tst-unique4.cc (gets): Likewise.
63129 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63131         * include/stdio.h: Add C++ protection.  Add gets declarations and
63132         definitions.
63133         * debug/tst-chk1.c: Don't declare gets here.
63134         * stdio-common/tst-gets.c: Likewise.
63136 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63138         * posix/glob: Remove directory.
63140 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63142         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63144 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63146         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63147         of the non-standard EPFNOSUPPORT.
63149 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63151         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63152         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63153         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63155 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63157         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63159 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63161         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63162         transient errors.
63163         * nscd/grpcache.c (cache_addgr): Likewise.
63164         * nscd/hstcache.c (cache_addhst): Likewise.
63165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63166         * nscd/pwdcache.c (cache_addpw): Likewise.
63167         * nscd/servicescache.c (cache_addserv): Likewise.
63169 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63171         * malloc/malloc.c: Various cleanups.
63172         * malloc/hooks.c: Likewise.
63174         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63175         * stdlib/bug-fmtmsg1.c: New file.
63177         * stdlib/fmtmsg.c (init): Add missing unlock.
63178         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63180 2012-01-12  Marek Polacek  <polacek@redhat.com>
63182         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63183         and _GNU_SOURCE.
63185 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63187         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63188         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63189         macro to ensure uniqueness of label name.
63190         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63191         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63193 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63195         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63197         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63198         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63199         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63202 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63204         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63206         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63207         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63208         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63210         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63212         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63213         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63214         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63217         * math/bits/math-finite.h: Add ldexp support.
63219 2012-01-10  Marek Polacek  <polacek@redhat.com>
63221         * locale/programs/localedef.h (show_archive_content): Add noreturn
63222         attribute.
63224 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63228 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63230         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63232         * io/Makefile (headers): Add bits/poll2.h.
63234 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63237         typo #include statement.
63239 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63241         * include/sys/cdefs.h: Define __attribute_alloc_size.
63242         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63243         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63244         * elf/pldd.c: Likewise.
63245         * iconv/iconv_charmap.c: Likewise.
63246         * iconv/iconvconfig.c: Likewise.
63247         * iconv/strtab.c: Likewise.
63248         * locale/programs/locale.c: Likewise.
63249         * locale/programs/localedef.h: Likewise.
63250         * locale/programs/simple-hash.c: Likewise.
63251         * nscd/nscd.h: Likewise.
63252         * nss/makedb.c: Likewise.
63253         * sysdeps/generic/ldconfig.h: Likewise.
63254         * locale/programs/localedef.c: Remove xmalloc prototype.
63255         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63257 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63260         appropriate.
63262 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63264         * math/Makefile (tests): Add tst-CMPLX.
63265         * math/tst-CMPLX.c: New file.
63267         * math/complex.h (CMPLXL): Fix typo.
63269         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63270         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63271         GLIBC_2.16.
63272         * debug/tst-chk1.c: Add poll and ppoll tests.
63273         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63274         * include/sys/poll.h: Add hidden proto for ppoll.
63275         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63276         * sysdeps/mach/hurd/ppoll.c: Likewise.
63277         * io/ppoll.c: Likewise.
63278         * debug/poll_chk.c: New file.
63279         * debug/ppoll_chk.c: New file.
63280         * include/bits/poll2.h: New file.
63281         * io/bits/poll2.h: New file.
63283         [BZ #1350]
63284         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63286         * configure.in: static is always set to yes.  Remove.
63287         * config.make.in: Don't set build-static.
63288         * Makeconfig: Remove use of build-static.
63289         * dlfcn/Makefile: Likewise.
63290         * elf/Makefile: Likewise.
63291         * math/Makefile: Likewise.
63292         * misc/Makefile: Likewise.
63293         * nptl/Makefile: Likewise.
63294         * sysdeps/mach/hurd/Makefile: Likewise.
63296         * configure.in: PWD_P is not used anymore.
63297         * config.make.in: Remove PWD_P entry.
63299         * configure.in: Remove last remnants of RANLIB.
63300         No need to check for signed size_t anymore.
63301         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63302         and IA-64.
63303         Remove __builtin_expect test because we require at least gcc 3.4.
63304         * aclocal.m4: Likewise.
63306         * wcsmbs/mbrtoc16.c: Implement using towc function.
63307         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63308         * wcsmbs/wcsmbsload.c: Likewise.
63309         * iconv/gconv_simple.c: Likewise.
63310         * iconv/gconv_int.h: Likewise.
63311         * iconv/gconv_builtin.h: Likewise.
63312         * iconv/iconv_prog.c: Remove CHAR16 handling.
63314         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63316         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63318         * configure.in: Remove --with-elf and --enable-bounded options.
63319         Dont set base_machine for ia64.  More non-ELF conditions removed.
63320         Remove testing and setting of leading underscore information.
63321         * config.make.in (build-bounded): Set to no.
63322         * config.h.in: Remove NO_UNDERSCORES entry.
63323         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63324         them.
63325         * csu/start.c: Remove !NO_UNDERSCORE code.
63326         * locale/localeinfo.h: Likewise.
63327         * sysdeps/generic/machine-gmon.h: Likewise.
63328         * sysdeps/generic/sysdep.h: Likewise.
63329         * sysdeps/i386/sysdep.h: Likewise.
63330         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63331         * sysdeps/mach/sysdep.h: Likewise.
63332         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63333         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63334         * sysdeps/sh/sysdep.h: Likewise.
63335         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63336         * sysdeps/unix/i386/sysdep.S: Likewise.
63337         * sysdeps/unix/sparc/start.c: Likewise.
63338         * sysdeps/unix/sparc/sysdep.S: Likewise.
63339         * sysdeps/unix/sparc/sysdep.h: Likewise.
63340         * sysdeps/unix/start.c: Likewise.
63341         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63342         * sysdeps/x86_64/sysdep.h: Likewise.
63344 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63346         [BZ #13553]
63347         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63348         for non-gcc.
63349         * argp/argp-fmtstream.h: Use const instead __const.
63350         * argp/argp.h: Likewise.
63351         * assert/assert.h: Likewise.
63352         * bits/fenv.h: Likewise.
63353         * bits/sched.h: Likewise.
63354         * bits/sigset.h: Likewise.
63355         * bits/sigthread.h: Likewise.
63356         * catgets/nl_types.h: Likewise.
63357         * conform/data/pthread.h-data: Likewise.
63358         * crypt/crypt-private.h: Likewise.
63359         * crypt/crypt.h: Likewise.
63360         * crypt/crypt_util.c: Likewise.
63361         * ctype/ctype.h: Likewise.
63362         * debug/execinfo.h: Likewise.
63363         * debug/mbsnrtowcs_chk.c: Likewise.
63364         * debug/mbsrtowcs_chk.c: Likewise.
63365         * debug/wcsnrtombs_chk.c: Likewise.
63366         * debug/wcsrtombs_chk.c: Likewise.
63367         * debug/wcstombs_chk.c: Likewise.
63368         * dirent/dirent.h: Likewise.
63369         * dlfcn/dlfcn.h: Likewise.
63370         * elf/neededtest4.c: Likewise.
63371         * grp/grp.h: Likewise.
63372         * gshadow/gshadow.h: Likewise.
63373         * iconv/gconv.h: Likewise.
63374         * iconv/gconv_int.h: Likewise.
63375         * iconv/gconv_simple.c: Likewise.
63376         * iconv/iconv.h: Likewise.
63377         * iconv/loop.c: Likewise.
63378         * iconv/skeleton.c: Likewise.
63379         * include/aio.h: Likewise.
63380         * include/aliases.h: Likewise.
63381         * include/argz.h: Likewise.
63382         * include/arpa/inet.h: Likewise.
63383         * include/assert.h: Likewise.
63384         * include/dirent.h: Likewise.
63385         * include/dlfcn.h: Likewise.
63386         * include/execinfo.h: Likewise.
63387         * include/fcntl.h: Likewise.
63388         * include/fenv.h: Likewise.
63389         * include/glob.h: Likewise.
63390         * include/grp.h: Likewise.
63391         * include/libintl.h: Likewise.
63392         * include/mntent.h: Likewise.
63393         * include/netdb.h: Likewise.
63394         * include/pwd.h: Likewise.
63395         * include/rpc/netdb.h: Likewise.
63396         * include/sched.h: Likewise.
63397         * include/search.h: Likewise.
63398         * include/shadow.h: Likewise.
63399         * include/signal.h: Likewise.
63400         * include/stdio.h: Likewise.
63401         * include/stdlib.h: Likewise.
63402         * include/string.h: Likewise.
63403         * include/sys/socket.h: Likewise.
63404         * include/sys/stat.h: Likewise.
63405         * include/sys/statfs.h: Likewise.
63406         * include/sys/statvfs.h: Likewise.
63407         * include/sys/syslog.h: Likewise.
63408         * include/sys/time.h: Likewise.
63409         * include/sys/uio.h: Likewise.
63410         * include/time.h: Likewise.
63411         * include/unistd.h: Likewise.
63412         * include/utmp.h: Likewise.
63413         * include/wchar.h: Likewise.
63414         * include/wctype.h: Likewise.
63415         * inet/aliases.h: Likewise.
63416         * inet/arpa/inet.h: Likewise.
63417         * inet/netinet/ether.h: Likewise.
63418         * inet/netinet/in.h: Likewise.
63419         * intl/libintl.h: Likewise.
63420         * io/bits/fcntl2.h: Likewise.
63421         * io/fcntl.h: Likewise.
63422         * io/ftw.h: Likewise.
63423         * io/sys/poll.h: Likewise.
63424         * io/sys/stat.h: Likewise.
63425         * io/sys/statfs.h: Likewise.
63426         * io/sys/statvfs.h: Likewise.
63427         * io/utime.h: Likewise.
63428         * libio/bits/stdio.h: Likewise.
63429         * libio/bits/stdio2.h: Likewise.
63430         * libio/libio.h: Likewise.
63431         * libio/libioP.h: Likewise.
63432         * libio/stdio.h: Likewise.
63433         * locale/lc-ctype.c: Likewise.
63434         * locale/locale.h: Likewise.
63435         * login/utmp.h: Likewise.
63436         * malloc/arena.c: Likewise.
63437         * malloc/malloc.c: Likewise.
63438         * malloc/malloc.h: Likewise.
63439         * malloc/mcheck.c: Likewise.
63440         * malloc/mtrace.c: Likewise.
63441         * math/bits/mathcalls.h: Likewise.
63442         * math/fenv.h: Likewise.
63443         * math/math_private.h: Likewise.
63444         * misc/bits/error.h: Likewise.
63445         * misc/bits/syslog.h: Likewise.
63446         * misc/err.h: Likewise.
63447         * misc/error.h: Likewise.
63448         * misc/fstab.h: Likewise.
63449         * misc/mntent.h: Likewise.
63450         * misc/regexp.h: Likewise.
63451         * misc/search.h: Likewise.
63452         * misc/sgtty.h: Likewise.
63453         * misc/sys/mman.h: Likewise.
63454         * misc/sys/syslog.h: Likewise.
63455         * misc/sys/uio.h: Likewise.
63456         * misc/sys/xattr.h: Likewise.
63457         * misc/ttyent.h: Likewise.
63458         * nis/rpcsvc/ypclnt.h: Likewise.
63459         * nss/nss.h: Likewise.
63460         * posix/bits/unistd.h: Likewise.
63461         * posix/fnmatch.h: Likewise.
63462         * posix/glob.h: Likewise.
63463         * posix/sched.h: Likewise.
63464         * posix/spawn.h: Likewise.
63465         * posix/sys/wait.h: Likewise.
63466         * posix/unistd.h: Likewise.
63467         * posix/wordexp.h: Likewise.
63468         * pwd/pwd.h: Likewise.
63469         * resolv/netdb.h: Likewise.
63470         * resource/sys/resource.h: Likewise.
63471         * rt/aio.h: Likewise.
63472         * rt/bits/mqueue2.h: Likewise.
63473         * rt/mqueue.h: Likewise.
63474         * shadow/shadow.h: Likewise.
63475         * signal/signal.h: Likewise.
63476         * socket/send.c: Likewise.
63477         * socket/sendto.c: Likewise.
63478         * socket/sys/socket.h: Likewise.
63479         * stdio-common/printf.h: Likewise.
63480         * stdlib/bits/stdlib.h: Likewise.
63481         * stdlib/fmtmsg.h: Likewise.
63482         * stdlib/monetary.h: Likewise.
63483         * stdlib/stdlib.h: Likewise.
63484         * stdlib/ucontext.h: Likewise.
63485         * streams/stropts.h: Likewise.
63486         * string/argz.h: Likewise.
63487         * string/bits/string2.h: Likewise.
63488         * string/string.h: Likewise.
63489         * string/strings.h: Likewise.
63490         * sunrpc/rpc/auth.h: Likewise.
63491         * sunrpc/rpc/auth_des.h: Likewise.
63492         * sunrpc/rpc/clnt.h: Likewise.
63493         * sunrpc/rpc/netdb.h: Likewise.
63494         * sunrpc/rpc/pmap_clnt.h: Likewise.
63495         * sunrpc/rpc/xdr.h: Likewise.
63496         * sysdeps/generic/inttypes.h: Likewise.
63497         * sysdeps/generic/net/if.h: Likewise.
63498         * sysdeps/generic/sys/swap.h: Likewise.
63499         * sysdeps/gnu/net/if.h: Likewise.
63500         * sysdeps/gnu/utmpx.h: Likewise.
63501         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63502         * sysdeps/i386/i486/bits/string.h: Likewise.
63503         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63504         * sysdeps/s390/bits/string.h: Likewise.
63505         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63506         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63507         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63508         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63509         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63510         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63511         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63512         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63513         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63514         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63515         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63516         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63517         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63518         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63519         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63520         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63521         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63523         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63524         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63526         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63527         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63528         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63529         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63530         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63531         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63532         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63533         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63534         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63535         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63536         * sysvipc/sys/ipc.h: Likewise.
63537         * sysvipc/sys/msg.h: Likewise.
63538         * sysvipc/sys/sem.h: Likewise.
63539         * sysvipc/sys/shm.h: Likewise.
63540         * termios/termios.h: Likewise.
63541         * time/sys/time.h: Likewise.
63542         * time/time.h: Likewise.
63543         * wcsmbs/bits/wchar2.h: Likewise.
63544         * wcsmbs/uchar.h: Likewise.
63545         * wcsmbs/wchar.h: Likewise.
63546         * wctype/wctype.h: Likewise.
63548         [BZ #13551]
63549         * Makeconfig: Remove all but ELF support including AIX support.
63550         * Makerules: Likewise.
63551         * config.h.in: Likewise.
63552         * config.make.in: Likewise.
63553         * configure: Likewise.
63554         * configure.in: Likewise.
63555         * csu/Makefile: Likewise.
63556         * csu/version.c: Likewise.
63557         * debug/Makefile: Likewise.
63558         * dlfcn/Makefile: Likewise.
63559         * elf/Makefile: Likewise.
63560         * extra-lib.mk: Likewise.
63561         * iconv/Makefile: Likewise.
63562         * include/libc-symbols.h: Likewise.
63563         * include/shlib-compat.h: Likewise.
63564         * resolv/Makefile: Likewise.
63565         * resolv/res_libc.c: Likewise.
63566         * rt/Makefile: Likewise.
63567         * sysdeps/i386/asm-syntax.h: Likewise.
63568         * sysdeps/i386/sysdep.h: Likewise.
63569         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63570         * sysdeps/mach/sysdep.h: Likewise.
63571         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63572         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63573         * sysdeps/s390/asm-syntax.h: Likewise.
63574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63576         * sysdeps/sh/sysdep.h: Likewise.
63577         * sysdeps/unix/sparc/sysdep.h: Likewise.
63578         * sysdeps/wordsize-32/divdi3.c: Likewise.
63579         * sysdeps/x86_64/sysdep.h: Likewise.
63581         * argp/Versions: Remove _argp_unlock_xxx.
63583         [BZ #13559]
63584         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63585         * abilist/libBrokenLocale.abilist: Likewise.
63586         * abilist/libanl.abilist: Likewise.
63587         * abilist/libc.abilist: Likewise.
63588         * abilist/libcrypt.abilist: Likewise.
63589         * abilist/libdl.abilist: Likewise.
63590         * abilist/libm.abilist: Likewise.
63591         * abilist/libnsl.abilist: Likewise.
63592         * abilist/libpthread.abilist: Likewise.
63593         * abilist/libresolv.abilist: Likewise.
63594         * abilist/librt.abilist: Likewise.
63595         * abilist/libthread_db.abilist: Likewise.
63596         * abilist/libutil.abilist: Likewise.
63597         * abilist/libnss_db.abilist: New file.
63599         * scripts/abilist.awk: Add support for indirect functions.
63601         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63603         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63605         * shlib-versions: Remove entries for ports architectures.
63607         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63608         files in ports.
63609         * elf/stackguard-macros.h: Remove support for IA-64.
63610         * elf/tst-auditmod1.c: Likewise.
63611         * sysdeps/generic/ldsodefs.h: Likewise.
63613         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63614         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63615         configure files.
63617         [BZ #13552]
63618         * configure.in: Remove --enable-omitfp support.
63619         * FAQ.in: Adjust.
63620         * config.make.in: Likewise.
63621         * Makeconfig: Likewise.
63622         * manual/install.texi: Likewise.
63624         In case anyone cares, the IA-64 architecture could move to ports.
63625         * sysdeps/ia64/*: Removed.
63626         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63627         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63629         [BZ #13555]
63630         * configure.in: Remove entries for unsupported architectures.
63632         [BZ #13533]
63633         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63634         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63635         routines.
63636         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63637         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63638         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63639         fall back to using wcrtomb.
63640         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63641         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63642         renaming.
63643         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63644         * wcsmbs/tst-c16c32-1.c: New file.
63646         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63647         local variable.
63649         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63651         * elf/tst-unique3.cc: Add explicit declaration of gets.
63652         * elf/tst-unique3lib.cc: Likewise.
63653         * elf/tst-unique3lib2.cc: Likewise.
63654         * elf/tst-unique4.cc: Likewise.
63656         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63658 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63660         [BZ #13566]
63661         * assert/assert.h (static_assert): Don't define for C++.
63662         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63663         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63665 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63667         * iconv/loop.c (single loop): Fix assertion in storing of
63668         remaining bytes.
63670         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63672 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63674         * posix/getconf.c: Update copyright year.
63675         * nss/getent.c: Likewise.
63676         * nss/makedb.c: Likewise.
63677         * iconv/iconvconfig.c: Likewise.
63678         * iconv/iconv_prog.c: Likewise.
63679         * elf/ldconfig.c: Likewise.
63680         * elf/pldd.c: Likewise.
63681         * elf/sotruss.ksh: Likewise.
63682         * catgets/gencat.c: Likewise.
63683         * csu/version.c: Likewise.
63684         * elf/ldd.bash.in: Likewise.
63685         * elf/sprof.c (print_version): Likewise.
63686         * locale/programs/locale.c: Likewise.
63687         * locale/programs/localedef.c: Likewise.
63688         * login/programs/pt_chown.c: Likewise.
63689         * nscd/nscd.c (print_version): Likewise.
63690         * debug/xtrace.sh: Likewise.
63691         * malloc/memusage.sh: Likewise.
63692         * malloc/mtrace.pl: Likewise.
63693         * debug/catchsegv.sh: Likewise.
63695 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63697         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63698         pure attribute.
63700 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63702         [BZ #13533]
63703         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63704         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63705         transformations.
63706         * iconv/gconv_int.h: Likewise.
63707         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63708         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63709         from libc for GLIBC_2.16.
63710         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63711         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63712         * wcsmbs/uchar.h: Really define mbstate_t.
63713         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63714         * wcsmbs/c16rtomb.c: New file.
63715         * wcsmbs/mbrtoc16.c: New file.
63716         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63717         for C/POSIX locale.
63718         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63719         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63721         * wcsmbs/wchar.h: Add missing __restrict.
63723 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63725         [BZ #13532]
63726         * time/Makefile (routines): Add timespec_get.
63727         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63728         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63729         timespec for ISO C11.
63730         * time/timespec_get.c: New file.
63731         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63732         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63734         [BZ #13531]
63735         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63736         * stdlib/stdlib.h: Declare aligned_alloc.
63737         * Versions.def: Add GLIBC_2.16 for libc.
63738         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63740         [BZ 13527]
63741         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63742         ISO C11.
63744         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63745         code.
63747         [BZ #13528]
63748         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63750         [BZ #13529]
63751         * assert/assert.h (static_assert): Define.
63753         * version.h: Update for 2.16 development version.
63755         [BZ #13526]
63756         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63757         _ISOC11_SOURCE.
63759         * version.h (RELEASE): Bump for 2.15 release.
63760         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63762         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63763         Patch by Marek Polacek <mpolacek@redhat.com>.
63765         * bits/byteswap.h: Protect long long constants with __extension__.
63766         * sysdeps/i386/bits/byteswap.h: Likewise.
63767         * sysdeps/ia64/bits/byteswap.h: Likewise.
63768         * sysdeps/s390/bits/byteswap.h: Likewise.
63769         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63771 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63773         [BZ #13540]
63774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63775         destination buffer.
63776         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63778 2011-12-23  Marek Polacek  <polacek@redhat.com>
63780         * elf/dl-addr.c (determine_info): Add inline keyword.
63781         * elf/tst-auditmod4b.c (check_avx): Likewise.
63782         * elf/tst-auditmod6b.c (check_avx): Likewise.
63783         * elf/tst-auditmod6c.c (check_avx): Likewise.
63784         * elf/tst-auditmod7b.c (check_avx): Likewise.
63786 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63788         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63789         !__SSE_MATH__.
63791 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63793         [BZ #13540]
63794         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63795         processing for last bytes.
63797 2011-08-06  Bruno Haible  <bruno@clisp.org>
63799         [BZ #13061]
63800         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63801         U+0385, not to U+1FEE.
63803         [BZ #13062]
63804         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63805         entry for U+00A5 U+0301.
63807 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63809         [BZ #13166]
63810         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63811         buffer for the output is too small.
63813         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63814         optimization.
63816         [BZ #13185]
63817         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63818         SSE flags if possible.
63820 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63822         [BZ #13540]
63823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63824         processing for last bytes.
63826 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63828         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63829         (syscall-list-default-options, syscall-list-default-condition)
63830         (syscall-list-includes): Define.
63831         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63832         list of ABIs and options and #if conditions for each ABI.  Do not
63833         handle common syscalls between ABIs specially.
63834         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63835         Remove.
63836         (syscall-list-variants, syscall-list-32bit-options)
63837         (syscall-list-32bit-condition, syscall-list-64bit-options)
63838         (syscall-list-64bit-condition): Define.
63839         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63840         (syscall-list-variants, syscall-list-32bit-options)
63841         (syscall-list-32bit-condition, syscall-list-64bit-options)
63842         (syscall-list-64bit-condition): Define.
63843         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63844         Remove.
63845         (syscall-list-variants, syscall-list-32bit-options)
63846         (syscall-list-32bit-condition, syscall-list-64bit-options)
63847         (syscall-list-64bit-condition): Define.
63848         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63849         Remove.
63850         (syscall-list-variants, syscall-list-32bit-options)
63851         (syscall-list-32bit-condition, syscall-list-64bit-options)
63852         (syscall-list-64bit-condition): Define.
63854 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63856         * locale/iso-639.def: Add brx entry.
63858         [BZ #13328]
63859         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63860         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63862         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63863         __feraiseexcept_renamed.
63865 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63867         [BZ #13538]
63868         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63869         EPOLLET with unsigned values.
63870         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63871         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63873         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63874         to large cancellation.
63875         * math/s_cacoshf.c: Likewise.
63876         * math/s_cacoshl.c: Likewise.
63878 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63880         [BZ #13305]
63881         [BZ #12786]
63882         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63883         * math/s_cacoshf.c: Likewise.
63884         * math/s_cacoshl.c: Likewise.
63886 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63888         [BZ #13439]
63889         * iconv/gconv.h: Define __GCONV_SWAP.
63890         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63891         * iconvdata/utf-16.c: Likewise.
63892         * iconvdata/utf-32.c: Likewise.
63894 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63896         [BZ #13524]
63897         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63898         numerator after shifting it by one limb.
63900 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63902         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63903         under [__USE_EXTERN_INLINES].
63905 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63907         [BZ #13446]
63908         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63910 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63912         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63913         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63914         optimized code.
63915         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63917         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63918         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63919         for strncasecmp/strncasecmp_l compilation.
63920         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63921         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63923 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63925         [BZ #13484]
63926         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63927         of __asm__.
63929 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63931         [BZ #13506]
63932         * time/tzfile.c (__tzfile_read): Check values from file header.
63934 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63936         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63937         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63938         * powerpc/powerpc32/dl-start.S: Likewise.
63939         * powerpc/powerpc32/elf/start.S: Likewise.
63940         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63941         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63942         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63943         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63944         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63945         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63946         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63947         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63948         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63949         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63950         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63951         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63952         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63953         * powerpc/powerpc32/memset.S: Likewise.
63954         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63955         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63956         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63957         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63958         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63959         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63960         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63961         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63962         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63963         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63964         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63965         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63966         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63968 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63970         * math/libm-test.inc: Added more nearbyint tests.
63971         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63972         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63976 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63978         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63979         FD_CLOEXEC.
63981 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63983         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63984         Add wcscpy-ssse3 wcscpy-c.
63985         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63986         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63987         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63988         * sysdeps/x86_64/wcschr.S: New file.
63989         * sysdeps/x86_64/wcsrchr.S: New file.
63990         * string/test-strcmp.c: Remove checking of wcscmp function for
63991         wrong alignments.
63992         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63993         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63994         wcsrchr-sse2 wcsrchr-c.
63995         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63996         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63997         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63998         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63999         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64000         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64001         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64002         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64003         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64004         * wcsmbc/wcschr.c (WCSCHR): New macro.
64006 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64008         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64009         * wcsmbs/test-wcsrchr.c: New file.
64010         * string/test-strrchr.c: Add wcsrchr support.
64011         (WIDE): New macro.
64012         * wcsmbs/test-wcscpy.c: New file.
64013         * string/test-strcpy.c: Add wcscpy support.
64014         (WIDE): New macro.
64016 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64019         the inner loop.
64021 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64023         [BZ #13472]
64024         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64026 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64029         Minor optimizations.
64031         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64032         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64033         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64035 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64037         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64038         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64039         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64040         for gcc to avoid warnings.
64041         * inet/Makefile (tests): Add tst-checks.
64042         * inet/tst-checks.c: New file.
64044         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64045         warning.
64047         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64048         __wmemcmp_sse2.
64050         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64051         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64053         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64055 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64057         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64058         problem.
64060         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64062 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64064         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64065         conditional on GCC version.
64066         (__arch_compare_and_exchange_val_8_acq)
64067         (__arch_compare_and_exchange_val_16_acq)
64068         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64069         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64070         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64072 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64074         * sysdeps/sh/backtrace.c: New file.
64076 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64078         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64079         parenthesis.
64081 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64083         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64084         falling back to utime.
64086 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64088         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64089         expectations for float.
64091 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64093         * locale/weight.h (findidx): Add parameter len.
64094         * locale/weightwc.h (findidx): Likewise.
64095         * posix/fnmatch_loop.c (FCT): Adjust caller.
64096         * posix/regcomp.c (build_equiv_class): Likewise.
64097         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64098         * posix/regexec.c (check_node_accept_bytes): Likewise.
64099         * string/strcoll_l.c (STRCOLL): Likewise.
64100         * string/strxfrm_l.c (STRXFRM): Likewise.
64102 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64104         * Makefile.in: Remove CVSOPT handling.
64105         * configure.in: Remove use of AC_REVISION.
64106         * iconvdata/Makefile (distribute): No need to filter out CVS.
64107         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64108         handling.
64110 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64113         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64114         [USE_AS_STRNCASECMP_L]: Likewise.
64115         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64116         NO_TLS_DIRECT_SEG_REFS.
64117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64118         Fix argument offsets for non-PIC.
64119         [USE_AS_STRNCASECMP_L]: Likewise.
64120         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64121         NO_TLS_DIRECT_SEG_REFS.
64123 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64125         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64126         O_CLOEXEC.
64127         * locale/loadlocale.c (_nl_load_locale): Likewise.
64129 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64131         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64132         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64134         (SYSCALL_GETTIME): Set errno on error.
64136         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64137         count references to noai6ai_cached.
64139 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64141         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64143         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64144         FD_CLOEXEC for /proc/self/maps.
64146         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64147         FD_CLOEXEC for /proc/meminfo.
64149         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64150         gai.conf.
64152         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64153         FD_CLOEXEC for given file.
64155         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64157         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64158         FD_CLOEXEC for /etc/hosts.
64159         (_gethtent): Likewise.
64161         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64163         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64164         cancellation and set FD_CLOEXEC for /etc/netgroup.
64166         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64167         reading /etc/publickey.
64169         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64170         allow cancellation when reading /etc/group.
64172         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64173         cancellation.
64174         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64176         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64177         when using data file.
64179         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64181         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64182         (write_nis_obj): Use "c" and "e" in fopen.
64184         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64186         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64188         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64190         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64192         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64193         locale.alias.
64195         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64197         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64199         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64201         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64202         file parsing and set FD_CLOEXEC.
64204 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64206         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64208 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64210         * malloc/arena.c (arena_get2): Don't call reused_arena when
64211         _int_new_arena failed.
64213 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64215         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64216         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64217         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64218         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64220         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64221         to compile strcasecmp and strncasecmp.
64222         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64223         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64227 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64229         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64230         locale-defines.sym to gen-as-const-headers.
64231         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64232         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64234         to compile strcasecmp and strncasecmp.
64235         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64236         strcasecmp_l and strncasecmp_l.
64237         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64238         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64239         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64240         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64241         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64242         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64243         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64244         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64245         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64246         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64247         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64249 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64251         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64252         result of SYSDEP_GETTIME_CPU to retval.
64253         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64254         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64256         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64257         variable.
64259         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64260         mantissa words.
64261         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64263         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64264         from unused variable.
64266         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64267         DWARF definitions.
64268         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64269         for assembling.
64271         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64272         over namespaces.
64274         * sunrpc/rpc_prot.c (rejected): Fix case value.
64276         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64277         unsigned long long int to avoid warnings in shift.
64279         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64280         of use of trans.
64281         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64282         variable tmp.
64284         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64285         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64286         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64288         * nis/nis_table.c (nis_list): Use variable of correct type for
64289         result of __follow_path call.
64291 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64293         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64294         of math functions ceil, trunc, floor, round, and sqrt, when
64295         avaliable on the platform.
64296         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64297         name clash.
64298         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64300         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64302 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64304         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64305         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64307 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64309         * include/unistd.h: Fix __readlink return type.
64310         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64312 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64314         * stdlib/ucontext.h: Undo last change for makecontext.
64316 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64318         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64320         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64321         * setjmp/setjmp.h: Mark functions as non-leaf.
64322         * setjmp/bits/setjmp2.h: Likewise.
64323         * stdlib/ucontext.h: Likewise.
64325 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64327         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64328         (reused_arena): Don't check arena limit.
64329         (arena_get2): Atomically check arena limit.
64331 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64333         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64334         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64337         instructions.
64339 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64341         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64342         handler when locking.
64344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64345         Fix size of allocated buffer.
64347 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64349         [BZ #10103]
64350         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64351         declarations for long double functions.
64352         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64354         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64356 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64358         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64359         installed.
64361         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64362         is disabled.
64364 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64366         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64368 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64370         * include/alloca.h (stackinfo_alloca_round): Define.
64371         (extend_alloca): Use it.
64372         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64373         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64374         here.
64376         * scripts/check-local-headers.sh: Ignore libaudit.h.
64378         * nscd/Makefile (extra-objs): Make recursively expanded.
64380 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64382         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64383         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64385         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64386         * posix/tst-rfc3484-2.c: Likewise.
64387         * posix/tst-rfc3484-3.c: Likewise.
64389         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64390         process_vm_writev.
64391         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64392         process_vm_writev.
64393         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64394         process_vm_writev from libc using GLIBC_2.15 version.
64396         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64398 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64400         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64401         stack usage.
64403 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64405         [BZ #13367]
64406         * nss/getent.c (initgroups_keys): Show error message in case no group
64407         names are given.
64409         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64410         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64411         __bump_nl_timestamp.
64412         * nscd/connections (nscd_init): When host database is served open
64413         netlink socket and request notification about configuration changes.
64414         (main_loop_poll): Track netlink file descriptor and bump timestamp
64415         in case data becomes available.
64416         (main_loop_epoll): Likewise.
64417         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64418         (database_pers_head): Add extra_data fileds.
64419         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64421         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64422         Adjust caller.
64423         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64424         in6ai data, call __free_in6ai.
64425         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64426         Add -DHAVE_NETLINK.
64427         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64428         interface information.  Reuse previous data if netlink timestamp
64429         is not changed.
64430         (__bump_nl_timestamp): New function.
64431         (__free_in6ai): New function.
64433 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64436         close_not_cancel_no_status here.
64437         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64439 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64441         [BZ #13276]
64442         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64443         return value.
64445         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64446         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64447         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64449 2011-07-03  Andreas Jaeger  <aj@suse.de>
64451         [BZ #10709]
64452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64453         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64454         * math/libm-test.inc (sin_test): Add test case.
64456 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64458         [BZ #13337]
64459         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64460         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64462         * elf/chroot_canon.c (chroot_canon): Cleanups.
64464         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64466         [BZ #13335]
64467         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64468         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64470         * string/test-strchr.c: Make usable for strchrnul testing.
64471         * string/test-strchrnul.c: New file.
64472         * string/Makefile (strop-tests): Add strchrnul.
64474         * po/it.po: Update from translation team.
64475         * po/es.po: Likewise.
64477 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64479         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64480         the three constants needed as parameters.  Drop the others.
64481         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64482         __m128i_strloadu_tolower.
64483         Create and initialize variable zero and use it in all the places
64484         where _mm_setzero_si128 was used.
64486         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64487         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64488         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64489         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64490         anymore.
64491         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64492         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64493         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64494         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64495         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64496         __mpranred, __mptan.
64497         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64498         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64499         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64500         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64501         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64502         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64504         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64505         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64507 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64509         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64510         redefine if SHARED.
64511         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64513         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64514         wide char related routines to wcsmbs subdir.
64516 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64518         [BZ #13344]
64519         * misc/sys/cdefs.h (__THROWNL): Define.
64520         * posix/unistd.h: Use __THREADNL instead of __THREAD
64521         for memory synchronization functions.
64523 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64525         [BZ #13349]
64526         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64527         doesn't exist.
64528         * manual/stdio.texi (Obstack Streams): Node removed.
64530 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64532         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64533         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64534         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64536         * math/math_private.h (math_force_eval): Allow non-addressable
64537         arguments.
64538         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64540 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64542         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64543         file is not needed.
64545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64546         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64547         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64548         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64550         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64552         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64553         Add AVX variants.
64554         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64555         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64556         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64557         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64558         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64559         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64560         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64561         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64562         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64563         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64564         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64565         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64566         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64567         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64568         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64569         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64570         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64571         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64572         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64574         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64575         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64578         place.  Use VEX encoding when compiling for AVX.
64580 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64582         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64583         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64585         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64587 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64589         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64590         useless if() expression.
64591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64592         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64593         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64595         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64596         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64597         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64598         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64599         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64600         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64601         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64603         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64604         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64605         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64606         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64607         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64608         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64609         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64611         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64613 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64615         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64616         condition.
64617         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64619 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64621         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64622         .text section.  Avoid duplicate constants.
64623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64627         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64631         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64632         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64633         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64635         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64636         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64637         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64638         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64639         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64640         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64643         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64644         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64645         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64646         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64647         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64648         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64649         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64650         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64651         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64652         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64653         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64654         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64655         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64656         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64657         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64658         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64659         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64660         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64661         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64662         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64663         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64664         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64665         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64666         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64667         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64669 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64671         * sysdeps/x86_64/dla.h: Move to ...
64672         * sysdeps/x86_64/fpu/dla.h: ...here.
64673         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64674         situations.  Use __builtin_fma only for gcc 4.6 and up.
64676         * config.make.in: Add have-mfma4 entry.
64677         * configure.in: Substitute libc_cv_cc_fma4.
64678         * math/Makefile (dbl-only-routines): Add sincostab.
64679         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64680         Use __sincostab not sincos.
64681         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64682         name is a macro.
64683         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64687         using __copysign.
64688         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64689         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64690         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64691         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64692         and __inv.
64693         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64694         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64695         __copysign.
64696         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64697         define aliases when function name is a macro.
64698         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64699         sysdeps/ieee754/dbl-64/sincos.tbl.
64700         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64701         fma4-enabled routines.
64702         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64703         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64704         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64705         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64706         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64707         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64709         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64710         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64711         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64712         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64713         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64714         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64715         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64716         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64717         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64718         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64719         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64720         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64721         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64722         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64723         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64725         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64727         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64728         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64729         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64730         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64731         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64733         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64734         rename.
64735         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64737         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64739         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64740         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64741         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64742         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64744 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64746         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64748 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64750         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64752         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64753         prediction.
64754         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64756         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64757         Remove unused variable magic_bits.
64758         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64760         * string/strnlen.c: Define and use STRNLEN macro.
64761         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64762         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64763         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64764         * wcsmbs/wcslen.c: Define and use WCSLEN.
64765         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64766         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64767         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64768         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64769         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64770         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64771         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64773 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64776         strnlen-sse2-no-bsf.
64777         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64778         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64779         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64780         Add strnlen support.
64781         (USE_AS_STRNLEN): New macro.
64782         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64783         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64784         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64785         * sysdeps/x86_64/wcslen.S: New file.
64787 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64789         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64790         XMM-moves are used for copying on small sizes.
64792 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64794         * wcsmbs/Makefile (strop-tests): Add wcschr.
64795         * wcsmbs/test-wcschr.c: New file.
64796         * string/test-strchr.c: Update.
64797         Add wcschr support.
64798         (WIDE): New macro.
64800 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64802         * wcsmbs/Makefile (strop-tests): Add wcslen.
64803         * wcsmbs/test-wcslen.c: New file.
64804         * string/test-strlen.c: Update.
64805         Add wcslen support.
64806         (WIDE): New macro.
64808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64810         * po/it.po: Update from translation team.
64812 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64814         * sysdeps/x86_64/wcscmp.S: Update.
64815         Fix wrong comparison semantics.
64816         wcscmp shall use signed comparison not unsigned.
64817         Don't use substraction to avoid overflow bug.
64818         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64819         * wcsmbc/wcscmp.c: Likewise.
64820         * string/test-strcmp.c: Likewise.
64821         Add new tests to check cases with negative values.
64823 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64825         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64826         * sysdeps/x86_64/dla.h: ...here.  New file.
64827         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64835         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64837 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64840         __ynl_finite aliases.
64842 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64846         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64847         define DLA_FMA.
64848         [DLA_FMA] (EMULV): Use DLA_FMA.
64849         [DLA_FMA] (MUL12): Use EMULV.
64850         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64851         that are not needed.
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/halfulp.c: Likewise.
64857         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64858         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64860 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64862         * math/s_nan.c: Undef __nan.
64863         * math/s_nanf.c: Undef __nanf.
64864         * math/s_nanl.c: Undef __nanl.
64865         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64866         "math_private.h".
64868 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64870         * math/s_catan.c: Add branch predictions.
64871         * math/s_catanf.c: Likewise.
64872         * math/s_catanh.c: Likewise.
64873         * math/s_catanhf.c: Likewise.
64874         * math/s_catanhl.c: Likewise.
64875         * math/s_catanl.c: Likewise.
64876         * math/s_cexp.c: Likewise.
64877         * math/s_cexpf.c: Likewise.
64878         * math/s_cexpl.c: Likewise.
64879         * math/s_clog.c: Likewise.
64880         * math/s_clog10.c: Likewise.
64881         * math/s_clog10f.c: Likewise.
64882         * math/s_clog10l.c: Likewise.
64883         * math/s_clogf.c: Likewise.
64884         * math/s_clogl.c: Likewise.
64885         * math/s_csqrt.c: Likewise.
64886         * math/s_csqrtf.c: Likewise.
64887         * math/s_csqrtl.c: Likewise.
64888         * math/s_ctanf.c: Likewise.
64889         * math/s_ctanh.c: Likewise.
64890         * math/s_ctanhf.c: Likewise.
64891         * math/s_ctanhl.c: Likewise.
64892         * math/s_ctanl.c: Likewise.
64894         * math/math_private.h: Define __nan, __nanf, __nanl.
64895         * math/s_cacosh.c: Include <math_private.h>.
64896         * math/s_cacoshl.c: Likewise.
64897         * math/s_casinh.c: Likewise.
64898         * math/s_casinhf.c: Likewise.
64899         * math/s_casinhl.c: Likewise.
64900         * math/s_ccos.c: Rely entire on ccosh.
64901         * math/s_ccosf.c: Rely entire on ccoshf.
64902         * math/s_ccosl.c: Rely entirely on ccoshl.
64903         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64904         Remove tests for FE_INVALID.
64905         * math/s_ccoshf.c: Likewise.
64906         * math/s_ccoshl.c: Likewise.
64907         * math/s_csin.c: Likewise.
64908         * math/s_csinf.c: Likewise.
64909         * math/s_csinh.c Likewise.
64910         * math/s_csinhf.c: Likewise.
64911         * math/s_csinhl.c: Likewise.
64912         * math/s_csinl.c: Likewise.
64913         * math/s_ctan.c: Likewise.
64914         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64915         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64916         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64918 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64921         compilation problems.
64923         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64924         __builtin_expect.
64926 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64928         * sysdeps/i386/configure.in: Test for -mfma4 option.
64929         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64930         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64931         COMMON_CPUID_INDEX_80000001.
64932         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64933         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64934         use it if FMA3 is not supported.
64935         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64937         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64938         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64940 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64942         [BZ #12892]
64943         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64944         it would create a cycle with a link time dependency.
64946 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64948         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64949         instruction.
64950         * string/Makefile (strop-tests): Add rawmemchr.
64951         * string/test-rawmemchr.c: New file.
64953         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64955         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64956         when compiling str{,n}casecmp and when AVX is available.  Hook up
64957         new optimized code in initializers.
64959 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64961         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64962         __feraiseexcept instead of feraiseexcept.
64964 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64966         * math/math_private.h: Define defaults for libc_fetestexcept and
64967         libc_feupdateenv.
64968         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64969         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64970         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64971         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64972         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64973         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64974         libc_fetestexcept and libc_feupdateenv.
64976         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64977         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64978         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64979         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64980         libc_feholdexcept_setround.
64982         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64983         Add s_nearbyint-c and s_nearbyintf-c.
64984         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64985         nearbyintf inlines.
64986         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64987         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64988         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64989         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64991         * math/math_private.h: Define defaults for libc_fegetround,
64992         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64993         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64994         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64995         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64996         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64997         standard functions.
64998         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64999         Remove comments and hacks for old compiler versions.
65000         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65001         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65002         libc_feholdexceptl.
65004 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65006         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65007         (__feraiseexcept_renamed): Add __NTH.
65008         (feraiseexcept): Add __NTH.  Rename local variables to fix
65009         namespace violations.
65011 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65013         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65015         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65017         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65018         recently added interfaces.
65019         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65021         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65022         about macro parameter expansion.
65024         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65025         __NO_MATH_INLINES is defined.  Cleanups.
65027         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65028         and __floorf is target has SSE4.1.
65029         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65030         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65031         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65032         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65034         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65035         name.
65036         (floorf): Likewise.
65038         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65040 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65042         * misc/sys/cdefs.h: Fix last change.
65044         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65045         database lookup.
65047 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65049         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65051         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65052         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65053         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65056         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65057         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65058         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65059         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65060         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65061         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65062         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65063         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65064         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65065         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65066         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65067         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65068         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65069         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65070         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65071         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65072         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65074         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65075         ceil, ceilf, floor, floorf.
65077         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65078         Perform IRELATIVE relocations last.
65080         * elf/do-rel.h: Add another parameter nrelative, replacing the
65081         local variable with the same name.  Change name of the function
65082         to end in Rel or Rela (uppercase).
65083         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65084         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65085         elf_dynamic_do_##reloc function.
65087 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65089         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65090         is sufficient, at least on modern CPUs.
65092         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65094         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65095         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65097         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65098         __expl_finite.
65099         * math/bits/math-finite.h: Add entries for exp.
65100         * math/e_expl.c: Add __*_finite alias.
65101         * sysdeps/i386/fpu/e_exp.S: Likewise.
65102         * sysdeps/i386/fpu/e_expf.S: Likewise.
65103         * sysdeps/i386/fpu/e_expl.c: Likewise.
65104         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65105         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65106         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65108         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65109         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65110         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65112         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65113         is sufficient, at least on modern CPUs.
65115         * ctype/ctype-info.c (__ctype_init): Define.
65116         * include/ctype.h (__ctype_init): Declare.
65117         (__ctype_b_loc): The variable is always initialized.
65118         (__ctype_toupper_loc): Likewise.
65119         (__ctype_tolower_loc): Likewise.
65120         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65121         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65123 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65125         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65127         * configure.in: Also look in $cxxmachine/include for C++ system
65128         headers.
65130 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65132         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65133         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65134         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65135         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65136         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65137         (USE_AS_WMEMCMP): New macro.
65138         Fixing indents.
65139         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65140         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65141         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65142         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65144         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65145         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65146         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65147         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65148         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65150         (USE_AS_WMEMCMP): New macro.
65151         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65152         * sysdeps/string/test-memcmp.c: Update.
65153         Fix simple_wmemcmp.
65154         Add new tests.
65155         * wcsmbs/wmemcmp.c: Update.
65156         (WMEMCMP): New macro.
65157         Fix overflow bug.
65159 2011-10-12  Andreas Jaeger  <aj@suse.de>
65161         [BZ #13268]
65162         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65164 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65166         * libio/iofwide.c (do_length): Avoid warning.
65168         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65170 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65172         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65174         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65175         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65176         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65177         * sysdeps/i386/i686/fpu/e_log.S: New file.
65178         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65179         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65181         * ctype/ctype.h: Add support for inlined isXXX functions when
65182         compiling C++ code.
65184 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65186         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65188         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65190 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65192         [BZ #13291]
65193         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65195 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65197         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65198         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65199         feraiseexcept.
65201         * sysdeps/x86_64/memrchr.S: Check for zero size.
65203         * string/stratcliff.c: Add memrchr tests.
65205 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65207         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65208         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65209         rawmemchr-sse2 rawmemchr-sse2-bsf.
65210         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65211         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65212         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65213         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65214         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65215         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65216         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65217         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65218         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65219         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65220         * string/memrchr.c (MEMRCHR): New macro.
65222 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65224         Add integration with gcc's -ffinite-math-only and optimize wrapper
65225         functions in libm.
65226         * Versions.def: Define GLIBC_2.15 version for libm.
65227         * math/Makefile (headers): Add bits/math-finite.h.
65228         * math/bits/math-finite.h: New file.
65229         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65230         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65231         * math/e_acoshl.c: Add __*_finite alias.
65232         * math/e_acosl.c: Likewise.
65233         * math/e_asinl.c: Likewise.
65234         * math/e_atan2l.c: Likewise.
65235         * math/e_atanhl.c: Likewise.
65236         * math/e_coshl.c: Likewise.
65237         * math/e_exp10.c: Likewise.
65238         * math/e_exp10f.c: Likewise.
65239         * math/e_exp10l.c: Likewise.
65240         * math/e_exp2l.c: Likewise.
65241         * math/e_fmodl.c: Likewise.
65242         * math/e_gammal_r.c: Likewise.
65243         * math/e_hypotl.c: Likewise.
65244         * math/e_j0l.c: Likewise.
65245         * math/e_j1l.c: Likewise.
65246         * math/e_jnl.c: Likewise.
65247         * math/e_lgammal_r.c: Likewise.
65248         * math/e_log10l.c: Likewise.
65249         * math/e_log2l.c: Likewise.
65250         * math/e_logl.c: Likewise.
65251         * math/e_powl.c: Likewise.
65252         * math/e_sinhl.c: Likewise.
65253         * math/e_sqrtl.c: Likewise.
65254         * math/e_scalb.c: Completely rewritten and optimized.
65255         * math/e_scalbf.c: Likewise.
65256         * math/e_scalbl.c: Likewise.
65257         * math/w_acos.c: Likewise.
65258         * math/w_acosf.c: Likewise.
65259         * math/w_acosl.c: Likewise.
65260         * math/w_acosh.c: Likewise.
65261         * math/w_acoshf.c: Likewise.
65262         * math/w_acoshl.c: Likewise.
65263         * math/w_asin.c: Likewise.
65264         * math/w_asinf.c: Likewise.
65265         * math/w_asinl.c: Likewise.
65266         * math/w_atan2.c: Likewise.
65267         * math/w_atan2f.c: Likewise.
65268         * math/w_atan2l.c: Likewise.
65269         * math/w_atanh.c: Likewise.
65270         * math/w_atanhf.c: Likewise.
65271         * math/w_atanhl.c: Likewise.
65272         * math/w_exp10.c: Likewise.
65273         * math/w_exp10f.c: Likewise.
65274         * math/w_exp10l.c: Likewise.
65275         * math/w_fmod.c: Likewise.
65276         * math/w_fmodf.c: Likewise.
65277         * math/w_fmodl.c: Likewise.
65278         * math/w_j0.c: Likewise.
65279         * math/w_j0f.c: Likewise.
65280         * math/w_j0l.c: Likewise.
65281         * math/w_j1.c: Likewise.
65282         * math/w_j1f.c: Likewise.
65283         * math/w_j1l.c: Likewise.
65284         * math/w_jn.c: Likewise.
65285         * math/w_jnf.c: Likewise.
65286         * math/w_log.c: Likewise.
65287         * math/w_logf.c: Likewise.
65288         * math/w_logl.c: Likewise.
65289         * math/w_log10.c: Likewise.
65290         * math/w_log10f.c: Likewise.
65291         * math/w_log10l.c: Likewise.
65292         * math/w_log2.c: Likewise.
65293         * math/w_log2f.c: Likewise.
65294         * math/w_log2l.c: Likewise.
65295         * math/w_pow.c: Likewise.
65296         * math/w_powf.c: Likewise.
65297         * math/w_powl.c: Likewise.
65298         * math/w_remainder.c: Likewise.
65299         * math/w_remainderf.c: Likewise.
65300         * math/w_remainderl.c: Likewise.
65301         * math/w_scalb.c: Likewise.
65302         * math/w_scalbf.c: Likewise.
65303         * math/w_scalbl.c: Likewise.
65304         * math/w_sqrt.c: Likewise.
65305         * math/w_sqrtf.c: Likewise.
65306         * math/w_sqrtl.c: Likewise.
65307         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65308         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65309         used.
65310         * math/math_private.h: Declare __kernel_standard_f.
65311         * math/w_cosh.c: Remove cruft and optimize a bit.
65312         * math/w_coshf.c: Likewise.
65313         * math/w_coshl.c: Likewise.
65314         * math/w_exp2.c: Likewise.
65315         * math/w_exp2f.c: Likewise.
65316         * math/w_exp2l.c: Likewise.
65317         * math/w_hypot.c: Likewise.
65318         * math/w_hypotf.c: Likewise.
65319         * math/w_hypotl.c: Likewise.
65320         * math/w_lgamma.c: Likewise.
65321         * math/w_lgamma_r.c: Likewise.
65322         * math/w_lgammaf.c: Likewise.
65323         * math/w_lgammaf_r.c: Likewise.
65324         * math/w_lgammal.c: Likewise.
65325         * math/w_lgammal_r.c: Likewise.
65326         * math/w_sinh.c: Likewise.
65327         * math/w_sinhf.c: Likewise.
65328         * math/w_sinhl.c: Likewise.
65329         * math/w_tgamma.c: Likewise.
65330         * math/w_tgammaf.c: Likewise.
65331         * math/w_tgammal.c: Likewise.
65332         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65333         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65334         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65335         Minor optimizations.  Pretty printing.  Remove cruft.
65336         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65337         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65338         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65339         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65340         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65341         * sysdeps/i386/fpu/e_asin.S: Likewise.
65342         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65343         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65344         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65345         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65346         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65347         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65348         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65349         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65350         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65351         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65352         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65353         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65354         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65355         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65356         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65357         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65358         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65359         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65360         * sysdeps/i386/fpu/e_log.S: Likewise.
65361         * sysdeps/i386/fpu/e_log10.S: Likewise.
65362         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65363         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65364         * sysdeps/i386/fpu/e_log2.S: Likewise.
65365         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65366         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65367         * sysdeps/i386/fpu/e_logf.S: Likewise.
65368         * sysdeps/i386/fpu/e_logl.S: Likewise.
65369         * sysdeps/i386/fpu/e_pow.S: Likewise.
65370         * sysdeps/i386/fpu/e_powf.S: Likewise.
65371         * sysdeps/i386/fpu/e_powl.S: Likewise.
65372         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65373         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65374         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65375         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65376         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65377         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65378         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65379         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65380         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65381         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65382         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65384         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65385         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65386         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65387         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65388         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65390         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65391         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65392         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65395         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65397         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65398         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65399         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65400         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65402         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65403         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65404         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65405         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65406         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65407         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65408         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65409         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65410         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65411         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65412         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65414         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65415         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65416         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65417         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65418         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65419         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65420         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65421         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65422         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65423         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65424         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65425         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65426         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65427         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65428         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65429         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65430         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65431         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65432         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65433         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65434         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65435         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65436         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65437         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65438         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65439         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65440         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65441         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65442         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65444         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65445         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65446         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65450         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65451         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65452         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65453         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65455         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65458         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65461         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65462         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65463         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65464         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65466         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65467         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65469         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65470         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65471         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65472         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65473         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65474         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65475         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65476         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65477         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65478         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65479         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65480         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65481         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65482         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65483         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65484         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65485         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65486         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65487         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65488         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65489         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65490         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65491         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65492         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65493         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65494         (__isnanf): Likewise.
65495         (__isinf_ns): Likewise.
65496         (__isinf_nsf): Likewise.
65497         (__finite): Likewise.
65498         (__finitef): Likewise.
65499         (__ieee754_sqrt): Define as macro.
65500         (__ieee754_sqrtf): Define as macro.
65501         (__ieee754_sqrtl): Define as macro.
65502         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65503         inlined copy.
65504         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65505         __FINITE_MATH_ONLY__ consistent.
65506         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65508 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65510         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65511         of rawmemchr.
65513         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65515 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65517         * po/ja.po: Update from translation team.
65519 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65521         * locale/programs/locarchive.c (prepare_address_space): New function.
65522         (create_archive, enlarge_archive, open_archive): Use it.
65524         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65525         inside [SHARED], where it is used.
65527         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65529         * nss/getent.c (netgroup_keys): Remove unused variable.
65530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65532 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65534         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65535         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65537         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65538         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65540         * math/Makefile (libm-calls): Add s_isinf_ns.
65541         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65542         * math/multc3.c: Likewise.
65543         * math/s_casin.c: Likewise.
65544         * math/s_casinf.c: Likewise.
65545         * math/s_casinl.c: Likewise.
65546         * math/s_ccos.c: Likewise.
65547         * math/s_ccosf.c: Likewise.
65548         * math/s_ccosl.c: Likewise.
65549         * math/s_ctan.c: Likewise.
65550         * math/s_ctanf.c: Likewise.
65551         * math/s_ctanh.c: Likewise.
65552         * math/s_ctanhf.c: Likewise.
65553         * math/s_ctanhl.c: Likewise.
65554         * math/s_ctanl.c: Likewise.
65555         * math/w_fmod.c: Likewise.
65556         * math/w_fmodf.c: Likewise.
65557         * math/w_fmodl.c: Likewise.
65558         * math/w_remainder.c: Likewise.
65559         * math/w_remainderf.c: Likewise.
65560         * math/w_remainderl.c: Likewise.
65561         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65562         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65563         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65565         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65566         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65567         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65568         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65570         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65571         of the number.
65572         * stdio-common/printf_fphex.c: Likewise.
65573         * stdio-common/printf_size.c: Likewise.
65575         * math/e_exp10.c: Include math_private.h using <...> not "...".
65576         * math/e_exp10f.c: Likewise.
65577         * math/e_exp10l.c: Likewise.
65578         * math/e_exp2l.c: Likewise.
65579         * math/e_j0l.c: Likewise.
65580         * math/e_j1l.c: Likewise.
65581         * math/e_jnl.c: Likewise.
65582         * math/e_lgammal_r.c: Likewise.
65583         * math/e_rem_pio2l.c: Likewise.
65584         * math/e_scalb.c: Likewise.
65585         * math/e_scalbf.c: Likewise.
65586         * math/e_scalbl.c: Likewise.
65587         * math/k_cosl.c: Likewise.
65588         * math/k_sinl.c: Likewise.
65589         * math/k_tanl.c: Likewise.
65590         * math/s_cacoshf.c: Likewise.
65591         * math/s_catan.c: Likewise.
65592         * math/s_catanf.c: Likewise.
65593         * math/s_catanh.c: Likewise.
65594         * math/s_catanhf.c: Likewise.
65595         * math/s_catanhl.c: Likewise.
65596         * math/s_catanl.c: Likewise.
65597         * math/s_ccosh.c: Likewise.
65598         * math/s_ccoshf.c: Likewise.
65599         * math/s_ccoshl.c: Likewise.
65600         * math/s_cexp.c: Likewise.
65601         * math/s_cexpf.c: Likewise.
65602         * math/s_cexpl.c: Likewise.
65603         * math/s_clog.c: Likewise.
65604         * math/s_clog10.c: Likewise.
65605         * math/s_clog10f.c: Likewise.
65606         * math/s_clog10l.c: Likewise.
65607         * math/s_clogf.c: Likewise.
65608         * math/s_clogl.c: Likewise.
65609         * math/s_csin.c: Likewise.
65610         * math/s_csinf.c: Likewise.
65611         * math/s_csinh.c: Likewise.
65612         * math/s_csinhf.c: Likewise.
65613         * math/s_csinhl.c: Likewise.
65614         * math/s_csinl.c: Likewise.
65615         * math/s_csqrt.c: Likewise.
65616         * math/s_csqrtf.c: Likewise.
65617         * math/s_csqrtl.c: Likewise.
65618         * math/s_ctan.c: Likewise.
65619         * math/s_ctanf.c: Likewise.
65620         * math/s_ctanh.c: Likewise.
65621         * math/s_ctanhf.c: Likewise.
65622         * math/s_ctanhl.c: Likewise.
65623         * math/s_ctanl.c: Likewise.
65624         * math/s_ldexp.c: Likewise.
65625         * math/s_ldexpf.c: Likewise.
65626         * math/s_ldexpl.c: Likewise.
65627         * math/s_significand.c: Likewise.
65628         * math/s_significandf.c: Likewise.
65629         * math/s_significandl.c: Likewise.
65630         * math/w_acos.c: Likewise.
65631         * math/w_acosf.c: Likewise.
65632         * math/w_acosh.c: Likewise.
65633         * math/w_acoshf.c: Likewise.
65634         * math/w_acoshl.c: Likewise.
65635         * math/w_acosl.c: Likewise.
65636         * math/w_asin.c: Likewise.
65637         * math/w_asinf.c: Likewise.
65638         * math/w_asinl.c: Likewise.
65639         * math/w_atan2.c: Likewise.
65640         * math/w_atan2f.c: Likewise.
65641         * math/w_atan2l.c: Likewise.
65642         * math/w_atanh.c: Likewise.
65643         * math/w_atanhf.c: Likewise.
65644         * math/w_atanhl.c: Likewise.
65645         * math/w_cosh.c: Likewise.
65646         * math/w_coshf.c: Likewise.
65647         * math/w_coshl.c: Likewise.
65648         * math/w_dremf.c: Likewise.
65649         * math/w_exp10.c: Likewise.
65650         * math/w_exp10f.c: Likewise.
65651         * math/w_exp10l.c: Likewise.
65652         * math/w_exp2.c: Likewise.
65653         * math/w_exp2f.c: Likewise.
65654         * math/w_fmod.c: Likewise.
65655         * math/w_fmodf.c: Likewise.
65656         * math/w_fmodl.c: Likewise.
65657         * math/w_hypot.c: Likewise.
65658         * math/w_hypotf.c: Likewise.
65659         * math/w_hypotl.c: Likewise.
65660         * math/w_j0.c: Likewise.
65661         * math/w_j0f.c: Likewise.
65662         * math/w_j0l.c: Likewise.
65663         * math/w_j1.c: Likewise.
65664         * math/w_j1f.c: Likewise.
65665         * math/w_j1l.c: Likewise.
65666         * math/w_jn.c: Likewise.
65667         * math/w_jnf.c: Likewise.
65668         * math/w_jnl.c: Likewise.
65669         * math/w_lgamma.c: Likewise.
65670         * math/w_lgamma_r.c: Likewise.
65671         * math/w_lgammaf.c: Likewise.
65672         * math/w_lgammaf_r.c: Likewise.
65673         * math/w_lgammal.c: Likewise.
65674         * math/w_lgammal_r.c: Likewise.
65675         * math/w_log.c: Likewise.
65676         * math/w_log10.c: Likewise.
65677         * math/w_log10f.c: Likewise.
65678         * math/w_log10l.c: Likewise.
65679         * math/w_log2.c: Likewise.
65680         * math/w_log2f.c: Likewise.
65681         * math/w_log2l.c: Likewise.
65682         * math/w_logf.c: Likewise.
65683         * math/w_logl.c: Likewise.
65684         * math/w_pow.c: Likewise.
65685         * math/w_powf.c: Likewise.
65686         * math/w_powl.c: Likewise.
65687         * math/w_remainder.c: Likewise.
65688         * math/w_remainderf.c: Likewise.
65689         * math/w_remainderl.c: Likewise.
65690         * math/w_scalb.c: Likewise.
65691         * math/w_scalbf.c: Likewise.
65692         * math/w_scalbl.c: Likewise.
65693         * math/w_sinh.c: Likewise.
65694         * math/w_sinhf.c: Likewise.
65695         * math/w_sinhl.c: Likewise.
65696         * math/w_sqrt.c: Likewise.
65697         * math/w_sqrtf.c: Likewise.
65698         * math/w_sqrtl.c: Likewise.
65699         * math/w_tgamma.c: Likewise.
65700         * math/w_tgammaf.c: Likewise.
65701         * math/w_tgammal.c: Likewise.
65703         * po/ja.po: Update from translation team.
65705 2011-09-29  Andreas Jaeger  <aj@suse.de>
65707         [BZ #13179]
65708         * sunrpc/netname.c (netname2host): Fix logic.
65710         [BZ #6779]
65711         [BZ #6783]
65712         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65713         correctly.
65714         * math/w_remainder.c (__remainder): Likewise.
65715         * math/w_remainderf.c (__remainderf): Likewise.
65716         * math/libm-test.inc (remainder_test): Add test cases.
65718 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65720         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65721         sdiv_qrnnd.
65723 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65725         * string/test-memcmp.c: Avoid unncessary #defines.
65726         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65728 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65730         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65731         Use new sse2 version for core i3 - i7 as it's faster
65732         than sse42 version.
65733         (bit_Prefer_PMINUB_for_stringop): New.
65734         * sysdeps/x86_64/rawmemchr.S: Update.
65735         Replace with faster SSE2 version.
65736         * sysdeps/x86_64/memrchr.S: New file.
65737         * sysdeps/x86_64/memchr.S: Update.
65738         Replace with faster SSE2 version.
65740 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65742         * elf/dl-load.c (lose): Add cast to avoid warning.
65744 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65746         * po/ca.po: Update from translation team.
65748         * inet/getnetgrent_r.c: Hook up nscd.
65749         * nscd/Makefile (routines): Add nscd_netgroup.
65750         (nscd-modules): Add netgroupcache.
65751         (CFLAGS-netgroupcache.c): Define.
65752         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65753         (cache_search): Add const to second parameter.
65754         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65755         INNETGR.
65756         (dbs): Add netgrdb entry.
65757         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65758         (verify_persistent_db): Handle netgrdb.
65759         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65760         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65761         GETFDNETGR.
65762         (netgroup_response_header): Define.
65763         (innetgroup_response_header): Define.
65764         (datahead): Add netgroup_response_header and innetgroup_response_header
65765         elements.
65766         * nscd/nscd.conf: Add entries for netgroup cache.
65767         * nscd/nscd.h (dbtype): Add netgrdb.
65768         (_PATH_NSCD_NETGROUP_DB): Define.
65769         (netgroup_iov_disabled): Declare.
65770         (xmalloc, xcalloc, xrealloc): Move declarations here.
65771         (cache_search): Adjust prototype.
65772         Add netgroup-related prototypes.
65773         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65774         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65775         (__nscd_innetgr): Declare.
65776         * nscd/selinux.c (perms): Use access_vector_t as element type and
65777         add netgroup-related initializers.
65778         * nscd/netgroupcache.c: New file.
65779         * nscd/nscd_netgroup.c: New file.
65780         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65781         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65782         For four parameters use innetgr.
65783         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65784         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65785         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65786         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65788         * nscd/connections.c (register_traced_file): Don't register file
65789         for disabled databases.
65791 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65793         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65795         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65796         from tree and freeing node.
65798 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65800         * nss/nsswitch.c (__nss_database_lookup): Handle
65801         nss_parse_service_list out of memory case.
65803 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65805         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65806         out of memory case.
65808 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65810         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65811         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65812         pass it down.
65813         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65814         elf_machine_rela, elf_machine_lazy_rel.
65815         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65816         (ELF_DYNAMIC_DO_REL): Likewise.
65817         (ELF_DYNAMIC_DO_RELA): Likewise.
65818         (ELF_DYNAMIC_RELOCATE): Likewise.
65819         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65820         to ELF_DYNAMIC_DO_REL.
65821         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65822         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65823         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65824         elf_machine_rela.
65825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65826         skip_ifunc, don't call ifunc function if non-zero.
65827         (elf_machine_rela): Likewise.
65828         (elf_machine_lazy_rel): Likewise.
65829         (elf_machine_lazy_rela): Likewise.
65830         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65831         (elf_machine_lazy_rel): Likewise.
65832         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65833         Likewise.
65834         (elf_machine_lazy_rel): Likewise.
65835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65836         Likewise.
65837         (elf_machine_lazy_rel): Likewise.
65838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65839         (elf_machine_lazy_rel): Likewise.
65840         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65841         (elf_machine_lazy_rel): Likewise.
65842         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65843         (elf_machine_lazy_rel): Likewise.
65844         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65845         (elf_machine_lazy_rel): Likewise.
65846         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65847         (elf_machine_lazy_rel): Likewise.
65848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65849         (elf_machine_lazy_rel): Likewise.
65851 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65853         * nss/nss_files/files-init.c (_nss_files_init): Use static
65854         initialization for all the *_traced_file variables.
65856 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65858         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65860 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65862         [BZ #13226]
65863         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65865 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65868         Reread the line before reparsing it.
65870 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65872         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65874 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65875             Maxim Kuvyrkov  <maxim@codesourcery.com>
65876             Joseph Myers  <joseph@codesourcery.com>
65878         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65879         if needed for __stack_chk_guard.
65881 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65883         * sysdeps/posix/spawni.c (script_execute): Always define it.
65884         It will be optimized away if unused.
65885         (maybe_script_execute): New function.
65886         (__spawni): Call it.
65888         * Makerules: Don't include tls.make.
65889         (config-tls): Always set to thread.
65890         * tls.make.c: File removed.
65892 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65894         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65895         * config.make.in (CPPFLAGS-config): New substituted variable.
65897 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65899         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65901         [BZ #13192]
65902         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65903         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65905 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65907         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65908         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65910         (CALL_FAIL): Likewise.
65911         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65912         (CALL_FAIL): Macro removed.
65913         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65915 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65917         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65918         for __FINITE_MATH_ONLY__ == 1.
65920 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65922         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65923         __ieee754_sqrt instead of sqrt.
65924         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65925         __ieee754_sqrtf instead of sqrtf.
65926         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65927         __floorf instead of floorf.
65928         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65929         __floorf, __truncf instead of floorf, truncf.
65931 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65933         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65935         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65936         __extern_always_inline.
65937         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65938         32-bit.
65940 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65942         * elf/rtld.c (dl_main): Also relocate in dependency order when
65943         doing symbol dependency testing.
65945 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65948         Always define `refsym'.
65950 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65952         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65953         (__FD_ELT): Renamed from __FDELT.
65954         * misc/bits/select2.h (__FD_ELT): Likewise.
65955         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65956         __FD_MASK instead of __FDELT, __FDMASK.
65957         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65958         Likewise.
65959         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65960         Likewise.
65962         * elf/Makefile (gen-ldd): Fix pattern.
65964         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65965         (init_tls): Likewise.
65967 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65969         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65971 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65973         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65974         `struct cmsghdr *' instead of `void *'.
65975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65976         Likewise.
65978 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65980         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65981         if non-absolute.
65982         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65983         ldd_rewrite_script.
65985 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65987         * configure.in: Remove --with-tls option.
65988         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65989         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65990         out in case it is missing.
65991         * sysdeps/ia64/elf/configure.in: Likewise.
65992         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65993         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65994         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65995         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65996         * sysdeps/sh/elf/configure.in: Likewise.
65997         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65998         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65999         * sysdeps/x86_64/elf/configure.in: Likewise.
66000         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66001         * sysdeps/mach/hurd/tls.h: Likewise.
66003         [BZ #13067]
66004         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66006         [BZ #13090]
66007         * configure.in: Fix use of AC_INIT.
66009         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66011 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66013         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66014         __set_errno.
66015         * malloc/hooks.c: Likewise.
66017         [BZ #11929]
66018         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66019         variables statically.
66020         (narenas): Initialize.
66021         (list_lock): Initialize.
66022         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66023         initializtion of main_arena and list_lock.  Small cleanups.
66024         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66025         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66026         Add initializers to main_arena and mp_.
66027         (malloc_state): Remove pagesize member.  Change all users to use
66028         GLRO(dl_pagesize).
66030         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66031         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66032         is always initialized.
66034         * malloc/malloc.c: Removed unused configurations and dead code.
66035         * malloc/arena.c: Likewise.
66036         * malloc/hooks.c: Likewise.
66037         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66039         * include/tls.h: Removed.  USE___THREAD must always be defined.
66040         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66041         * elf/dl-libc.c: Likewise.
66042         * elf/dl-tsd.c: Likewise.
66043         * include/errno.h: Likewise.
66044         * include/netdb.h: Likewise.
66045         * include/resolv.h: Likewise.
66046         * inet/herrno-loc.c: Likewise.
66047         * inet/herrno.c: Likewise.
66048         * malloc/arena.c: Likewise.
66049         * malloc/hooks.c: Likewise.
66050         * malloc/malloc.c: Likewise.
66051         * resolv/res-state.c: Likewise.
66052         * resolv/res_libc.c: Likewise.
66053         * sysdeps/i386/dl-machine.h: Likewise.
66054         * sysdeps/ia64/dl-machine.h: Likewise.
66055         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66059         * sysdeps/sh/dl-machine.h: Likewise.
66060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66061         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66062         * sysdeps/unix/i386/sysdep.S: Likewise.
66063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66064         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66065         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66067         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66069         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66073         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66074         * sysdeps/x86_64/dl-machine.h: Likewise.
66075         * tls.make.c: Likewise.
66077         * configure.in: Remove --with-__thread option.  Make tests for
66078         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66079         tls_model attribute fail if no support is available.  Remove
66080         USE_IN_LIBIO.
66081         * Makeconfig: Adjust for dropped configure option.  All features are
66082         now mandatory.
66083         * Makerules: Likewise.
66084         * Versions.def: Likewise.
66085         * argp/argp-fmtstream.c: Likewise.
66086         * argp/argp-fmtstream.h: Likewise.
66087         * argp/argp-help.c: Likewise.
66088         * assert/assert.c: Likewise.
66089         * config.h.in: Likewise.
66090         * config.make.in: Likewise.
66091         * configure: Likewise.
66092         * configure.in: Likewise.
66093         * csu/Versions: Likewise.
66094         * csu/init.c: Likewise.
66095         * elf/tst-audit2.c: Likewise.
66096         * elf/tst-tls10.c: Likewise.
66097         * elf/tst-tls10.h: Likewise.
66098         * elf/tst-tls11.c: Likewise.
66099         * elf/tst-tls12.c: Likewise.
66100         * elf/tst-tls14.c: Likewise.
66101         * elf/tst-tlsmod11.c: Likewise.
66102         * elf/tst-tlsmod12.c: Likewise.
66103         * elf/tst-tlsmod13.c: Likewise.
66104         * elf/tst-tlsmod13a.c: Likewise.
66105         * elf/tst-tlsmod14a.c: Likewise.
66106         * elf/tst-tlsmod15b.c: Likewise.
66107         * elf/tst-tlsmod16a.c: Likewise.
66108         * elf/tst-tlsmod16b.c: Likewise.
66109         * elf/tst-tlsmod7.c: Likewise.
66110         * elf/tst-tlsmod8.c: Likewise.
66111         * elf/tst-tlsmod9.c: Likewise.
66112         * gmon/gmon.c: Likewise.
66113         * grp/fgetgrent_r.c: Likewise.
66114         * grp/putgrent.c: Likewise.
66115         * hurd/fopenport.c: Likewise.
66116         * include/libc-symbols.h: Likewise.
66117         * include/tls.h: Likewise.
66118         * intl/gettextP.h: Likewise.
66119         * intl/loadinfo.h: Likewise.
66120         * locale/global-locale.c: Likewise.
66121         * locale/localeinfo.h: Likewise.
66122         * mach/devstream.c: Likewise.
66123         * malloc/arena.c: Likewise.
66124         * malloc/set-freeres.c: Likewise.
66125         * misc/err.c: Likewise.
66126         * misc/getttyent.c: Likewise.
66127         * misc/mntent_r.c: Likewise.
66128         * posix/getopt.c: Likewise.
66129         * posix/wordexp.c: Likewise.
66130         * pwd/fgetpwent_r.c: Likewise.
66131         * resolv/Versions: Likewise.
66132         * resolv/res_hconf.c: Likewise.
66133         * shadow/fgetspent_r.c: Likewise.
66134         * shadow/putspent.c: Likewise.
66135         * stdio-common/printf_fphex.c: Likewise.
66136         * stdio-common/tmpfile.c: Likewise.
66137         * stdlib/abort.c: Likewise.
66138         * stdlib/fmtmsg.c: Likewise.
66139         * sunrpc/auth_unix.c: Likewise.
66140         * sunrpc/clnt_perr.c: Likewise.
66141         * sunrpc/clnt_tcp.c: Likewise.
66142         * sunrpc/clnt_udp.c: Likewise.
66143         * sunrpc/clnt_unix.c: Likewise.
66144         * sunrpc/openchild.c: Likewise.
66145         * sunrpc/svc_simple.c: Likewise.
66146         * sunrpc/svc_tcp.c: Likewise.
66147         * sunrpc/svc_udp.c: Likewise.
66148         * sunrpc/svc_unix.c: Likewise.
66149         * sunrpc/xdr.c: Likewise.
66150         * sunrpc/xdr_array.c: Likewise.
66151         * sunrpc/xdr_rec.c: Likewise.
66152         * sunrpc/xdr_ref.c: Likewise.
66153         * sunrpc/xdr_stdio.c: Likewise.
66155 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66157         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66159 2011-07-03  Andreas Jaeger  <aj@suse.de>
66161         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66162         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66163         regenerate with gen-libm-tests.pl.
66165 2010-05-12  Petr Baudis  <pasky@suse.cz>
66167         [BZ #11589]
66168         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66169         around j0() zero points by switching to j1().
66170         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66175 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66177         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66178         instead of 0.
66179         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66180         instead of 0.
66181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66182         Patch in part by Pavel Roskin <proski@gnu.org>.
66184         [BZ #13138]
66185         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66186         realloc.
66187         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66188         Free memory block if necessary.
66190         [BZ #12847]
66191         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66192         be NULL.  Don't lock in this case.
66194 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66196         * elf/elf.h (ELFOSABI_GNU): New macro.
66197         (ELFOSABI_LINUX): Define to that.
66199 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66201         * string/strncat.c (strncat): Undef the symbol in case it has been
66202         defined in bits/string.h.
66204 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66206         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66208         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66209         link map.
66211 2011-08-17  Andreas Jaeger  <aj@suse.de>
66213         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66215 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66216             Ian Lance Taylor  <iant@google.com>
66218         * math/libm-test.inc (lround_test): New testcase.
66219         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66221 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66223         * Makefile: Remove support for automatic cvs check-ins.
66224         * Makerules: Likewise.
66225         * config.make.in: Likewise.
66226         * configure.in: Likewise.
66227         * intl/Makefile: Likewise.
66228         * locale/Makefile: Likewise.
66229         * po/Makefile: Likewise.
66230         * posix/Makefile: Likewise.
66231         * sysdeps/gnu/Makefile: Likewise.
66232         * sysdeps/mach/hurd/Makefile: Likewise.
66233         * sysdeps/sparc/sparc32/Makefile: Likewise.
66235         [BZ #13118]
66236         * posix/Makefile (bug-regex32-ENV): Define.
66237         Patch by John Stanley <jpsinthemix@verizon.net>.
66239         * misc/Makefile (headers): Add bits/select2.h.
66240         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66241         * misc/bits/select2.h: New file.
66242         * include/bits/select2.h: New file.
66243         * debug/Makefile (routines): Add fdelt_chk.
66244         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66245         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66246         FD_ISSET.
66247         * debug/fdelt_chk.c: New file.
66249         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66250         * wcsmbs/test-wmemcmp.c: Likewise.
66251         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66252         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66254 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66256         * string/Makefile (strop-tests): Add memcmp.
66257         * string/test-wmemcmp.c: New file.
66258         * string/test-memcmp.c: Add wmemcmp support.
66260 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66262         [BZ #13153]
66263         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66264         2011-07-19 change.
66266         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66267         garbage value in a __mach_port_mod_refs call in the cases of the
66268         task-self and thread-self ports.
66270 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66272         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66274 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66276         * elf/dl-load.c (lose): Check for non-null L.
66278 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66280         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66282         * elf/dl-libc.c (dlerror_run): Pass back error code from
66283         dl_catch_error.
66285         [BZ #13123]
66286         * elf/dl-load.c (lose): Free l_origin if it is valid.
66288         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66289         names.
66290         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66291         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66292         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66294         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66295         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66297 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66299         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66300         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66301         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66302         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66303         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66304         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66305         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66306         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66307         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66308         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66310 2011-08-15  Alan Modra  <amodra@gmail.com>
66312         [BZ #13092]
66313         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66314         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66315         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66316         ppc_mcount to static-only-routines.
66317         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66318         __mcount_internal.
66319         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66320         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66322 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66324         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66325         for finite and infinity parameters.
66327 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66329         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66330         and add nop instructions for throughput optimization.
66331         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66333 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66336         aligned copy for power7 with vector-scalar instructions.
66337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66339 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66342         AVX check.
66344 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66346         [BZ #13144]
66347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66348         last change.
66350 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66352         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66353         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66354         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66356         clock_gettime.
66358 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66360         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66361         Forgot to demangle the pointer.
66363         * sysdeps/i386/sysdep.h: Define atom_text_section.
66364         * sysdeps/x86_64/sysdep.h: Likewise.
66365         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66366         section with atom_text_section.
66367         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66368         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66369         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66370         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66371         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66373         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66374         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66375         already be defined.  Change to take two parameters and don't assign
66376         result to variable.  Adjust all users.
66377         Define INTERNAL_GETTIME if not already defined.
66378         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66379         call.
66380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66381         HAVE_CLOCK_GETTIME_VSYSCALL.
66382         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66385         gettimeofday vsyscall, just use time.
66387 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66390         <errno.h>.
66392 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66394         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66395         syscall on x86-64.
66396         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66397         syscall.
66398         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66399         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66400         syscall if possible.
66402 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66404         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66405         e_ident.  Don't pass to find_mapsXX.
66406         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66408 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66411         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66412         * sysdeps/x86_64/multiarch/strchr.S: Update.
66413         Check bit_slow_BSF bit.
66414         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66415         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66416         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66418 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66420         [BZ #13134]
66421         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66422         before glibc 2.15.
66423         (tryshell): Define.
66424         (__spawni): Change last parameter to be flag.  Test
66425         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66426         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66427         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66428         * posix/spawni.c: Likewise.
66429         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66430         * posix/spawnp.c: Likewise.  Change normal version to use
66431         SPAWN_XFLAGS_USE_PATH.
66432         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66433         SPAWN_XFLAGS_TRY_SHELL.
66435         [BZ #13150]
66436         * posix/glob.h: Remove gcc 1.x support.
66438         [BZ #13068]
66439         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66441 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66444         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66445         strrchr-sse2-bsf
66446         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66447         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66448         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66449         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66450         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66451         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66453 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66455         * sysdeps/x86_64/wcscmp.S: New file.
66457         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66458         wcscmp-c wcscmp-sse2
66459         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66460         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66461         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66462         * wcsmbs/wcscmp.c: Allow renaming.
66464 2011-09-05  David S. Miller  <davem@davemloft.net>
66466         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66467         stack slot, rather than the struct return pointer slot.
66468         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66469         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66471         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66473 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66475         * po/ja.po: Update from translation team.
66477         [BZ #13144]
66478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66479         kernel in 64-bit binaries.
66481 2011-09-01  David S. Miller  <davem@davemloft.net>
66483         * elf/elf.h (HWCAP_SPARC_*): Move to..
66484         * sysdeps/sparc/sysdep.h: this new file and add new values.
66485         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66486         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66487         _DL_HWCAP_COUNT to 24.
66488         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66489         entries.
66490         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66491         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66492         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66494         instead of magic constants.
66495         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66497 2011-08-31  David S. Miller  <davem@davemloft.net>
66499         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66501         Reimplement to do errno handling inline.
66502         (SYSCALL_ERROR_HANDLER): New macro.
66503         (__SYSCALL_STRING): Do not do errno handling in asm.
66504         (__CLONE_SYSCALL_STRING): Delete.
66505         (__INTERNAL_SYSCALL_STRING): Delete.
66506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66507         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66508         (PSEUDO): Reimplement to do errno handling inline.
66509         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66510         (SYSCALL_ERROR_HANDLER): New macro.
66511         (__SYSCALL_STRING): Do not do errno handling in asm.
66512         (__CLONE_SYSCALL_STRING): Delete.
66513         (__INTERNAL_SYSCALL_STRING): Delete.
66514         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66515         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66516         i386.
66517         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66518         (inline_syscall*): Add 'err' argument.
66519         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66520         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66521         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66522         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66524         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66525         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66527 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66529         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66531 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66533         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66534         directive.
66536 2011-08-24  David S. Miller  <davem@davemloft.net>
66538         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66540 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66542         * elf/Makefile: Add rules to build and run unload8 test.
66543         * elf/unload8.c: New file.
66544         * elf/unload8mod1.c: New file.
66545         * elf/unload8mod1x.c: New file.
66546         * elf/unload8mod2.c: New file.
66547         * elf/unload8mod3.c: New file.
66549         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66550         it wasn't used.
66552 2011-08-23  David S. Miller  <davem@davemloft.net>
66554         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66555         subtract stack bias.
66556         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66557         %sp not %fp in calculations.
66558         (_JMPBUF_UNWINDS_ADJ): Likewise.
66560         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66561         (aio_suspend): Call it to force an exception region around the
66562         AIO_MISC_WAIT() invocation.
66564 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66566         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66567         backslash.
66569 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66571         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66572         protection macro.
66573         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66574         and <dl-machine.h>.
66575         (Elf64_FuncDesc): Remove.
66577 2011-08-22  David S. Miller  <davem@davemloft.net>
66579         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66580         sigaltstack check, add missing cfi directives.
66581         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66582         missing cfi directives, and sigaltstack handling.
66584 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66586         [BZ #11724]
66587         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66588         object is seen twice.
66589         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66591         * elf/Makefile (distribute): Add tst-initorder2.c.
66592         (tests): Add tst-initorder2.
66593         (modules-names): Add tst-initorder2a tst-initorder2b
66594         tst-initorder2c tst-initorder2d.  Add rules to build them.
66595         ($(objpfx)tst-initorder2.out): New rule.
66596         * elf/tst-initorder2.c: New file.
66597         * elf/tst-initorder2.exp: New file.
66599 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66601         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66603         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66604         dependencies back to end of function.
66606         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66607         $(elfobjdir)/ld.so.
66609 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66612         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66614         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66615         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66616         of __vdso_gettimeofday.
66617         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66618         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66619         attribute_hidden.
66620         (_libc_vdso_platform_setup): Remove initialization of
66621         __vdso_gettimeofday and __vdso_time.
66623 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66625         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66626         and fgetc_unlocked.
66627         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66628         getc_unlocked.
66630         * elf/dl-open.c (add_to_global): Report additions to the global scope
66631         for LD_DEBUG=scopes.
66632         (dl_open_worker): Also print scope of newly loaded dependencies.
66633         (_dl_show_scope): Indicate if there is no scope.
66635         [BZ #13114]
66636         * stdio-common/Makefile (tests): Add bug24.
66637         * stdio-common/bug24.c: New file.
66639 2011-08-19  Andreas Jaeger  <aj@suse.de>
66641         [BZ #13114]
66642         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66643         non-existant file when using close-on-exec mode.
66645 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66648         the very first instruction.
66650         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66651         the CFI state in the end.
66652         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66653         inclusion of dl-trampoline.h.
66654         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66656 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66658         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66659         expectations for long double.
66661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66662         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66664 2011-08-14  David S. Miller  <davem@davemloft.net>
66666         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66667         artificual limit depends upon the system page size.
66669 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66671         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66672         * resolv/Makefile: Define CFLAGS-libresolv.
66674 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66676         * nss/makedb.c (compute_tables): Make variables used in nested
66677         function static.
66679 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66681         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66682         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66683         if buffer was too small.
66685         * elf/pldd.c (main): Attach to all threads in the process.
66686         Rewrite /proc handling to use *at functions.
66688 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66690         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66691         specifies first scope to show.
66692         (dl_open_worker): Update callers.  Move printing scope of new
66693         object to before the relocation.
66694         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66695         * sysdeps/generic/ldsodefs.h: Update declaration.
66697         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66698         string for the scope number.
66700 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66702         * nscd/servicescache.c (cache_addserv): Make sure written is always
66703         initialized.
66705 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66707         * sysdeps/i386/i486/bits/atomic.h
66708         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66709         statement expression, so as to suppress "set but not used" warning.
66710         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66712         * string/strncat.c (STRNCAT): Use prototype definition.
66714         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66715         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66716         -Iprograms here.
66717         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66718         (localedef-modules): Add localedef.
66719         (locale-modules): Add locale.
66721         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66722         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66723         to avoid a warning.
66725 2011-08-14  David S. Miller  <davem@davemloft.net>
66727         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66728         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66730 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66732         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66733         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66734         * elf/rtld.c (dl_main): Set l_name of vDSO.
66735         Call _dl_show_scope when DL_DEBUG_SCOPES.
66736         (process_dl_debug): Recognize scopes flag and also set it for all.
66737         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66738         Declare _dl_show_scope.
66740         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66741         (do_dlopen): Pass caller_dlopen to dl_open.
66742         (__libc_dlopen_mode): Initialize caller_dlopen.
66744         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66745         of libc.  Make tolower call locale-independent.  Optimize a bit by
66746         using isdigit instead of isalnum.
66747         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66749 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66751         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66752         was a dependency or dynamically loaded.
66754 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66756         * intl/l10nflist.c: Allow architecture-specific pop function.
66757         * sysdeps/x86_64/l10nflist.c: New file.
66759         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66760         classification.
66762 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66764         * include/dirent.h: Add libc_hidden_proto for scandirat and
66765         scandirat64.  Don't declare __scandirat64.
66766         * dirent/scandirat.c: Add libc_hidden_def.
66767         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66768         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66770 2011-08-10  David S. Miller  <davem@davemloft.net>
66772         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66773         enum.
66774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66775         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66778 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66780         * Versions.def [libc]: Add GLIBC_2.15.
66781         * dirent/Makefile (routines): Add scandirat and scandirat64.
66782         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66783         GLIBC_2.15.
66784         * dirent/dirent.h: Declare scandirat and scandirat64.
66785         * dirent/scandirat.c: New file.
66786         * dirent/scandirat64.c: New file.
66787         * sysdeps/wordsize-64/scandirat.c: New file.
66788         * sysdeps/wordsize-64/scandirat64.c: New file.
66789         * dirent/opendir.c: Define opendirat.
66790         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66791         using scandirat.
66792         * dirent/scandir64.c: Adjust for scandir.c change.
66793         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66794         __scandirat64, and __scandir_cancel_handler.
66795         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66796         additional parameter and use openat instead of open (outside of ld.so).
66797         Add new __opendir as wrapper around __opendirat.
66798         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66799         here without requiring old scandirat implementation.
66801 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66803         * dirent/scandir.c (cancel_handler): Renamed to
66804         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66805         defined.  Adjust users.
66806         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66807         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66809 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66811         * string/test-string.h (IMPL): Use __STRING to expand name and then
66812         stringify it.
66814         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66815         of cleanups.
66817 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66819         * string/Makefile: Update.
66820         (strop-tests): Append strncat.
66821         * string/test-wcscmp.c: New file.
66822         New comprehensive test for wcscmp.
66823         * string/test-strcmp.c: Update.
66824         (WIDE): New define.
66826 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66828         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66829         line.
66831 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66834         encoding to ACE if AI_IDN.
66836 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66838         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66839         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66841 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66843         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66844         Fix overflow bug in strncat.
66845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66847         * string/test-strncat.c: Update.
66848         Add new tests for checking overflow bugs.
66850 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66853         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66854         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66855         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66856         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66857         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66858         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66859         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66860         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66863         (USE_AS_STRCAT): Define.
66864         Add strcat and strncat support.
66865         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66867 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66869         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66870         __n bigger than INT_MAX+1.
66871         (__strncmp_g): Likewise.
66873 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66875         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66876         * libio/stido.h: Likewise.
66878         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66879         (AF_NFC): Define.
66880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66881         (AF_NFC): Define.
66883         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66884         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66885         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66886         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66887         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66889         [BZ #13021]
66890         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66891         installed.
66893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66894         typo.
66895         (_dl_x86_64_save_sse): Likewise.
66897 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66900         OSXSAVE.
66901         (_dl_x86_64_save_sse): Likewise.
66903         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66905         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66907 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66910         change.
66911         (_dl_x86_64_save_sse): Use correct AVX check.
66913 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66915         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66916         bug in strncpy/strncat.
66917         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66919 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66921         * string/tester.c (test_strcat): Add tests for different alignments
66922         of source and destination.
66923         (test_strncat): Likewise.
66925 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66927         [BZ #12852]
66928         * posix/glob.c (glob): Check passed in values before using them in
66929         expressions to avoid some overflows.
66930         (glob_in_dir): Likewise.
66932         [BZ #13007]
66933         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66934         check for AVX enablement so that we don't crash with old kernels and
66935         new hardware.
66936         * elf/tst-audit4.c: Add same checks here.
66937         * elf/tst-audit6.c: Likewise.
66939         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66941 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66943         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66945 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66947         * po/cs.po: Update from translation team.
66948         * po/bg.po: Likewise.
66950 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66952         * misc/sys/cdefs.h: Add support for const attribute.
66953         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66954         to gnu_dev_{major,minor,makedev} functions.
66956 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66958         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66960 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66962         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66963         strlen results.
66965 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66968         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66969         register in order to avoid conflicts with the soft frame pointer
66970         being held in r11 when necessary.
66971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66972         (INTERNAL_VSYSCALL_NCS): Likewise.
66974 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66976         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66977         * elf/dl-fini.c (_dl_fini): Adjust caller.
66978         * elf/dl-close.c (_dl_close_worker): Likewise.
66979         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66981 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66983         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66984         "aux_cache->nlibs < 0".
66986         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66987         in the reload-count case.
66989 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66992         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66993         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66994         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66995         * sysdeps/x86_64/multiarch/strcat.S: New file.
66996         * sysdeps/x86_64/multiarch/strncat.S: New file.
66997         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66998         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66999         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67000         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67001         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67002         (USE_AS_STRCAT): Define.
67003         Add strcat and strncat support.
67004         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67006         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67007         * string/strncat.c: Update.
67008         (USE_AS_STRNCAT): Define.
67009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67010         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67011         and i7.
67012         * sysdeps/x86_64/multiarch/init-arch.h
67013         (bit_Prefer_PMINUB_for_stringop): New.
67014         (index_Prefer_PMINUB_for_stringop): Likewise.
67015         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67016         bit_Prefer_PMINUB_for_stringop.
67018 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67020         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67021         buffer64.
67022         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67023         of casting of buffer.
67024         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67025         buffer32 and buffer64.
67026         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67027         writes instead of casting of buffer.
67028         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67029         buffer32.
67030         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67031         casting of buffer.
67033 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67035         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67037 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67039         * nscd/nscd.c (termination_handler): Don't do anything for a database
67040         if it has not yet been initialized.
67042 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67044         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67046 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67048         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67050 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67052         * po/nl.po: Update from translation team.
67053         * po/sv.po: Likewise.
67055 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67057         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67058         now disallowed by GCC.
67060         * configure.in (use-default-link): Default to yes if a test -shared
67061         link meets our qualifications.
67062         * configure: Regenerated.
67064         * config.make.in (output-format): New variable.
67065         * configure.in: Check for ld --print-output-format support.
67066         * configure: Regenerated.
67067         * Makerules ($(common-objpfx)format.lds)
67068         [$(output-format) != unknown]: Just use $(output-format),
67069         instead of the linker-script munging.
67071 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67073         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67074         of $(common-objpfx)shlib.lds.
67075         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67077         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67078         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67080         * configure.in (-z relro check): Adjust test code to add a large
67081         writable data section after it.
67082         * configure: Regenerated.
67084 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67086         * configure.in (-z relro check): Fix test code to make the variable
67087         truly const.
67088         * configure: Regenerated.
67090 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67092         * nscd/nscd.h (struct traced_file): Define.
67093         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67094         elements.  Add traced_files.
67095         (inotify_fd): Declare.
67096         (register_traced_file): Declare.
67097         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67098         (inotify_fd): Export.
67099         (resolv_conf_descr): Remove.
67100         (nscd_init): Move inotify descriptor creation to main.
67101         Don't register files for notification here.
67102         (register_traced_file): New function.
67103         (invalidate_cache): Don't use reset_res to determine whether to call
67104         res_init, go through the list of registered files.
67105         (main_loop_poll): The inotify descriptors are now stored in the
67106         structures for the traced files.
67107         (main_loop_epoll): Likewise
67108         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67109         to __nss_disable_nscd.
67110         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67111         for a database anymore.  Check the records for all the registered
67112         files instead.
67113         * nss/Makefile (libnss_files-routines): Add files-init.
67114         (libnss_db-routines): Add db-init.
67115         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67116         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67117         * nss/nss_db/db-init.c: New file.
67118         * nss/nss_files/files-init.c: New file.
67119         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67120         __nss_lookup_function.
67121         (__nss_lookup_function): Call nss_load_library.
67122         (nss_load_all_libraries): New function.
67123         (__nss_disable_nscd): Take parameter with callback function for files
67124         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67125         used for the cached services.
67126         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67127         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67128         options for features to all the files in nscd.
67130         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67132 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67134         * csu/elf-init.c (__libc_csu_init): Comment typo.
67136 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67138         * po/pl.po: Update from translation team.
67139         * po/ja.po: Likewise.
67140         * po/ru.po: Likewise.
67141         * po/ko.po: Likewise.
67142         * po/fr.po: Likewise.
67144 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67146         * configure.in (.ctors/.dtors header and trailer check):
67147         Use an empirical test on a built program.
67148         * configure: Regenerated.
67150         * configure.in (-z relro check): Use an empirical test on a built DSO.
67151         Detect, but do not require, on ia64.
67152         * configure: Regenerated.
67154         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67155         Update tests that use readelf to use $READELF instead.
67156         * configure: Regenerated.
67158 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67160         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67161         if the result is not used.
67163 2011-07-05  Andreas Jaeger  <aj@suse.de>
67165         [BZ#9696]
67166         * stdlib/tst-strtod.c: Add testcase.
67168 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67170         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67171         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67172         The latter has a higher limit.  Take additional parameter to pass to
67173         the new function.
67174         (__pathconf): Pass file to __statfs_link_max.
67175         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67176         __statfs_link_max.
67177         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67178         __statfs_link_max.
67180         [BZ #12868]
67181         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67182         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67183         Handle Lustre.
67184         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67185         (__statfs_filesize_max): Likewise.
67186         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67188 2011-07-05  Andreas Jaeger  <aj@suse.de>
67190         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67192 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67194         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67195         `status' variable.
67196         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67197         Likewise.
67199 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67201         * Makefile (strop-tests): Add strncat.
67202         * string/test-strncat.c: New file.
67204 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67206         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67208 2011-06-21  Andreas Jaeger  <aj@suse.de>
67210         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67211         Copy rule from iconvdata/Makefile.
67213 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67215         [BZ #12922]
67216         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67217         but no long options are defined, just return 'W'.
67219 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67221         [BZ #9696]
67222         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67224 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67226         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67227         netgroups to read.
67228         (innetgr): Likewise.
67230 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67232         * config.make.in (install_root): Default to $(DESTDIR).
67234 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67236         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67238 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67240         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67242         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67243         containing directory rather than embedding absolute directory names.
67245         * scripts/check-local-headers.sh: Rewritten using awk.
67246         Match by word, not by line.  Print error messages for matches.
67247         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67249         * Makerules [shlib-lds-flags empty]:
67250         ($(common-objpfx)libc_pic.opts): New target.
67251         ($(common-objpfx)libc_pic.os.clean): New target.
67252         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67254         * config.make.in (OBJCOPY): New variable.
67255         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67256         * configure: Regenerated.
67258         * config.make.in (use-default-link): New variable.
67259         * configure.in (use_default_link): Grok --with-default-link to set it.
67260         * configure: Regenerated.
67261         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67262         (shlib-lds, shlib-lds-flags): Define to empty.
67264         * Makerules (shlib-lds): New variable.
67265         (shlib-lds-flags): New variable.
67266         (build-shlib, build-moduile, build-module-asneeded): Use it.
67267         ($(common-objpfx)libc.so): Use $(shlib-lds).
67268         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67269         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67271         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67272         DT_FLAGS/DT_FLAGS_1 with zero flags.
67274         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67275         linker script munging.
67277 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67279         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67280         as 128-bit value.
67281         * crypt/sha512.c (sha512_process_block): Perform total addition using
67282         128-bit if possible.
67283         (__sha512_finish_ctx): Likewise.
67284         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67285         as 64-bit value.
67286         * crypt/sha256.c (SWAP64): Define.
67287         (sha256_process_block): Perform total addition using 64-bit if
67288         possible.
67289         (__sha256_finish_ctx): Likewise.
67291 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67293         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67295         * nscd/hstcache.c (cache_addhst): Likewise.
67296         * nscd/grpcache.c (cache_addgr): Likewise.
67297         * nscd/aicache.c (addhstaiX): Likewise
67298         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67300 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67302         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67303         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67304         * nscd/hstcache.c (cache_addhst): Likewise.
67305         * nscd/grpcache.c (cache_addgr): Likewise.
67306         * nscd/aicache.c (addhstaiX): Likewise
67308 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67310         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67311         domain only when needed.
67313 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67316         is always restored.
67318 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67320         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67321         are re-adding the entry.
67322         * nscd/servicescache.c (cache_addserv): Likewise.
67324 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67326         * sysdeps/generic/dl-irel.h: fix protection against multiple
67327         inclusions.
67328         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67330 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67332         [BZ #12935]
67333         * malloc/memusage.sh: Fix quoting in message.
67334         * debug/xtrace.sh: Likewise.
67336         * configure.in: Remove support for --experimental-malloc option, make
67337         it the default.
67338         * config.make.in: Likewise.
67339         * malloc/Makefile: Likewise.
67341 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67343         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67344         two-byte characters.
67346 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67348         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67349         AC_CACHE_CHECK invocation.
67350         * configure: Regenerated.
67352         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67354 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67356         [BZ #12350]
67357         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67358         bit from old_res_options.
67360         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67362         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67363         value type for setfct.
67365 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67367         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67368         __gettimeofday instead of gettimeofday.
67370 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67372         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67374 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67378         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67379         info.
67381 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67384         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67385         strcpy-sse2-unaligned strncpy-sse2-unaligned
67386         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67387         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67388         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67389         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67390         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67391         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67392         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67393         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67394         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67395         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67396         (STRCPY): Support SSE2 and SSSE3 versions.
67398 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67400         [BZ #12874]
67401         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67402         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67403         kernels which artificially limit size of requests.
67405 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67407         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67408         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67409         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67410         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67411         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67412         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67413         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67414         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67417         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67418         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67419         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67420         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67421         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67423         Enable unaligned load optimization for Intel Core i3, i5 and i7
67424         processors.
67425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67426         Define.
67427         (index_Fast_Unaligned_Load): Define.
67428         (HAS_FAST_UNALIGNED_LOAD): Define.
67430 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67432         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67434 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67436         [BZ #12907]
67437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67438         until it is clear that the information is realy needed.
67439         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67441 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67445 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67447         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67448         /sys/devices/system/cpu/online if it is usable.
67450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67451         reading the information from the /proc filesystem to once a second.
67453 2011-06-21  Andreas Jaeger  <aj@suse.de>
67455         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67456         NULL after inclusion of kernel headers.
67458 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67460         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67461         calls to internal_setent.
67463         [BZ #12885]
67464         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67465         addresses using gethostbyname4_r ignore IPv4 addresses.
67467         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67468         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67470         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67472 2011-06-20  David S. Miller  <davem@davemloft.net>
67474         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67475         inclusions.
67476         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67478         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67479         (elf_irel): Use it.
67480         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67481         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67482         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67483         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67484         * sysdeps/x86_64/dl-irel.h: Likewise.
67486         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67487         * elf/dl-sym.c: Likewise.
67489 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67491         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67492         need to dereference resplen2.
67494 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67496         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67498 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67500         * Makeconfig: Define vardbdir and inst_vardbdir.
67501         * nss/Makefile: Add rules to install db-Makefile.
67503         * nss/nss_db/db-XXX.c: Cleanup.
67505         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67506         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67507         GLIBC_PRIVATE.
67508         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67509         * nss/makedb.c: Implement -g option to specify that value strings
67510         are generated and should not be added to table iterated over for
67511         get*ent calls.
67512         * nss/nss_db/db-initgroups.c: New file.
67514         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67515         interface.
67517         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67518         (internal_getgrouplist): Adjust to name change.
67519         Update use_initgroups_entry if this is not the first call.
67520         * nss/databases.def: Add initgroups entry.
67522         * nss/makedb.c (compute_tables): Check result of multiple hash table
67523         sizes to minimize maximum chain length.
67525 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67527         * Versions.def: Add entry for libnss_db.
67528         * shlib-versions: Likewise.
67529         * nss/Makefile: Add rules to build libnss_db.
67530         * nss/Versions: Add libnss_db information.  Organize libnss_files
67531         entries better.
67532         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67533         makedb progra.  Some minor improvements to generate smaller files.
67534         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67535         here from...
67536         * nss/makedb.c: ...here.
67537         Improve database format to be smaller and require less memory at
67538         runtime.
67539         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67540         db anymore.
67541         * nss/nss_db/db-netgrp.c: Likewise.
67542         * nss/nss_db/db-open.c: Likewise.
67543         * nss/nss_files/flies-XXX.x: Adjust comments.
67544         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67545         * nss/nss_files/files-grp.c: Likewise.
67546         * nss/nss_files/files-hosts.c: Likewise.
67547         * nss/nss_files/files-network.c: Likewise.
67548         * nss/nss_files/files-proto.c: Likewise.
67549         * nss/nss_files/files-pwd.c: Likewise.
67550         * nss/nss_files/files-rpc.c: Likewise.
67551         * nss/nss_files/files-service.c: Likewise.
67552         * nss/nss_files/files-sgrp.c: Likewise.
67553         * nss/nss_files/files-spwd.c: Likewise.
67554         * nss/nss_db/db-alias.c: Removed.
67555         * nss/nss_db/dummy-db.h: Removed.
67557 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67559         * nss/makedb.c: Rewritten to not use database library.
67560         * nss/Makefile: Update to build new makedb program.
67562 2011-06-14  Andreas Jaeger  <aj@suse.de>
67564         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67565         memset declaration.
67567 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67570         tmpbuf.
67572 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67574         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67575         * elf/Makefile ($(objpfx)ld.so): Likewise.
67577         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67578         Don't list ld.so twice in dependencies.
67580         * posix/bug-regex31.c: Include <stdlib.h>.
67582         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67584         * nis/nss_compat/compat-spwd.c
67585         (getspent_next_nss_netgr): Remove unused variable.
67586         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67588         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67589         nonmembers" output to use the right array.
67591         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67593         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67595         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67596         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67597         * catgets/gencat.c (read_input_file): Likewise.
67598         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67600         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67601         variable definition inside #if's controlling its use.
67603         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67605         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67607         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67609         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67610         unreachable code.
67612         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67614         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67615         * configure: Regenerated.
67617         * Makerules: Revert last change.
67618         * elf/Makefile: Likewise.
67620 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67622         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67623         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67624         (reloc-link): Likewise.
67626 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67628         * elf/Makefile: Add rules to build pldd.
67629         * elf/pldd.c: New file.
67630         * elf/pldd-xx.c: New file.
67632 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67634         * version.h: Update for 2.15 development version.
67636 2011-06-07  David S. Miller  <davem@davemloft.net>
67638         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67639         ifuncs.
67640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67641         elf_machine_lazy_rel): Likewise.
67642         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67643         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67644         elf_machine_lazy_rel): Likewise.
67645         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67646         dl_hwcap via passed in argument.
67647         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67648         Likewise.
67650 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67652         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67654 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67656         [BZ #12849]
67657         * manual/fdl-1.1.texi: New file, verbatim from:
67658         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67659         * manual/lgpl-2.1.texi: New file, verbatim from:
67660         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67661         * manual/Makefile (licenses): New variable, list those new file names.
67662         (texis): Use it.
67663         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67665         * manual/fdl.texi: File removed.
67666         * manual/lesser.texi: File removed.
67667         * manual/libc.texinfo (Copying, Documentation License):
67668         Use new @include file names, put @appendix directive before @include.
67670 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67672         [BZ #12841]
67673         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67674         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67675         (mq_open): Add __NTH.
67677 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67680         Assume Intel Core i3/i5/i7 processor if AVX is available.
67682 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67685         typo.
67687 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67689         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67690         memory.  Use alloca_account.  Fix memory leak when retrying.
67692 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67694         * version.h (RELEASE): Bump for 2.14 release.
67695         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67697         * config.make.in (RANLIB): Remove entry.
67699 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67701         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67702         (libc.pot): Work around missing support for .ksh extension in xgettext.
67704         [BZ #12684]
67705         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67706         if both request failed.
67707         (send_dg): In case of server errors clear resplen or *resplen2.
67709         [BZ #12454]
67710         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67711         when there are multiple maps.
67712         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67713         (_dl_fini): Remove test here.
67715         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67717 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67719         [BZ #12350]
67720         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67721         bit from old_res_options.
67722         (gaih_inet): Likewise.
67724         [BZ #11099]
67725         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67726         as signed.
67728         * resolv/res_init.c (res_setoptions): Make the code more compact.
67730         [BZ #11558]
67731         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67732         set RES_USEVC.
67734         [BZ #11634]
67735         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67737         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67739         [BZ #11781]
67740         * malloc/malloc.h: Declare malloc hook variables as volatile.
67742         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67743         in last patch.
67745         [BZ #11799]
67746         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67747         raise in the comment.
67748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67750         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67752 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67754         [BZ #12811]
67755         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67756         grow the buffers more if it already has to be sufficient.
67757         (build_wcs_upper_buffer): Likewise.
67758         * posix/regexec.c (check_matching): Likewise.
67759         (clean_state_log_if_needed): Likewise.
67760         (extend_buffers): Don't enlarge buffers beyond size of the input
67761         buffer.
67762         Patches mostly by Emil Wojak <emil@wojak.eu>.
67763         * posix/bug-regex32.c: New file.
67764         * posix/Makefile (tests): Add bug-regex32.
67766         * locale/findlocale.c (_nl_find_locale): Return right away if
67767         _nl_explode_name failed.
67768         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67770         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67772         * debug/xtrace.sh: Unify messages.
67773         * malloc/memusage.sh: Likewise.
67775         [BZ #12813]
67776         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67777         time symbol from vDSO.  Substitute with vsyscall if not available.
67778         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67779         __vdso_time.
67781         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67782         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67783         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67784         Add sendmmsg and internal_sendmmsg.
67785         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67786         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67787         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67789         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67790         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67791         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67793 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67795         [BZ #12813]
67796         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67797         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67798         available.
67799         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67800         __vdso_getcpu.
67802         [BZ #12814]
67803         * iconvdata/Makefile (tests): Add bug-iconv9.
67804         * iconvdata/bug-iconv9.c: New file.
67806 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67808         [BZ #12814]
67809         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67811 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67813         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67814         (struct user_regs_struct): Change intcs field back to cs.
67816 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67818         * po/ja.po: Update from translation team.
67820 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67822         [BZ #12795]
67823         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67824         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67826 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67828         * stdlib/longlong.h: Update from GCC.
67830 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67832         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67833         parameter name.
67834         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67835         Add parameter name.
67836         (__sysconf): Pass it down.
67838 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67840         [BZ #12671]
67841         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67842         some situations.
67843         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67844         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67845         add in in __libc_use_alloca calls.  Adjust callers.
67846         (glob): Use malloc in some situations.
67848         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67849         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67850         pltexit.
67852 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67854         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67855         and CLOCK_BOOTTIME_ALARM.
67857         [BZ #12782]
67858         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67859         is returned.
67861         * string/_strerror.c (__strerror_r): Print negative errors as signed
67862         numbers.
67864         [BZ #12777]
67865         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67866         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67867         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67869         * configure.in: Fix typo in redirection and correct removal of test
67870         files in two cases.
67872         [BZ #12788]
67873         * locale/setlocale.c (new_composite_name): Fix test to check for
67874         identical name of all categories.
67876         [BZ #12792]
67877         * libio/filedoalloc.c (local_isatty): New function.
67878         (_IO_file_doallocate): Use local_isatty.
67879         * stdio-common/perror.c (perror): In case a new stream is used
67880         forward the stream error.
67881         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67882         error flag.
67884 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67886         [BZ #11869]
67887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67888         alloca.
67889         * include/alloca.h (extend_alloca_account): Define.
67891         [BZ #11857]
67892         * posix/regex.h: Fix comments with documentation of user-accessible
67893         fields after compilation and describe correct free'ing of pattern
67894         after re_compile_pattern.
67895         Patch by Reuben Thomas <rrt@sc3d.org>.
67897 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67899         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67900         and -mno-altivec to prevent the compiler from using Altivec and/or
67901         VSX instructions when the corresponding registers are not available.
67903 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67905         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67907 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67909         * libio/freopen.c (freopen): Use __dup2, not dup2.
67910         * libio/freopen64.c (freopen64): Likewise.
67912 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67914         [BZ #12775]
67915         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67916         * math/Makefile (tests): Add test-powl.
67917         (CFLAGS-test-powl.c): Define.
67918         * math/test-powl.c: New file.
67920 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67922         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67924 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67926         [BZ #11837]
67927         * iconvdata/gb18030.c: Update to GB18020-2005.
67929 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67931         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67932         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67933         Patch by Aharon Robbins <arnold@skeeve.com>.
67935         [BZ #11892]
67936         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67937         on the stack.
67939         [BZ #11895]
67940         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67941         through underflows.
67943         [BZ #12766]
67944         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67945         point to strings before performing equality test for error_one_per_line
67946         mode.
67948         [BZ #11697]
67949         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67951         [BZ #11820]
67952         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67953         (struct user_fpregs_struct): Avoid __uint*_t types.
67955         [BZ #6420]
67956         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67957         symbol info.  Use it instead of calling _dl_addr locally.
67958         (lock_and_info): New function.
67959         (tr_freehook): Call lock_and_info and pass symbol info as additional
67960         parameter to tr_where.
67961         (tr_mallochook): Likewise.
67962         (tr_reallochook): Likewise.
67963         (tr_memalignhook): Likewise.
67965         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67966         used and couldn't be at all thread-safe.
67968 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67970         * libio/freopen.c (freopen): Don't close old file descriptor
67971         before the new one is opened.  Instead dup the new file descriptor
67972         to the old one after the new stream is created.
67973         * libio/freopen64.c (freopen64): Likewise.
67974         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67975         * libio/fileops.c (_IO_new_file_close_it): Handle new
67976         _IO_FLAGS2_NOCLOSE flag.
67977         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67978         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67979         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67980         _IO_FLAGS2_NOCLOSE flag.
67981         * include/unistd.h: Add hidden_proto for dup3.
67982         Define __have_dup3.
67983         * io/dup3.c: Define hidden symbol.
67984         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67986         [BZ #7101]
67987         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67988         when an incomplete long option is used.
67989         * posix/tst-getopt_long1.c: New file.
67990         * posix/Makefile (tests): Add tst-getopt_long1.
67992         [BZ #10138]
67993         * scripts/config.guess: Update from autoconf-2.68.
67994         * scripts/config.sub: Likewise.
67996         [BZ #10157]
67997         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67998         tests into ...
67999         (has_cpuclock): ...this.  New function.
68000         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68001         macro here based on has_cpuclock code.
68003         [BZ #10149]
68004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68005         First byte (not low byte) is now always NUL.
68006         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68009         Use non-cancelable interfaces.
68011         [BZ #9809]
68012         * locale/iso-639.def: Add entry for Sorani.
68014         [BZ #11901]
68015         * include/stdlib.h: Move include protection to the right place.
68016         Define abort_msg_s.  Declare __abort_msg with it.
68017         * stdlib/abort.c (__abort_msg): Adjust type.
68018         * assert/assert.c (__assert_fail_base): New function.  Majority
68019         of code from __assert_fail.  Allocate memory for __abort_msg with
68020         mmap.
68021         (__assert_fail): Now call __assert_fail_base.
68022         * assert/assert-perr.c: Remove bulk of implementation.  Use
68023         __assert_fail_base.
68024         * include/assert.hL Declare __assert_fail_base.
68025         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68026         mmap.
68027         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68029 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68031         [BZ #11952]
68032         [BZ #12453]
68033         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68034         until all modules are registered in the DTV.
68035         * elf/Makefile: Add rules to build and run tst-tls19.
68036         * elf/tst-tls19.c: New file.
68037         * elf/tst-tls19mod1.c: New file.
68038         * elf/tst-tls19mod2.c: New file.
68039         * elf/tst-tls19mod3.c: New file.
68040         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68042         [BZ #12083]
68043         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68044         correctly.
68046         [BZ #12601]
68047         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68048         two-byte sequence errors.
68049         * iconvdata/Makefile (tests): Add bug-iconv8.
68050         * iconvdata/bug-iconv8.c: New file.
68052         [BZ #12626]
68053         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68054         buf2 definition.
68056         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68058         [BZ #12432]
68059         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68060         (dummy_getcfa): New function.
68061         (init): Get _Unwind_GetCFA address, use dummy if not found.
68062         (backtrace_helper): In recursion check, also check whether CFA changes.
68063         (__backtrace): Completely initialize arg.
68065         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68066         storing incomplete byte sequence in state object.  Avoid testing for
68067         guaranteed too small input if we know there is enough data available.
68069 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68071         * Makeconfig (+link-pie): Indent.
68072         * Rules (binaries-pie): Define if $(have-fpie) and
68073         $(build-shared).
68074         (binaries-shared): Also filter out $(binaries-pie).
68075         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68076         * nscd/Makefile (others-pie): Add nscd.
68077         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68078         ($(objpfx)nscd): Remove command override.
68079         * login/Makefile (others-pie): Add pt_chown.
68080         ($(objpfx)pt_chown): Remove command override.
68081         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68082         remove command overrides.
68084 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68086         * libio/tst_putwc.c: Fix error messages.
68088         [BZ #12724]
68089         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68090         currently writing and seek to current position when not.
68091         * libio/Makefile (tests): Add bug-fclose1.
68092         * libio/bug-fclose1.c: New file.
68094 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68096         [BZ #12511]
68097         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68098         don't set DF_1_NODELETE here.
68099         (do_lookup_x): When entering new entry test for copy relocation
68100         and if necessary set DF_1_NODELETE flag.
68101         * elf/tst-unique4.cc: New file.
68102         * elf/tst-unique4.h: New file.
68103         * elf/tst-unique4lib.cc: New file.
68104         * elf/Makefile: Add rules to build and run tst-unique4.
68105         Patch by Piotr Bury <pbury@goahead.com>.
68107 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68109         [BZ #12052]
68110         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68112         [BZ #12625]
68113         * misc/mntent_r.c (addmntent): Flush the stream after the output
68115         [BZ #12393]
68116         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68117         (is_trusted_path_normalize): Skip initial colon.  Append slash
68118         to empty buffer.  Duplicate is_trusted_path code but allow
68119         constructed patch to be prefix.
68120         (is_dst): Allow $ORIGIN followed by /.
68121         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68122         Correct testing of result of is_trusted_path_normalize
68123         (decompose_rpath): Fix warning.
68125 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68127         [BZ #11257]
68128         * grp/initgroups.c (internal_getgrouplist): When we found the service
68129         list through the initgroups entry in nsswitch.conf do not always
68130         continue on a successful lookup.  Don't always use the
68131         __nss_group_database value if it is set.
68132         * nss/nsswitch.conf (initgroups): Change action for successful db
68133         lookup to continue for compatibility.
68135 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68137         [BZ #11532]
68138         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68139         and CP774 modules.
68140         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68141         and CP774 modules.
68142         * iconvdata/tst-tables.sh: Likewise.
68143         * iconvdata/cp770.c: New file.
68144         * iconvdata/cp771.c: New file.
68145         * iconvdata/cp772.c: New file.
68146         * iconvdata/cp773.c: New file.
68147         * iconvdata/cp774.c: New file.
68148         * iconvdata/testdata/CP770: New file.
68149         * iconvdata/testdata/CP770..UTF8: New file.
68150         * iconvdata/testdata/CP771: New file.
68151         * iconvdata/testdata/CP771..UTF8: New file.
68152         * iconvdata/testdata/CP772: New file.
68153         * iconvdata/testdata/CP772..UTF8: New file.
68154         * iconvdata/testdata/CP773: New file.
68155         * iconvdata/testdata/CP773..UTF8: New file.
68156         * iconvdata/testdata/CP774: New file.
68157         * iconvdata/testdata/CP774..UTF8: New file.
68159         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68160         END CHARMAP line.
68161         * iconvdata/gen-8bit-gap.sh: Likewise.
68162         * iconvdata/gen-8bit.sh: Likewise.
68164         * locale/iso-639.def: Add ary entry.
68166         [BZ #11258]
68167         * locale/C-translit.h.in: Add U20A1 transliteration.
68169         [BZ #12178]
68170         * locale/iso-639.def: Add wae entry.
68171         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68173         [BZ #12545]
68174         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68175         for n.
68177         [BZ #12711]
68178         * locale/C-translit.h.in: Add entry for U20B9.
68179         Patch by pravin.d.s@gmail.com.
68181 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68183         [BZ #12713]
68184         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68185         ENAMETOOLONG use generic getcwd.
68186         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68187         in rtld.  Use *stat64.
68188         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68189         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68190         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68191         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68192         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68193         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68194         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68195         __fstatat64 macros.
68196         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68197         * dirent/rewinddir.c: Add libc_hidden_def.
68198         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68199         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68201         * include/dirent.h (__alloc_dir): Add flags parameter.
68202         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68203         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68204         __alloc_dir.
68205         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68206         from fdopendir if O_CLOEXEC is already set.
68208 2011-03-15  Alan Modra  <amodra@gmail.com>
68210         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68211         l_tls_firstbyte_offset non-zero.  Save padding offset in
68212         l_tls_firstbyte_offset for later use.
68213         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68214         freeing static tls block.
68216 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68218         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68219         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68220         being defined by the kernel headers.
68222 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68224         [BZ #12734]
68225         * resolv/resolv.h: Define RES_NOTLDQUERY.
68226         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68227         no-tld-query and set RES_NOTLDQUERY.
68228         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68229         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68230         modern BIND to search name as TLD unless forbidden.
68232 2011-05-07  Petr Baudis  <pasky@suse.cz>
68233             Ulrich Drepper  <drepper@gmail.com>
68235         [BZ #12393]
68236         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68237         (is_trusted_path): ...to here.
68238         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68239         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68240         using is_trusted_path_normalize() in setuid scripts.
68242 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68244         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68245         __BEGIN/__END_DECLS.
68247 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68249         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68250         NSS_STATUS_NOTFOUND if no record was found.
68252 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68254         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68255         (headers-not-in-tirpc): Remove rpc/netdb.h
68256         * resolv/netdb.h: Revert last change.
68258 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68260         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68261         circular dependency between libgcc.a and libc.a.
68263 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68265         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68266         * nis/Makefile: Don't install rpcsvc/*.
68267         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68268         instead of <rpc/types.h>.
68269         (MAXHOSTNAMELEN): Define.
68271 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68273         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68275 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68277         [BZ #12714]
68278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68279         gethostbyname4_r when IPv6 results are possible.
68281 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68283         [BZ #12723]
68284         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68285         _PC_PIPE_BUF handling.
68287 2011-04-30  Bruno Haible  <bruno@clisp.org>
68289         [BZ #12717]
68290         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68291         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68292         to 'int'.
68293         * inet/getnameinfo.c (getnameinfo): Likewise.
68295 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68297         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68298         to groups setting in database lookup.
68299         * nss/nsswitch.conf: Add initgroups entry.
68301 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68303         [BZ #12685]
68304         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68305         mode string.
68306         Patch by Eric Blake <eblake@redhat.com>.
68308 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68310         * sunrpc/Makefile (need-export-routines): Add svc_run.
68311         (routines): Remove svc_run.
68312         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68313         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68314         * sunrpc/svc_run.c (svc_run): Likewise.
68315         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68317 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68319         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68320         problem in reallocation in last patch.
68322 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68324         * sunrpc/Makefile: Move inclusion of Rules.
68326 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68328         * nss/nss_files/files-initgroups.c: New file.
68329         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68330         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68331         _nss_files_initgroups_dyn.
68333 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68335         * elf/elf.h (R_ARM_IRELATIVE): Define.
68337 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68339         * po/ru.po: Update from translation team.
68341 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68343         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68344         dependencies.
68346 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68348         [BZ #12653]
68349         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68350         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68351         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68355 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68358         differing bytes.
68359         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68361         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68363 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68365         [BZ #12420]
68366         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68367         storing it.
68368         * stdlib/bug-getcontext.c: New file.
68369         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68371 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68373         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68374         instructions into .machine "z9-109".
68375         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68376         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68378 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68380         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68381         between environment variables and auxiliary vector.
68383 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68385         * Makefile: Add rules to build linkobj/libc.so.
68386         * include/libc-symbols.h: Define libc_hidden_nolink.
68387         * include/rpc/auth.h: Mark functions which are to be hidden.
68388         * include/rpc/auth_des.h: Likewise.
68389         * include/rpc/auth_unix.h: Likewise.
68390         * include/rpc/clnt.h: Likewise.
68391         * include/rpc/des_crypt.h: Likewise.
68392         * include/rpc/key_prot.h: Likewise.
68393         * include/rpc/pmap_clnt.h: Likewise.
68394         * include/rpc/pmap_prot.h: Likewise.
68395         * include/rpc/pmap_rmt.h: Likewise.
68396         * include/rpc/rpc_msg.h: Likewise.
68397         * include/rpc/svc.h: Likewise.
68398         * include/rpc/svc_auth.h: Likewise.
68399         * include/rpc/xdr.h: Likewise.
68400         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68401         * nss/Makefile: Likewise.
68402         * sunrpc/Makefile: Don't install headers.  Build library with normal
68403         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68404         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68405         for the compat linking library.  Remove use of INTDEF/INTUSE.
68406         * sunrpc/auth_none.c: Likewise.
68407         * sunrpc/auth_unix.c: Likewise.
68408         * sunrpc/authdes_prot.c: Likewise.
68409         * sunrpc/authuxprot.c: Likewise.
68410         * sunrpc/clnt_gen.c: Likewise.
68411         * sunrpc/clnt_perr.c: Likewise.
68412         * sunrpc/clnt_raw.c: Likewise.
68413         * sunrpc/clnt_simp.c: Likewise.
68414         * sunrpc/clnt_tcp.c: Likewise.
68415         * sunrpc/clnt_udp.c: Likewise.
68416         * sunrpc/clnt_unix.c: Likewise.
68417         * sunrpc/des_crypt.c: Likewise.
68418         * sunrpc/des_soft.c: Likewise.
68419         * sunrpc/get_myaddr.c: Likewise.
68420         * sunrpc/key_call.c: Likewise.
68421         * sunrpc/key_prot.c: Likewise.
68422         * sunrpc/netname.c: Likewise.
68423         * sunrpc/pm_getmaps.c: Likewise.
68424         * sunrpc/pm_getport.c: Likewise.
68425         * sunrpc/pmap_clnt.c: Likewise.
68426         * sunrpc/pmap_prot.c: Likewise.
68427         * sunrpc/pmap_prot2.c: Likewise.
68428         * sunrpc/pmap_rmt.c: Likewise.
68429         * sunrpc/publickey.c: Likewise.
68430         * sunrpc/rpc_cmsg.c: Likewise.
68431         * sunrpc/rpc_common.c: Likewise.
68432         * sunrpc/rpc_dtable.c: Likewise.
68433         * sunrpc/rpc_prot.c: Likewise.
68434         * sunrpc/rpc_thread.c: Likewise.
68435         * sunrpc/rtime.c: Likewise.
68436         * sunrpc/svc.c: Likewise.
68437         * sunrpc/svc_auth.c: Likewise.
68438         * sunrpc/svc_authux.c: Likewise.
68439         * sunrpc/svc_raw.c: Likewise.
68440         * sunrpc/svc_run.c: Likewise.
68441         * sunrpc/svc_simple.c: Likewise.
68442         * sunrpc/svc_tcp.c: Likewise.
68443         * sunrpc/svc_udp.c: Likewise.
68444         * sunrpc/svc_unix.c: Likewise.
68445         * sunrpc/svcauth_des.c: Likewise.
68446         * sunrpc/xcrypt.c: Likewise.
68447         * sunrpc/xdr.c: Likewise.
68448         * sunrpc/xdr_array.c: Likewise.
68449         * sunrpc/xdr_float.c: Likewise.
68450         * sunrpc/xdr_intXX_t.c: Likewise.
68451         * sunrpc/xdr_mem.c: Likewise.
68452         * sunrpc/xdr_rec.c: Likewise.
68453         * sunrpc/xdr_ref.c: Likewise.
68454         * sunrpc/xdr_sizeof.c: Likewise.
68455         * sunrpc/xdr_stdio.c: Likewise.
68457 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68459         [BZ #12650]
68460         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68461         * sysdeps/ia64/dl-tls.h: Likewise.
68462         * sysdeps/powerpc/dl-tls.h: Likewise.
68463         * sysdeps/s390/dl-tls.h: Likewise.
68464         * sysdeps/sh/dl-tls.h: Likewise.
68465         * sysdeps/sparc/dl-tls.h: Likewise.
68466         * sysdeps/x86_64/dl-tls.h: Likewise.
68467         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68469 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68471         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68472         rpath element also skip the following colon.
68473         (expand_dynamic_string_token): Add is_path parameter and pass
68474         down to DL_DST_REQUIRED and _dl_dst_substitute.
68475         (decompose_rpath): Call expand_dynamic_string_token with
68476         non-zero is_path.  Ignore empty rpaths.
68477         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68478         with zero is_path.
68480 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68483         Make cancelable.
68485 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68487         [BZ #12655]
68488         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68489         Patch by Filipe David Manana <fdmanana@apache.org>.
68491 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68494         Maintain aligned stack.
68495         (CHECK_RSP): Remove unused macro.
68497 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68499         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68500         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68502 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68504         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68506         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68508 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68510         [BZ #12518]
68511         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68512         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68513         * sysdeps/x86_64/memmove.c: New file.
68514         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68515         (memcpy): Renamed to ...
68516         (__new_memcpy): This.
68517         (memcpy): Provide GLIBC_2_14 memcpy.
68518         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68519         (memcpy): Provide GLIBC_2_2_5 memcpy.
68521 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68523         [BZ #12631]
68524         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68526 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68528         * misc/syncfs.c: New file.
68529         * misc/Makefile (routines): Add syncfs.
68530         * posix/unistd.h: Declare syncfs.
68531         * sysdeps/unix/syscalls.list: Add syncfs.
68533 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68535         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68536         open_by_handle_at.
68537         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68538         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68539         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68540         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68542         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68545 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68549         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68551         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68552         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68555         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68556         sync_file_range.c with -fexceptions.
68557         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68558         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68559         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68560         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68561         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68562         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68563         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68564         sync_file_range as cancellation point
68565         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68566         now a wrapper around __call_sync_file_range with cancellation handling.
68567         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68568         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68569         function name to __call_sync_file_range.
68570         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68571         Add call_sync_file_range.
68573 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68576         bits/timex.h.
68578 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68580         * iconv/iconv.h: Fix typo in comment.
68581         * io/fcntl.h: Likewise.
68582         * libio/stdio.h: Likewise.
68583         * posix/spawn.h: Likewise.
68584         * posix/unistd.h: Likewise.
68585         * stdlib/stdlib.h: Likewise.
68586         * time/time.h: Likewise.
68587         * wcsmbs/wchar.h: Likewise.
68589         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68590         open_by_handle): Add.
68591         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68592         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68593         Augment a few comments.
68594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68599         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68600         open_by_handle.
68602         * io/fcntl.h (AT_EMPTY_PATH): Define.
68604 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68606         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68607         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68608         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68609         to...
68610         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68611         * Versions.def: Add GLIBC_2.14.
68612         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68613         Export.
68615 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68617         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68618         round counter.
68619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68621 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68623         [BZ #12597]
68624         * string/test-strncmp.c (do_page_test): New function.
68625         (check2): Likewise.
68626         (test_main): Call check2.
68627         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68629 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68631         [BZ #12587]
68632         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68633         Handle cache information in CPU leaf 4.
68634         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68636 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68638         [BZ #12583]
68639         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68640         character representation.
68641         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68643 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68645         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68646         END(__isnan) to END(__isnanf) to match function entry point/label
68647         EALIGN(__isnanf,...).
68649 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68651         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68653 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68655         [BZ #12510]
68656         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68657         copy from the symbol referenced in the relocation to initialize the
68658         used variable.
68659         Patch by Piotr Bury <pbury@goahead.com>.
68660         * elf/Makefile: Add rules to build and tst-unique3.
68661         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68662         * elf/tst-unique3.cc: New file.
68663         * elf/tst-unique3.h: New file.
68664         * elf/tst-unique3lib.cc: New file.
68665         * elf/tst-unique3lib2.cc: New file.
68667         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68669 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68671         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68672         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68673         to _start.
68675 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68677         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68678         to-be-loaded object along a path to loader is ld.so.
68680 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68681             Ulrich Drepper  <drepper@gmail.com>
68683         * sysdeps/x86_64/memset.S: After aligning destination, code
68684         branches to different locations depending on the value of
68685         misalignment, when multiarch is enabled. Fix this.
68687 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68689         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68690         Set _x86_64_preferred_memory_instruction for AMD processsors.
68691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68692         Set bit_Prefer_SSE_for_memop for AMD processors.
68694 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68696         * libio/fmemopen.c (fmemopen): Optimize a bit.
68698 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68700         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68702 2011-03-03  Roland McGrath  <roland@redhat.com>
68704         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68706 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68708         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68709         __bzero_ultra1 instead of __memset_ultra1.
68711 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68712             Ulrich Drepper  <drepper@gmail.com>
68714         [BZ #12509]
68715         * include/link.h (struct link_map): Add l_orig_initfini.
68716         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68717         returning unsuccessfully.
68718         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68719         close of a file loaded at startup, restore the original l_initfini
68720         list.
68721         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68722         list, store the pointer.
68723         * elf/Makefile ($(objpfx)noload-mem): New rule.
68724         (noload-ENV): Define.
68725         (tests): Add $(objpfx)noload-mem.
68726         * elf/noload.c: Include <memcheck.h>.
68727         (main): Call mtrace.  Close all opened handles.
68729 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68731         [BZ #12454]
68732         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68733         dependencies are missing.
68735 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68737         Fix __if_freereq crash: Unlike the generic version which uses free,
68738         Hurd needs munmap.
68739         * sysdeps/mach/hurd/ifreq.h: New file.
68741 2011-01-27  Petr Baudis  <pasky@suse.cz>
68742             Ulrich Drepper  <drepper@gmail.com>
68744         [BZ 12445]#
68745         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68746         to extend_alloca().
68747         * stdio-common/bug23.c: New file.
68748         * stdio-common/Makefile (tests): Add bug23.
68750 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68751             Ulrich Drepper  <drepper@gmail.com>
68753         [BZ #12489]
68754         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68755         before performing relro protection.  At old place add assertion
68756         to make sure nothing changed.
68758 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68759             Glauber de Oliveira Costa  <glommer@gmail.com>
68761         * elf/elf.h: Add new ARM TLS relocs.
68763 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68766         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68767         cast from r3.
68768         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68769         'tests' variable.
68770         * sysdeps/wordsize-64/tst-writev.c: New file.
68772 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68774         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68775         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68776         insns in _dl_start to prevent a TOC reference before relocs are
68777         resolved.
68779 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68781         [BZ #12469]
68782         * Makeconfig: Remove RANLIB definition.
68783         * Makerules: Don't use RANLIB.
68784         * aclocal.m4: Remove ranlib test.
68785         * configure.in: No need to check for ranlib.
68786         * elf/rtld-Rules: Don't use RANLIB.
68788 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68790         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68791         protection macro.
68792         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68793         inclusion protection macro.
68795         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68796         SIGRTMIN and SIGRTMAX and print information in that case only when
68797         SIGRTMIN is defined.
68799 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68801         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68802         arginfo fn returning -1.
68804         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68805         and thousands string is zero terminated.
68807 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68810         sysdeps/unix/sysv/linux/bits/socket.h.
68812 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68814         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68815         (__CPU_COUNT): Remove old macros.
68816         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68817         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68818         (__CPU_ALLOC, __CPU_FREE): Add macros.
68819         (__sched_cpualloc, __sched_cpufree): Add declarations.
68821 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68823         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68824         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68825         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68826         (readdhstai): Return value of addhstaiX call.
68827         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68828         (addgrbyX): Return value returned by cache_addgr.
68829         (readdgrbyname): Return value returned by addgrbyX.
68830         (readdgrbygid): Likewise.
68831         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68832         (addpwbyX): Return value returned by cache_addpw.
68833         (readdpwbyname): Return value returned by addhstbyX.
68834         (readdpwbyuid): Likewise.
68835         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68836         (addservbyX): Return value returned by cache_addserv.
68837         (readdservbyname): Return value returned by addservbyX:
68838         (readdservbyport): Likewise.
68839         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68840         (addhstbyX): Return value returned by cache_addhst.
68841         (readdhstbyname): Return value returned by addhstbyX.
68842         (readdhstbyaddr): Likewise.
68843         (readdhstbynamev6): Likewise.
68844         (readdhstbyaddrv6): Likewise.
68845         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68846         (readdinitgroups): Return value returned by addinitgroupsX.
68847         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68848         (prune_cache): Keep track of timeout value of re-added entries.
68849         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68850         * nscd/nscd.h: Adjust prototypes of readd* functions.
68852 2011-02-04  Roland McGrath  <roland@redhat.com>
68854         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68855         (nis_stats): Likewise.
68856         * nis/nis_modify.c (nis_modify): Likewise.
68857         * nis/nis_remove.c (nis_remove): Likewise.
68858         * nis/nis_add.c (nis_add): Likewise.
68860         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68862         * posix/fnmatch_loop.c: Add some consts.
68864         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68866 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68868         [BZ #12460]
68869         * config.make.in (config-cflags-novzeroupper): Define.
68870         * configure.in: Substitute libc_cv_cc_novzeroupper.
68871         * elf/Makefile (AVX-CFLAGS): Define.
68872         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68873         (CFLAGS-tst-auditmod4a.c): Likewise.
68874         (CFLAGS-tst-auditmod4b.c): Likewise.
68875         (CFLAGS-tst-auditmod6b.c): Likewise.
68876         (CFLAGS-tst-auditmod6c.c): Likewise.
68877         (CFLAGS-tst-auditmod7b.c): Likewise.
68878         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68880 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68882         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68883         function to the callback.
68884         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68886 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68888         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68889         of errno.
68891 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68893         [BZ #11724]
68894         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68895         of constructors.
68896         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68897         of destructors.
68898         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68900         [BZ #11724]
68901         * elf/Makefile: Add rules to build and run new test.
68902         * elf/tst-initorder.c: New file.
68903         * elf/tst-initorder.exp: New file.
68904         * elf/tst-initordera1.c: New file.
68905         * elf/tst-initordera2.c: New file.
68906         * elf/tst-initordera3.c: New file.
68907         * elf/tst-initordera4.c: New file.
68908         * elf/tst-initorderb1.c: New file.
68909         * elf/tst-initorderb2.c: New file.
68910         * elf/tst-order-a1.c: New file.
68911         * elf/tst-order-a2.c: New file.
68912         * elf/tst-order-a3.c: New file.
68913         * elf/tst-order-a4.c: New file.
68914         * elf/tst-order-b1.c: New file.
68915         * elf/tst-order-b2.c: New file.
68916         * elf/tst-order-main.c: New file.
68917         New test case by George Gensure <werkt0@gmail.com>.
68919 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68922         decoding ACE if AI_CANONIDN.
68924 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68926         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68928 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68930         * version.h (RELEASE): Bump for 2.13 release.
68931         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68933         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68935         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68936         MADV_NOHUGEPAGE.
68937         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68938         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68939         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68940         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68942         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68944         * posix/getconf.c: Update copyright year.
68945         * catgets/gencat.c: Likewise.
68946         * csu/version.c: Likewise.
68947         * debug/catchsegv.sh: Likewise.
68948         * debug/xtrace.sh: Likewise.
68949         * elf/ldconfig.c: Likewise.
68950         * elf/ldd.bash.in: Likewise.
68951         * elf/sprof.c (print_version): Likewise.
68952         * iconv/iconv_prog.c: Likewise.
68953         * iconv/iconvconfig.c: Likewise.
68954         * locale/programs/locale.c: Likewise.
68955         * locale/programs/localedef.c: Likewise.
68956         * malloc/memusage.sh: Likewise.
68957         * malloc/mtrace.pl: Likewise.
68958         * nscd/nscd.c (print_version): Likewise.
68959         * nss/getent.c: Likewise.
68961         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68962         PF_CAIF, and PF_ALG.
68963         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68965 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68967         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68968         (modules-names): Use them.
68969         (ifunc-test-modules, ifunc-pie-tests): Define.
68970         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68971         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68972         (test-extras): Likewise.
68973         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68974         $(compile-command.c).
68975         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68976         (all-built-dso): Define.
68977         (check-textrel.out, check-execstack.out): Depend on it.
68979         * configure.in: Don't override --enable-multi-arch.
68981 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68983         [BZ #6812]
68984         * nscd/hstcache.c (tryagain): Define.
68985         (cache_addhst): Return tryagain not notfound for temporary errors.
68986         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68987         failed.
68989 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68991         [BZ #10563]
68992         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68993         to make the syscall.
68994         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68996         [BZ #12378]
68997         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68998         and fall back to matching as normal character if the string ends before
68999         the matching ']' is found.  This is what POSIX requires.
69000         * posix/testfnm.c: Adjust test result.
69001         * posix/globtest.sh: Adjust test result.  Add new test.
69002         * posix/tst-fnmatch.input: Likewise.
69003         * posix/tst-fnmatch2.c: Add new test.
69005 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69007         * elf/Makefile (check-execstack): Revert last change.  Depend on
69008         check-execstack.h.
69009         (check-execstack.h): New target.
69010         (generated): Add check-execstack.h.
69011         * elf/check-execstack.c: Include "check-execstack.h".
69012         (main): Revert last change.
69013         (handle_file): Return zero if GNU_STACK is absent and
69014         DEFAULT_STACK_PERMS doesn't include PF_X.
69016 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69018         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69019         in child fails because the descriptor is already closed.
69020         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69021         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69022         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69024         [BZ #12397]
69025         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69026         syscall.
69028         [BZ #10484]
69029         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69030         temporary buffer used to handle multi lookups locally.
69031         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69033 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69035         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69036         loader is ld.so.
69038 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69040         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69041         alignment for SSE2.
69043 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69045         [BZ #12394]
69046         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69047         characters.  When rounding increased number of integer digits recompute
69048         number of groups.
69049         * stdio-common/tst-grouping.c: New file.
69050         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69052 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69054         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69055         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69057         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69058         void.
69059         * bits/select.h: Likewise.
69061 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69063         * po/ja.po: Update from translation team.
69065 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69067         [BZ #11155]
69068         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69069         implementation just like for lxstat, fxstatat, et al.
69071 2010-12-27  Jim Meyering  <meyering@redhat.com>
69073         [BZ #12348]
69074         * posix/regexec.c (build_trtable): Return failure indication upon
69075         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69077 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69079         [BZ #12201]
69080         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69081         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69082         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69083         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69085         [BZ #12207]
69086         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69088         [BZ #12204]
69089         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69090         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69092 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69094         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69095         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69096         script has SORT_BY_INIT_PRIORITY.
69097         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69098         NO_CTORS_DTORS_SECTIONS is defined.
69099         * elf/soinit.c: Likewise.
69100         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69101         NO_CTORS_DTORS_SECTIONS is defined.
69102         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69103         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69104         * sysdeps/sh/init-first.c: Likewise.
69105         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69107 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69109         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69110         always use the slow path.
69112 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69114         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69115         similar rule which adds the sysdep directories to the header search in
69116         order to pick up the correct platform stackinfo.h.
69117         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69118         perform test if it is, otherwise return successfully without testing.
69119         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69120         DEFAULT_STACK_PERMS define in stackinfo.h.
69121         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69122         defined in stackinfo.h.
69123         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69124         DEFAULT_STACK_PERMS defined in stackinfo.h.
69125         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69126         * sysdeps/ia64/stackinfo.h: Likewise.
69127         * sysdeps/s390/stackinfo.h: Likewise.
69128         * sysdeps/sh/stackinfo.h: Likewise.
69129         * sysdeps/sparc/stackinfo.h: Likewise.
69130         * sysdeps/x86_64/stackinfo.h: Likewise.
69131         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69132         PF_X for powerpc64.  Retain PF_X for powerpc32.
69134 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69136         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69137         accurately.
69138         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69139         GETDENTS_64BIT_ALIGNED.
69141 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69143         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69145 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69147         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69148         _GNU_SOURCE.
69150         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69151         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69152         Remove __restrict.
69153         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69154         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69156 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69158         [BZ #11655]
69159         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69160         are initialized.
69162 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69164         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69166 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69168         * po/it.po: Update from translation team.
69170 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69173         unused codes.
69175 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69177         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69179 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69181         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69182         specially.
69183         (gaih_getanswer_slice): Likewise.
69185 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69189 2010-05-31  Petr Baudis  <pasky@suse.cz>
69191         [BZ #11149]
69192         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69193         silently even in the chroot mode.
69195 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69197         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69198         last patch a bit.  Pretty printing
69200 2010-05-31  Petr Baudis <pasky@suse.cz>
69202         [BZ #10085]
69203         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69204         initialization of skip_initgroups_dyn.
69206 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69208         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69209         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69211 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69213         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69215 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69217         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69218         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69219         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69220         ($(objpfx)tst-fnmatch-mem): New rule.
69221         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69222         * posix/tst-fnmatch.c (main): Call mtrace.
69224 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69227         Support Intel processor model 6 and model 0x2c.
69229 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69232           signed comparison.
69234 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69236         [BZ #12205]
69237         * string/test-strncasecmp.c (check_result): New function.
69238         (do_one_test): Use it.
69239         (check1): New function.
69240         (test_main): Use it.
69241         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69242         Support strcasecmp and strncasecmp.
69244 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69246         [BZ #12194]
69247         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69248         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69250 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69252         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69253         IFUNC support.
69254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69255         memset-x86-64.
69256         * sysdeps/x86_64/multiarch/bzero.S: New file.
69257         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69258         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69259         * sysdeps/x86_64/multiarch/memset.S: New file.
69260         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69262         Set bit_Prefer_SSE_for_memop for Intel processors.
69263         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69264         Define.
69265         (index_Prefer_SSE_for_memop): Define.
69266         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69268 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69270         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69271         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69273 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69275         [BZ #12191]
69276         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69277         (__x86_64_raw_data_cache_size_half): Likewise.
69278         (__x86_64_raw_shared_cache_size): Likewise.
69279         (__x86_64_raw_shared_cache_size_half): Likewise.
69281         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69282         (__x86_64_raw_data_cache_size_half): Likewise.
69283         (__x86_64_raw_shared_cache_size): Likewise.
69284         (__x86_64_raw_shared_cache_size_half): Likewise.
69285         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69286         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69287         and __x86_64_raw_shared_cache_size_half.  Round
69288         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69289         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69290         to multiple of 256 bytes.
69292 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69294         [BZ #12167]
69295         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69296         of inacessible symlinks.  Verify result of symlink before returning it.
69297         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69298         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69300 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69302         * math/math.h (isinf): Fix typo in comment.
69304 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69306         * po/da.po: Update from translation team.
69308 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69310         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69311         is added to the list.
69313 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69314             Ulrich Drepper  <drepper@gmail.com>
69316         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69317         the global list here.  Move code to...
69318         (_dl_add_to_namespace_list): ...here.  New function.
69319         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69320         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69321         * elf/dl-load.c (lose): Don't remove the element from the list.
69322         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69323         (_dl_map_object): Likewise.
69325 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69327         [BZ #12159]
69328         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69329         into all bytes of SSE register.
69330         Patch by Richard Li <richardpku@gmail.com>.
69332 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69334         [BZ #12140]
69335         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69336         perturbing.
69338 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69340         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69341         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69342         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69343         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69345         submachine.
69346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69348 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69350         * include/dlfcn.h (__RTLD_SECURE): Define.
69351         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69352         mode & __RTLD_SECURE instead.
69353         (open_path): Rename preloaded parameter to secure.
69354         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69355         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69356         * elf/dl-deps.c (openaux): Likewise.
69357         * elf/rtld.c (struct map_args): Remove is_preloaded.
69358         (map_doit): Don't use it.
69359         (dl_main): Likewise.
69360         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69361         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69363 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69365         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69366         (sysd-rules-targets): Remove duplicates.
69367         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69368         rtld-%.$o dependency.
69370 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69372         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69373         _dl_map_object do it.
69375 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69377         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69378         fast fma builtins, define the macros in the C99 standard.
69379         (FP_FAST_FMAF): Likewise.
69380         (FP_FAST_FMAL): Likewise.
69381         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69383         * bits/mathdef.h: Update copyright year.
69384         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69386 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69388         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69389         builtins, define the macros in the C99 standard.
69390         (FP_FAST_FMAF): Likewise.
69391         (FP_FAST_FMAL): Likewise.
69392         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69393         multiply/add.
69394         (FP_FAST_FMAF): Likewise.
69396 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69398         [BZ #3268]
69399         * math/libm-test.inc (fma_test): Some new testcases.
69400         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69401         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69402         y and infinite z.  Do multiplication by C already in long double.
69403         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69405         y and infinite z.  Do bitwise or of inexact bit into u.d.
69406         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69407         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69408         * sysdeps/i386/fpu/s_fma.S: Removed.
69409         * sysdeps/i386/fpu/s_fmal.S: Removed.
69411 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69413         [BZ #3268]
69414         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69416         computation is not scheduled after fetestexcept.  Fix value
69417         of minimum denormal long double.
69419 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69421         [BZ #3268]
69422         * math/libm-test.inc (fma_test): Add some more tests.
69423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69424         correctly.
69426 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69428         * scripts/data/localplt-s390-linux-gnu.data: New file.
69429         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69431 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69433         [BZ #3268]
69434         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69435         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69436         instead of dbl-64.
69437         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69438         inlines.
69439         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69441         if one of x and y is very large and the other is subnormal.
69442         * sysdeps/s390/fpu/s_fmaf.c: New file.
69443         * sysdeps/s390/fpu/s_fma.c: New file.
69444         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69445         * sysdeps/powerpc/fpu/s_fma.S: New file.
69446         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69447         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69448         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69450 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69452         [BZ #3268]
69453         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69454         fma tests.
69455         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69456         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69457         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69458         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69459         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69460         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69461         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69463 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69465         [BZ #12078]
69466         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69467         * posix/bug-regex31.input: Add test case.
69469 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69471         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69472         * posix/bug-regex31.input: New file.
69474         [BZ #12078]
69475         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69476         (parse_sub_exp): Fix last change, use postorder.
69478         * posix/bug-regex31.c: New file.
69479         * posix/Makefile: Add rules to build and run bug-regex31.
69481         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69483         [BZ #12078]
69484         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69486         [BZ #12108]
69487         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69488         to have entries in sys_siglist.
69490         [BZ #12093]
69491         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69492         be NULL.
69494 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69496         [BZ #3268]
69497         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69498         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69499         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69500         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69501         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69502         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69503         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69504         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69505         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69506         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69507         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69508         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69509         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69510         * math/ftestexcept.c (fetestexcept): Likewise.
69511         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69512         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69513         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69514         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69515         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69516         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69517         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69519 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69521         [BZ #12107]
69522         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69523         newline.
69525 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69527         * string/bug-strstr1.c: New file.
69528         * string/Makefile: Add rules to build and run bug-strstr1.
69530 2010-10-05  Eric Blake  <eblake@redhat.com>
69532         [BZ #12092]
69533         * string/str-two-way.h (two_way_long_needle): Always clear memory
69534         when skipping input due to the shift table.
69536 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69538         [BZ #12005]
69539         * malloc/mcheck.c: Handle large requests.
69541         [BZ #12077]
69542         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69543         for strncmp and strncasecmp.
69544         * string/stratcliff.c: Add tests for strcmp and strncmp.
69545         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69547 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69549         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69550         __set_fpscr.
69552 2010-09-30  Andreas Jaeger  <aj@suse.de>
69554         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69555         (CGROUP_SUPER_MAGIC): Define.
69556         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69557         Handle btrfs and cgroup file systems.
69558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69559         Likewise.
69561 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69563         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69564         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69566 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69568         [BZ #12067]
69569         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69570         trying to locate the ELF header.
69572 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69574         [BZ #11611]
69575         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69576         Mask out sign-bit copies when constructing f_fsid.
69578 2010-09-24  Petr Baudis <pasky@suse.cz>
69580         * debug/stack_chk_fail_local.c: Add missing licence exception.
69581         * debug/warning-nop.c: Likewise.
69583 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69585         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69586         implementing getdents64 using getdents syscall, set d_type if
69587         __ASSUME_GETDENTS32_D_TYPE.
69589 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69591         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69592         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69594 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69596         [BZ #12037]
69597         * posix/unistd.h: Undo change of feature selection for ftruncate from
69598         2010-01-11.
69600 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69602         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69603         detection.
69605 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69607         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69608         fanotify_mark.
69609         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69611 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69613         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69614         variables after CHECK_SP call.
69615         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69617 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69618             Ulrich Drepper  <drepper@redhat.com>
69620         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69621         re-relocationg ld.so.
69622         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69623         _dl_init_paths call.
69624         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69625         here anymore.
69627 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69629         * resolv/res_init.c (__res_vinit): Count the default server we added.
69631 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69632             Ulrich Drepper  <drepper@redhat.com>
69634         [BZ #11968]
69635         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69636         (____longjmp_chk): Use %ebx for saving value across system call.
69637         Add unwind info.
69639 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69641         * manual/Makefile: Don't mix pattern rules with normal rules.
69643 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69645         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69646         operation.
69647         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69648         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69649         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69650         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69651         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69652         Likewise.
69654 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69656         [BZ #11979]
69657         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69658         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69660 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69662         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69663         * sysdeps/x86_64/addmul_1.S: Likewise.
69664         * sysdeps/x86_64/lshift.S: Likewise.
69665         * sysdeps/x86_64/mul_1.S: Likewise.
69666         * sysdeps/x86_64/rshift.S: Likewise.
69667         * sysdeps/x86_64/sub_n.S: Likewise.
69668         * sysdeps/x86_64/submul_1.S: Likewise.
69670 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69672         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69673         Define __sched_param instead of SCHED_* and sched_param when
69674         <bits/sched.h> is included with __need_schedparam defined.
69675         * bits/sched.h [__need_schedparam]
69676         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69677         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69678         (__defined_schedparam): Define to 1.
69679         (__sched_param): New structure, identical to sched_param.
69680         (__need_schedparam): Undefine.
69682 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69684         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69685         (epoll_create1): Declare.
69687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69689 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69691         [BZ #7066]
69692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69693         shifting retval into place.
69695 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69697         * nis/rpcsvc/nis.h: Update copyright notice.
69698         * nis/rpcsvc/nis.x: Likewise.
69699         * nis/rpcsvc/nis_callback.h: Likewise.
69700         * nis/rpcsvc/nis_callback.x: Likewise.
69701         * nis/rpcsvc/nis_object.x: Likewise.
69702         * nis/rpcsvc/nis_tags.h: Likewise.
69703         * nis/rpcsvc/yp.h: Likewise.
69704         * nis/rpcsvc/yp.x: Likewise.
69705         * nis/rpcsvc/ypupd.h: Likewise.
69706         * nis/yp_xdr.c: Likewise.
69707         * nis/ypupdate_xdr.c: Likewise.
69709         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69710         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69711         (pmap_getport): Use __libc_rpc_getport.
69712         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69713         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69714         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69716 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69719         fanotify_mark.
69721 2010-08-27  Roland McGrath  <roland@redhat.com>
69723         * sysdeps/i386/i686/multiarch/Makefile
69724         (CFLAGS-varshift.c): New variable.
69726 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69728         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69729         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69731         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69733         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69735 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69737         * sysdeps/x86_64/strlen.S: Unroll the loop.
69738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69739         strlen-sse2 strlen-sse2-bsf.
69740         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69741         __strlen_no_bsf if bit_Slow_BSF is set.
69742         (__strlen_sse42): Removed.
69743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69744         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69746 2010-08-25  Roland McGrath  <roland@redhat.com>
69748         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69749         * sysdeps/x86_64/multiarch/varshift.c: New file.
69750         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69751         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69752         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69753         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69755 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69758         strlen-sse2 strlen-sse2-bsf.
69759         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69760         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69761         (__strlen_sse2): Removed.
69762         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69763         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69765         bit_Slow_BSF for Atom.
69766         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69767         (index_Slow_BSF): Define.
69768         (HAS_SLOW_BSF): Define.
69770 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69772         [BZ #10851]
69773         * resolv/res_init.c (__res_vinit): When no server address at all
69774         is given default to loopback.
69776 2010-08-24  Roland McGrath  <roland@redhat.com>
69778         * configure.in: Remove config-name.h generation.
69779         * configure: Regenerated.
69780         * config-name.in: File removed.
69781         * scripts/config-uname.sh: New file.
69782         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69783         ($(objdir)config-name.h): New target.
69785         * sunrpc/rpc_parse.h: Avoid nested comment.
69787 2010-08-24  Richard Henderson  <rth@redhat.com>
69788             Ulrich Drepper  <drepper@redhat.com>
69789             H.J. Lu  <hongjiu.lu@intel.com>
69791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69793         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69794         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69795         _mm_alignr_epi8 with _mm_loadu_si128.
69796         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69797         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69798         (__m128i_shift_right): Removed.
69799         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69800         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69801         * sysdeps/x86_64/multiarch/varshift.h: New file.
69802         * sysdeps/x86_64/multiarch/varshift.S: New file.
69804 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69806         * configure.in: Move assembler checks to before sysdep dir checking.
69808 2010-08-20  Petr Baudis  <pasky@suse.cz>
69810         * LICENSES: Sync the sunrpc license.
69812 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69814         * sunrpc/auth_des.c: Update copyright notice once again.
69815         * sunrpc/auth_none.c: Likewise.
69816         * sunrpc/auth_unix.c: Likewise.
69817         * sunrpc/authdes_prot.c: Likewise.
69818         * sunrpc/authuxprot.c: Likewise.
69819         * sunrpc/bindrsvprt.c: Likewise.
69820         * sunrpc/clnt_gen.c: Likewise.
69821         * sunrpc/clnt_perr.c: Likewise.
69822         * sunrpc/clnt_raw.c: Likewise.
69823         * sunrpc/clnt_simp.c: Likewise.
69824         * sunrpc/clnt_tcp.c: Likewise.
69825         * sunrpc/clnt_udp.c: Likewise.
69826         * sunrpc/clnt_unix.c: Likewise.
69827         * sunrpc/des_crypt.c: Likewise.
69828         * sunrpc/des_soft.c: Likewise.
69829         * sunrpc/get_myaddr.c: Likewise.
69830         * sunrpc/getrpcport.c: Likewise.
69831         * sunrpc/key_call.c: Likewise.
69832         * sunrpc/key_prot.c: Likewise.
69833         * sunrpc/openchild.c: Likewise.
69834         * sunrpc/pm_getmaps.c: Likewise.
69835         * sunrpc/pm_getport.c: Likewise.
69836         * sunrpc/pmap_clnt.c: Likewise.
69837         * sunrpc/pmap_prot.c: Likewise.
69838         * sunrpc/pmap_prot2.c: Likewise.
69839         * sunrpc/pmap_rmt.c: Likewise.
69840         * sunrpc/rpc/auth.h: Likewise.
69841         * sunrpc/rpc/auth_unix.h: Likewise.
69842         * sunrpc/rpc/clnt.h: Likewise.
69843         * sunrpc/rpc/des_crypt.h: Likewise.
69844         * sunrpc/rpc/key_prot.h: Likewise.
69845         * sunrpc/rpc/netdb.h: Likewise.
69846         * sunrpc/rpc/pmap_clnt.h: Likewise.
69847         * sunrpc/rpc/pmap_prot.h: Likewise.
69848         * sunrpc/rpc/pmap_rmt.h: Likewise.
69849         * sunrpc/rpc/rpc.h: Likewise.
69850         * sunrpc/rpc/rpc_des.h: Likewise.
69851         * sunrpc/rpc/rpc_msg.h: Likewise.
69852         * sunrpc/rpc/svc.h: Likewise.
69853         * sunrpc/rpc/svc_auth.h: Likewise.
69854         * sunrpc/rpc/types.h: Likewise.
69855         * sunrpc/rpc/xdr.h: Likewise.
69856         * sunrpc/rpc_clntout.c: Likewise.
69857         * sunrpc/rpc_cmsg.c: Likewise.
69858         * sunrpc/rpc_common.c: Likewise.
69859         * sunrpc/rpc_cout.c: Likewise.
69860         * sunrpc/rpc_dtable.c: Likewise.
69861         * sunrpc/rpc_hout.c: Likewise.
69862         * sunrpc/rpc_main.c: Likewise.
69863         * sunrpc/rpc_parse.c: Likewise.
69864         * sunrpc/rpc_parse.h: Likewise.
69865         * sunrpc/rpc_prot.c: Likewise.
69866         * sunrpc/rpc_sample.c: Likewise.
69867         * sunrpc/rpc_scan.c: Likewise.
69868         * sunrpc/rpc_scan.h: Likewise.
69869         * sunrpc/rpc_svcout.c: Likewise.
69870         * sunrpc/rpc_tblout.c: Likewise.
69871         * sunrpc/rpc_util.c: Likewise.
69872         * sunrpc/rpc_util.h: Likewise.
69873         * sunrpc/rpcinfo.c: Likewise.
69874         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69875         * sunrpc/rpcsvc/key_prot.x: Likewise.
69876         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69877         * sunrpc/rpcsvc/mount.x: Likewise.
69878         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69879         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69880         * sunrpc/rpcsvc/rex.x: Likewise.
69881         * sunrpc/rpcsvc/rstat.x: Likewise.
69882         * sunrpc/rpcsvc/rusers.x: Likewise.
69883         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69884         * sunrpc/rpcsvc/spray.x: Likewise.
69885         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69886         * sunrpc/rtime.c: Likewise.
69887         * sunrpc/svc.c: Likewise.
69888         * sunrpc/svc_auth.c: Likewise.
69889         * sunrpc/svc_authux.c: Likewise.
69890         * sunrpc/svc_raw.c: Likewise.
69891         * sunrpc/svc_run.c: Likewise.
69892         * sunrpc/svc_simple.c: Likewise.
69893         * sunrpc/svc_tcp.c: Likewise.
69894         * sunrpc/svc_udp.c: Likewise.
69895         * sunrpc/svc_unix.c: Likewise.
69896         * sunrpc/svcauth_des.c: Likewise.
69897         * sunrpc/xcrypt.c: Likewise.
69898         * sunrpc/xdr.c: Likewise.
69899         * sunrpc/xdr_array.c: Likewise.
69900         * sunrpc/xdr_float.c: Likewise.
69901         * sunrpc/xdr_mem.c: Likewise.
69902         * sunrpc/xdr_rec.c: Likewise.
69903         * sunrpc/xdr_ref.c: Likewise.
69904         * sunrpc/xdr_sizeof.c: Likewise.
69905         * sunrpc/xdr_stdio.c: Likewise.
69907         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69908         handling.
69910 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69912         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69914 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69916         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69917         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69918         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69919         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69920         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69921         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69922         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69923         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69925         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69926         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69927         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69928         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69929         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69931 2010-07-26  Anton Blanchard  <anton@samba.org>
69933         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69934         * malloc/arena.c (heap_trim): Likewise.
69936 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69938         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69939         here.  Not...
69940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69941         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69943 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69945         * sysdeps/i386/elf/Makefile: New file.
69947 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69949         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69950         from fanotify_init.
69951         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69954 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69956         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69957         of strncasecmp_l.
69958         * sysdeps/multiarch/strcmp.S: Likewise.
69960 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69962         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69963         strncase_l-nonascii.
69964         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69965         Add strncase_l-ssse3.
69966         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69967         * sysdeps/x86_64/strcmp.S: Likewise.
69968         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69969         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69970         * sysdeps/x86_64/strncase.S: New file.
69971         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69972         * sysdeps/x86_64/strncase_l.S: New file.
69973         * string/Makefile (strop-tests): Add strncasecmp.
69974         * string/test-strncasecmp.c: New file.
69976         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69977         warning.
69979         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69980         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69982 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69984         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69986 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69988         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69989         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69990         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69992 2010-05-01  Alan Modra  <amodra@gmail.com>
69994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69995         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69996         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69997         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69998         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69999         tidying.  Don't tail-call __sigjmp_save for static lib.
70000         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70001         save location.
70002         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70003         (CALL_MCOUNT): Add eh info, and nop after bl.
70004         (TAIL_CALL_SYSCALL_ERROR): New macro.
70005         (PSEUDO_RET): Use it.
70006         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70007         Correct save location of integer regs and cr.
70008         (_dl_profile_resolve): Correct cr save location.  Delete nops
70009         after bl when SHARED.  Reduce cfi size a little by better
70010         placement of cfi directives.
70011         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70012         make a stack frame.  Instead use parm save area as a temp.
70013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70014         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70016         Don't make a stack frame for parent, use parm save area.
70017         Increase child stack frame to 112 bytes.  Don't save unused reg,
70018         and adjust reg usage.  Set up cfi on error recovery and
70019         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70021         (__makecontext): Add dummy nop after jump to exit.
70022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70023         Use correct parm save area and cr save, reduce stack frame.
70024         Correct cfi for possible PSEUDO_RET frame setup.
70025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70026         Branch to local label emitted by PSEUDO_RET rather than
70027         __syscall_error.
70029 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70031         [BZ #11904]
70032         * locale/programs/locale.c (print_assignment): New function.
70033         (show_locale_vars): Use it.
70035 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70037         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70038         field.
70039         (struct statfs64): Likewise.
70040         (_STATFS_F_FLAGS): Define.
70041         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70043         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70044         (ST_VALID): Define locally.
70045         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70046         __statvfs_getflags, use the provided value.
70047         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70048         __ASSUME_STATFS_F_FLAGS.
70050         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70052         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70053         Add sys/fanotify.h.
70054         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70055         fanotify_mask for GLIBC_2.13.
70056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70057         fanotify_init and fanotify_mark.
70058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70059         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70061         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70062         Add prlimit.
70063         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70064         prlimit64 for GLIBC_2.13.
70065         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70066         prlimit64.
70067         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70068         syscall.
70069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70070         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70071         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70072         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70074         add prlimit alias.
70075         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70077         [BZ #11903]
70078         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70079         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70081         * nss/Makefile: Add rules to build and run tst-nss-test1.
70082         * shlib-versions: Add entry for libnss_test1.
70083         * nss/nss_test1.c: New file.
70084         * nss/tst-nss-test1.c: New file.
70086         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70087         (__nss_configure_lookup): Set appropriate entry in
70088         __nss_configure_lookup to true.
70089         * nss/nsswitch.h: Define enum with indeces of databases in
70090         databases and __nss_database_custom arrays.  Declare
70091         __nss_database_custom.
70092         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70093         to avoid using nscd when custom rules are installed.
70094         * nss/getXXbyYY_r.c: Likewise.
70095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70097         * nss/nss_files/files-parse.c: Whitespace fixes.
70099 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70101         [BZ #11883]
70102         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70103         * posix/fnmatch_loop.c: Likewise.
70105 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70107         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70108         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70109         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70110         * Versions.def [GLIBC_2.13]: Add.
70112 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70114         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70115         Also fail if tpwd after pwuid call is NULL.
70117 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70119         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70120         when converting to ms.
70122 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70124         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70125         EOPNOTSUPP errors with ENOTTY.
70126         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70127         EOPNOTSUPP errors with ENOTTY.
70129 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70131         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70132         Add strcasecmp_l-ssse3.
70133         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70134         strcasecmp.
70135         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70136         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70137         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70139 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70141         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70143         * string/Makefile (strop-tests): Add strcasecmp.
70144         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70145         strcasecmp_l-nonascii.
70146         (gen-as-const-headers): Add locale-defines.sym.
70147         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70148         * sysdeps/x86_64/strcasecmp.S: New file.
70149         * sysdeps/x86_64/strcasecmp_l.S: New file.
70150         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70151         * sysdeps/x86_64/locale-defines.sym: New file.
70152         * string/test-strcasecmp.c: New file.
70154         * string/test-strcasestr.c: Test both ends of the range of characters.
70155         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70157 2010-07-29  Roland McGrath  <roland@redhat.com>
70159         [BZ #11856]
70160         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70162 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70164         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70165         for ld.so.
70167 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70169         * manual/memory.texi (Malloc Tunable Parameters): Document
70170         M_PERTURB.
70172 2010-07-26  Roland McGrath  <roland@redhat.com>
70174         [BZ #11840]
70175         * configure.in (-fgnu89-inline check): Set and substitute
70176         gnu89_inline, not libc_cv_gnu89_inline.
70177         * configure: Regenerated.
70178         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70180 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70182         * string/test-strnlen.c: New file.
70183         * string/Makefile (strop-tests): Add strnlen.
70184         * string/tester.c (test_strnlen): Add a few more test cases.
70185         * string/tst-strlen.c: Better error reporting.
70187         * sysdeps/x86_64/strnlen.S: New file.
70189 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70191         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70192         lower-latency instructions.
70194 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70196         * string/test-strcasestr.c: New file.
70197         * string/test-strstr.c: New file.
70198         * string/Makefile (strop-tests): Add strstr and strcasestr.
70199         * string/str-two-way.h: Don't undefine MAX.
70200         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70202 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70205         strcasestr-nonascii.
70206         (CFLAGS-strcasestr-nonascii.c): Define.
70207         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70208         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70209         Remove unused attribute.
70211 2010-07-20  Roland McGrath  <roland@redhat.com>
70213         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70214         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70215         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70216         like LD_HWCAP_MASK can disable hwcaps.
70218 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70220         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70222 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70224         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70225         call in strcasestr.
70226         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70227         __strcasestr_sse42_nonascii.
70228         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70229         strcasestr-nonascii.c.
70230         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70232 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70235         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70237         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70239 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70241         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70242         fcntl.
70244 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70246         [BZ #11577]
70247         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70248         dl_signal_cerror.
70250 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70252         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70253         _PC_PIPE_BUF using F_GETPIPE_SZ.
70255 2010-07-05  Roland McGrath  <roland@redhat.com>
70257         * manual/arith.texi (Rounding Functions): Fix rint description
70258         implicit in round description.
70260 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70262         * elf/Makefile: Fix linking for a few tests to make recent linker
70263         happy.
70265 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70268         $(common-objpfx)libc_nonshared.a.
70270 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70272         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70273         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70274         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70275         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70276         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70277         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70278         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70279         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70294         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70295         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70296         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70297         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70298         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70299         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70300         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70301         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70302         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70303         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70304         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70305         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70321 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70323         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70324         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70325         * string/memmove.c (memmove): Renamed to ...
70326         (MEMMOVE): ...this.  Default to memmove.
70327         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70328         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70329         (END_CHK): Define.
70330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70331         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70332         mempcpy-ssse3-back memmove-ssse3-back.
70333         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70336         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70337         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70338         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70339         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70340         * sysdeps/x86_64/multiarch/memmove.c: New file.
70341         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70342         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70343         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70344         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70345         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70347         Define.
70348         (index_Fast_Copy_Backward): Define.
70349         (HAS_ARCH_FEATURE): Define.
70350         (HAS_FAST_REP_STRING): Define.
70351         (HAS_FAST_COPY_BACKWARD): Define.
70353 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70355         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70356         Restore proper fallback handling.
70358 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70360         [BZ #11701]
70361         * posix/group_member.c (__group_member): Correct checking loop.
70363         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70364         OOM in getpwuid_r correctly.  Return error number when the caller
70365         should return, otherwise -1.
70366         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70367         call returning > 0 value.
70368         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70370 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70372         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70373         libc_nonshared.a from targets in modules-names.
70375 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70377         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70378         requires it.
70380 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70382         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70385         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70387 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70389         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70391 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70393         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70394         and F_GETPIPE_SZ.
70395         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70398         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70399         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70400         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70402 2010-06-14  Roland McGrath  <roland@redhat.com>
70404         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70406 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70408         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70409         __REDIRECT followed by __THROW.
70410         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70411         * posix/getopt.h (getopt): Likewise.
70413 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70415         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70416         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70417         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70418         in AT_FLAGS.
70419         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70420         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70422 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70424         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70426 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70428         [BZ #11640]
70429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70430         Properly check family and model.
70432 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70434         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70436 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70438         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70440 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70442         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70443         symbol reference.
70445 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70447         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70448         symbol reference.
70450 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70452         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70453         and internal_recvmmsg.
70454         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70455         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70456         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70457         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70459         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70460         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70461         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70463 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70465         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70467 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70469         POWER7 optimizations.
70470         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70471         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70473 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70475         * version.h: Update for 2.13 development version.
70477 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70479         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70480         exceptions.  Return 0.
70482 2010-05-07  Roland McGrath  <roland@redhat.com>
70484         * elf/ldconfig.c (main): Add a const.
70486 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70488         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70489         (args_options): Add no-idn option.
70490         (ahosts_keys_int): Add idn_flags to ai_flags.
70491         (parse_option): Handle 'i' option to clear idn_flags.
70493         * malloc/malloc.c (_int_free): Possible race in the most recently
70494         added check.  Only act on the data if no current modification
70495         happened.
70497 See ChangeLog.17 for earlier changes.